Class ListTenantsResponse.Builder (2.43.0)

public static final class ListTenantsResponse.Builder extends GeneratedMessageV3.Builder<ListTenantsResponse.Builder> implements ListTenantsResponseOrBuilder

The List tenants response object.

Protobuf type google.cloud.talent.v4.ListTenantsResponse

Static Methods

getDescriptor()

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

Methods

addAllTenants(Iterable<? extends Tenant> values)

public ListTenantsResponse.Builder addAllTenants(Iterable<? extends Tenant> values)

Tenants for the current client.

repeated .google.cloud.talent.v4.Tenant tenants = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.talent.v4.Tenant>
Returns
Type Description
ListTenantsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTenants(Tenant value)

public ListTenantsResponse.Builder addTenants(Tenant value)

Tenants for the current client.

repeated .google.cloud.talent.v4.Tenant tenants = 1;

Parameter
Name Description
value Tenant
Returns
Type Description
ListTenantsResponse.Builder

addTenants(Tenant.Builder builderForValue)

public ListTenantsResponse.Builder addTenants(Tenant.Builder builderForValue)

Tenants for the current client.

repeated .google.cloud.talent.v4.Tenant tenants = 1;

Parameter
Name Description
builderForValue Tenant.Builder
Returns
Type Description
ListTenantsResponse.Builder

addTenants(int index, Tenant value)

public ListTenantsResponse.Builder addTenants(int index, Tenant value)

Tenants for the current client.

repeated .google.cloud.talent.v4.Tenant tenants = 1;

Parameters
Name Description
index int
value Tenant
Returns
Type Description
ListTenantsResponse.Builder

addTenants(int index, Tenant.Builder builderForValue)

public ListTenantsResponse.Builder addTenants(int index, Tenant.Builder builderForValue)

Tenants for the current client.

repeated .google.cloud.talent.v4.Tenant tenants = 1;

Parameters
Name Description
index int
builderForValue Tenant.Builder
Returns
Type Description
ListTenantsResponse.Builder

addTenantsBuilder()

public Tenant.Builder addTenantsBuilder()

Tenants for the current client.

repeated .google.cloud.talent.v4.Tenant tenants = 1;

Returns
Type Description
Tenant.Builder

addTenantsBuilder(int index)

public Tenant.Builder addTenantsBuilder(int index)

Tenants for the current client.

repeated .google.cloud.talent.v4.Tenant tenants = 1;

Parameter
Name Description
index int
Returns
Type Description
Tenant.Builder

build()

public ListTenantsResponse build()
Returns
Type Description
ListTenantsResponse

buildPartial()

public ListTenantsResponse buildPartial()
Returns
Type Description
ListTenantsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMetadata()

public ListTenantsResponse.Builder clearMetadata()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.talent.v4.ResponseMetadata metadata = 3;

Returns
Type Description
ListTenantsResponse.Builder

clearNextPageToken()

public ListTenantsResponse.Builder clearNextPageToken()

A token to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
ListTenantsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTenants()

public ListTenantsResponse.Builder clearTenants()

Tenants for the current client.

repeated .google.cloud.talent.v4.Tenant tenants = 1;

Returns
Type Description
ListTenantsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListTenantsResponse getDefaultInstanceForType()
Returns
Type Description
ListTenantsResponse

getDescriptorForType()

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

getMetadata()

public ResponseMetadata getMetadata()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.talent.v4.ResponseMetadata metadata = 3;

Returns
Type Description
ResponseMetadata

The metadata.

getMetadataBuilder()

public ResponseMetadata.Builder getMetadataBuilder()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.talent.v4.ResponseMetadata metadata = 3;

Returns
Type Description
ResponseMetadata.Builder

getMetadataOrBuilder()

public ResponseMetadataOrBuilder getMetadataOrBuilder()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.talent.v4.ResponseMetadata metadata = 3;

Returns
Type Description
ResponseMetadataOrBuilder

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTenants(int index)

public Tenant getTenants(int index)

Tenants for the current client.

