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