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 DISABLEDServices are disabled for the given network.HIGH_26Use the highest /26 block of the network to host services.HIGH_27Use the highest /27 block of the network to host services.HIGH_28Use the highest /28 block of the network to host services.SERVICE_CIDR_UNSPECIFIEDUnspecified value.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intDISABLED_VALUEServices are disabled for the given network.static intHIGH_26_VALUEUse the highest /26 block of the network to host services.static intHIGH_27_VALUEUse the highest /27 block of the network to host services.static intHIGH_28_VALUEUse the highest /28 block of the network to host services.static intSERVICE_CIDR_UNSPECIFIED_VALUEUnspecified value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static NetworkConfig.ServiceCidrforNumber(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<NetworkConfig.ServiceCidr>internalGetValueMap()static NetworkConfig.ServiceCidrvalueOf(int value)Deprecated.static NetworkConfig.ServiceCidrvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static NetworkConfig.ServiceCidrvalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
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 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
-
-