Class ListClustersResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
com.google.bigtable.admin.v2.ListClustersResponse.Builder
All Implemented Interfaces:
ListClustersResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListClustersResponse

public static final class ListClustersResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder> implements ListClustersResponseOrBuilder
 Response message for BigtableInstanceAdmin.ListClusters.
 
Protobuf type google.bigtable.admin.v2.ListClustersResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
    • getDefaultInstanceForType

      public ListClustersResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ListClustersResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListClustersResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
    • setField

      public ListClustersResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
    • clearField

      public ListClustersResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
    • clearOneof

      public ListClustersResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
    • setRepeatedField

      public ListClustersResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
    • addRepeatedField

      public ListClustersResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
    • mergeFrom

      public ListClustersResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListClustersResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
    • mergeFrom

      public ListClustersResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListClustersResponse.Builder>
      Throws:
      IOException
    • getClustersList

      public List<Cluster> getClustersList()
       The list of requested clusters.
       
      repeated .google.bigtable.admin.v2.Cluster clusters = 1;
      Specified by:
      getClustersList in interface ListClustersResponseOrBuilder
    • getClustersCount

      public int getClustersCount()
       The list of requested clusters.
       
      repeated .google.bigtable.admin.v2.Cluster clusters = 1;
      Specified by:
      getClustersCount in interface ListClustersResponseOrBuilder
    • getClusters

      public Cluster getClusters(int index)
       The list of requested clusters.
       
      repeated .google.bigtable.admin.v2.Cluster clusters = 1;
      Specified by:
      getClusters in interface ListClustersResponseOrBuilder
    • setClusters

      public ListClustersResponse.Builder setClusters(int index, Cluster value)
       The list of requested clusters.
       
      repeated .google.bigtable.admin.v2.Cluster clusters = 1;
    • setClusters

      public ListClustersResponse.Builder setClusters(int index, Cluster.Builder builderForValue)
       The list of requested clusters.
       
      repeated .google.bigtable.admin.v2.Cluster clusters = 1;
    • addClusters

      public ListClustersResponse.Builder addClusters(Cluster value)
       The list of requested clusters.
       
      repeated .google.bigtable.admin.v2.Cluster clusters = 1;
    • addClusters

      public ListClustersResponse.Builder addClusters(int index, Cluster value)
       The list of requested clusters.
       
      repeated .google.bigtable.admin.v2.Cluster clusters = 1;
    • addClusters

      public ListClustersResponse.Builder addClusters(Cluster.Builder builderForValue)
       The list of requested clusters.
       
      repeated .google.bigtable.admin.v2.Cluster clusters = 1;
    • addClusters

      public ListClustersResponse.Builder addClusters(int index, Cluster.Builder builderForValue)
       The list of requested clusters.
       
      repeated .google.bigtable.admin.v2.Cluster clusters = 1;
    • addAllClusters

      public ListClustersResponse.Builder addAllClusters(Iterable<? extends Cluster> values)
       The list of requested clusters.
       
      repeated .google.bigtable.admin.v2.Cluster clusters = 1;
    • clearClusters

      public ListClustersResponse.Builder clearClusters()
       The list of requested clusters.
       
      repeated .google.bigtable.admin.v2.Cluster clusters = 1;
    • removeClusters

      public ListClustersResponse.Builder removeClusters(int index)
       The list of requested clusters.
       
      repeated .google.bigtable.admin.v2.Cluster clusters = 1;
    • getClustersBuilder

      public Cluster.Builder getClustersBuilder(int index)
       The list of requested clusters.
       
      repeated .google.bigtable.admin.v2.Cluster clusters = 1;
    • getClustersOrBuilder

      public ClusterOrBuilder getClustersOrBuilder(int index)
       The list of requested clusters.
       
      repeated .google.bigtable.admin.v2.Cluster clusters = 1;
      Specified by:
      getClustersOrBuilder in interface ListClustersResponseOrBuilder
    • getClustersOrBuilderList

      public List<? extends ClusterOrBuilder> getClustersOrBuilderList()
       The list of requested clusters.
       
      repeated .google.bigtable.admin.v2.Cluster clusters = 1;
      Specified by:
      getClustersOrBuilderList in interface ListClustersResponseOrBuilder
    • addClustersBuilder

      public Cluster.Builder addClustersBuilder()
       The list of requested clusters.
       
      repeated .google.bigtable.admin.v2.Cluster clusters = 1;
    • addClustersBuilder

      public Cluster.Builder addClustersBuilder(int index)
       The list of requested clusters.
       
      repeated .google.bigtable.admin.v2.Cluster clusters = 1;
    • getClustersBuilderList

      public List<Cluster.Builder> getClustersBuilderList()
       The list of requested clusters.
       
      repeated .google.bigtable.admin.v2.Cluster clusters = 1;
    • getFailedLocationsList

      public com.google.protobuf.ProtocolStringList getFailedLocationsList()
       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>`
       
      repeated string failed_locations = 2;
      Specified by:
      getFailedLocationsList in interface ListClustersResponseOrBuilder
      Returns:
      A list containing the failedLocations.
    • getFailedLocationsCount

      public int getFailedLocationsCount()
       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>`
       
      repeated string failed_locations = 2;
      Specified by:
      getFailedLocationsCount in interface ListClustersResponseOrBuilder
      Returns:
      The count of failedLocations.
    • getFailedLocations

      public String getFailedLocations(int index)
       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>`
       
      repeated string failed_locations = 2;
      Specified by:
      getFailedLocations in interface ListClustersResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The failedLocations at the given index.
    • getFailedLocationsBytes

      public com.google.protobuf.ByteString getFailedLocationsBytes(int index)
       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>`
       
      repeated string failed_locations = 2;
      Specified by:
      getFailedLocationsBytes in interface ListClustersResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the failedLocations at the given index.
    • setFailedLocations

      public ListClustersResponse.Builder setFailedLocations(int index, String value)
       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>`
       
      repeated string failed_locations = 2;
      Parameters:
      index - The index to set the value at.
      value - The failedLocations to set.
      Returns:
      This builder for chaining.
    • addFailedLocations

      public ListClustersResponse.Builder addFailedLocations(String value)
       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>`
       
      repeated string failed_locations = 2;
      Parameters:
      value - The failedLocations to add.
      Returns:
      This builder for chaining.
    • addAllFailedLocations

      public ListClustersResponse.Builder addAllFailedLocations(Iterable<String> values)
       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>`
       
      repeated string failed_locations = 2;
      Parameters:
      values - The failedLocations to add.
      Returns:
      This builder for chaining.
    • clearFailedLocations

      public ListClustersResponse.Builder clearFailedLocations()
       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>`
       
      repeated string failed_locations = 2;
      Returns:
      This builder for chaining.
    • addFailedLocationsBytes

      public ListClustersResponse.Builder addFailedLocationsBytes(com.google.protobuf.ByteString value)
       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>`
       
      repeated string failed_locations = 2;
      Parameters:
      value - The bytes of the failedLocations to add.
      Returns:
      This builder for chaining.
    • getNextPageToken

      public String getNextPageToken()
       DEPRECATED: This field is unused and ignored.
       
      string next_page_token = 3;
      Specified by:
      getNextPageToken in interface ListClustersResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       DEPRECATED: This field is unused and ignored.
       
      string next_page_token = 3;
      Specified by:
      getNextPageTokenBytes in interface ListClustersResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListClustersResponse.Builder setNextPageToken(String value)
       DEPRECATED: This field is unused and ignored.
       
      string next_page_token = 3;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListClustersResponse.Builder clearNextPageToken()
       DEPRECATED: This field is unused and ignored.
       
      string next_page_token = 3;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListClustersResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       DEPRECATED: This field is unused and ignored.
       
      string next_page_token = 3;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ListClustersResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>
    • mergeUnknownFields

      public final ListClustersResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersResponse.Builder>