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_VLANInstance part of multiple (or single) client networks and private networks.NETWORKCONFIG_UNSPECIFIEDThe unspecified network configuration.SINGLE_VLANInstance part of single client network and single private network.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intMULTI_VLAN_VALUEInstance part of multiple (or single) client networks and private networks.static intNETWORKCONFIG_UNSPECIFIED_VALUEThe unspecified network configuration.static intSINGLE_VLAN_VALUEInstance 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.NetworkConfigforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<InstanceConfig.NetworkConfig>internalGetValueMap()static InstanceConfig.NetworkConfigvalueOf(int value)Deprecated.static InstanceConfig.NetworkConfigvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static InstanceConfig.NetworkConfigvalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-