public static enum Table.ReplicationState extends Enum<Table.ReplicationState>
Enum Constant and Description |
---|
INITIALIZING
The cluster was recently created, and the table must finish copying over pre-existing data
from other clusters before it can begin receiving live replication updates and serving Data
API requests.
|
NOT_KNOWN
The replication state of the table is unknown in this cluster.
|
PLANNED_MAINTENANCE
The table is temporarily unable to serve Data API requests from this cluster due to planned
internal maintenance.
|
READY
The table can serve Data API requests from this cluster.
|
UNPLANNED_MAINTENANCE
The table is temporarily unable to serve Data API requests from this cluster due to unplanned
or emergency maintenance.
|
UNRECOGNIZED
The replication state of table is not known by this client.
|
Modifier and Type | Method and Description |
---|---|
static Table.ReplicationState |
fromProto(Table.ClusterState.ReplicationState proto)
Wraps the protobuf.
|
Table.ClusterState.ReplicationState |
toProto()
Creates the request protobuf.
|
static Table.ReplicationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Table.ReplicationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Table.ReplicationState NOT_KNOWN
public static final Table.ReplicationState INITIALIZING
public static final Table.ReplicationState PLANNED_MAINTENANCE
public static final Table.ReplicationState UNPLANNED_MAINTENANCE
public static final Table.ReplicationState READY
public static final Table.ReplicationState UNRECOGNIZED
public static Table.ReplicationState[] values()
for (Table.ReplicationState c : Table.ReplicationState.values()) System.out.println(c);
public static Table.ReplicationState 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 Table.ReplicationState fromProto(Table.ClusterState.ReplicationState proto)
@InternalApi public Table.ClusterState.ReplicationState toProto()
Copyright © 2019 Google LLC. All rights reserved.