Enum UnitOperation.UnitOperationState

java.lang.Object
java.lang.Enum<UnitOperation.UnitOperationState>
com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperation.UnitOperationState
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<UnitOperation.UnitOperationState>
Enclosing class:
UnitOperation

public static enum UnitOperation.UnitOperationState extends Enum<UnitOperation.UnitOperationState> implements com.google.protobuf.ProtocolMessageEnum
 UnitOperationState describes the current state of the unit operation.
 
Protobuf enum google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperation.UnitOperationState
  • Enum Constant Details

    • UNIT_OPERATION_STATE_UNKNOWN

      public static final UnitOperation.UnitOperationState UNIT_OPERATION_STATE_UNKNOWN
      UNIT_OPERATION_STATE_UNKNOWN = 0;
    • UNIT_OPERATION_STATE_PENDING

      public static final UnitOperation.UnitOperationState UNIT_OPERATION_STATE_PENDING
       Unit operation is accepted but not ready to run.
       
      UNIT_OPERATION_STATE_PENDING = 1;
    • UNIT_OPERATION_STATE_SCHEDULED

      public static final UnitOperation.UnitOperationState UNIT_OPERATION_STATE_SCHEDULED
       Unit operation is accepted and scheduled.
       
      UNIT_OPERATION_STATE_SCHEDULED = 2;
    • UNIT_OPERATION_STATE_RUNNING

      public static final UnitOperation.UnitOperationState UNIT_OPERATION_STATE_RUNNING
       Unit operation is running.
       
      UNIT_OPERATION_STATE_RUNNING = 4;
    • UNIT_OPERATION_STATE_SUCCEEDED

      public static final UnitOperation.UnitOperationState UNIT_OPERATION_STATE_SUCCEEDED
       Unit operation has completed successfully.
       
      UNIT_OPERATION_STATE_SUCCEEDED = 5;
    • UNIT_OPERATION_STATE_FAILED

      public static final UnitOperation.UnitOperationState UNIT_OPERATION_STATE_FAILED
       Unit operation has failed.
       
      UNIT_OPERATION_STATE_FAILED = 6;
    • UNIT_OPERATION_STATE_CANCELLED

      public static final UnitOperation.UnitOperationState UNIT_OPERATION_STATE_CANCELLED
       Unit operation was cancelled.
       
      UNIT_OPERATION_STATE_CANCELLED = 7;
    • UNRECOGNIZED

      public static final UnitOperation.UnitOperationState UNRECOGNIZED
  • Field Details

    • UNIT_OPERATION_STATE_UNKNOWN_VALUE

      public static final int UNIT_OPERATION_STATE_UNKNOWN_VALUE
      UNIT_OPERATION_STATE_UNKNOWN = 0;
      See Also:
    • UNIT_OPERATION_STATE_PENDING_VALUE

      public static final int UNIT_OPERATION_STATE_PENDING_VALUE
       Unit operation is accepted but not ready to run.
       
      UNIT_OPERATION_STATE_PENDING = 1;
      See Also:
    • UNIT_OPERATION_STATE_SCHEDULED_VALUE

      public static final int UNIT_OPERATION_STATE_SCHEDULED_VALUE
       Unit operation is accepted and scheduled.
       
      UNIT_OPERATION_STATE_SCHEDULED = 2;
      See Also:
    • UNIT_OPERATION_STATE_RUNNING_VALUE

      public static final int UNIT_OPERATION_STATE_RUNNING_VALUE
       Unit operation is running.
       
      UNIT_OPERATION_STATE_RUNNING = 4;
      See Also:
    • UNIT_OPERATION_STATE_SUCCEEDED_VALUE

      public static final int UNIT_OPERATION_STATE_SUCCEEDED_VALUE
       Unit operation has completed successfully.
       
      UNIT_OPERATION_STATE_SUCCEEDED = 5;
      See Also:
    • UNIT_OPERATION_STATE_FAILED_VALUE

      public static final int UNIT_OPERATION_STATE_FAILED_VALUE
       Unit operation has failed.
       
      UNIT_OPERATION_STATE_FAILED = 6;
      See Also:
    • UNIT_OPERATION_STATE_CANCELLED_VALUE

      public static final int UNIT_OPERATION_STATE_CANCELLED_VALUE
       Unit operation was cancelled.
       
      UNIT_OPERATION_STATE_CANCELLED = 7;
      See Also:
  • Method Details

    • values

      public static UnitOperation.UnitOperationState[] 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 UnitOperation.UnitOperationState 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 UnitOperation.UnitOperationState 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 UnitOperation.UnitOperationState 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<UnitOperation.UnitOperationState> 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 UnitOperation.UnitOperationState 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