public static final class SearchAllIamPoliciesResponse.Builder extends GeneratedMessageV3.Builder<SearchAllIamPoliciesResponse.Builder> implements SearchAllIamPoliciesResponseOrBuilder
Search all IAM policies response.
Protobuf type google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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.v1p1beta1.IamPolicySearchResult results = 1;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.asset.v1p1beta1.IamPolicySearchResult>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchAllIamPoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.v1p1beta1.IamPolicySearchResult results = 1;
Parameter
Returns
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.v1p1beta1.IamPolicySearchResult results = 1;
Parameter
Returns
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.v1p1beta1.IamPolicySearchResult results = 1;
Parameters
Returns
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.v1p1beta1.IamPolicySearchResult results = 1;
Parameters
Returns
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.v1p1beta1.IamPolicySearchResult results = 1;
Returns
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.v1p1beta1.IamPolicySearchResult results = 1;
Parameter
Name |
Description |
index |
int
|
Returns
build()
public SearchAllIamPoliciesResponse build()
Returns
buildPartial()
public SearchAllIamPoliciesResponse buildPartial()
Returns
clear()
public SearchAllIamPoliciesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchAllIamPoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchAllIamPoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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.v1p1beta1.IamPolicySearchResult results = 1;
Returns
clone()
public SearchAllIamPoliciesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SearchAllIamPoliciesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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.v1p1beta1.IamPolicySearchResult results = 1;
Parameter
Name |
Description |
index |
int
|
Returns
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.v1p1beta1.IamPolicySearchResult results = 1;
Parameter
Name |
Description |
index |
int
|
Returns
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.v1p1beta1.IamPolicySearchResult results = 1;
Returns
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.v1p1beta1.IamPolicySearchResult results = 1;
Returns
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.v1p1beta1.IamPolicySearchResult results = 1;
Returns
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.v1p1beta1.IamPolicySearchResult results = 1;
Parameter
Name |
Description |
index |
int
|
Returns
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.v1p1beta1.IamPolicySearchResult results = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SearchAllIamPoliciesResponse other)
public SearchAllIamPoliciesResponse.Builder mergeFrom(SearchAllIamPoliciesResponse other)
Parameter
Returns
public SearchAllIamPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SearchAllIamPoliciesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchAllIamPoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.v1p1beta1.IamPolicySearchResult results = 1;
Parameter
Name |
Description |
index |
int
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SearchAllIamPoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchAllIamPoliciesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.v1p1beta1.IamPolicySearchResult results = 1;
Parameters
Returns
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.v1p1beta1.IamPolicySearchResult results = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchAllIamPoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides