public static enum NetworkProfileNetworkFeatures.SubnetworkStackTypes extends Enum<NetworkProfileNetworkFeatures.SubnetworkStackTypes> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
google.cloud.compute.v1.NetworkProfileNetworkFeatures.SubnetworkStackTypes| Enum Constant and Description |
|---|
IPV4_IPV6
New VMs in this subnet can have both IPv4 and IPv6 addresses.
|
IPV4_ONLY
New VMs in this subnet will only be assigned IPv4 addresses.
|
IPV6_ONLY
New VMs in this subnet will only be assigned IPv6 addresses.
|
UNDEFINED_SUBNETWORK_STACK_TYPES
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
IPV4_IPV6_VALUE
New VMs in this subnet can have both IPv4 and IPv6 addresses.
|
static int |
IPV4_ONLY_VALUE
New VMs in this subnet will only be assigned IPv4 addresses.
|
static int |
IPV6_ONLY_VALUE
New VMs in this subnet will only be assigned IPv6 addresses.
|
static int |
UNDEFINED_SUBNETWORK_STACK_TYPES_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkProfileNetworkFeatures.SubnetworkStackTypes |
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<NetworkProfileNetworkFeatures.SubnetworkStackTypes> |
internalGetValueMap() |
static NetworkProfileNetworkFeatures.SubnetworkStackTypes |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NetworkProfileNetworkFeatures.SubnetworkStackTypes |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NetworkProfileNetworkFeatures.SubnetworkStackTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkProfileNetworkFeatures.SubnetworkStackTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkProfileNetworkFeatures.SubnetworkStackTypes UNDEFINED_SUBNETWORK_STACK_TYPES
A value indicating that the enum field is not set.
UNDEFINED_SUBNETWORK_STACK_TYPES = 0;public static final NetworkProfileNetworkFeatures.SubnetworkStackTypes IPV4_IPV6
New VMs in this subnet can have both IPv4 and IPv6 addresses.
IPV4_IPV6 = 22197249;public static final NetworkProfileNetworkFeatures.SubnetworkStackTypes IPV4_ONLY
New VMs in this subnet will only be assigned IPv4 addresses.
IPV4_ONLY = 22373798;public static final NetworkProfileNetworkFeatures.SubnetworkStackTypes IPV6_ONLY
New VMs in this subnet will only be assigned IPv6 addresses.
IPV6_ONLY = 79632100;public static final NetworkProfileNetworkFeatures.SubnetworkStackTypes UNRECOGNIZED
public static final int UNDEFINED_SUBNETWORK_STACK_TYPES_VALUE
A value indicating that the enum field is not set.
UNDEFINED_SUBNETWORK_STACK_TYPES = 0;public static final int IPV4_IPV6_VALUE
New VMs in this subnet can have both IPv4 and IPv6 addresses.
IPV4_IPV6 = 22197249;public static final int IPV4_ONLY_VALUE
New VMs in this subnet will only be assigned IPv4 addresses.
IPV4_ONLY = 22373798;public static final int IPV6_ONLY_VALUE
New VMs in this subnet will only be assigned IPv6 addresses.
IPV6_ONLY = 79632100;public static NetworkProfileNetworkFeatures.SubnetworkStackTypes[] values()
for (NetworkProfileNetworkFeatures.SubnetworkStackTypes c : NetworkProfileNetworkFeatures.SubnetworkStackTypes.values()) System.out.println(c);
public static NetworkProfileNetworkFeatures.SubnetworkStackTypes 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 NetworkProfileNetworkFeatures.SubnetworkStackTypes valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NetworkProfileNetworkFeatures.SubnetworkStackTypes forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NetworkProfileNetworkFeatures.SubnetworkStackTypes> 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 NetworkProfileNetworkFeatures.SubnetworkStackTypes valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.