public static enum ClusterStatus.Substate extends java.lang.Enum<ClusterStatus.Substate> implements ProtocolMessageEnum
google.cloud.dataproc.v1.ClusterStatus.Substate
Enum Constant and Description |
---|
STALE_STATUS
The agent-reported status is out of date (may occur if
Cloud Dataproc loses communication with Agent).
|
UNHEALTHY
The cluster is known to be in an unhealthy state
(for example, critical daemons are not running or HDFS capacity is
exhausted).
|
UNRECOGNIZED |
UNSPECIFIED
UNSPECIFIED = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
STALE_STATUS_VALUE
The agent-reported status is out of date (may occur if
Cloud Dataproc loses communication with Agent).
|
static int |
UNHEALTHY_VALUE
The cluster is known to be in an unhealthy state
(for example, critical daemons are not running or HDFS capacity is
exhausted).
|
static int |
UNSPECIFIED_VALUE
UNSPECIFIED = 0; |
Modifier and Type | Method and Description |
---|---|
static ClusterStatus.Substate |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ClusterStatus.Substate> |
internalGetValueMap() |
static ClusterStatus.Substate |
valueOf(Descriptors.EnumValueDescriptor desc) |
static ClusterStatus.Substate |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ClusterStatus.Substate |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClusterStatus.Substate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterStatus.Substate UNSPECIFIED
UNSPECIFIED = 0;
public static final ClusterStatus.Substate UNHEALTHY
The cluster is known to be in an unhealthy state (for example, critical daemons are not running or HDFS capacity is exhausted). Applies to RUNNING state.
UNHEALTHY = 1;
public static final ClusterStatus.Substate STALE_STATUS
The agent-reported status is out of date (may occur if Cloud Dataproc loses communication with Agent). Applies to RUNNING state.
STALE_STATUS = 2;
public static final ClusterStatus.Substate UNRECOGNIZED
public static final int UNSPECIFIED_VALUE
UNSPECIFIED = 0;
public static final int UNHEALTHY_VALUE
The cluster is known to be in an unhealthy state (for example, critical daemons are not running or HDFS capacity is exhausted). Applies to RUNNING state.
UNHEALTHY = 1;
public static final int STALE_STATUS_VALUE
The agent-reported status is out of date (may occur if Cloud Dataproc loses communication with Agent). Applies to RUNNING state.
STALE_STATUS = 2;
public static ClusterStatus.Substate[] values()
for (ClusterStatus.Substate c : ClusterStatus.Substate.values()) System.out.println(c);
public static ClusterStatus.Substate 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.Substate valueOf(int value)
forNumber(int)
instead.public static ClusterStatus.Substate forNumber(int value)
public static Internal.EnumLiteMap<ClusterStatus.Substate> 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.Substate valueOf(Descriptors.EnumValueDescriptor desc)