Class ListTenantsRequest.Builder (2.46.0)

public static final class ListTenantsRequest.Builder extends GeneratedMessageV3.Builder<ListTenantsRequest.Builder> implements ListTenantsRequestOrBuilder

List tenants for which the client has ACL visibility.

Protobuf type google.cloud.talent.v4beta1.ListTenantsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListTenantsRequest build()
Returns
Type Description
ListTenantsRequest

buildPartial()

public ListTenantsRequest buildPartial()
Returns
Type Description
ListTenantsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListTenantsRequest.Builder clearPageSize()

The maximum number of tenants to be returned, at most 100. Default is 100 if a non-positive number is provided.

int32 page_size = 3;

Returns
Type Description
ListTenantsRequest.Builder

This builder for chaining.

clearPageToken()

public ListTenantsRequest.Builder clearPageToken()

The starting indicator from which to return results.

string page_token = 2;

Returns
Type Description
ListTenantsRequest.Builder

This builder for chaining.

clearParent()

public ListTenantsRequest.Builder clearParent()

Required. Resource name of the project under which the tenant is created.

The format is "projects/{project_id}", for example, "projects/foo".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListTenantsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListTenantsRequest getDefaultInstanceForType()
Returns
Type Description
ListTenantsRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

The maximum number of tenants to be returned, at most 100. Default is 100 if a non-positive number is provided.

int32 page_size = 3;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

The starting indicator from which to return results.

string page_token = 2;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The starting indicator from which to return results.

string page_token = 2;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. Resource name of the project under which the tenant is created.

The format is "projects/{project_id}", for example, "projects/foo".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Resource name of the project under which the tenant is created.

The format is "projects/{project_id}", for example, "projects/foo".

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTenantsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListTenantsRequest.Builder setPageSize(int value)

The maximum number of tenants to be returned, at most 100. Default is 100 if a non-positive number is provided.

int32 page_size = 3;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListTenantsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListTenantsRequest.Builder setPageToken(String value)

The starting indicator from which to return results.

string page_token = 2;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListTenantsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListTenantsRequest.Builder setPageTokenBytes(ByteString value)

The starting indicator from which to return results.

string page_token = 2;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListTenantsRequest.Builder

This builder for chaining.

setParent(String value)

public ListTenantsRequest.Builder setParent(String value)

Required. Resource name of the project under which the tenant is created.

The format is "projects/{project_id}", for example, "projects/foo".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListTenantsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListTenantsRequest.Builder setParentBytes(ByteString value)

Required. Resource name of the project under which the tenant is created.

The format is "projects/{project_id}", for example, "projects/foo".

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
ListTenantsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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