public static enum BatchCreateInstanceStatus.State extends Enum<BatchCreateInstanceStatus.State> implements com.google.protobuf.ProtocolMessageEnum
State contains all valid instance states for the BatchCreateInstances operation. This is mainly used for status reporting through the LRO metadata.Protobuf enum
google.cloud.alloydb.v1.BatchCreateInstanceStatus.State| Enum Constant and Description |
|---|
CREATING
The instance is being created.
|
DELETING
The instance is being deleted.
|
FAILED
The creation of the instance failed or a fatal error occurred during
an operation on the instance or a batch of instances.
|
PENDING_CREATE
Instance is pending creation and has not yet been picked up for
processing in the backend.
|
READY
The instance is active and running.
|
ROLLED_BACK
The instance was created successfully, but was rolled back and deleted
due to some other failure during BatchCreateInstances operation.
|
STATE_UNSPECIFIED
The state of the instance is unknown.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATING_VALUE
The instance is being created.
|
static int |
DELETING_VALUE
The instance is being deleted.
|
static int |
FAILED_VALUE
The creation of the instance failed or a fatal error occurred during
an operation on the instance or a batch of instances.
|
static int |
PENDING_CREATE_VALUE
Instance is pending creation and has not yet been picked up for
processing in the backend.
|
static int |
READY_VALUE
The instance is active and running.
|
static int |
ROLLED_BACK_VALUE
The instance was created successfully, but was rolled back and deleted
due to some other failure during BatchCreateInstances operation.
|
static int |
STATE_UNSPECIFIED_VALUE
The state of the instance is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
static BatchCreateInstanceStatus.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<BatchCreateInstanceStatus.State> |
internalGetValueMap() |
static BatchCreateInstanceStatus.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BatchCreateInstanceStatus.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BatchCreateInstanceStatus.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BatchCreateInstanceStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatchCreateInstanceStatus.State STATE_UNSPECIFIED
The state of the instance is unknown.
STATE_UNSPECIFIED = 0;public static final BatchCreateInstanceStatus.State PENDING_CREATE
Instance is pending creation and has not yet been picked up for processing in the backend.
PENDING_CREATE = 1;public static final BatchCreateInstanceStatus.State READY
The instance is active and running.
READY = 2;public static final BatchCreateInstanceStatus.State CREATING
The instance is being created.
CREATING = 3;public static final BatchCreateInstanceStatus.State DELETING
The instance is being deleted.
DELETING = 4;public static final BatchCreateInstanceStatus.State FAILED
The creation of the instance failed or a fatal error occurred during an operation on the instance or a batch of instances.
FAILED = 5;public static final BatchCreateInstanceStatus.State ROLLED_BACK
The instance was created successfully, but was rolled back and deleted due to some other failure during BatchCreateInstances operation.
ROLLED_BACK = 6;public static final BatchCreateInstanceStatus.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
The state of the instance is unknown.
STATE_UNSPECIFIED = 0;public static final int PENDING_CREATE_VALUE
Instance is pending creation and has not yet been picked up for processing in the backend.
PENDING_CREATE = 1;public static final int READY_VALUE
The instance is active and running.
READY = 2;public static final int CREATING_VALUE
The instance is being created.
CREATING = 3;public static final int DELETING_VALUE
The instance is being deleted.
DELETING = 4;public static final int FAILED_VALUE
The creation of the instance failed or a fatal error occurred during an operation on the instance or a batch of instances.
FAILED = 5;public static final int ROLLED_BACK_VALUE
The instance was created successfully, but was rolled back and deleted due to some other failure during BatchCreateInstances operation.
ROLLED_BACK = 6;public static BatchCreateInstanceStatus.State[] values()
for (BatchCreateInstanceStatus.State c : BatchCreateInstanceStatus.State.values()) System.out.println(c);
public static BatchCreateInstanceStatus.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 BatchCreateInstanceStatus.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static BatchCreateInstanceStatus.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BatchCreateInstanceStatus.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 BatchCreateInstanceStatus.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.