public static enum ClusterStatus.Substate extends Enum<ClusterStatus.Substate> implements ProtocolMessageEnum
The cluster substate.Protobuf enum
google.cloud.dataproc.v1.ClusterStatus.Substate
Enum Constant and Description |
---|
STALE_STATUS
The agent-reported status is out of date (may occur if
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
The cluster substate is unknown.
|
Modifier and Type | Field and Description |
---|---|
static int |
STALE_STATUS_VALUE
The agent-reported status is out of date (may occur if
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
The cluster substate is unknown.
|
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(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
The cluster substate is unknown.
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 Dataproc loses communication with Agent). Applies to RUNNING state.
STALE_STATUS = 2;
public static final ClusterStatus.Substate UNRECOGNIZED
public static final int UNSPECIFIED_VALUE
The cluster substate is unknown.
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 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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- 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.value
- The numeric wire value of the corresponding enum entry.public static ClusterStatus.Substate forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.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)
Copyright © 2022 Google LLC. All rights reserved.