/** * * * <pre> * (`OutputOnly`) * The state of replication for the table in this cluster. * </pre> * * <code>.google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1; * </code> */ public Builder setReplicationState( com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState value) { if (value == null) { throw new NullPointerException(); } replicationState_ = value.getNumber(); onChanged(); return this; } /**
/** * * * <pre> * (`OutputOnly`) * The state of replication for the table in this cluster. * </pre> * * <code>.google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1; * </code> */ public Builder setReplicationState( com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState value) { if (value == null) { throw new NullPointerException(); } replicationState_ = value.getNumber(); onChanged(); return this; } /**
/** * * * <pre> * (`OutputOnly`) * The state of replication for the table in this cluster. * </pre> * * <code>.google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1; * </code> */ public Builder clearReplicationState() { replicationState_ = 0; onChanged(); return this; }
/** * * * <pre> * (`OutputOnly`) * The state of replication for the table in this cluster. * </pre> * * <code>.google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1; * </code> */ public Builder setReplicationStateValue(int value) { replicationState_ = value; onChanged(); return this; } /**
public Builder mergeFrom(com.google.bigtable.admin.v2.Table.ClusterState other) { if (other == com.google.bigtable.admin.v2.Table.ClusterState.getDefaultInstance()) return this; if (other.replicationState_ != 0) { setReplicationStateValue(other.getReplicationStateValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * (`OutputOnly`) * The state of replication for the table in this cluster. * </pre> * * <code>.google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1; * </code> */ public Builder clearReplicationState() { replicationState_ = 0; onChanged(); return this; }
/** * * * <pre> * (`OutputOnly`) * The state of replication for the table in this cluster. * </pre> * * <code>.google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1; * </code> */ public Builder setReplicationStateValue(int value) { replicationState_ = value; onChanged(); return this; } /**
public Builder mergeFrom(com.google.bigtable.admin.v2.Table.ClusterState other) { if (other == com.google.bigtable.admin.v2.Table.ClusterState.getDefaultInstance()) return this; if (other.replicationState_ != 0) { setReplicationStateValue(other.getReplicationStateValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }