Package com.google.cloud.asset.v1p1beta1
Class SearchAllIamPoliciesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchAllIamPoliciesResponse.Builder>
com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.Builder
- All Implemented Interfaces:
SearchAllIamPoliciesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SearchAllIamPoliciesResponse
public static final class SearchAllIamPoliciesResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SearchAllIamPoliciesResponse.Builder>
implements SearchAllIamPoliciesResponseOrBuilder
Search all IAM policies response.Protobuf type
google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllResults(Iterable<? extends IamPolicySearchResult> values) A list of IAM policies that match the search query.addResults(int index, IamPolicySearchResult value) A list of IAM policies that match the search query.addResults(int index, IamPolicySearchResult.Builder builderForValue) A list of IAM policies that match the search query.addResults(IamPolicySearchResult value) A list of IAM policies that match the search query.addResults(IamPolicySearchResult.Builder builderForValue) A list of IAM policies that match the search query.A list of IAM policies that match the search query.addResultsBuilder(int index) A list of IAM policies that match the search query.build()clear()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`.A list of IAM policies that match the search query.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorSet 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`.com.google.protobuf.ByteStringSet 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`.getResults(int index) A list of IAM policies that match the search query.getResultsBuilder(int index) A list of IAM policies that match the search query.A list of IAM policies that match the search query.intA list of IAM policies that match the search query.A list of IAM policies that match the search query.getResultsOrBuilder(int index) A list of IAM policies that match the search query.List<? extends IamPolicySearchResultOrBuilder>A list of IAM policies that match the search query.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeResults(int index) A list of IAM policies that match the search query.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`.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`.setResults(int index, IamPolicySearchResult value) A list of IAM policies that match the search query.setResults(int index, IamPolicySearchResult.Builder builderForValue) A list of IAM policies that match the search query.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SearchAllIamPoliciesResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SearchAllIamPoliciesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SearchAllIamPoliciesResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchAllIamPoliciesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SearchAllIamPoliciesResponse.Builder>
-
mergeFrom
public SearchAllIamPoliciesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchAllIamPoliciesResponse.Builder>- Throws:
IOException
-
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;- Specified by:
getResultsListin interfaceSearchAllIamPoliciesResponseOrBuilder
-
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:
getResultsCountin interfaceSearchAllIamPoliciesResponseOrBuilder
-
getResults
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:
getResultsin interfaceSearchAllIamPoliciesResponseOrBuilder
-
setResults
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
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
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
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
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
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
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:
getResultsOrBuilderin interfaceSearchAllIamPoliciesResponseOrBuilder
-
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;- Specified by:
getResultsOrBuilderListin interfaceSearchAllIamPoliciesResponseOrBuilder
-
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
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
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
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:
getNextPageTokenin interfaceSearchAllIamPoliciesResponseOrBuilder- 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:
getNextPageTokenBytesin interfaceSearchAllIamPoliciesResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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
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.
-