public static enum Cluster.State extends Enum<Cluster.State>
Enum Constant and Description |
---|
CREATING
The cluster is currently being created, and may be destroyed if the creation process
encounters an error.
|
DISABLED
The cluster has no backing nodes.
|
NOT_KNOWN
The state of the cluster could not be determined.
|
READY
The cluster has been successfully created and is ready to serve requests.
|
RESIZING
The cluster is currently being resized, and may revert to its previous node count if the
process encounters an error.
|
UNRECOGNIZED
The state of the cluster is not known by this client.
|
Modifier and Type | Method and Description |
---|---|
static Cluster.State |
fromProto(com.google.bigtable.admin.v2.Cluster.State proto)
Wraps the protobuf.
|
com.google.bigtable.admin.v2.Cluster.State |
toProto()
Creates the request protobuf.
|
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 NOT_KNOWN
public static final Cluster.State READY
public static final Cluster.State CREATING
public static final Cluster.State RESIZING
public static final Cluster.State DISABLED
public static final Cluster.State UNRECOGNIZED
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 null@InternalApi public static Cluster.State fromProto(com.google.bigtable.admin.v2.Cluster.State proto)
@InternalApi public com.google.bigtable.admin.v2.Cluster.State toProto()
Copyright © 2019 Google LLC. All rights reserved.