java.lang.Object
java.lang.Enum<Unit.UnitState>
com.google.cloud.saasplatform.saasservicemgmt.v1beta1.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 Details

    • UNIT_STATE_UNSPECIFIED

      public static final Unit.UnitState UNIT_STATE_UNSPECIFIED
       Unspecified state.
       
      UNIT_STATE_UNSPECIFIED = 0;
    • UNIT_STATE_NOT_PROVISIONED

      public static final Unit.UnitState UNIT_STATE_NOT_PROVISIONED
       Unit is not provisioned.
       
      UNIT_STATE_NOT_PROVISIONED = 1;
    • UNIT_STATE_PROVISIONING

      public static final Unit.UnitState UNIT_STATE_PROVISIONING
       Unit is being provisioned.
       
      UNIT_STATE_PROVISIONING = 2;
    • UNIT_STATE_UPDATING

      public static final Unit.UnitState 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

      public static final Unit.UnitState UNIT_STATE_DEPROVISIONING
       Unit is being deleted.
       
      UNIT_STATE_DEPROVISIONING = 4;
    • UNIT_STATE_READY

      public static final Unit.UnitState UNIT_STATE_READY
       Unit has been provisioned and is ready for use
       
      UNIT_STATE_READY = 5;
    • UNIT_STATE_ERROR

      public static final Unit.UnitState UNIT_STATE_ERROR
       Unit has error, when it is not ready and some error operation
       
      UNIT_STATE_ERROR = 6;
    • UNRECOGNIZED

      public static final Unit.UnitState UNRECOGNIZED
  • Field Details

    • UNIT_STATE_UNSPECIFIED_VALUE

      public static final int UNIT_STATE_UNSPECIFIED_VALUE
       Unspecified state.
       
      UNIT_STATE_UNSPECIFIED = 0;
      See Also:
    • UNIT_STATE_NOT_PROVISIONED_VALUE

      public static final int UNIT_STATE_NOT_PROVISIONED_VALUE
       Unit is not provisioned.
       
      UNIT_STATE_NOT_PROVISIONED = 1;
      See Also:
    • UNIT_STATE_PROVISIONING_VALUE

      public static final int UNIT_STATE_PROVISIONING_VALUE
       Unit is being provisioned.
       
      UNIT_STATE_PROVISIONING = 2;
      See Also:
    • UNIT_STATE_UPDATING_VALUE

      public static final int UNIT_STATE_UPDATING_VALUE
       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;
      See Also:
    • UNIT_STATE_DEPROVISIONING_VALUE

      public static final int UNIT_STATE_DEPROVISIONING_VALUE
       Unit is being deleted.
       
      UNIT_STATE_DEPROVISIONING = 4;
      See Also:
    • UNIT_STATE_READY_VALUE

      public static final int UNIT_STATE_READY_VALUE
       Unit 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_VALUE
       Unit has error, when it is not ready and some error operation
       
      UNIT_STATE_ERROR = 6;
      See Also:
  • Method Details

    • values

      public static Unit.UnitState[] 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

      public static Unit.UnitState 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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static Unit.UnitState 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 name
      NullPointerException - if the argument is null
    • forNumber

      public static Unit.UnitState 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<Unit.UnitState> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static Unit.UnitState 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 name
      NullPointerException - if the argument is null