Class QueryTestablePermissionsRequest.Builder (3.3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueryTestablePermissionsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
QueryTestablePermissionsRequest.Builder
Overrides

build()

public QueryTestablePermissionsRequest build()
Returns
TypeDescription
QueryTestablePermissionsRequest

buildPartial()

public QueryTestablePermissionsRequest buildPartial()
Returns
TypeDescription
QueryTestablePermissionsRequest

clear()

public QueryTestablePermissionsRequest.Builder clear()
Returns
TypeDescription
QueryTestablePermissionsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public QueryTestablePermissionsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
QueryTestablePermissionsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public QueryTestablePermissionsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
QueryTestablePermissionsRequest.Builder

This builder for chaining.

clearPageToken()

public QueryTestablePermissionsRequest.Builder clearPageToken()

Optional pagination token returned in an earlier QueryTestablePermissionsRequest.

string page_token = 3;

Returns
TypeDescription
QueryTestablePermissionsRequest.Builder

This builder for chaining.

clone()

public QueryTestablePermissionsRequest.Builder clone()
Returns
TypeDescription
QueryTestablePermissionsRequest.Builder
Overrides

getDefaultInstanceForType()

public QueryTestablePermissionsRequest getDefaultInstanceForType()
Returns
TypeDescription
QueryTestablePermissionsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

Optional pagination token returned in an earlier QueryTestablePermissionsRequest.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional pagination token returned in an earlier QueryTestablePermissionsRequest.

string page_token = 3;

Returns
TypeDescription
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(QueryTestablePermissionsRequest other)

public QueryTestablePermissionsRequest.Builder mergeFrom(QueryTestablePermissionsRequest other)
Parameter
NameDescription
otherQueryTestablePermissionsRequest
Returns
TypeDescription
QueryTestablePermissionsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueryTestablePermissionsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryTestablePermissionsRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public QueryTestablePermissionsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
QueryTestablePermissionsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueryTestablePermissionsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
QueryTestablePermissionsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public QueryTestablePermissionsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The fullResourceName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for fullResourceName to set.

Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
QueryTestablePermissionsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final QueryTestablePermissionsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
QueryTestablePermissionsRequest.Builder
Overrides