Enum NetworkConfig.ServiceCidr
- java.lang.Object
-
- java.lang.Enum<NetworkConfig.ServiceCidr>
-
- com.google.cloud.baremetalsolution.v2.NetworkConfig.ServiceCidr
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<NetworkConfig.ServiceCidr>
- Enclosing class:
- NetworkConfig
public static enum NetworkConfig.ServiceCidr extends Enum<NetworkConfig.ServiceCidr> implements com.google.protobuf.ProtocolMessageEnum
Service network block.
Protobuf enumgoogle.cloud.baremetalsolution.v2.NetworkConfig.ServiceCidr
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLED
Services are disabled for the given network.HIGH_26
Use the highest /26 block of the network to host services.HIGH_27
Use the highest /27 block of the network to host services.HIGH_28
Use the highest /28 block of the network to host services.SERVICE_CIDR_UNSPECIFIED
Unspecified value.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
DISABLED_VALUE
Services are disabled for the given network.static int
HIGH_26_VALUE
Use the highest /26 block of the network to host services.static int
HIGH_27_VALUE
Use the highest /27 block of the network to host services.static int
HIGH_28_VALUE
Use the highest /28 block of the network to host services.static int
SERVICE_CIDR_UNSPECIFIED_VALUE
Unspecified value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static NetworkConfig.ServiceCidr
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<NetworkConfig.ServiceCidr>
internalGetValueMap()
static NetworkConfig.ServiceCidr
valueOf(int value)
Deprecated.static NetworkConfig.ServiceCidr
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static NetworkConfig.ServiceCidr
valueOf(String name)
Returns the enum constant of this type with the specified name.static NetworkConfig.ServiceCidr[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVICE_CIDR_UNSPECIFIED
public static final NetworkConfig.ServiceCidr SERVICE_CIDR_UNSPECIFIED
Unspecified value.
SERVICE_CIDR_UNSPECIFIED = 0;
-
DISABLED
public static final NetworkConfig.ServiceCidr DISABLED
Services are disabled for the given network.
DISABLED = 1;
-
HIGH_26
public static final NetworkConfig.ServiceCidr HIGH_26
Use the highest /26 block of the network to host services.
HIGH_26 = 2;
-
HIGH_27
public static final NetworkConfig.ServiceCidr HIGH_27
Use the highest /27 block of the network to host services.
HIGH_27 = 3;
-
HIGH_28
public static final NetworkConfig.ServiceCidr HIGH_28
Use the highest /28 block of the network to host services.
HIGH_28 = 4;
-
UNRECOGNIZED
public static final NetworkConfig.ServiceCidr UNRECOGNIZED
-
-
Field Detail
-
SERVICE_CIDR_UNSPECIFIED_VALUE
public static final int SERVICE_CIDR_UNSPECIFIED_VALUE
Unspecified value.
SERVICE_CIDR_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
DISABLED_VALUE
public static final int DISABLED_VALUE
Services are disabled for the given network.
DISABLED = 1;
- See Also:
- Constant Field Values
-
HIGH_26_VALUE
public static final int HIGH_26_VALUE
Use the highest /26 block of the network to host services.
HIGH_26 = 2;
- See Also:
- Constant Field Values
-
HIGH_27_VALUE
public static final int HIGH_27_VALUE
Use the highest /27 block of the network to host services.
HIGH_27 = 3;
- See Also:
- Constant Field Values
-
HIGH_28_VALUE
public static final int HIGH_28_VALUE
Use the highest /28 block of the network to host services.
HIGH_28 = 4;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static NetworkConfig.ServiceCidr[] 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 (NetworkConfig.ServiceCidr c : NetworkConfig.ServiceCidr.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NetworkConfig.ServiceCidr 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 NetworkConfig.ServiceCidr 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 NetworkConfig.ServiceCidr 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<NetworkConfig.ServiceCidr> 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 NetworkConfig.ServiceCidr 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
-
-