public static final class SearchAccessPolicyBindingsRequest.Builder extends GeneratedMessage.Builder<SearchAccessPolicyBindingsRequest.Builder> implements SearchAccessPolicyBindingsRequestOrBuilderRequest message for SearchAccessPolicyBindings rpc.
Protobuf type google.iam.v3beta.SearchAccessPolicyBindingsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SearchAccessPolicyBindingsRequest.BuilderImplements
SearchAccessPolicyBindingsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SearchAccessPolicyBindingsRequest build()| Returns | |
|---|---|
| Type | Description |
SearchAccessPolicyBindingsRequest |
|
buildPartial()
public SearchAccessPolicyBindingsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
SearchAccessPolicyBindingsRequest |
|
clear()
public SearchAccessPolicyBindingsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
SearchAccessPolicyBindingsRequest.Builder |
|
clearName()
public SearchAccessPolicyBindingsRequest.Builder clearName() Required. The name of the access policy.
Format:
organizations/{organization_id}/locations/{location}/accessPolicies/{access_policy_id}
folders/{folder_id}/locations/{location}/accessPolicies/{access_policy_id}
projects/{project_id}/locations/{location}/accessPolicies/{access_policy_id}
projects/{project_number}/locations/{location}/accessPolicies/{access_policy_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
SearchAccessPolicyBindingsRequest.Builder |
This builder for chaining. |
clearPageSize()
public SearchAccessPolicyBindingsRequest.Builder clearPageSize()Optional. The maximum number of policy bindings to return. The service may return fewer than this value.
If unspecified, at most 50 policy bindings will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SearchAccessPolicyBindingsRequest.Builder |
This builder for chaining. |
clearPageToken()
public SearchAccessPolicyBindingsRequest.Builder clearPageToken() Optional. A page token, received from a previous
SearchAccessPolicyBindingsRequest call. Provide this to
retrieve the subsequent page.
When paginating, all other parameters provided to
SearchAccessPolicyBindingsRequest must match the call
that provided the page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SearchAccessPolicyBindingsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SearchAccessPolicyBindingsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SearchAccessPolicyBindingsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Required. The name of the access policy.
Format:
organizations/{organization_id}/locations/{location}/accessPolicies/{access_policy_id}
folders/{folder_id}/locations/{location}/accessPolicies/{access_policy_id}
projects/{project_id}/locations/{location}/accessPolicies/{access_policy_id}
projects/{project_number}/locations/{location}/accessPolicies/{access_policy_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. The name of the access policy.
Format:
organizations/{organization_id}/locations/{location}/accessPolicies/{access_policy_id}
folders/{folder_id}/locations/{location}/accessPolicies/{access_policy_id}
projects/{project_id}/locations/{location}/accessPolicies/{access_policy_id}
projects/{project_number}/locations/{location}/accessPolicies/{access_policy_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPageSize()
public int getPageSize()Optional. The maximum number of policy bindings to return. The service may return fewer than this value.
If unspecified, at most 50 policy bindings will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken() Optional. A page token, received from a previous
SearchAccessPolicyBindingsRequest call. Provide this to
retrieve the subsequent page.
When paginating, all other parameters provided to
SearchAccessPolicyBindingsRequest must match the call
that provided the page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes() Optional. A page token, received from a previous
SearchAccessPolicyBindingsRequest call. Provide this to
retrieve the subsequent page.
When paginating, all other parameters provided to
SearchAccessPolicyBindingsRequest must match the call
that provided the page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SearchAccessPolicyBindingsRequest other)
public SearchAccessPolicyBindingsRequest.Builder mergeFrom(SearchAccessPolicyBindingsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SearchAccessPolicyBindingsRequest |
| Returns | |
|---|---|
| Type | Description |
SearchAccessPolicyBindingsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchAccessPolicyBindingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchAccessPolicyBindingsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SearchAccessPolicyBindingsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SearchAccessPolicyBindingsRequest.Builder |
|
setName(String value)
public SearchAccessPolicyBindingsRequest.Builder setName(String value) Required. The name of the access policy.
Format:
organizations/{organization_id}/locations/{location}/accessPolicies/{access_policy_id}
folders/{folder_id}/locations/{location}/accessPolicies/{access_policy_id}
projects/{project_id}/locations/{location}/accessPolicies/{access_policy_id}
projects/{project_number}/locations/{location}/accessPolicies/{access_policy_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
SearchAccessPolicyBindingsRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public SearchAccessPolicyBindingsRequest.Builder setNameBytes(ByteString value) Required. The name of the access policy.
Format:
organizations/{organization_id}/locations/{location}/accessPolicies/{access_policy_id}
folders/{folder_id}/locations/{location}/accessPolicies/{access_policy_id}
projects/{project_id}/locations/{location}/accessPolicies/{access_policy_id}
projects/{project_number}/locations/{location}/accessPolicies/{access_policy_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
SearchAccessPolicyBindingsRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public SearchAccessPolicyBindingsRequest.Builder setPageSize(int value)Optional. The maximum number of policy bindings to return. The service may return fewer than this value.
If unspecified, at most 50 policy bindings will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
SearchAccessPolicyBindingsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public SearchAccessPolicyBindingsRequest.Builder setPageToken(String value) Optional. A page token, received from a previous
SearchAccessPolicyBindingsRequest call. Provide this to
retrieve the subsequent page.
When paginating, all other parameters provided to
SearchAccessPolicyBindingsRequest must match the call
that provided the page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
SearchAccessPolicyBindingsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public SearchAccessPolicyBindingsRequest.Builder setPageTokenBytes(ByteString value) Optional. A page token, received from a previous
SearchAccessPolicyBindingsRequest call. Provide this to
retrieve the subsequent page.
When paginating, all other parameters provided to
SearchAccessPolicyBindingsRequest must match the call
that provided the page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
SearchAccessPolicyBindingsRequest.Builder |
This builder for chaining. |