public static enum ClusterStatus.State extends java.lang.Enum<ClusterStatus.State> implements ProtocolMessageEnum
The cluster state.Protobuf enum
google.cloud.dataproc.v1.ClusterStatus.State
Enum Constant and Description |
---|
CREATING
The cluster is being created and set up.
|
DELETING
The cluster is being deleted.
|
ERROR
The cluster encountered an error.
|
RUNNING
The cluster is currently running and healthy.
|
UNKNOWN
The cluster state is unknown.
|
UNRECOGNIZED |
UPDATING
The cluster is being updated.
|
Modifier and Type | Field and Description |
---|---|
static int |
CREATING_VALUE
The cluster is being created and set up.
|
static int |
DELETING_VALUE
The cluster is being deleted.
|
static int |
ERROR_VALUE
The cluster encountered an error.
|
static int |
RUNNING_VALUE
The cluster is currently running and healthy.
|
static int |
UNKNOWN_VALUE
The cluster state is unknown.
|
static int |
UPDATING_VALUE
The cluster is being updated.
|
Modifier and Type | Method and Description |
---|---|
static ClusterStatus.State |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ClusterStatus.State> |
internalGetValueMap() |
static ClusterStatus.State |
valueOf(Descriptors.EnumValueDescriptor desc) |
static ClusterStatus.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ClusterStatus.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClusterStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterStatus.State UNKNOWN
The cluster state is unknown.
UNKNOWN = 0;
public static final ClusterStatus.State CREATING
The cluster is being created and set up. It is not ready for use.
CREATING = 1;
public static final ClusterStatus.State RUNNING
The cluster is currently running and healthy. It is ready for use.
RUNNING = 2;
public static final ClusterStatus.State ERROR
The cluster encountered an error. It is not ready for use.
ERROR = 3;
public static final ClusterStatus.State DELETING
The cluster is being deleted. It cannot be used.
DELETING = 4;
public static final ClusterStatus.State UPDATING
The cluster is being updated. It continues to accept and process jobs.
UPDATING = 5;
public static final ClusterStatus.State UNRECOGNIZED
public static final int UNKNOWN_VALUE
The cluster state is unknown.
UNKNOWN = 0;
public static final int CREATING_VALUE
The cluster is being created and set up. It is not ready for use.
CREATING = 1;
public static final int RUNNING_VALUE
The cluster is currently running and healthy. It is ready for use.
RUNNING = 2;
public static final int ERROR_VALUE
The cluster encountered an error. It is not ready for use.
ERROR = 3;
public static final int DELETING_VALUE
The cluster is being deleted. It cannot be used.
DELETING = 4;
public static final int UPDATING_VALUE
The cluster is being updated. It continues to accept and process jobs.
UPDATING = 5;
public static ClusterStatus.State[] values()
for (ClusterStatus.State c : ClusterStatus.State.values()) System.out.println(c);
public static ClusterStatus.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 ClusterStatus.State valueOf(int value)
forNumber(int)
instead.public static ClusterStatus.State forNumber(int value)
public static Internal.EnumLiteMap<ClusterStatus.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 ClusterStatus.State valueOf(Descriptors.EnumValueDescriptor desc)