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