Enum Table.ReplicationState

java.lang.Object
java.lang.Enum<Table.ReplicationState>
com.google.cloud.bigtable.admin.v2.models.Table.ReplicationState
All Implemented Interfaces:
Serializable, Comparable<Table.ReplicationState>
Enclosing class:
Table

public static enum Table.ReplicationState extends Enum<Table.ReplicationState>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    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.
    The replication state of the table is unknown in this cluster.
    The table is temporarily unable to serve Data API requests from this cluster due to planned internal maintenance.
    The table can serve Data API requests from this cluster.
    The table is fully created and ready for use after a restore, and is being optimized for performance.
    The table is temporarily unable to serve Data API requests from this cluster due to unplanned or emergency maintenance.
    The replication state of table is not known by this client.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromProto(com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState proto)
    Wraps the protobuf.
    com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState
    Creates the request protobuf.
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • NOT_KNOWN

      public static final Table.ReplicationState NOT_KNOWN
      The replication state of the table is unknown in this cluster.
    • INITIALIZING

      public static final Table.ReplicationState 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.
    • PLANNED_MAINTENANCE

      public static final Table.ReplicationState PLANNED_MAINTENANCE
      The table is temporarily unable to serve Data API requests from this cluster due to planned internal maintenance.
    • UNPLANNED_MAINTENANCE

      public static final Table.ReplicationState UNPLANNED_MAINTENANCE
      The table is temporarily unable to serve Data API requests from this cluster due to unplanned or emergency maintenance.
    • READY

      public static final Table.ReplicationState READY
      The table can serve Data API requests from this cluster. Depending on replication delay, reads may not immediately reflect the state of the table in other clusters.
    • READY_OPTIMIZING

      public static final Table.ReplicationState READY_OPTIMIZING
      The table is fully created and ready for use after a restore, and is being optimized for performance. When optimizations are complete, the table will transition to `READY` state.
    • UNRECOGNIZED

      public static final Table.ReplicationState UNRECOGNIZED
      The replication state of table is not known by this client. Please upgrade your client.
  • Method Details

    • values

      public static Table.ReplicationState[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Table.ReplicationState valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • fromProto

      @InternalApi public static Table.ReplicationState fromProto(com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState proto)
      Wraps the protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
    • toProto

      @InternalApi public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState toProto()
      Creates the request protobuf. This method is considered an internal implementation detail and not meant to be used by applications.