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