public static enum UsableSubnetwork.Ipv6AccessType extends Enum<UsableSubnetwork.Ipv6AccessType> implements com.google.protobuf.ProtocolMessageEnum
The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack.Protobuf enum
google.cloud.compute.v1.UsableSubnetwork.Ipv6AccessType| Enum Constant and Description |
|---|
EXTERNAL
VMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network.
|
INTERNAL
VMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network.
|
UNDEFINED_IPV6_ACCESS_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
EXTERNAL_VALUE
VMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network.
|
static int |
INTERNAL_VALUE
VMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network.
|
static int |
UNDEFINED_IPV6_ACCESS_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static UsableSubnetwork.Ipv6AccessType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<UsableSubnetwork.Ipv6AccessType> |
internalGetValueMap() |
static UsableSubnetwork.Ipv6AccessType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UsableSubnetwork.Ipv6AccessType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UsableSubnetwork.Ipv6AccessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UsableSubnetwork.Ipv6AccessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsableSubnetwork.Ipv6AccessType UNDEFINED_IPV6_ACCESS_TYPE
A value indicating that the enum field is not set.
UNDEFINED_IPV6_ACCESS_TYPE = 0;public static final UsableSubnetwork.Ipv6AccessType EXTERNAL
VMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network.
EXTERNAL = 35607499;public static final UsableSubnetwork.Ipv6AccessType INTERNAL
VMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network.
INTERNAL = 279295677;public static final UsableSubnetwork.Ipv6AccessType UNRECOGNIZED
public static final int UNDEFINED_IPV6_ACCESS_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_IPV6_ACCESS_TYPE = 0;public static final int EXTERNAL_VALUE
VMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network.
EXTERNAL = 35607499;public static final int INTERNAL_VALUE
VMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network.
INTERNAL = 279295677;public static UsableSubnetwork.Ipv6AccessType[] values()
for (UsableSubnetwork.Ipv6AccessType c : UsableSubnetwork.Ipv6AccessType.values()) System.out.println(c);
public static UsableSubnetwork.Ipv6AccessType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static UsableSubnetwork.Ipv6AccessType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static UsableSubnetwork.Ipv6AccessType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UsableSubnetwork.Ipv6AccessType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static UsableSubnetwork.Ipv6AccessType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.