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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListTenantsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addTenants(Tenant value)
public ListTenantsResponse.Builder addTenants(Tenant value)
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
Parameter
Returns
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
Returns
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
Returns
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
Returns
addTenantsBuilder()
public Tenant.Builder addTenantsBuilder()
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
Returns
addTenantsBuilder(int index)
public Tenant.Builder addTenantsBuilder(int index)
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
Parameter
Returns
build()
public ListTenantsResponse build()
Returns
buildPartial()
public ListTenantsResponse buildPartial()
Returns
clear()
public ListTenantsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListTenantsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ListTenantsResponse.Builder clearMetadata()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 3;
Returns
clearNextPageToken()
public ListTenantsResponse.Builder clearNextPageToken()
A token to retrieve the next page of results.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListTenantsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTenants()
public ListTenantsResponse.Builder clearTenants()
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
Returns
clone()
public ListTenantsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListTenantsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public ResponseMetadata getMetadata()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 3;
Returns
public ResponseMetadata.Builder getMetadataBuilder()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 3;
Returns
public ResponseMetadataOrBuilder getMetadataOrBuilder()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 3;
Returns
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
Returns
getTenantsBuilder(int index)
public Tenant.Builder getTenantsBuilder(int index)
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
Parameter
Returns
getTenantsBuilderList()
public List<Tenant.Builder> getTenantsBuilderList()
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
Returns
getTenantsCount()
public int getTenantsCount()
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
Returns
getTenantsList()
public List<Tenant> getTenantsList()
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
Returns
getTenantsOrBuilder(int index)
public TenantOrBuilder getTenantsOrBuilder(int index)
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
Parameter
Returns
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> | |
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListTenantsResponse other)
public ListTenantsResponse.Builder mergeFrom(ListTenantsResponse other)
Parameter
Returns
public ListTenantsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListTenantsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListTenantsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeTenants(int index)
public ListTenantsResponse.Builder removeTenants(int index)
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListTenantsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListTenantsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListTenantsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides