Class ListTenantsRequest.Builder (2.34.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.v4.ListTenantsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListTenantsRequest build()
Returns
TypeDescription
ListTenantsRequest

buildPartial()

public ListTenantsRequest buildPartial()
Returns
TypeDescription
ListTenantsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListTenantsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListTenantsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clearPageToken()

public ListTenantsRequest.Builder clearPageToken()

The starting indicator from which to return results.

string page_token = 2;

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListTenantsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListTenantsRequest

getDescriptorForType()

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

The pageSize.

getPageToken()

public String getPageToken()

The starting indicator from which to return results.

string page_token = 2;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The starting indicator from which to return results.

string page_token = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTenantsRequest other)

public ListTenantsRequest.Builder mergeFrom(ListTenantsRequest other)
Parameter
NameDescription
otherListTenantsRequest
Returns
TypeDescription
ListTenantsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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