Enum Unit.UnitState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Unit.UnitState>
- Enclosing class:
- Unit
public static enum Unit.UnitState
extends Enum<Unit.UnitState>
implements com.google.protobuf.ProtocolMessageEnum
UnitState annotates what is the current state of the unit itself.Protobuf enum
google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit.UnitState-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUnit is being deleted.Unit has error, when it is not ready and some error operationUnit is not provisioned.Unit is being provisioned.Unit has been provisioned and is ready for useUnspecified state.Unit is being updated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUnit is being deleted.static final intUnit has error, when it is not ready and some error operationstatic final intUnit is not provisioned.static final intUnit is being provisioned.static final intUnit has been provisioned and is ready for usestatic final intUnspecified state.static final intUnit is being updated. -
Method Summary
Modifier and TypeMethodDescriptionstatic Unit.UnitStateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Unit.UnitState>static Unit.UnitStatevalueOf(int value) Deprecated.static Unit.UnitStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Unit.UnitStateReturns the enum constant of this type with the specified name.static Unit.UnitState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNIT_STATE_UNSPECIFIED
Unspecified state.
UNIT_STATE_UNSPECIFIED = 0; -
UNIT_STATE_NOT_PROVISIONED
Unit is not provisioned.
UNIT_STATE_NOT_PROVISIONED = 1; -
UNIT_STATE_PROVISIONING
Unit is being provisioned.
UNIT_STATE_PROVISIONING = 2; -
UNIT_STATE_UPDATING
Unit is being updated. This is typically when a unit is being upgraded to a new release or some of the input variables on the Unit is being changed. Certain kinds of updates may cause the Unit to become unusable while the update is in progress.
UNIT_STATE_UPDATING = 3; -
UNIT_STATE_DEPROVISIONING
Unit is being deleted.
UNIT_STATE_DEPROVISIONING = 4; -
UNIT_STATE_READY
Unit has been provisioned and is ready for use
UNIT_STATE_READY = 5; -
UNIT_STATE_ERROR
Unit has error, when it is not ready and some error operation
UNIT_STATE_ERROR = 6; -
UNRECOGNIZED
-
-
Field Details
-
UNIT_STATE_UNSPECIFIED_VALUE
public static final int UNIT_STATE_UNSPECIFIED_VALUEUnspecified state.
UNIT_STATE_UNSPECIFIED = 0;- See Also:
-
UNIT_STATE_NOT_PROVISIONED_VALUE
public static final int UNIT_STATE_NOT_PROVISIONED_VALUEUnit is not provisioned.
UNIT_STATE_NOT_PROVISIONED = 1;- See Also:
-
UNIT_STATE_PROVISIONING_VALUE
public static final int UNIT_STATE_PROVISIONING_VALUEUnit is being provisioned.
UNIT_STATE_PROVISIONING = 2;- See Also:
-
UNIT_STATE_UPDATING_VALUE
public static final int UNIT_STATE_UPDATING_VALUEUnit is being updated. This is typically when a unit is being upgraded to a new release or some of the input variables on the Unit is being changed. Certain kinds of updates may cause the Unit to become unusable while the update is in progress.
UNIT_STATE_UPDATING = 3;- See Also:
-
UNIT_STATE_DEPROVISIONING_VALUE
public static final int UNIT_STATE_DEPROVISIONING_VALUEUnit is being deleted.
UNIT_STATE_DEPROVISIONING = 4;- See Also:
-
UNIT_STATE_READY_VALUE
public static final int UNIT_STATE_READY_VALUEUnit has been provisioned and is ready for use
UNIT_STATE_READY = 5;- See Also:
-
UNIT_STATE_ERROR_VALUE
public static final int UNIT_STATE_ERROR_VALUEUnit has error, when it is not ready and some error operation
UNIT_STATE_ERROR = 6;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-