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