public static enum Cluster.Status extends java.lang.Enum<Cluster.Status> implements ProtocolMessageEnum
The current status of the cluster.Protobuf enum
google.container.v1.Cluster.Status
Enum Constant and Description |
---|
ERROR
The ERROR state indicates the cluster may be unusable.
|
PROVISIONING
The PROVISIONING state indicates the cluster is being created.
|
RECONCILING
The RECONCILING state indicates that some work is actively being done on
the cluster, such as upgrading the master or node software.
|
RUNNING
The RUNNING state indicates the cluster has been created and is fully
usable.
|
STATUS_UNSPECIFIED
Not set.
|
STOPPING
The STOPPING state indicates the cluster is being deleted.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_VALUE
The ERROR state indicates the cluster may be unusable.
|
static int |
PROVISIONING_VALUE
The PROVISIONING state indicates the cluster is being created.
|
static int |
RECONCILING_VALUE
The RECONCILING state indicates that some work is actively being done on
the cluster, such as upgrading the master or node software.
|
static int |
RUNNING_VALUE
The RUNNING state indicates the cluster has been created and is fully
usable.
|
static int |
STATUS_UNSPECIFIED_VALUE
Not set.
|
static int |
STOPPING_VALUE
The STOPPING state indicates the cluster is being deleted.
|
Modifier and Type | Method and Description |
---|---|
static Cluster.Status |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Cluster.Status> |
internalGetValueMap() |
static Cluster.Status |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Cluster.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cluster.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Cluster.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cluster.Status STATUS_UNSPECIFIED
Not set.
STATUS_UNSPECIFIED = 0;
public static final Cluster.Status PROVISIONING
The PROVISIONING state indicates the cluster is being created.
PROVISIONING = 1;
public static final Cluster.Status RUNNING
The RUNNING state indicates the cluster has been created and is fully usable.
RUNNING = 2;
public static final Cluster.Status RECONCILING
The RECONCILING state indicates that some work is actively being done on the cluster, such as upgrading the master or node software. Details can be found in the `statusMessage` field.
RECONCILING = 3;
public static final Cluster.Status STOPPING
The STOPPING state indicates the cluster is being deleted.
STOPPING = 4;
public static final Cluster.Status ERROR
The ERROR state indicates the cluster may be unusable. Details can be found in the `statusMessage` field.
ERROR = 5;
public static final Cluster.Status UNRECOGNIZED
public static final int STATUS_UNSPECIFIED_VALUE
Not set.
STATUS_UNSPECIFIED = 0;
public static final int PROVISIONING_VALUE
The PROVISIONING state indicates the cluster is being created.
PROVISIONING = 1;
public static final int RUNNING_VALUE
The RUNNING state indicates the cluster has been created and is fully usable.
RUNNING = 2;
public static final int RECONCILING_VALUE
The RECONCILING state indicates that some work is actively being done on the cluster, such as upgrading the master or node software. Details can be found in the `statusMessage` field.
RECONCILING = 3;
public static final int STOPPING_VALUE
The STOPPING state indicates the cluster is being deleted.
STOPPING = 4;
public static final int ERROR_VALUE
The ERROR state indicates the cluster may be unusable. Details can be found in the `statusMessage` field.
ERROR = 5;
public static Cluster.Status[] values()
for (Cluster.Status c : Cluster.Status.values()) System.out.println(c);
public static Cluster.Status 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 Cluster.Status valueOf(int value)
forNumber(int)
instead.public static Cluster.Status forNumber(int value)
public static Internal.EnumLiteMap<Cluster.Status> 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 Cluster.Status valueOf(Descriptors.EnumValueDescriptor desc)