public static enum NetworkProfileNetworkFeatures.AllowExternalIpAccess extends Enum<NetworkProfileNetworkFeatures.AllowExternalIpAccess> implements com.google.protobuf.ProtocolMessageEnum
Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.Protobuf enum
google.cloud.compute.v1.NetworkProfileNetworkFeatures.AllowExternalIpAccess| Enum Constant and Description |
|---|
EXTERNAL_IP_ACCESS_ALLOWED
EXTERNAL_IP_ACCESS_ALLOWED = 109530193; |
EXTERNAL_IP_ACCESS_BLOCKED
EXTERNAL_IP_ACCESS_BLOCKED = 462564501; |
UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
EXTERNAL_IP_ACCESS_ALLOWED_VALUE
EXTERNAL_IP_ACCESS_ALLOWED = 109530193; |
static int |
EXTERNAL_IP_ACCESS_BLOCKED_VALUE
EXTERNAL_IP_ACCESS_BLOCKED = 462564501; |
static int |
UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkProfileNetworkFeatures.AllowExternalIpAccess |
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.AllowExternalIpAccess> |
internalGetValueMap() |
static NetworkProfileNetworkFeatures.AllowExternalIpAccess |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NetworkProfileNetworkFeatures.AllowExternalIpAccess |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NetworkProfileNetworkFeatures.AllowExternalIpAccess |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkProfileNetworkFeatures.AllowExternalIpAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkProfileNetworkFeatures.AllowExternalIpAccess UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS
A value indicating that the enum field is not set.
UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0;public static final NetworkProfileNetworkFeatures.AllowExternalIpAccess EXTERNAL_IP_ACCESS_ALLOWED
EXTERNAL_IP_ACCESS_ALLOWED = 109530193;public static final NetworkProfileNetworkFeatures.AllowExternalIpAccess EXTERNAL_IP_ACCESS_BLOCKED
EXTERNAL_IP_ACCESS_BLOCKED = 462564501;public static final NetworkProfileNetworkFeatures.AllowExternalIpAccess UNRECOGNIZED
public static final int UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS_VALUE
A value indicating that the enum field is not set.
UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0;public static final int EXTERNAL_IP_ACCESS_ALLOWED_VALUE
EXTERNAL_IP_ACCESS_ALLOWED = 109530193;public static final int EXTERNAL_IP_ACCESS_BLOCKED_VALUE
EXTERNAL_IP_ACCESS_BLOCKED = 462564501;public static NetworkProfileNetworkFeatures.AllowExternalIpAccess[] values()
for (NetworkProfileNetworkFeatures.AllowExternalIpAccess c : NetworkProfileNetworkFeatures.AllowExternalIpAccess.values()) System.out.println(c);
public static NetworkProfileNetworkFeatures.AllowExternalIpAccess 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.AllowExternalIpAccess valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NetworkProfileNetworkFeatures.AllowExternalIpAccess forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NetworkProfileNetworkFeatures.AllowExternalIpAccess> 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.AllowExternalIpAccess valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.