public static enum ClusterStatus.State extends Enum<ClusterStatus.State> implements com.google.protobuf.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 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.State> |
internalGetValueMap() |
static ClusterStatus.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ClusterStatus.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ClusterStatus.State |
valueOf(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(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.State valueOf(int value)
forNumber(int) instead.public static ClusterStatus.State forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ClusterStatus.State> 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.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.