public static final class ListPolicyBindingsRequest.Builder extends GeneratedMessageV3.Builder<ListPolicyBindingsRequest.Builder> implements ListPolicyBindingsRequestOrBuilder
Request message for ListPolicyBindings method.
Protobuf type google.iam.v3beta.ListPolicyBindingsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListPolicyBindingsRequest.BuilderImplements
ListPolicyBindingsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPolicyBindingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
build()
public ListPolicyBindingsRequest build()
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest |
buildPartial()
public ListPolicyBindingsRequest buildPartial()
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest |
clear()
public ListPolicyBindingsRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListPolicyBindingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
clearFilter()
public ListPolicyBindingsRequest.Builder clearFilter()
Optional. An expression for filtering the results of the request. Filter rules are case insensitive. Some eligible fields for filtering are:
target
policy
Some examples of filter queries:
target:ex*
: The binding target's name starts with "ex".target:example
: The binding target's name isexample
.policy:example
: The binding policy's name isexample
.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPolicyBindingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
clearPageSize()
public ListPolicyBindingsRequest.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 |
ListPolicyBindingsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListPolicyBindingsRequest.Builder clearPageToken()
Optional. A page token, received from a previous ListPolicyBindings
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListPolicyBindings
must
match the call that provided the page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
This builder for chaining. |
clearParent()
public ListPolicyBindingsRequest.Builder clearParent()
Required. The parent resource, which owns the collection of policy bindings.
Format:
projects/{project_id}/locations/{location}
projects/{project_number}/locations/{location}
folders/{folder_id}/locations/{location}
organizations/{organization_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
This builder for chaining. |
clone()
public ListPolicyBindingsRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
getDefaultInstanceForType()
public ListPolicyBindingsRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFilter()
public String getFilter()
Optional. An expression for filtering the results of the request. Filter rules are case insensitive. Some eligible fields for filtering are:
target
policy
Some examples of filter queries:
target:ex*
: The binding target's name starts with "ex".target:example
: The binding target's name isexample
.policy:example
: The binding policy's name isexample
.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes()
Optional. An expression for filtering the results of the request. Filter rules are case insensitive. Some eligible fields for filtering are:
target
policy
Some examples of filter queries:
target:ex*
: The binding target's name starts with "ex".target:example
: The binding target's name isexample
.policy:example
: The binding policy's name isexample
.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for filter. |
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 ListPolicyBindings
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListPolicyBindings
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 ListPolicyBindings
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListPolicyBindings
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. |
getParent()
public String getParent()
Required. The parent resource, which owns the collection of policy bindings.
Format:
projects/{project_id}/locations/{location}
projects/{project_number}/locations/{location}
folders/{folder_id}/locations/{location}
organizations/{organization_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The parent resource, which owns the collection of policy bindings.
Format:
projects/{project_id}/locations/{location}
projects/{project_number}/locations/{location}
folders/{folder_id}/locations/{location}
organizations/{organization_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListPolicyBindingsRequest other)
public ListPolicyBindingsRequest.Builder mergeFrom(ListPolicyBindingsRequest other)
Parameter | |
---|---|
Name | Description |
other |
ListPolicyBindingsRequest |
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListPolicyBindingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListPolicyBindingsRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPolicyBindingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListPolicyBindingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
setFilter(String value)
public ListPolicyBindingsRequest.Builder setFilter(String value)
Optional. An expression for filtering the results of the request. Filter rules are case insensitive. Some eligible fields for filtering are:
target
policy
Some examples of filter queries:
target:ex*
: The binding target's name starts with "ex".target:example
: The binding target's name isexample
.policy:example
: The binding policy's name isexample
.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The filter to set. |
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public ListPolicyBindingsRequest.Builder setFilterBytes(ByteString value)
Optional. An expression for filtering the results of the request. Filter rules are case insensitive. Some eligible fields for filtering are:
target
policy
Some examples of filter queries:
target:ex*
: The binding target's name starts with "ex".target:example
: The binding target's name isexample
.policy:example
: The binding policy's name isexample
.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for filter to set. |
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public ListPolicyBindingsRequest.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 |
int The pageSize to set. |
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListPolicyBindingsRequest.Builder setPageToken(String value)
Optional. A page token, received from a previous ListPolicyBindings
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListPolicyBindings
must
match the call that provided the page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The pageToken to set. |
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListPolicyBindingsRequest.Builder setPageTokenBytes(ByteString value)
Optional. A page token, received from a previous ListPolicyBindings
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListPolicyBindings
must
match the call that provided the page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for pageToken to set. |
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ListPolicyBindingsRequest.Builder setParent(String value)
Required. The parent resource, which owns the collection of policy bindings.
Format:
projects/{project_id}/locations/{location}
projects/{project_number}/locations/{location}
folders/{folder_id}/locations/{location}
organizations/{organization_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ListPolicyBindingsRequest.Builder setParentBytes(ByteString value)
Required. The parent resource, which owns the collection of policy bindings.
Format:
projects/{project_id}/locations/{location}
projects/{project_number}/locations/{location}
folders/{folder_id}/locations/{location}
organizations/{organization_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPolicyBindingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPolicyBindingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListPolicyBindingsRequest.Builder |