public static enum ClusterStatus.Substate extends Enum<ClusterStatus.Substate> implements com.google.protobuf.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
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
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
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
The cluster substate is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
static ClusterStatus.Substate |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ClusterStatus.Substate> |
internalGetValueMap() |
static ClusterStatus.Substate |
valueOf(com.google.protobuf.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 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
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 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(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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ClusterStatus.Substate valueOf(int value)
forNumber(int) instead.public static ClusterStatus.Substate forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ClusterStatus.Substate> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ClusterStatus.Substate valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.