/** * * * <pre> * (`OutputOnly`) * Map from cluster ID to per-cluster table state. * If it could not be determined whether or not the table has data in a * particular cluster (for example, if its zone is unavailable), then * there will be an entry for the cluster with UNKNOWN `replication_status`. * Views: `REPLICATION_VIEW`, `FULL` * </pre> * * <code>map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2; * </code> */ public Builder putClusterStates( java.lang.String key, com.google.bigtable.admin.v2.Table.ClusterState value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableClusterStates().getMutableMap().put(key, value); return this; } /**
/** * * * <pre> * (`OutputOnly`) * Map from cluster ID to per-cluster table state. * If it could not be determined whether or not the table has data in a * particular cluster (for example, if its zone is unavailable), then * there will be an entry for the cluster with UNKNOWN `replication_status`. * Views: `REPLICATION_VIEW`, `FULL` * </pre> * * <code>map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2; * </code> */ public Builder removeClusterStates(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableClusterStates().getMutableMap().remove(key); return this; } /** Use alternate mutation accessors instead. */
/** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map<java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> getMutableClusterStates() { return internalGetMutableClusterStates().getMutableMap(); } /**
/** * * * <pre> * (`OutputOnly`) * Map from cluster ID to per-cluster table state. * If it could not be determined whether or not the table has data in a * particular cluster (for example, if its zone is unavailable), then * there will be an entry for the cluster with UNKNOWN `replication_status`. * Views: `REPLICATION_VIEW`, `FULL` * </pre> * * <code>map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2; * </code> */ public Builder putClusterStates( java.lang.String key, com.google.bigtable.admin.v2.Table.ClusterState value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableClusterStates().getMutableMap().put(key, value); return this; } /**
/** * * * <pre> * (`OutputOnly`) * Map from cluster ID to per-cluster table state. * If it could not be determined whether or not the table has data in a * particular cluster (for example, if its zone is unavailable), then * there will be an entry for the cluster with UNKNOWN `replication_status`. * Views: `REPLICATION_VIEW`, `FULL` * </pre> * * <code>map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2; * </code> */ public Builder removeClusterStates(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableClusterStates().getMutableMap().remove(key); return this; } /** Use alternate mutation accessors instead. */
/** * * * <pre> * (`OutputOnly`) * Map from cluster ID to per-cluster table state. * If it could not be determined whether or not the table has data in a * particular cluster (for example, if its zone is unavailable), then * there will be an entry for the cluster with UNKNOWN `replication_status`. * Views: `REPLICATION_VIEW`, `FULL` * </pre> * * <code>map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2; * </code> */ public Builder putAllClusterStates( java.util.Map<java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> values) { internalGetMutableClusterStates().getMutableMap().putAll(values); return this; }
public Builder mergeFrom(com.google.bigtable.admin.v2.Table other) { if (other == com.google.bigtable.admin.v2.Table.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } internalGetMutableClusterStates().mergeFrom(other.internalGetClusterStates()); internalGetMutableColumnFamilies().mergeFrom(other.internalGetColumnFamilies()); if (other.granularity_ != 0) { setGranularityValue(other.getGranularityValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map<java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> getMutableClusterStates() { return internalGetMutableClusterStates().getMutableMap(); } /**
public Builder clearClusterStates() { internalGetMutableClusterStates().getMutableMap().clear(); return this; } /**
@SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 2: return internalGetMutableClusterStates(); case 3: return internalGetMutableColumnFamilies(); default: throw new RuntimeException("Invalid map field number: " + number); } }
@java.lang.Override public Builder clear() { super.clear(); name_ = ""; internalGetMutableClusterStates().clear(); internalGetMutableColumnFamilies().clear(); granularity_ = 0; return this; }
/** * * * <pre> * (`OutputOnly`) * Map from cluster ID to per-cluster table state. * If it could not be determined whether or not the table has data in a * particular cluster (for example, if its zone is unavailable), then * there will be an entry for the cluster with UNKNOWN `replication_status`. * Views: `REPLICATION_VIEW`, `FULL` * </pre> * * <code>map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2; * </code> */ public Builder putAllClusterStates( java.util.Map<java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> values) { internalGetMutableClusterStates().getMutableMap().putAll(values); return this; }
public Builder mergeFrom(com.google.bigtable.admin.v2.Table other) { if (other == com.google.bigtable.admin.v2.Table.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } internalGetMutableClusterStates().mergeFrom(other.internalGetClusterStates()); internalGetMutableColumnFamilies().mergeFrom(other.internalGetColumnFamilies()); if (other.granularity_ != 0) { setGranularityValue(other.getGranularityValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder clearClusterStates() { internalGetMutableClusterStates().getMutableMap().clear(); return this; } /**
@java.lang.Override public Builder clear() { super.clear(); name_ = ""; internalGetMutableClusterStates().clear(); internalGetMutableColumnFamilies().clear(); granularity_ = 0; return this; }
@SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 2: return internalGetMutableClusterStates(); case 3: return internalGetMutableColumnFamilies(); default: throw new RuntimeException("Invalid map field number: " + number); } }