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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addAllResults(Iterable<? extends IamPolicySearchResult> values)
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;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.asset.v1p1beta1.IamPolicySearchResult>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchAllIamPoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addResults(IamPolicySearchResult value)
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(IamPolicySearchResult.Builder builderForValue)
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(int index, IamPolicySearchResult value)
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(int index, IamPolicySearchResult.Builder builderForValue)
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;
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(int index)
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;
Parameter |
Name |
Description |
index |
int
|
build()
public SearchAllIamPoliciesResponse build()
buildPartial()
public SearchAllIamPoliciesResponse buildPartial()
clear()
public SearchAllIamPoliciesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchAllIamPoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchAllIamPoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clone()
public SearchAllIamPoliciesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchAllIamPoliciesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 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;
Parameter |
Name |
Description |
index |
int
|
getResultsBuilder(int index)
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;
Parameter |
Name |
Description |
index |
int
|
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;
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;
Returns |
Type |
Description |
int |
|
getResultsList()
public List<IamPolicySearchResult> getResultsList()
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;
getResultsOrBuilder(int index)
public IamPolicySearchResultOrBuilder getResultsOrBuilder(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;
Parameter |
Name |
Description |
index |
int
|
getResultsOrBuilderList()
public List<? extends IamPolicySearchResultOrBuilder> getResultsOrBuilderList()
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;
Returns |
Type |
Description |
List<? extends com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchAllIamPoliciesResponse other)
public SearchAllIamPoliciesResponse.Builder mergeFrom(SearchAllIamPoliciesResponse other)
public SearchAllIamPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchAllIamPoliciesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchAllIamPoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeResults(int index)
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;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public SearchAllIamPoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchAllIamPoliciesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setResults(int index, IamPolicySearchResult value)
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(int index, IamPolicySearchResult.Builder builderForValue)
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchAllIamPoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides