public static enum PersistentResource.State extends Enum<PersistentResource.State> implements com.google.protobuf.ProtocolMessageEnum
Describes the PersistentResource state.Protobuf enum
google.cloud.aiplatform.v1beta1.PersistentResource.State| Enum Constant and Description |
|---|
ERROR
The ERROR state indicates the persistent resource may be unusable.
|
PROVISIONING
The PROVISIONING state indicates the persistent resources is being
created.
|
REBOOTING
The REBOOTING state indicates the persistent resource is being rebooted
(PR is not available right now but is expected to be ready again later).
|
RUNNING
The RUNNING state indicates the persistent resource is healthy and fully
usable.
|
STATE_UNSPECIFIED
Not set.
|
STOPPING
The STOPPING state indicates the persistent resource is being deleted.
|
UNRECOGNIZED |
UPDATING
The UPDATING state indicates the persistent resource is being updated.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_VALUE
The ERROR state indicates the persistent resource may be unusable.
|
static int |
PROVISIONING_VALUE
The PROVISIONING state indicates the persistent resources is being
created.
|
static int |
REBOOTING_VALUE
The REBOOTING state indicates the persistent resource is being rebooted
(PR is not available right now but is expected to be ready again later).
|
static int |
RUNNING_VALUE
The RUNNING state indicates the persistent resource is healthy and fully
usable.
|
static int |
STATE_UNSPECIFIED_VALUE
Not set.
|
static int |
STOPPING_VALUE
The STOPPING state indicates the persistent resource is being deleted.
|
static int |
UPDATING_VALUE
The UPDATING state indicates the persistent resource is being updated.
|
| Modifier and Type | Method and Description |
|---|---|
static PersistentResource.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<PersistentResource.State> |
internalGetValueMap() |
static PersistentResource.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PersistentResource.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PersistentResource.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistentResource.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistentResource.State STATE_UNSPECIFIED
Not set.
STATE_UNSPECIFIED = 0;public static final PersistentResource.State PROVISIONING
The PROVISIONING state indicates the persistent resources is being created.
PROVISIONING = 1;public static final PersistentResource.State RUNNING
The RUNNING state indicates the persistent resource is healthy and fully usable.
RUNNING = 3;public static final PersistentResource.State STOPPING
The STOPPING state indicates the persistent resource is being deleted.
STOPPING = 4;public static final PersistentResource.State ERROR
The ERROR state indicates the persistent resource may be unusable. Details can be found in the `error` field.
ERROR = 5;public static final PersistentResource.State REBOOTING
The REBOOTING state indicates the persistent resource is being rebooted (PR is not available right now but is expected to be ready again later).
REBOOTING = 6;public static final PersistentResource.State UPDATING
The UPDATING state indicates the persistent resource is being updated.
UPDATING = 7;public static final PersistentResource.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Not set.
STATE_UNSPECIFIED = 0;public static final int PROVISIONING_VALUE
The PROVISIONING state indicates the persistent resources is being created.
PROVISIONING = 1;public static final int RUNNING_VALUE
The RUNNING state indicates the persistent resource is healthy and fully usable.
RUNNING = 3;public static final int STOPPING_VALUE
The STOPPING state indicates the persistent resource is being deleted.
STOPPING = 4;public static final int ERROR_VALUE
The ERROR state indicates the persistent resource may be unusable. Details can be found in the `error` field.
ERROR = 5;public static final int REBOOTING_VALUE
The REBOOTING state indicates the persistent resource is being rebooted (PR is not available right now but is expected to be ready again later).
REBOOTING = 6;public static final int UPDATING_VALUE
The UPDATING state indicates the persistent resource is being updated.
UPDATING = 7;public static PersistentResource.State[] values()
for (PersistentResource.State c : PersistentResource.State.values()) System.out.println(c);
public static PersistentResource.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 PersistentResource.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static PersistentResource.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PersistentResource.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 PersistentResource.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.