Class SearchAllIamPoliciesResponse.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<SearchAllIamPoliciesResponse.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<SearchAllIamPoliciesResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public SearchAllIamPoliciesResponse.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<SearchAllIamPoliciesResponse.Builder>
        Throws:
        IOException
      • getResultsCount

        public int getResultsCount()
         A list of IAM policies that match the search query. Related information
         such as the associated resource is returned along with the policy.
         
        repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
        Specified by:
        getResultsCount in interface SearchAllIamPoliciesResponseOrBuilder
      • getResults

        public IamPolicySearchResult getResults​(int index)
         A list of IAM policies that match the search query. Related information
         such as the associated resource is returned along with the policy.
         
        repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
        Specified by:
        getResults in interface SearchAllIamPoliciesResponseOrBuilder
      • setResults

        public SearchAllIamPoliciesResponse.Builder setResults​(int index,
                                                               IamPolicySearchResult value)
         A list of IAM policies that match the search query. Related information
         such as the associated resource is returned along with the policy.
         
        repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      • setResults

        public SearchAllIamPoliciesResponse.Builder setResults​(int index,
                                                               IamPolicySearchResult.Builder builderForValue)
         A list of IAM policies that match the search query. Related information
         such as the associated resource is returned along with the policy.
         
        repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      • addResults

        public SearchAllIamPoliciesResponse.Builder addResults​(IamPolicySearchResult value)
         A list of IAM policies that match the search query. Related information
         such as the associated resource is returned along with the policy.
         
        repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      • addResults

        public SearchAllIamPoliciesResponse.Builder addResults​(int index,
                                                               IamPolicySearchResult value)
         A list of IAM policies that match the search query. Related information
         such as the associated resource is returned along with the policy.
         
        repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      • addResults

        public SearchAllIamPoliciesResponse.Builder addResults​(IamPolicySearchResult.Builder builderForValue)
         A list of IAM policies that match the search query. Related information
         such as the associated resource is returned along with the policy.
         
        repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      • addResults

        public SearchAllIamPoliciesResponse.Builder addResults​(int index,
                                                               IamPolicySearchResult.Builder builderForValue)
         A list of IAM policies that match the search query. Related information
         such as the associated resource is returned along with the policy.
         
        repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      • addAllResults

        public SearchAllIamPoliciesResponse.Builder addAllResults​(Iterable<? extends IamPolicySearchResult> values)
         A list of IAM policies that match the search query. Related information
         such as the associated resource is returned along with the policy.
         
        repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      • clearResults

        public SearchAllIamPoliciesResponse.Builder clearResults()
         A list of IAM policies that match the search query. Related information
         such as the associated resource is returned along with the policy.
         
        repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      • removeResults

        public SearchAllIamPoliciesResponse.Builder removeResults​(int index)
         A list of IAM policies that match the search query. Related information
         such as the associated resource is returned along with the policy.
         
        repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      • getResultsBuilder

        public IamPolicySearchResult.Builder getResultsBuilder​(int index)
         A list of IAM policies that match the search query. Related information
         such as the associated resource is returned along with the policy.
         
        repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      • addResultsBuilder

        public IamPolicySearchResult.Builder addResultsBuilder()
         A list of IAM policies that match the search query. Related information
         such as the associated resource is returned along with the policy.
         
        repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      • addResultsBuilder

        public IamPolicySearchResult.Builder addResultsBuilder​(int index)
         A list of IAM policies that match the search query. Related information
         such as the associated resource is returned along with the policy.
         
        repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      • getResultsBuilderList

        public List<IamPolicySearchResult.Builder> getResultsBuilderList()
         A list of IAM policies that match the search query. Related information
         such as the associated resource is returned along with the policy.
         
        repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      • getNextPageToken

        public String getNextPageToken()
         Set if there are more results than those appearing in this response; to get
         the next set of results, call this method again, using this value as the
         `page_token`.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface SearchAllIamPoliciesResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         Set if there are more results than those appearing in this response; to get
         the next set of results, call this method again, using this value as the
         `page_token`.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface SearchAllIamPoliciesResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public SearchAllIamPoliciesResponse.Builder setNextPageToken​(String value)
         Set if there are more results than those appearing in this response; to get
         the next set of results, call this method again, using this value as the
         `page_token`.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public SearchAllIamPoliciesResponse.Builder clearNextPageToken()
         Set if there are more results than those appearing in this response; to get
         the next set of results, call this method again, using this value as the
         `page_token`.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public SearchAllIamPoliciesResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         Set if there are more results than those appearing in this response; to get
         the next set of results, call this method again, using this value as the
         `page_token`.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.