/** * * * <pre> * The list of requested clusters. * </pre> * * <code>repeated .google.bigtable.admin.v2.Cluster clusters = 1;</code> */ public Builder clearClusters() { if (clustersBuilder_ == null) { clusters_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { clustersBuilder_.clear(); } return this; } /**
/** * * * <pre> * The list of requested clusters. * </pre> * * <code>repeated .google.bigtable.admin.v2.Cluster clusters = 1;</code> */ public Builder addClusters(com.google.bigtable.admin.v2.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClustersIsMutable(); clusters_.add(value); onChanged(); } else { clustersBuilder_.addMessage(value); } return this; } /**
/** * * * <pre> * The list of requested clusters. * </pre> * * <code>repeated .google.bigtable.admin.v2.Cluster clusters = 1;</code> */ public Builder setClusters(int index, com.google.bigtable.admin.v2.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClustersIsMutable(); clusters_.set(index, value); onChanged(); } else { clustersBuilder_.setMessage(index, value); } return this; } /**
/** * * * <pre> * DEPRECATED: This field is unused and ignored. * </pre> * * <code>string next_page_token = 3;</code> */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /**
/** * <pre> * Set if not all clusters could be returned in a single response. * Pass this value to `page_token` in another request to get the next * page of results. * </pre> * * <code>string next_page_token = 3;</code> */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /**
/** * * * <pre> * The list of requested clusters. * </pre> * * <code>repeated .google.bigtable.admin.v2.Cluster clusters = 1;</code> */ public Builder addAllClusters( java.lang.Iterable<? extends com.google.bigtable.admin.v2.Cluster> values) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusters_); onChanged(); } else { clustersBuilder_.addAllMessages(values); } return this; } /**
/** * * * <pre> * Locations from which Cluster information could not be retrieved, * due to an outage or some other transient condition. * Clusters from these locations may be missing from `clusters`, * or may only have partial information returned. * Values are of the form `projects/<project>/locations/<zone_id>` * </pre> * * <code>repeated string failed_locations = 2;</code> */ public Builder addFailedLocations(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.add(value); onChanged(); return this; } /**
/** * * * <pre> * The list of requested clusters. * </pre> * * <code>repeated .google.bigtable.admin.v2.Cluster clusters = 1;</code> */ public Builder addClusters(int index, com.google.bigtable.admin.v2.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClustersIsMutable(); clusters_.add(index, value); onChanged(); } else { clustersBuilder_.addMessage(index, value); } return this; } /**
/** * * * <pre> * The list of requested clusters. * </pre> * * <code>repeated .google.bigtable.admin.v2.Cluster clusters = 1;</code> */ public Builder addClusters(com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(builderForValue.build()); onChanged(); } else { clustersBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * Locations from which Cluster information could not be retrieved, * due to an outage or some other transient condition. * Clusters from these locations may be missing from `clusters`, * or may only have partial information returned. * Values are of the form `projects/<project>/locations/<zone_id>` * </pre> * * <code>repeated string failed_locations = 2;</code> */ public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(value); onChanged(); return this; }
/** * * * <pre> * Locations from which Cluster information could not be retrieved, * due to an outage or some other transient condition. * Clusters from these locations may be missing from `clusters`, * or may only have partial information returned. * Values are of the form `projects/<project>/locations/<zone_id>` * </pre> * * <code>repeated string failed_locations = 2;</code> */ public Builder setFailedLocations(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); onChanged(); return this; } /**
/** * * * <pre> * The list of requested clusters. * </pre> * * <code>repeated .google.bigtable.admin.v2.Cluster clusters = 1;</code> */ public Builder addClusters( int index, com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(index, builderForValue.build()); onChanged(); } else { clustersBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * The list of requested clusters. * </pre> * * <code>repeated .google.bigtable.admin.v2.Cluster clusters = 1;</code> */ public Builder setClusters( int index, com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.set(index, builderForValue.build()); onChanged(); } else { clustersBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * Locations from which Cluster information could not be retrieved, * due to an outage or some other transient condition. * Clusters from these locations may be missing from `clusters`, * or may only have partial information returned. * Values are of the form `projects/<project>/locations/<zone_id>` * </pre> * * <code>repeated string failed_locations = 2;</code> */ public Builder clearFailedLocations() { failedLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /**
/** * * * <pre> * DEPRECATED: This field is unused and ignored. * </pre> * * <code>string next_page_token = 3;</code> */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; onChanged(); return this; }
/** * * * <pre> * Locations from which Cluster information could not be retrieved, * due to an outage or some other transient condition. * Clusters from these locations may be missing from `clusters`, * or may only have partial information returned. * Values are of the form `projects/<project>/locations/<zone_id>` * </pre> * * <code>repeated string failed_locations = 2;</code> */ public Builder addAllFailedLocations(java.lang.Iterable<java.lang.String> values) { ensureFailedLocationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, failedLocations_); onChanged(); return this; } /**
/** * * * <pre> * The list of requested clusters. * </pre> * * <code>repeated .google.bigtable.admin.v2.Cluster clusters = 1;</code> */ public Builder removeClusters(int index) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.remove(index); onChanged(); } else { clustersBuilder_.remove(index); } return this; } /**
/** * * * <pre> * DEPRECATED: This field is unused and ignored. * </pre> * * <code>string next_page_token = 3;</code> */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; onChanged(); return this; } /**
/** * * * <pre> * DEPRECATED: This field is unused and ignored. * </pre> * * <code>string next_page_token = 3;</code> */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /**