Class SearchOrganizationsResponse.Builder

    • Method Detail

      • 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<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.GeneratedMessageV3.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

        public SearchOrganizationsResponse 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • 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
      • 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​(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;
      • 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.
      • mergeUnknownFields

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