Class ListAppProfilesResponse.Builder

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

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

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

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

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

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

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

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

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

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

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

      public ListAppProfilesResponse.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<ListAppProfilesResponse.Builder>
      Throws:
      IOException
    • getAppProfilesList

      public List<AppProfile> getAppProfilesList()
       The list of requested app profiles.
       
      repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
      Specified by:
      getAppProfilesList in interface ListAppProfilesResponseOrBuilder
    • getAppProfilesCount

      public int getAppProfilesCount()
       The list of requested app profiles.
       
      repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
      Specified by:
      getAppProfilesCount in interface ListAppProfilesResponseOrBuilder
    • getAppProfiles

      public AppProfile getAppProfiles(int index)
       The list of requested app profiles.
       
      repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
      Specified by:
      getAppProfiles in interface ListAppProfilesResponseOrBuilder
    • setAppProfiles

      public ListAppProfilesResponse.Builder setAppProfiles(int index, AppProfile value)
       The list of requested app profiles.
       
      repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
    • setAppProfiles

      public ListAppProfilesResponse.Builder setAppProfiles(int index, AppProfile.Builder builderForValue)
       The list of requested app profiles.
       
      repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
    • addAppProfiles

      public ListAppProfilesResponse.Builder addAppProfiles(AppProfile value)
       The list of requested app profiles.
       
      repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
    • addAppProfiles

      public ListAppProfilesResponse.Builder addAppProfiles(int index, AppProfile value)
       The list of requested app profiles.
       
      repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
    • addAppProfiles

      public ListAppProfilesResponse.Builder addAppProfiles(AppProfile.Builder builderForValue)
       The list of requested app profiles.
       
      repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
    • addAppProfiles

      public ListAppProfilesResponse.Builder addAppProfiles(int index, AppProfile.Builder builderForValue)
       The list of requested app profiles.
       
      repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
    • addAllAppProfiles

      public ListAppProfilesResponse.Builder addAllAppProfiles(Iterable<? extends AppProfile> values)
       The list of requested app profiles.
       
      repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
    • clearAppProfiles

      public ListAppProfilesResponse.Builder clearAppProfiles()
       The list of requested app profiles.
       
      repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
    • removeAppProfiles

      public ListAppProfilesResponse.Builder removeAppProfiles(int index)
       The list of requested app profiles.
       
      repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
    • getAppProfilesBuilder

      public AppProfile.Builder getAppProfilesBuilder(int index)
       The list of requested app profiles.
       
      repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
    • getAppProfilesOrBuilder

      public AppProfileOrBuilder getAppProfilesOrBuilder(int index)
       The list of requested app profiles.
       
      repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
      Specified by:
      getAppProfilesOrBuilder in interface ListAppProfilesResponseOrBuilder
    • getAppProfilesOrBuilderList

      public List<? extends AppProfileOrBuilder> getAppProfilesOrBuilderList()
       The list of requested app profiles.
       
      repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
      Specified by:
      getAppProfilesOrBuilderList in interface ListAppProfilesResponseOrBuilder
    • addAppProfilesBuilder

      public AppProfile.Builder addAppProfilesBuilder()
       The list of requested app profiles.
       
      repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
    • addAppProfilesBuilder

      public AppProfile.Builder addAppProfilesBuilder(int index)
       The list of requested app profiles.
       
      repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
    • getAppProfilesBuilderList

      public List<AppProfile.Builder> getAppProfilesBuilderList()
       The list of requested app profiles.
       
      repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
    • getNextPageToken

      public String getNextPageToken()
       Set if not all app profiles could be returned in a single response.
       Pass this value to `page_token` in another request to get the next
       page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListAppProfilesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Set if not all app profiles could be returned in a single response.
       Pass this value to `page_token` in another request to get the next
       page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListAppProfilesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListAppProfilesResponse.Builder setNextPageToken(String value)
       Set if not all app profiles could be returned in a single response.
       Pass this value to `page_token` in another request to get the next
       page of results.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListAppProfilesResponse.Builder clearNextPageToken()
       Set if not all app profiles could be returned in a single response.
       Pass this value to `page_token` in another request to get the next
       page of results.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListAppProfilesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Set if not all app profiles could be returned in a single response.
       Pass this value to `page_token` in another request to get the next
       page of results.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getFailedLocationsList

      public com.google.protobuf.ProtocolStringList getFailedLocationsList()
       Locations from which AppProfile information could not be retrieved,
       due to an outage or some other transient condition.
       AppProfiles from these locations may be missing from `app_profiles`.
       Values are of the form `projects/<project>/locations/<zone_id>`
       
      repeated string failed_locations = 3;
      Specified by:
      getFailedLocationsList in interface ListAppProfilesResponseOrBuilder
      Returns:
      A list containing the failedLocations.
    • getFailedLocationsCount

      public int getFailedLocationsCount()
       Locations from which AppProfile information could not be retrieved,
       due to an outage or some other transient condition.
       AppProfiles from these locations may be missing from `app_profiles`.
       Values are of the form `projects/<project>/locations/<zone_id>`
       
      repeated string failed_locations = 3;
      Specified by:
      getFailedLocationsCount in interface ListAppProfilesResponseOrBuilder
      Returns:
      The count of failedLocations.
    • getFailedLocations

      public String getFailedLocations(int index)
       Locations from which AppProfile information could not be retrieved,
       due to an outage or some other transient condition.
       AppProfiles from these locations may be missing from `app_profiles`.
       Values are of the form `projects/<project>/locations/<zone_id>`
       
      repeated string failed_locations = 3;
      Specified by:
      getFailedLocations in interface ListAppProfilesResponseOrBuilder
      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 AppProfile information could not be retrieved,
       due to an outage or some other transient condition.
       AppProfiles from these locations may be missing from `app_profiles`.
       Values are of the form `projects/<project>/locations/<zone_id>`
       
      repeated string failed_locations = 3;
      Specified by:
      getFailedLocationsBytes in interface ListAppProfilesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the failedLocations at the given index.
    • setFailedLocations

      public ListAppProfilesResponse.Builder setFailedLocations(int index, String value)
       Locations from which AppProfile information could not be retrieved,
       due to an outage or some other transient condition.
       AppProfiles from these locations may be missing from `app_profiles`.
       Values are of the form `projects/<project>/locations/<zone_id>`
       
      repeated string failed_locations = 3;
      Parameters:
      index - The index to set the value at.
      value - The failedLocations to set.
      Returns:
      This builder for chaining.
    • addFailedLocations

      public ListAppProfilesResponse.Builder addFailedLocations(String value)
       Locations from which AppProfile information could not be retrieved,
       due to an outage or some other transient condition.
       AppProfiles from these locations may be missing from `app_profiles`.
       Values are of the form `projects/<project>/locations/<zone_id>`
       
      repeated string failed_locations = 3;
      Parameters:
      value - The failedLocations to add.
      Returns:
      This builder for chaining.
    • addAllFailedLocations

      public ListAppProfilesResponse.Builder addAllFailedLocations(Iterable<String> values)
       Locations from which AppProfile information could not be retrieved,
       due to an outage or some other transient condition.
       AppProfiles from these locations may be missing from `app_profiles`.
       Values are of the form `projects/<project>/locations/<zone_id>`
       
      repeated string failed_locations = 3;
      Parameters:
      values - The failedLocations to add.
      Returns:
      This builder for chaining.
    • clearFailedLocations

      public ListAppProfilesResponse.Builder clearFailedLocations()
       Locations from which AppProfile information could not be retrieved,
       due to an outage or some other transient condition.
       AppProfiles from these locations may be missing from `app_profiles`.
       Values are of the form `projects/<project>/locations/<zone_id>`
       
      repeated string failed_locations = 3;
      Returns:
      This builder for chaining.
    • addFailedLocationsBytes

      public ListAppProfilesResponse.Builder addFailedLocationsBytes(com.google.protobuf.ByteString value)
       Locations from which AppProfile information could not be retrieved,
       due to an outage or some other transient condition.
       AppProfiles from these locations may be missing from `app_profiles`.
       Values are of the form `projects/<project>/locations/<zone_id>`
       
      repeated string failed_locations = 3;
      Parameters:
      value - The bytes of the failedLocations to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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