public static enum ClusterOperationStatus.State extends java.lang.Enum<ClusterOperationStatus.State> implements ProtocolMessageEnum
The operation state.Protobuf enum
google.cloud.dataproc.v1.ClusterOperationStatus.State
Enum Constant and Description |
---|
DONE
The operation is done; either cancelled or completed.
|
PENDING
The operation has been created.
|
RUNNING
The operation is running.
|
UNKNOWN
Unused.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
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 running.
|
static int |
UNKNOWN_VALUE
Unused.
|
Modifier and Type | Method and Description |
---|---|
static ClusterOperationStatus.State |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ClusterOperationStatus.State> |
internalGetValueMap() |
static ClusterOperationStatus.State |
valueOf(Descriptors.EnumValueDescriptor desc) |
static ClusterOperationStatus.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ClusterOperationStatus.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClusterOperationStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterOperationStatus.State UNKNOWN
Unused.
UNKNOWN = 0;
public static final ClusterOperationStatus.State PENDING
The operation has been created.
PENDING = 1;
public static final ClusterOperationStatus.State RUNNING
The operation is running.
RUNNING = 2;
public static final ClusterOperationStatus.State DONE
The operation is done; either cancelled or completed.
DONE = 3;
public static final ClusterOperationStatus.State UNRECOGNIZED
public static final int UNKNOWN_VALUE
Unused.
UNKNOWN = 0;
public static final int PENDING_VALUE
The operation has been created.
PENDING = 1;
public static final int RUNNING_VALUE
The operation is running.
RUNNING = 2;
public static final int DONE_VALUE
The operation is done; either cancelled or completed.
DONE = 3;
public static ClusterOperationStatus.State[] values()
for (ClusterOperationStatus.State c : ClusterOperationStatus.State.values()) System.out.println(c);
public static ClusterOperationStatus.State 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 ClusterOperationStatus.State valueOf(int value)
forNumber(int)
instead.public static ClusterOperationStatus.State forNumber(int value)
public static Internal.EnumLiteMap<ClusterOperationStatus.State> 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 ClusterOperationStatus.State valueOf(Descriptors.EnumValueDescriptor desc)