public static enum NetworkProfileNetworkFeatures.AllowCloudNat extends Enum<NetworkProfileNetworkFeatures.AllowCloudNat> implements com.google.protobuf.ProtocolMessageEnum
Specifies whether cloud NAT creation is allowed.Protobuf enum
google.cloud.compute.v1.NetworkProfileNetworkFeatures.AllowCloudNat| Enum Constant and Description |
|---|
CLOUD_NAT_ALLOWED
CLOUD_NAT_ALLOWED = 245931296; |
CLOUD_NAT_BLOCKED
CLOUD_NAT_BLOCKED = 62094692; |
UNDEFINED_ALLOW_CLOUD_NAT
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CLOUD_NAT_ALLOWED_VALUE
CLOUD_NAT_ALLOWED = 245931296; |
static int |
CLOUD_NAT_BLOCKED_VALUE
CLOUD_NAT_BLOCKED = 62094692; |
static int |
UNDEFINED_ALLOW_CLOUD_NAT_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkProfileNetworkFeatures.AllowCloudNat |
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.AllowCloudNat> |
internalGetValueMap() |
static NetworkProfileNetworkFeatures.AllowCloudNat |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NetworkProfileNetworkFeatures.AllowCloudNat |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NetworkProfileNetworkFeatures.AllowCloudNat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkProfileNetworkFeatures.AllowCloudNat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkProfileNetworkFeatures.AllowCloudNat UNDEFINED_ALLOW_CLOUD_NAT
A value indicating that the enum field is not set.
UNDEFINED_ALLOW_CLOUD_NAT = 0;public static final NetworkProfileNetworkFeatures.AllowCloudNat CLOUD_NAT_ALLOWED
CLOUD_NAT_ALLOWED = 245931296;public static final NetworkProfileNetworkFeatures.AllowCloudNat CLOUD_NAT_BLOCKED
CLOUD_NAT_BLOCKED = 62094692;public static final NetworkProfileNetworkFeatures.AllowCloudNat UNRECOGNIZED
public static final int UNDEFINED_ALLOW_CLOUD_NAT_VALUE
A value indicating that the enum field is not set.
UNDEFINED_ALLOW_CLOUD_NAT = 0;public static final int CLOUD_NAT_ALLOWED_VALUE
CLOUD_NAT_ALLOWED = 245931296;public static final int CLOUD_NAT_BLOCKED_VALUE
CLOUD_NAT_BLOCKED = 62094692;public static NetworkProfileNetworkFeatures.AllowCloudNat[] values()
for (NetworkProfileNetworkFeatures.AllowCloudNat c : NetworkProfileNetworkFeatures.AllowCloudNat.values()) System.out.println(c);
public static NetworkProfileNetworkFeatures.AllowCloudNat 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.AllowCloudNat valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NetworkProfileNetworkFeatures.AllowCloudNat forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NetworkProfileNetworkFeatures.AllowCloudNat> 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.AllowCloudNat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.