Enum InstanceConfig.NetworkConfig
- java.lang.Object
-
- java.lang.Enum<InstanceConfig.NetworkConfig>
-
- com.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<InstanceConfig.NetworkConfig>
- Enclosing class:
- InstanceConfig
public static enum InstanceConfig.NetworkConfig extends Enum<InstanceConfig.NetworkConfig> implements com.google.protobuf.ProtocolMessageEnum
The network configuration of the instance.
Protobuf enumgoogle.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MULTI_VLAN
Instance part of multiple (or single) client networks and private networks.NETWORKCONFIG_UNSPECIFIED
The unspecified network configuration.SINGLE_VLAN
Instance part of single client network and single private network.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
MULTI_VLAN_VALUE
Instance part of multiple (or single) client networks and private networks.static int
NETWORKCONFIG_UNSPECIFIED_VALUE
The unspecified network configuration.static int
SINGLE_VLAN_VALUE
Instance part of single client network and single private network.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static InstanceConfig.NetworkConfig
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<InstanceConfig.NetworkConfig>
internalGetValueMap()
static InstanceConfig.NetworkConfig
valueOf(int value)
Deprecated.static InstanceConfig.NetworkConfig
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static InstanceConfig.NetworkConfig
valueOf(String name)
Returns the enum constant of this type with the specified name.static InstanceConfig.NetworkConfig[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NETWORKCONFIG_UNSPECIFIED
public static final InstanceConfig.NetworkConfig NETWORKCONFIG_UNSPECIFIED
The unspecified network configuration.
NETWORKCONFIG_UNSPECIFIED = 0;
-
SINGLE_VLAN
public static final InstanceConfig.NetworkConfig SINGLE_VLAN
Instance part of single client network and single private network.
SINGLE_VLAN = 1;
-
MULTI_VLAN
public static final InstanceConfig.NetworkConfig MULTI_VLAN
Instance part of multiple (or single) client networks and private networks.
MULTI_VLAN = 2;
-
UNRECOGNIZED
public static final InstanceConfig.NetworkConfig UNRECOGNIZED
-
-
Field Detail
-
NETWORKCONFIG_UNSPECIFIED_VALUE
public static final int NETWORKCONFIG_UNSPECIFIED_VALUE
The unspecified network configuration.
NETWORKCONFIG_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
SINGLE_VLAN_VALUE
public static final int SINGLE_VLAN_VALUE
Instance part of single client network and single private network.
SINGLE_VLAN = 1;
- See Also:
- Constant Field Values
-
MULTI_VLAN_VALUE
public static final int MULTI_VLAN_VALUE
Instance part of multiple (or single) client networks and private networks.
MULTI_VLAN = 2;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static InstanceConfig.NetworkConfig[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InstanceConfig.NetworkConfig c : InstanceConfig.NetworkConfig.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstanceConfig.NetworkConfig valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static InstanceConfig.NetworkConfig valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static InstanceConfig.NetworkConfig forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<InstanceConfig.NetworkConfig> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static InstanceConfig.NetworkConfig valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-