repeated .google.cloud.talent.v4.Tenant tenants = 1;

Parameter
Name Description
index int
Returns
Type Description
Tenant

getTenantsBuilder(int index)

public Tenant.Builder getTenantsBuilder(int index)

Tenants for the current client.

repeated .google.cloud.talent.v4.Tenant tenants = 1;

Parameter
Name Description
index int
Returns
Type Description
Tenant.Builder

getTenantsBuilderList()

public List<Tenant.Builder> getTenantsBuilderList()

Tenants for the current client.

repeated .google.cloud.talent.v4.Tenant tenants = 1;

Returns
Type Description
List<Builder>

getTenantsCount()

public int getTenantsCount()

Tenants for the current client.

repeated .google.cloud.talent.v4.Tenant tenants = 1;

Returns
Type Description
int

getTenantsList()

public List<Tenant> getTenantsList()

Tenants for the current client.

repeated .google.cloud.talent.v4.Tenant tenants = 1;

Returns
Type Description
List<Tenant>

getTenantsOrBuilder(int index)

public TenantOrBuilder getTenantsOrBuilder(int index)

Tenants for the current client.

repeated .google.cloud.talent.v4.Tenant tenants = 1;

Parameter
Name Description
index int
Returns
Type Description
TenantOrBuilder

getTenantsOrBuilderList()

public List<? extends TenantOrBuilder> getTenantsOrBuilderList()

Tenants for the current client.

repeated .google.cloud.talent.v4.Tenant tenants = 1;

Returns
Type Description
List<? extends com.google.cloud.talent.v4.TenantOrBuilder>

hasMetadata()

public boolean hasMetadata()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.talent.v4.ResponseMetadata metadata = 3;

Returns
Type Description
boolean

Whether the metadata field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTenantsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetadata(ResponseMetadata value)

public ListTenantsResponse.Builder mergeMetadata(ResponseMetadata value)

Additional information for the API invocation, such as the request tracking id.

.google.cloud.talent.v4.ResponseMetadata metadata = 3;

Parameter
Name Description
value ResponseMetadata
Returns
Type Description
ListTenantsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTenants(int index)

public ListTenantsResponse.Builder removeTenants(int index)

Tenants for the current client.

repeated .google.cloud.talent.v4.Tenant tenants = 1;

Parameter
Name Description
index int
Returns
Type Description
ListTenantsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetadata(ResponseMetadata value)

public ListTenantsResponse.Builder setMetadata(ResponseMetadata value)

Additional information for the API invocation, such as the request tracking id.

.google.cloud.talent.v4.ResponseMetadata metadata = 3;

Parameter
Name Description
value ResponseMetadata
Returns
Type Description
ListTenantsResponse.Builder

setMetadata(ResponseMetadata.Builder builderForValue)

public ListTenantsResponse.Builder setMetadata(ResponseMetadata.Builder builderForValue)

Additional information for the API invocation, such as the request tracking id.

.google.cloud.talent.v4.ResponseMetadata metadata = 3;

Parameter
Name Description
builderForValue ResponseMetadata.Builder
Returns
Type Description
ListTenantsResponse.Builder

setNextPageToken(String value)

public ListTenantsResponse.Builder setNextPageToken(String value)

A token to retrieve the next page of results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListTenantsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListTenantsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListTenantsResponse.Builder

This builder for chaining.

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

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

setTenants(int index, Tenant value)

public ListTenantsResponse.Builder setTenants(int index, Tenant value)

Tenants for the current client.

repeated .google.cloud.talent.v4.Tenant tenants = 1;

Parameters
Name Description
index int
value Tenant
Returns
Type Description
ListTenantsResponse.Builder

setTenants(int index, Tenant.Builder builderForValue)

public ListTenantsResponse.Builder setTenants(int index, Tenant.Builder builderForValue)

Tenants for the current client.

repeated .google.cloud.talent.v4.Tenant tenants = 1;

Parameters
Name Description
index int
builderForValue Tenant.Builder
Returns
Type Description
ListTenantsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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