Class ListInstancesResponse.Builder

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

public static final class ListInstancesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder> implements ListInstancesResponseOrBuilder
 Response message for BigtableInstanceAdmin.ListInstances.
 
Protobuf type google.bigtable.admin.v2.ListInstancesResponse
  • 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<ListInstancesResponse.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<ListInstancesResponse.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<ListInstancesResponse.Builder>
    • getDefaultInstanceForType

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

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

      public ListInstancesResponse 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<ListInstancesResponse.Builder>
    • setField

      public ListInstancesResponse.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<ListInstancesResponse.Builder>
    • clearField

      public ListInstancesResponse.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<ListInstancesResponse.Builder>
    • clearOneof

      public ListInstancesResponse.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<ListInstancesResponse.Builder>
    • setRepeatedField

      public ListInstancesResponse.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<ListInstancesResponse.Builder>
    • addRepeatedField

      public ListInstancesResponse.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<ListInstancesResponse.Builder>
    • mergeFrom

      public ListInstancesResponse.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<ListInstancesResponse.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<ListInstancesResponse.Builder>
    • mergeFrom

      public ListInstancesResponse.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<ListInstancesResponse.Builder>
      Throws:
      IOException
    • getInstancesList

      public List<Instance> getInstancesList()
       The list of requested instances.
       
      repeated .google.bigtable.admin.v2.Instance instances = 1;
      Specified by:
      getInstancesList in interface ListInstancesResponseOrBuilder
    • getInstancesCount

      public int getInstancesCount()
       The list of requested instances.
       
      repeated .google.bigtable.admin.v2.Instance instances = 1;
      Specified by:
      getInstancesCount in interface ListInstancesResponseOrBuilder
    • getInstances

      public Instance getInstances(int index)
       The list of requested instances.
       
      repeated .google.bigtable.admin.v2.Instance instances = 1;
      Specified by:
      getInstances in interface ListInstancesResponseOrBuilder
    • setInstances

      public ListInstancesResponse.Builder setInstances(int index, Instance value)
       The list of requested instances.
       
      repeated .google.bigtable.admin.v2.Instance instances = 1;
    • setInstances

      public ListInstancesResponse.Builder setInstances(int index, Instance.Builder builderForValue)
       The list of requested instances.
       
      repeated .google.bigtable.admin.v2.Instance instances = 1;
    • addInstances

      public ListInstancesResponse.Builder addInstances(Instance value)
       The list of requested instances.
       
      repeated .google.bigtable.admin.v2.Instance instances = 1;
    • addInstances

      public ListInstancesResponse.Builder addInstances(int index, Instance value)
       The list of requested instances.
       
      repeated .google.bigtable.admin.v2.Instance instances = 1;
    • addInstances

      public ListInstancesResponse.Builder addInstances(Instance.Builder builderForValue)
       The list of requested instances.
       
      repeated .google.bigtable.admin.v2.Instance instances = 1;
    • addInstances

      public ListInstancesResponse.Builder addInstances(int index, Instance.Builder builderForValue)
       The list of requested instances.
       
      repeated .google.bigtable.admin.v2.Instance instances = 1;
    • addAllInstances

      public ListInstancesResponse.Builder addAllInstances(Iterable<? extends Instance> values)
       The list of requested instances.
       
      repeated .google.bigtable.admin.v2.Instance instances = 1;
    • clearInstances

      public ListInstancesResponse.Builder clearInstances()
       The list of requested instances.
       
      repeated .google.bigtable.admin.v2.Instance instances = 1;
    • removeInstances

      public ListInstancesResponse.Builder removeInstances(int index)
       The list of requested instances.
       
      repeated .google.bigtable.admin.v2.Instance instances = 1;
    • getInstancesBuilder

      public Instance.Builder getInstancesBuilder(int index)
       The list of requested instances.
       
      repeated .google.bigtable.admin.v2.Instance instances = 1;
    • getInstancesOrBuilder

      public InstanceOrBuilder getInstancesOrBuilder(int index)
       The list of requested instances.
       
      repeated .google.bigtable.admin.v2.Instance instances = 1;
      Specified by:
      getInstancesOrBuilder in interface ListInstancesResponseOrBuilder
    • getInstancesOrBuilderList

      public List<? extends InstanceOrBuilder> getInstancesOrBuilderList()
       The list of requested instances.
       
      repeated .google.bigtable.admin.v2.Instance instances = 1;
      Specified by:
      getInstancesOrBuilderList in interface ListInstancesResponseOrBuilder
    • addInstancesBuilder

      public Instance.Builder addInstancesBuilder()
       The list of requested instances.
       
      repeated .google.bigtable.admin.v2.Instance instances = 1;
    • addInstancesBuilder

      public Instance.Builder addInstancesBuilder(int index)
       The list of requested instances.
       
      repeated .google.bigtable.admin.v2.Instance instances = 1;
    • getInstancesBuilderList

      public List<Instance.Builder> getInstancesBuilderList()
       The list of requested instances.
       
      repeated .google.bigtable.admin.v2.Instance instances = 1;
    • getFailedLocationsList

      public com.google.protobuf.ProtocolStringList getFailedLocationsList()
       Locations from which Instance information could not be retrieved,
       due to an outage or some other transient condition.
       Instances whose Clusters are all in one of the failed locations
       may be missing from `instances`, and Instances with at least one
       Cluster in a failed location 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 ListInstancesResponseOrBuilder
      Returns:
      A list containing the failedLocations.
    • getFailedLocationsCount

      public int getFailedLocationsCount()
       Locations from which Instance information could not be retrieved,
       due to an outage or some other transient condition.
       Instances whose Clusters are all in one of the failed locations
       may be missing from `instances`, and Instances with at least one
       Cluster in a failed location 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 ListInstancesResponseOrBuilder
      Returns:
      The count of failedLocations.
    • getFailedLocations

      public String getFailedLocations(int index)
       Locations from which Instance information could not be retrieved,
       due to an outage or some other transient condition.
       Instances whose Clusters are all in one of the failed locations
       may be missing from `instances`, and Instances with at least one
       Cluster in a failed location 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 ListInstancesResponseOrBuilder
      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 Instance information could not be retrieved,
       due to an outage or some other transient condition.
       Instances whose Clusters are all in one of the failed locations
       may be missing from `instances`, and Instances with at least one
       Cluster in a failed location 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 ListInstancesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the failedLocations at the given index.
    • setFailedLocations

      public ListInstancesResponse.Builder setFailedLocations(int index, String value)
       Locations from which Instance information could not be retrieved,
       due to an outage or some other transient condition.
       Instances whose Clusters are all in one of the failed locations
       may be missing from `instances`, and Instances with at least one
       Cluster in a failed location 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 ListInstancesResponse.Builder addFailedLocations(String value)
       Locations from which Instance information could not be retrieved,
       due to an outage or some other transient condition.
       Instances whose Clusters are all in one of the failed locations
       may be missing from `instances`, and Instances with at least one
       Cluster in a failed location 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 ListInstancesResponse.Builder addAllFailedLocations(Iterable<String> values)
       Locations from which Instance information could not be retrieved,
       due to an outage or some other transient condition.
       Instances whose Clusters are all in one of the failed locations
       may be missing from `instances`, and Instances with at least one
       Cluster in a failed location 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 ListInstancesResponse.Builder clearFailedLocations()
       Locations from which Instance information could not be retrieved,
       due to an outage or some other transient condition.
       Instances whose Clusters are all in one of the failed locations
       may be missing from `instances`, and Instances with at least one
       Cluster in a failed location 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 ListInstancesResponse.Builder addFailedLocationsBytes(com.google.protobuf.ByteString value)
       Locations from which Instance information could not be retrieved,
       due to an outage or some other transient condition.
       Instances whose Clusters are all in one of the failed locations
       may be missing from `instances`, and Instances with at least one
       Cluster in a failed location 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 ListInstancesResponseOrBuilder
      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 ListInstancesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListInstancesResponse.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 ListInstancesResponse.Builder clearNextPageToken()
       DEPRECATED: This field is unused and ignored.
       
      string next_page_token = 3;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListInstancesResponse.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 ListInstancesResponse.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<ListInstancesResponse.Builder>
    • mergeUnknownFields

      public final ListInstancesResponse.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<ListInstancesResponse.Builder>