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 Summary
Enum ConstantsEnum ConstantDescriptionUnit operation was cancelled.Unit operation has failed.Unit operation is accepted but not ready to run.Unit operation is running.Unit operation is accepted and scheduled.Unit operation has completed successfully.UNIT_OPERATION_STATE_UNKNOWN = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUnit operation was cancelled.static final intUnit operation has failed.static final intUnit operation is accepted but not ready to run.static final intUnit operation is running.static final intUnit operation is accepted and scheduled.static final intUnit operation has completed successfully.static final intUNIT_OPERATION_STATE_UNKNOWN = 0; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<UnitOperation.UnitOperationState>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static UnitOperation.UnitOperationState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNIT_OPERATION_STATE_UNKNOWN
UNIT_OPERATION_STATE_UNKNOWN = 0; -
UNIT_OPERATION_STATE_PENDING
Unit operation is accepted but not ready to run.
UNIT_OPERATION_STATE_PENDING = 1; -
UNIT_OPERATION_STATE_SCHEDULED
Unit operation is accepted and scheduled.
UNIT_OPERATION_STATE_SCHEDULED = 2; -
UNIT_OPERATION_STATE_RUNNING
Unit operation is running.
UNIT_OPERATION_STATE_RUNNING = 4; -
UNIT_OPERATION_STATE_SUCCEEDED
Unit operation has completed successfully.
UNIT_OPERATION_STATE_SUCCEEDED = 5; -
UNIT_OPERATION_STATE_FAILED
Unit operation has failed.
UNIT_OPERATION_STATE_FAILED = 6; -
UNIT_OPERATION_STATE_CANCELLED
Unit operation was cancelled.
UNIT_OPERATION_STATE_CANCELLED = 7; -
UNRECOGNIZED
-
-
Field Details
-
UNIT_OPERATION_STATE_UNKNOWN_VALUE
public static final int UNIT_OPERATION_STATE_UNKNOWN_VALUEUNIT_OPERATION_STATE_UNKNOWN = 0;- See Also:
-
UNIT_OPERATION_STATE_PENDING_VALUE
public static final int UNIT_OPERATION_STATE_PENDING_VALUEUnit 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_VALUEUnit 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_VALUEUnit operation is running.
UNIT_OPERATION_STATE_RUNNING = 4;- See Also:
-
UNIT_OPERATION_STATE_SUCCEEDED_VALUE
public static final int UNIT_OPERATION_STATE_SUCCEEDED_VALUEUnit operation has completed successfully.
UNIT_OPERATION_STATE_SUCCEEDED = 5;- See Also:
-
UNIT_OPERATION_STATE_FAILED_VALUE
public static final int UNIT_OPERATION_STATE_FAILED_VALUEUnit operation has failed.
UNIT_OPERATION_STATE_FAILED = 6;- See Also:
-
UNIT_OPERATION_STATE_CANCELLED_VALUE
public static final int UNIT_OPERATION_STATE_CANCELLED_VALUEUnit operation was cancelled.
UNIT_OPERATION_STATE_CANCELLED = 7;- 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
public static com.google.protobuf.Internal.EnumLiteMap<UnitOperation.UnitOperationState> 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
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 nameNullPointerException- if the argument is null
-