Class QueryTestablePermissionsRequest.Builder (3.49.0)

public static final class QueryTestablePermissionsRequest.Builder extends GeneratedMessageV3.Builder<QueryTestablePermissionsRequest.Builder> implements QueryTestablePermissionsRequestOrBuilder

A request to get permissions which can be tested on a resource.

Protobuf type google.iam.admin.v1.QueryTestablePermissionsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueryTestablePermissionsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueryTestablePermissionsRequest.Builder
Overrides

build()

public QueryTestablePermissionsRequest build()
Returns
Type Description
QueryTestablePermissionsRequest

buildPartial()

public QueryTestablePermissionsRequest buildPartial()
Returns
Type Description
QueryTestablePermissionsRequest

clear()

public QueryTestablePermissionsRequest.Builder clear()
Returns
Type Description
QueryTestablePermissionsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public QueryTestablePermissionsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
QueryTestablePermissionsRequest.Builder
Overrides

clearFullResourceName()

public QueryTestablePermissionsRequest.Builder clearFullResourceName()

Required. The full resource name to query from the list of testable permissions.

The name follows the Google Cloud Platform resource format. For example, a Cloud Platform project with id my-project will be named //cloudresourcemanager.googleapis.com/projects/my-project.

string full_resource_name = 1;

Returns
Type Description
QueryTestablePermissionsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public QueryTestablePermissionsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
QueryTestablePermissionsRequest.Builder
Overrides

clearPageSize()

public QueryTestablePermissionsRequest.Builder clearPageSize()

Optional limit on the number of permissions to include in the response.

The default is 100, and the maximum is 1,000.

int32 page_size = 2;

Returns
Type Description
QueryTestablePermissionsRequest.Builder

This builder for chaining.

clearPageToken()

public QueryTestablePermissionsRequest.Builder clearPageToken()

Optional pagination token returned in an earlier QueryTestablePermissionsRequest.

string page_token = 3;

Returns
Type Description
QueryTestablePermissionsRequest.Builder

This builder for chaining.

clone()

public QueryTestablePermissionsRequest.Builder clone()
Returns
Type Description
QueryTestablePermissionsRequest.Builder
Overrides

getDefaultInstanceForType()

public QueryTestablePermissionsRequest getDefaultInstanceForType()
Returns
Type Description
QueryTestablePermissionsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFullResourceName()

public String getFullResourceName()

Required. The full resource name to query from the list of testable permissions.

The name follows the Google Cloud Platform resource format. For example, a Cloud Platform project with id my-project will be named //cloudresourcemanager.googleapis.com/projects/my-project.

string full_resource_name = 1;

Returns
Type Description
String

The fullResourceName.

getFullResourceNameBytes()

public ByteString getFullResourceNameBytes()

Required. The full resource name to query from the list of testable permissions.

The name follows the Google Cloud Platform resource format. For example, a Cloud Platform project with id my-project will be named //cloudresourcemanager.googleapis.com/projects/my-project.

string full_resource_name = 1;

Returns
Type Description
ByteString

The bytes for fullResourceName.

getPageSize()

public int getPageSize()

Optional limit on the number of permissions to include in the response.

The default is 100, and the maximum is 1,000.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional pagination token returned in an earlier QueryTestablePermissionsRequest.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional pagination token returned in an earlier QueryTestablePermissionsRequest.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryTestablePermissionsRequest other)

public QueryTestablePermissionsRequest.Builder mergeFrom(QueryTestablePermissionsRequest other)
Parameter
Name Description
other QueryTestablePermissionsRequest
Returns
Type Description
QueryTestablePermissionsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueryTestablePermissionsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryTestablePermissionsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public QueryTestablePermissionsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
QueryTestablePermissionsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueryTestablePermissionsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueryTestablePermissionsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public QueryTestablePermissionsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueryTestablePermissionsRequest.Builder
Overrides

setFullResourceName(String value)

public QueryTestablePermissionsRequest.Builder setFullResourceName(String value)

Required. The full resource name to query from the list of testable permissions.

The name follows the Google Cloud Platform resource format. For example, a Cloud Platform project with id my-project will be named //cloudresourcemanager.googleapis.com/projects/my-project.

string full_resource_name = 1;

Parameter
Name Description
value String

The fullResourceName to set.

Returns
Type Description
QueryTestablePermissionsRequest.Builder

This builder for chaining.

setFullResourceNameBytes(ByteString value)

public QueryTestablePermissionsRequest.Builder setFullResourceNameBytes(ByteString value)

Required. The full resource name to query from the list of testable permissions.

The name follows the Google Cloud Platform resource format. For example, a Cloud Platform project with id my-project will be named //cloudresourcemanager.googleapis.com/projects/my-project.

string full_resource_name = 1;

Parameter
Name Description
value ByteString

The bytes for fullResourceName to set.

Returns
Type Description
QueryTestablePermissionsRequest.Builder

This builder for chaining.

setPageSize(int value)

public QueryTestablePermissionsRequest.Builder setPageSize(int value)

Optional limit on the number of permissions to include in the response.

The default is 100, and the maximum is 1,000.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
QueryTestablePermissionsRequest.Builder

This builder for chaining.

setPageToken(String value)

public QueryTestablePermissionsRequest.Builder setPageToken(String value)

Optional pagination token returned in an earlier QueryTestablePermissionsRequest.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
QueryTestablePermissionsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public QueryTestablePermissionsRequest.Builder setPageTokenBytes(ByteString value)

Optional pagination token returned in an earlier QueryTestablePermissionsRequest.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
QueryTestablePermissionsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public QueryTestablePermissionsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
QueryTestablePermissionsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final QueryTestablePermissionsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueryTestablePermissionsRequest.Builder
Overrides