public static enum Operation.Status extends java.lang.Enum<Operation.Status> implements ProtocolMessageEnum
Current status of the operation.Protobuf enum
google.container.v1.Operation.Status
Enum Constant and Description |
---|
ABORTING
The operation is aborting.
|
DONE
The operation is done, either cancelled or completed.
|
PENDING
The operation has been created.
|
RUNNING
The operation is currently running.
|
STATUS_UNSPECIFIED
Not set.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ABORTING_VALUE
The operation is aborting.
|
static int |
DONE_VALUE
The operation is done, either cancelled or completed.
|
static int |
PENDING_VALUE
The operation has been created.
|
static int |
RUNNING_VALUE
The operation is currently running.
|
static int |
STATUS_UNSPECIFIED_VALUE
Not set.
|
Modifier and Type | Method and Description |
---|---|
static Operation.Status |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Operation.Status> |
internalGetValueMap() |
static Operation.Status |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Operation.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Operation.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Operation.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operation.Status STATUS_UNSPECIFIED
Not set.
STATUS_UNSPECIFIED = 0;
public static final Operation.Status PENDING
The operation has been created.
PENDING = 1;
public static final Operation.Status RUNNING
The operation is currently running.
RUNNING = 2;
public static final Operation.Status DONE
The operation is done, either cancelled or completed.
DONE = 3;
public static final Operation.Status ABORTING
The operation is aborting.
ABORTING = 4;
public static final Operation.Status UNRECOGNIZED
public static final int STATUS_UNSPECIFIED_VALUE
Not set.
STATUS_UNSPECIFIED = 0;
public static final int PENDING_VALUE
The operation has been created.
PENDING = 1;
public static final int RUNNING_VALUE
The operation is currently running.
RUNNING = 2;
public static final int DONE_VALUE
The operation is done, either cancelled or completed.
DONE = 3;
public static final int ABORTING_VALUE
The operation is aborting.
ABORTING = 4;
public static Operation.Status[] values()
for (Operation.Status c : Operation.Status.values()) System.out.println(c);
public static Operation.Status valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Operation.Status valueOf(int value)
forNumber(int)
instead.public static Operation.Status forNumber(int value)
public static Internal.EnumLiteMap<Operation.Status> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Operation.Status valueOf(Descriptors.EnumValueDescriptor desc)