Class SearchAllIamPoliciesResponse.Builder (3.2.17)

public static final class SearchAllIamPoliciesResponse.Builder extends GeneratedMessageV3.Builder<SearchAllIamPoliciesResponse.Builder> implements SearchAllIamPoliciesResponseOrBuilder

Search all IAM policies response.

Protobuf type google.cloud.asset.v1.SearchAllIamPoliciesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllResults(Iterable<? extends IamPolicySearchResult> values)

public SearchAllIamPoliciesResponse.Builder addAllResults(Iterable<? extends IamPolicySearchResult> values)

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.asset.v1.IamPolicySearchResult>
Returns
Type Description
SearchAllIamPoliciesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchAllIamPoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchAllIamPoliciesResponse.Builder
Overrides

addResults(IamPolicySearchResult value)

public SearchAllIamPoliciesResponse.Builder addResults(IamPolicySearchResult value)

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Parameter
Name Description
value IamPolicySearchResult
Returns
Type Description
SearchAllIamPoliciesResponse.Builder

addResults(IamPolicySearchResult.Builder builderForValue)

public SearchAllIamPoliciesResponse.Builder addResults(IamPolicySearchResult.Builder builderForValue)

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Parameter
Name Description
builderForValue IamPolicySearchResult.Builder
Returns
Type Description
SearchAllIamPoliciesResponse.Builder

addResults(int index, IamPolicySearchResult value)

public SearchAllIamPoliciesResponse.Builder addResults(int index, IamPolicySearchResult value)

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Parameters
Name Description
index int
value IamPolicySearchResult
Returns
Type Description
SearchAllIamPoliciesResponse.Builder

addResults(int index, IamPolicySearchResult.Builder builderForValue)

public SearchAllIamPoliciesResponse.Builder addResults(int index, IamPolicySearchResult.Builder builderForValue)

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Parameters
Name Description
index int
builderForValue IamPolicySearchResult.Builder
Returns
Type Description
SearchAllIamPoliciesResponse.Builder

addResultsBuilder()

public IamPolicySearchResult.Builder addResultsBuilder()

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Returns
Type Description
IamPolicySearchResult.Builder

addResultsBuilder(int index)

public IamPolicySearchResult.Builder addResultsBuilder(int index)

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Parameter
Name Description
index int
Returns
Type Description
IamPolicySearchResult.Builder

build()

public SearchAllIamPoliciesResponse build()
Returns
Type Description
SearchAllIamPoliciesResponse

buildPartial()

public SearchAllIamPoliciesResponse buildPartial()
Returns
Type Description
SearchAllIamPoliciesResponse

clear()

public SearchAllIamPoliciesResponse.Builder clear()
Returns
Type Description
SearchAllIamPoliciesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SearchAllIamPoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchAllIamPoliciesResponse.Builder
Overrides

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
Type Description
SearchAllIamPoliciesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchAllIamPoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchAllIamPoliciesResponse.Builder
Overrides

clearResults()

public SearchAllIamPoliciesResponse.Builder clearResults()

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Returns
Type Description
SearchAllIamPoliciesResponse.Builder

clone()

public SearchAllIamPoliciesResponse.Builder clone()
Returns
Type Description
SearchAllIamPoliciesResponse.Builder
Overrides

getDefaultInstanceForType()

public SearchAllIamPoliciesResponse getDefaultInstanceForType()
Returns
Type Description
SearchAllIamPoliciesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public 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;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getResults(int index)

public IamPolicySearchResult getResults(int index)

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Parameter
Name Description
index int
Returns
Type Description
IamPolicySearchResult

getResultsBuilder(int index)

public IamPolicySearchResult.Builder getResultsBuilder(int index)

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Parameter
Name Description
index int
Returns
Type Description
IamPolicySearchResult.Builder

getResultsBuilderList()

public List<IamPolicySearchResult.Builder> getResultsBuilderList()

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Returns
Type Description
List<Builder>

getResultsCount()

public int getResultsCount()

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Returns
Type Description
int

getResultsList()

public List<IamPolicySearchResult> getResultsList()

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Returns
Type Description
List<IamPolicySearchResult>

getResultsOrBuilder(int index)

public IamPolicySearchResultOrBuilder getResultsOrBuilder(int index)

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Parameter
Name Description
index int
Returns
Type Description
IamPolicySearchResultOrBuilder

getResultsOrBuilderList()

public List<? extends IamPolicySearchResultOrBuilder> getResultsOrBuilderList()

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Returns
Type Description
List<? extends com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchAllIamPoliciesResponse other)

public SearchAllIamPoliciesResponse.Builder mergeFrom(SearchAllIamPoliciesResponse other)
Parameter
Name Description
other SearchAllIamPoliciesResponse
Returns
Type Description
SearchAllIamPoliciesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchAllIamPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchAllIamPoliciesResponse.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchAllIamPoliciesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchAllIamPoliciesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchAllIamPoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchAllIamPoliciesResponse.Builder
Overrides

removeResults(int index)

public SearchAllIamPoliciesResponse.Builder removeResults(int index)

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchAllIamPoliciesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchAllIamPoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchAllIamPoliciesResponse.Builder
Overrides

setNextPageToken(String value)

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;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
SearchAllIamPoliciesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchAllIamPoliciesResponse.Builder setNextPageTokenBytes(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;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
SearchAllIamPoliciesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchAllIamPoliciesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchAllIamPoliciesResponse.Builder
Overrides

setResults(int index, IamPolicySearchResult value)

public SearchAllIamPoliciesResponse.Builder setResults(int index, IamPolicySearchResult value)

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Parameters
Name Description
index int
value IamPolicySearchResult
Returns
Type Description
SearchAllIamPoliciesResponse.Builder

setResults(int index, IamPolicySearchResult.Builder builderForValue)

public SearchAllIamPoliciesResponse.Builder setResults(int index, IamPolicySearchResult.Builder builderForValue)

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Parameters
Name Description
index int
builderForValue IamPolicySearchResult.Builder
Returns
Type Description
SearchAllIamPoliciesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchAllIamPoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchAllIamPoliciesResponse.Builder
Overrides