public static enum Cluster.State extends Enum<Cluster.State> implements com.google.protobuf.ProtocolMessageEnum
Cluster StateProtobuf enum
google.cloud.alloydb.v1.Cluster.State| Enum Constant and Description |
|---|
BOOTSTRAPPING
The cluster is bootstrapping with data from some other source.
|
CREATING
The cluster is being created.
|
DELETING
The cluster is being deleted.
|
EMPTY
The cluster is empty and has no associated resources.
|
FAILED
The creation of the cluster failed.
|
MAINTENANCE
The cluster is under maintenance.
|
PROMOTING
The cluster is being promoted.
|
READY
The cluster is active and running.
|
STATE_UNSPECIFIED
The state of the cluster is unknown.
|
STOPPED
The cluster is stopped.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BOOTSTRAPPING_VALUE
The cluster is bootstrapping with data from some other source.
|
static int |
CREATING_VALUE
The cluster is being created.
|
static int |
DELETING_VALUE
The cluster is being deleted.
|
static int |
EMPTY_VALUE
The cluster is empty and has no associated resources.
|
static int |
FAILED_VALUE
The creation of the cluster failed.
|
static int |
MAINTENANCE_VALUE
The cluster is under maintenance.
|
static int |
PROMOTING_VALUE
The cluster is being promoted.
|
static int |
READY_VALUE
The cluster is active and running.
|
static int |
STATE_UNSPECIFIED_VALUE
The state of the cluster is unknown.
|
static int |
STOPPED_VALUE
The cluster is stopped.
|
| Modifier and Type | Method and Description |
|---|---|
static Cluster.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<Cluster.State> |
internalGetValueMap() |
static Cluster.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Cluster.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cluster.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cluster.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cluster.State STATE_UNSPECIFIED
The state of the cluster is unknown.
STATE_UNSPECIFIED = 0;public static final Cluster.State READY
The cluster is active and running.
READY = 1;public static final Cluster.State STOPPED
The cluster is stopped. All instances in the cluster are stopped. Customers can start a stopped cluster at any point and all their instances will come back to life with same names and IP resources. In this state, customer pays for storage. Associated backups could also be present in a stopped cluster.
STOPPED = 2;public static final Cluster.State EMPTY
The cluster is empty and has no associated resources. All instances, associated storage and backups have been deleted.
EMPTY = 3;public static final Cluster.State CREATING
The cluster is being created.
CREATING = 4;public static final Cluster.State DELETING
The cluster is being deleted.
DELETING = 5;public static final Cluster.State FAILED
The creation of the cluster failed.
FAILED = 6;public static final Cluster.State BOOTSTRAPPING
The cluster is bootstrapping with data from some other source. Direct mutations to the cluster (e.g. adding read pool) are not allowed.
BOOTSTRAPPING = 7;public static final Cluster.State MAINTENANCE
The cluster is under maintenance. AlloyDB regularly performs maintenance and upgrades on customer clusters. Updates on the cluster are not allowed while the cluster is in this state.
MAINTENANCE = 8;public static final Cluster.State PROMOTING
The cluster is being promoted.
PROMOTING = 9;public static final Cluster.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
The state of the cluster is unknown.
STATE_UNSPECIFIED = 0;public static final int READY_VALUE
The cluster is active and running.
READY = 1;public static final int STOPPED_VALUE
The cluster is stopped. All instances in the cluster are stopped. Customers can start a stopped cluster at any point and all their instances will come back to life with same names and IP resources. In this state, customer pays for storage. Associated backups could also be present in a stopped cluster.
STOPPED = 2;public static final int EMPTY_VALUE
The cluster is empty and has no associated resources. All instances, associated storage and backups have been deleted.
EMPTY = 3;public static final int CREATING_VALUE
The cluster is being created.
CREATING = 4;public static final int DELETING_VALUE
The cluster is being deleted.
DELETING = 5;public static final int FAILED_VALUE
The creation of the cluster failed.
FAILED = 6;public static final int BOOTSTRAPPING_VALUE
The cluster is bootstrapping with data from some other source. Direct mutations to the cluster (e.g. adding read pool) are not allowed.
BOOTSTRAPPING = 7;public static final int MAINTENANCE_VALUE
The cluster is under maintenance. AlloyDB regularly performs maintenance and upgrades on customer clusters. Updates on the cluster are not allowed while the cluster is in this state.
MAINTENANCE = 8;public static final int PROMOTING_VALUE
The cluster is being promoted.
PROMOTING = 9;public static Cluster.State[] values()
for (Cluster.State c : Cluster.State.values()) System.out.println(c);
public static Cluster.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 Cluster.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Cluster.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Cluster.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 Cluster.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.