Class SearchOrganizationsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchOrganizationsResponse.Builder>
com.google.cloud.resourcemanager.v3.SearchOrganizationsResponse.Builder
All Implemented Interfaces:
SearchOrganizationsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SearchOrganizationsResponse

public static final class SearchOrganizationsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<SearchOrganizationsResponse.Builder> implements SearchOrganizationsResponseOrBuilder
 The response returned from the `SearchOrganizations` method.
 
Protobuf type google.cloud.resourcemanager.v3.SearchOrganizationsResponse
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SearchOrganizationsResponse.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.GeneratedMessage.Builder<SearchOrganizationsResponse.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.GeneratedMessage.Builder<SearchOrganizationsResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public SearchOrganizationsResponse.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<SearchOrganizationsResponse.Builder>
      Throws:
      IOException
    • getOrganizationsList

      public List<Organization> getOrganizationsList()
       The list of Organizations that matched the search query, possibly
       paginated.
       
      repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
      Specified by:
      getOrganizationsList in interface SearchOrganizationsResponseOrBuilder
    • getOrganizationsCount

      public int getOrganizationsCount()
       The list of Organizations that matched the search query, possibly
       paginated.
       
      repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
      Specified by:
      getOrganizationsCount in interface SearchOrganizationsResponseOrBuilder
    • getOrganizations

      public Organization getOrganizations(int index)
       The list of Organizations that matched the search query, possibly
       paginated.
       
      repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
      Specified by:
      getOrganizations in interface SearchOrganizationsResponseOrBuilder
    • setOrganizations

      public SearchOrganizationsResponse.Builder setOrganizations(int index, Organization value)
       The list of Organizations that matched the search query, possibly
       paginated.
       
      repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
    • setOrganizations

      public SearchOrganizationsResponse.Builder setOrganizations(int index, Organization.Builder builderForValue)
       The list of Organizations that matched the search query, possibly
       paginated.
       
      repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
    • addOrganizations

      public SearchOrganizationsResponse.Builder addOrganizations(Organization value)
       The list of Organizations that matched the search query, possibly
       paginated.
       
      repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
    • addOrganizations

      public SearchOrganizationsResponse.Builder addOrganizations(int index, Organization value)
       The list of Organizations that matched the search query, possibly
       paginated.
       
      repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
    • addOrganizations

      public SearchOrganizationsResponse.Builder addOrganizations(Organization.Builder builderForValue)
       The list of Organizations that matched the search query, possibly
       paginated.
       
      repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
    • addOrganizations

      public SearchOrganizationsResponse.Builder addOrganizations(int index, Organization.Builder builderForValue)
       The list of Organizations that matched the search query, possibly
       paginated.
       
      repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
    • addAllOrganizations

      public SearchOrganizationsResponse.Builder addAllOrganizations(Iterable<? extends Organization> values)
       The list of Organizations that matched the search query, possibly
       paginated.
       
      repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
    • clearOrganizations

      public SearchOrganizationsResponse.Builder clearOrganizations()
       The list of Organizations that matched the search query, possibly
       paginated.
       
      repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
    • removeOrganizations

      public SearchOrganizationsResponse.Builder removeOrganizations(int index)
       The list of Organizations that matched the search query, possibly
       paginated.
       
      repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
    • getOrganizationsBuilder

      public Organization.Builder getOrganizationsBuilder(int index)
       The list of Organizations that matched the search query, possibly
       paginated.
       
      repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
    • getOrganizationsOrBuilder

      public OrganizationOrBuilder getOrganizationsOrBuilder(int index)
       The list of Organizations that matched the search query, possibly
       paginated.
       
      repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
      Specified by:
      getOrganizationsOrBuilder in interface SearchOrganizationsResponseOrBuilder
    • getOrganizationsOrBuilderList

      public List<? extends OrganizationOrBuilder> getOrganizationsOrBuilderList()
       The list of Organizations that matched the search query, possibly
       paginated.
       
      repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
      Specified by:
      getOrganizationsOrBuilderList in interface SearchOrganizationsResponseOrBuilder
    • addOrganizationsBuilder

      public Organization.Builder addOrganizationsBuilder()
       The list of Organizations that matched the search query, possibly
       paginated.
       
      repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
    • addOrganizationsBuilder

      public Organization.Builder addOrganizationsBuilder(int index)
       The list of Organizations that matched the search query, possibly
       paginated.
       
      repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
    • getOrganizationsBuilderList

      public List<Organization.Builder> getOrganizationsBuilderList()
       The list of Organizations that matched the search query, possibly
       paginated.
       
      repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
    • getNextPageToken

      public String getNextPageToken()
       A pagination token to be used to retrieve the next page of results. If the
       result is too large to fit within the page size specified in the request,
       this field will be set with a token that can be used to fetch the next page
       of results. If this field is empty, it indicates that this response
       contains the last page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface SearchOrganizationsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A pagination token to be used to retrieve the next page of results. If the
       result is too large to fit within the page size specified in the request,
       this field will be set with a token that can be used to fetch the next page
       of results. If this field is empty, it indicates that this response
       contains the last page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface SearchOrganizationsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public SearchOrganizationsResponse.Builder setNextPageToken(String value)
       A pagination token to be used to retrieve the next page of results. If the
       result is too large to fit within the page size specified in the request,
       this field will be set with a token that can be used to fetch the next page
       of results. If this field is empty, it indicates that this response
       contains the last page of results.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public SearchOrganizationsResponse.Builder clearNextPageToken()
       A pagination token to be used to retrieve the next page of results. If the
       result is too large to fit within the page size specified in the request,
       this field will be set with a token that can be used to fetch the next page
       of results. If this field is empty, it indicates that this response
       contains the last page of results.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public SearchOrganizationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A pagination token to be used to retrieve the next page of results. If the
       result is too large to fit within the page size specified in the request,
       this field will be set with a token that can be used to fetch the next page
       of results. If this field is empty, it indicates that this response
       contains the last page of results.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.