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 CANCELLED
ProvisioningConfig was canceled.DRAFT
ProvisioningConfig is a draft and can be freely modified.FAILED
The request is submitted for provisioning, with error return.PROVISIONED
ProvisioningConfig was provisioned, meaning the resources exist.PROVISIONING
ProvisioningConfig was in the provisioning state.STATE_UNSPECIFIED
State wasn't specified.SUBMITTED
ProvisioningConfig was already submitted and cannot be modified.UNRECOGNIZED
VALIDATED
ProvisioningConfig was validated.
-
Field Summary
Fields Modifier and Type Field Description static int
CANCELLED_VALUE
ProvisioningConfig was canceled.static int
DRAFT_VALUE
ProvisioningConfig is a draft and can be freely modified.static int
FAILED_VALUE
The request is submitted for provisioning, with error return.static int
PROVISIONED_VALUE
ProvisioningConfig was provisioned, meaning the resources exist.static int
PROVISIONING_VALUE
ProvisioningConfig was in the provisioning state.static int
STATE_UNSPECIFIED_VALUE
State wasn't specified.static int
SUBMITTED_VALUE
ProvisioningConfig was already submitted and cannot be modified.static int
VALIDATED_VALUE
ProvisioningConfig was validated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ProvisioningConfig.State
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<ProvisioningConfig.State>
internalGetValueMap()
static ProvisioningConfig.State
valueOf(int value)
Deprecated.static ProvisioningConfig.State
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ProvisioningConfig.State
valueOf(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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in 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:
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 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
-
-