Enum Table.ClusterState.ReplicationState

    • Enum Constant Detail

      • INITIALIZING

        public static final Table.ClusterState.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.
         
        INITIALIZING = 1;
      • PLANNED_MAINTENANCE

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

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

        public static final Table.ClusterState.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 = 4;
      • READY_OPTIMIZING

        public static final Table.ClusterState.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.
         
        READY_OPTIMIZING = 5;
    • Field Detail

      • STATE_NOT_KNOWN_VALUE

        public static final int STATE_NOT_KNOWN_VALUE
         The replication state of the table is unknown in this cluster.
         
        STATE_NOT_KNOWN = 0;
        See Also:
        Constant Field Values
      • INITIALIZING_VALUE

        public static final int INITIALIZING_VALUE
         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.
         
        INITIALIZING = 1;
        See Also:
        Constant Field Values
      • PLANNED_MAINTENANCE_VALUE

        public static final int PLANNED_MAINTENANCE_VALUE
         The table is temporarily unable to serve Data API requests from this
         cluster due to planned internal maintenance.
         
        PLANNED_MAINTENANCE = 2;
        See Also:
        Constant Field Values
      • UNPLANNED_MAINTENANCE_VALUE

        public static final int UNPLANNED_MAINTENANCE_VALUE
         The table is temporarily unable to serve Data API requests from this
         cluster due to unplanned or emergency maintenance.
         
        UNPLANNED_MAINTENANCE = 3;
        See Also:
        Constant Field Values
      • READY_VALUE

        public static final int READY_VALUE
         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 = 4;
        See Also:
        Constant Field Values
      • READY_OPTIMIZING_VALUE

        public static final int READY_OPTIMIZING_VALUE
         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.
         
        READY_OPTIMIZING = 5;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static Table.ClusterState.ReplicationState[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Table.ClusterState.ReplicationState c : Table.ClusterState.ReplicationState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Table.ClusterState.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
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static Table.ClusterState.ReplicationState valueOf​(int value)
        Deprecated.
        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:
        value - 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
      • forNumber

        public static Table.ClusterState.ReplicationState forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static Table.ClusterState.ReplicationState valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        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:
        desc - 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