public static final class SearchAllIamPoliciesRequest.Builder extends GeneratedMessageV3.Builder<SearchAllIamPoliciesRequest.Builder> implements SearchAllIamPoliciesRequestOrBuilder
Search all IAM policies request.Protobuf type
google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<SearchAllIamPoliciesRequest.Builder>
public SearchAllIamPoliciesRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<SearchAllIamPoliciesRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<SearchAllIamPoliciesRequest.Builder>
public SearchAllIamPoliciesRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public SearchAllIamPoliciesRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public SearchAllIamPoliciesRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public SearchAllIamPoliciesRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<SearchAllIamPoliciesRequest.Builder>
public SearchAllIamPoliciesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<SearchAllIamPoliciesRequest.Builder>
public SearchAllIamPoliciesRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<SearchAllIamPoliciesRequest.Builder>
public SearchAllIamPoliciesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<SearchAllIamPoliciesRequest.Builder>
public SearchAllIamPoliciesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<SearchAllIamPoliciesRequest.Builder>
public SearchAllIamPoliciesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<SearchAllIamPoliciesRequest.Builder>
public SearchAllIamPoliciesRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<SearchAllIamPoliciesRequest.Builder>
public SearchAllIamPoliciesRequest.Builder mergeFrom(SearchAllIamPoliciesRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<SearchAllIamPoliciesRequest.Builder>
public SearchAllIamPoliciesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<SearchAllIamPoliciesRequest.Builder>
IOException
public String getScope()
Required. The relative name of an asset. The search is limited to the resources within the `scope`. The allowed value must be: * Organization number (such as "organizations/123") * Folder number(such as "folders/1234") * Project number (such as "projects/12345") * Project id (such as "projects/abc")
string scope = 1 [(.google.api.field_behavior) = REQUIRED];
getScope
in interface SearchAllIamPoliciesRequestOrBuilder
public ByteString getScopeBytes()
Required. The relative name of an asset. The search is limited to the resources within the `scope`. The allowed value must be: * Organization number (such as "organizations/123") * Folder number(such as "folders/1234") * Project number (such as "projects/12345") * Project id (such as "projects/abc")
string scope = 1 [(.google.api.field_behavior) = REQUIRED];
getScopeBytes
in interface SearchAllIamPoliciesRequestOrBuilder
public SearchAllIamPoliciesRequest.Builder setScope(String value)
Required. The relative name of an asset. The search is limited to the resources within the `scope`. The allowed value must be: * Organization number (such as "organizations/123") * Folder number(such as "folders/1234") * Project number (such as "projects/12345") * Project id (such as "projects/abc")
string scope = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The scope to set.public SearchAllIamPoliciesRequest.Builder clearScope()
Required. The relative name of an asset. The search is limited to the resources within the `scope`. The allowed value must be: * Organization number (such as "organizations/123") * Folder number(such as "folders/1234") * Project number (such as "projects/12345") * Project id (such as "projects/abc")
string scope = 1 [(.google.api.field_behavior) = REQUIRED];
public SearchAllIamPoliciesRequest.Builder setScopeBytes(ByteString value)
Required. The relative name of an asset. The search is limited to the resources within the `scope`. The allowed value must be: * Organization number (such as "organizations/123") * Folder number(such as "folders/1234") * Project number (such as "projects/12345") * Project id (such as "projects/abc")
string scope = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for scope to set.public String getQuery()
Optional. The query statement. Examples: * "policy:myuser@mydomain.com" * "policy:(myuser@mydomain.com viewer)"
string query = 2 [(.google.api.field_behavior) = OPTIONAL];
getQuery
in interface SearchAllIamPoliciesRequestOrBuilder
public ByteString getQueryBytes()
Optional. The query statement. Examples: * "policy:myuser@mydomain.com" * "policy:(myuser@mydomain.com viewer)"
string query = 2 [(.google.api.field_behavior) = OPTIONAL];
getQueryBytes
in interface SearchAllIamPoliciesRequestOrBuilder
public SearchAllIamPoliciesRequest.Builder setQuery(String value)
Optional. The query statement. Examples: * "policy:myuser@mydomain.com" * "policy:(myuser@mydomain.com viewer)"
string query = 2 [(.google.api.field_behavior) = OPTIONAL];
value
- The query to set.public SearchAllIamPoliciesRequest.Builder clearQuery()
Optional. The query statement. Examples: * "policy:myuser@mydomain.com" * "policy:(myuser@mydomain.com viewer)"
string query = 2 [(.google.api.field_behavior) = OPTIONAL];
public SearchAllIamPoliciesRequest.Builder setQueryBytes(ByteString value)
Optional. The query statement. Examples: * "policy:myuser@mydomain.com" * "policy:(myuser@mydomain.com viewer)"
string query = 2 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes for query to set.public int getPageSize()
Optional. The page size for search result pagination. Page size is capped at 500 even if a larger value is given. If set to zero, server will pick an appropriate default. Returned results may be fewer than requested. When this happens, there could be more results as long as `next_page_token` is returned.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
getPageSize
in interface SearchAllIamPoliciesRequestOrBuilder
public SearchAllIamPoliciesRequest.Builder setPageSize(int value)
Optional. The page size for search result pagination. Page size is capped at 500 even if a larger value is given. If set to zero, server will pick an appropriate default. Returned results may be fewer than requested. When this happens, there could be more results as long as `next_page_token` is returned.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
value
- The pageSize to set.public SearchAllIamPoliciesRequest.Builder clearPageSize()
Optional. The page size for search result pagination. Page size is capped at 500 even if a larger value is given. If set to zero, server will pick an appropriate default. Returned results may be fewer than requested. When this happens, there could be more results as long as `next_page_token` is returned.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
public String getPageToken()
Optional. If present, retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of all other method parameters must be identical to those in the previous call.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
getPageToken
in interface SearchAllIamPoliciesRequestOrBuilder
public ByteString getPageTokenBytes()
Optional. If present, retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of all other method parameters must be identical to those in the previous call.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
getPageTokenBytes
in interface SearchAllIamPoliciesRequestOrBuilder
public SearchAllIamPoliciesRequest.Builder setPageToken(String value)
Optional. If present, retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of all other method parameters must be identical to those in the previous call.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
value
- The pageToken to set.public SearchAllIamPoliciesRequest.Builder clearPageToken()
Optional. If present, retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of all other method parameters must be identical to those in the previous call.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
public SearchAllIamPoliciesRequest.Builder setPageTokenBytes(ByteString value)
Optional. If present, retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of all other method parameters must be identical to those in the previous call.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes for pageToken to set.public final SearchAllIamPoliciesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<SearchAllIamPoliciesRequest.Builder>
public final SearchAllIamPoliciesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<SearchAllIamPoliciesRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.