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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<SearchAllIamPoliciesResponse.Builder> implements SearchAllIamPoliciesResponseOrBuilder
Search all IAM policies response.
Protobuf typegoogle.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchAllIamPoliciesResponse.Builder
addAllResults(Iterable<? extends IamPolicySearchResult> values)
A list of IAM policies that match the search query.SearchAllIamPoliciesResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SearchAllIamPoliciesResponse.Builder
addResults(int index, IamPolicySearchResult value)
A list of IAM policies that match the search query.SearchAllIamPoliciesResponse.Builder
addResults(int index, IamPolicySearchResult.Builder builderForValue)
A list of IAM policies that match the search query.SearchAllIamPoliciesResponse.Builder
addResults(IamPolicySearchResult value)
A list of IAM policies that match the search query.SearchAllIamPoliciesResponse.Builder
addResults(IamPolicySearchResult.Builder builderForValue)
A list of IAM policies that match the search query.IamPolicySearchResult.Builder
addResultsBuilder()
A list of IAM policies that match the search query.IamPolicySearchResult.Builder
addResultsBuilder(int index)
A list of IAM policies that match the search query.SearchAllIamPoliciesResponse
build()
SearchAllIamPoliciesResponse
buildPartial()
SearchAllIamPoliciesResponse.Builder
clear()
SearchAllIamPoliciesResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
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`.SearchAllIamPoliciesResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
SearchAllIamPoliciesResponse.Builder
clearResults()
A list of IAM policies that match the search query.SearchAllIamPoliciesResponse.Builder
clone()
SearchAllIamPoliciesResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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`.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`.IamPolicySearchResult
getResults(int index)
A list of IAM policies that match the search query.IamPolicySearchResult.Builder
getResultsBuilder(int index)
A list of IAM policies that match the search query.List<IamPolicySearchResult.Builder>
getResultsBuilderList()
A list of IAM policies that match the search query.int
getResultsCount()
A list of IAM policies that match the search query.List<IamPolicySearchResult>
getResultsList()
A list of IAM policies that match the search query.IamPolicySearchResultOrBuilder
getResultsOrBuilder(int index)
A list of IAM policies that match the search query.List<? extends IamPolicySearchResultOrBuilder>
getResultsOrBuilderList()
A list of IAM policies that match the search query.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
SearchAllIamPoliciesResponse.Builder
mergeFrom(SearchAllIamPoliciesResponse other)
SearchAllIamPoliciesResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SearchAllIamPoliciesResponse.Builder
mergeFrom(com.google.protobuf.Message other)
SearchAllIamPoliciesResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SearchAllIamPoliciesResponse.Builder
removeResults(int index)
A list of IAM policies that match the search query.SearchAllIamPoliciesResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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`.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`.SearchAllIamPoliciesResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
SearchAllIamPoliciesResponse.Builder
setResults(int index, IamPolicySearchResult value)
A list of IAM policies that match the search query.SearchAllIamPoliciesResponse.Builder
setResults(int index, IamPolicySearchResult.Builder builderForValue)
A list of IAM policies that match the search query.SearchAllIamPoliciesResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchAllIamPoliciesResponse.Builder>
-
clear
public SearchAllIamPoliciesResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchAllIamPoliciesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchAllIamPoliciesResponse.Builder>
-
getDefaultInstanceForType
public SearchAllIamPoliciesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SearchAllIamPoliciesResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SearchAllIamPoliciesResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SearchAllIamPoliciesResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchAllIamPoliciesResponse.Builder>
-
setField
public SearchAllIamPoliciesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchAllIamPoliciesResponse.Builder>
-
clearField
public SearchAllIamPoliciesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchAllIamPoliciesResponse.Builder>
-
clearOneof
public SearchAllIamPoliciesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchAllIamPoliciesResponse.Builder>
-
setRepeatedField
public SearchAllIamPoliciesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchAllIamPoliciesResponse.Builder>
-
addRepeatedField
public SearchAllIamPoliciesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchAllIamPoliciesResponse.Builder>
-
mergeFrom
public SearchAllIamPoliciesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SearchAllIamPoliciesResponse.Builder>
-
mergeFrom
public SearchAllIamPoliciesResponse.Builder mergeFrom(SearchAllIamPoliciesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SearchAllIamPoliciesResponse.Builder>
- Throws:
IOException
-
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;
- Specified by:
getResultsList
in 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:
getResultsCount
in interfaceSearchAllIamPoliciesResponseOrBuilder
-
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 interfaceSearchAllIamPoliciesResponseOrBuilder
-
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;
-
getResultsOrBuilder
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;
- Specified by:
getResultsOrBuilder
in interfaceSearchAllIamPoliciesResponseOrBuilder
-
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;
- Specified by:
getResultsOrBuilderList
in interfaceSearchAllIamPoliciesResponseOrBuilder
-
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 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:
getNextPageTokenBytes
in interfaceSearchAllIamPoliciesResponseOrBuilder
- 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.
-
setUnknownFields
public final SearchAllIamPoliciesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchAllIamPoliciesResponse.Builder>
-
mergeUnknownFields
public final SearchAllIamPoliciesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchAllIamPoliciesResponse.Builder>
-
-