Enum ProvisioningConfig.State
- java.lang.Object
-
- java.lang.Enum<ProvisioningConfig.State>
-
- com.google.cloud.baremetalsolution.v2.ProvisioningConfig.State
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ProvisioningConfig.State>
- Enclosing class:
- ProvisioningConfig
public static enum ProvisioningConfig.State extends Enum<ProvisioningConfig.State> implements com.google.protobuf.ProtocolMessageEnum
The possible states for this ProvisioningConfig.
Protobuf enumgoogle.cloud.baremetalsolution.v2.ProvisioningConfig.State
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLEDProvisioningConfig was canceled.DRAFTProvisioningConfig is a draft and can be freely modified.FAILEDThe request is submitted for provisioning, with error return.PROVISIONEDProvisioningConfig was provisioned, meaning the resources exist.PROVISIONINGProvisioningConfig was in the provisioning state.STATE_UNSPECIFIEDState wasn't specified.SUBMITTEDProvisioningConfig was already submitted and cannot be modified.UNRECOGNIZEDVALIDATEDProvisioningConfig was validated.
-
Field Summary
Fields Modifier and Type Field Description static intCANCELLED_VALUEProvisioningConfig was canceled.static intDRAFT_VALUEProvisioningConfig is a draft and can be freely modified.static intFAILED_VALUEThe request is submitted for provisioning, with error return.static intPROVISIONED_VALUEProvisioningConfig was provisioned, meaning the resources exist.static intPROVISIONING_VALUEProvisioningConfig was in the provisioning state.static intSTATE_UNSPECIFIED_VALUEState wasn't specified.static intSUBMITTED_VALUEProvisioningConfig was already submitted and cannot be modified.static intVALIDATED_VALUEProvisioningConfig was validated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ProvisioningConfig.StateforNumber(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<ProvisioningConfig.State>internalGetValueMap()static ProvisioningConfig.StatevalueOf(int value)Deprecated.static ProvisioningConfig.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ProvisioningConfig.StatevalueOf(String name)Returns the enum constant of this type with the specified name.static ProvisioningConfig.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATE_UNSPECIFIED
public static final ProvisioningConfig.State STATE_UNSPECIFIED
State wasn't specified.
STATE_UNSPECIFIED = 0;
-
DRAFT
public static final ProvisioningConfig.State DRAFT
ProvisioningConfig is a draft and can be freely modified.
DRAFT = 1;
-
SUBMITTED
public static final ProvisioningConfig.State SUBMITTED
ProvisioningConfig was already submitted and cannot be modified.
SUBMITTED = 2;
-
PROVISIONING
public static final ProvisioningConfig.State PROVISIONING
ProvisioningConfig was in the provisioning state. Initially this state comes from the work order table in big query when SNOW is used. Later this field can be set by the work order API.
PROVISIONING = 3;
-
PROVISIONED
public static final ProvisioningConfig.State PROVISIONED
ProvisioningConfig was provisioned, meaning the resources exist.
PROVISIONED = 4;
-
VALIDATED
public static final ProvisioningConfig.State VALIDATED
ProvisioningConfig was validated. A validation tool will be run to set this state.
VALIDATED = 5;
-
CANCELLED
public static final ProvisioningConfig.State CANCELLED
ProvisioningConfig was canceled.
CANCELLED = 6;
-
FAILED
public static final ProvisioningConfig.State FAILED
The request is submitted for provisioning, with error return.
FAILED = 7;
-
UNRECOGNIZED
public static final ProvisioningConfig.State UNRECOGNIZED
-
-
Field Detail
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUE
State wasn't specified.
STATE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
DRAFT_VALUE
public static final int DRAFT_VALUE
ProvisioningConfig is a draft and can be freely modified.
DRAFT = 1;- See Also:
- Constant Field Values
-
SUBMITTED_VALUE
public static final int SUBMITTED_VALUE
ProvisioningConfig was already submitted and cannot be modified.
SUBMITTED = 2;- See Also:
- Constant Field Values
-
PROVISIONING_VALUE
public static final int PROVISIONING_VALUE
ProvisioningConfig was in the provisioning state. Initially this state comes from the work order table in big query when SNOW is used. Later this field can be set by the work order API.
PROVISIONING = 3;- See Also:
- Constant Field Values
-
PROVISIONED_VALUE
public static final int PROVISIONED_VALUE
ProvisioningConfig was provisioned, meaning the resources exist.
PROVISIONED = 4;- See Also:
- Constant Field Values
-
VALIDATED_VALUE
public static final int VALIDATED_VALUE
ProvisioningConfig was validated. A validation tool will be run to set this state.
VALIDATED = 5;- See Also:
- Constant Field Values
-
CANCELLED_VALUE
public static final int CANCELLED_VALUE
ProvisioningConfig was canceled.
CANCELLED = 6;- See Also:
- Constant Field Values
-
FAILED_VALUE
public static final int FAILED_VALUE
The request is submitted for provisioning, with error return.
FAILED = 7;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ProvisioningConfig.State[] 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 (ProvisioningConfig.State c : ProvisioningConfig.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProvisioningConfig.State 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 ProvisioningConfig.State 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 ProvisioningConfig.State 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<ProvisioningConfig.State> 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 ProvisioningConfig.State 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
-
-