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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
public ListTenantsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
public ListTenantsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListTenantsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListTenantsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListTenantsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
public ListTenantsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
public ListTenantsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
public ListTenantsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
public ListTenantsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
public ListTenantsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
public ListTenantsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListTenantsResponse.Builder>
public ListTenantsResponse.Builder mergeFrom(ListTenantsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
public ListTenantsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListTenantsResponse.Builder>
IOException
public List<Tenant> getTenantsList()
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
getTenantsList
in interface ListTenantsResponseOrBuilder
public int getTenantsCount()
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
getTenantsCount
in interface ListTenantsResponseOrBuilder
public Tenant getTenants(int index)
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
getTenants
in interface ListTenantsResponseOrBuilder
public ListTenantsResponse.Builder setTenants(int index, Tenant value)
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
public ListTenantsResponse.Builder setTenants(int index, Tenant.Builder builderForValue)
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
public ListTenantsResponse.Builder addTenants(Tenant value)
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
public ListTenantsResponse.Builder addTenants(int index, Tenant value)
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
public ListTenantsResponse.Builder addTenants(Tenant.Builder builderForValue)
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
public ListTenantsResponse.Builder addTenants(int index, Tenant.Builder builderForValue)
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
public ListTenantsResponse.Builder addAllTenants(Iterable<? extends Tenant> values)
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
public ListTenantsResponse.Builder clearTenants()
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
public ListTenantsResponse.Builder removeTenants(int index)
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
public Tenant.Builder getTenantsBuilder(int index)
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
public TenantOrBuilder getTenantsOrBuilder(int index)
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
getTenantsOrBuilder
in interface ListTenantsResponseOrBuilder
public List<? extends TenantOrBuilder> getTenantsOrBuilderList()
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
getTenantsOrBuilderList
in interface ListTenantsResponseOrBuilder
public Tenant.Builder addTenantsBuilder()
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
public Tenant.Builder addTenantsBuilder(int index)
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
public List<Tenant.Builder> getTenantsBuilderList()
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;
public String getNextPageToken()
A token to retrieve the next page of results.
string next_page_token = 2;
getNextPageToken
in interface ListTenantsResponseOrBuilder
public ByteString getNextPageTokenBytes()
A token to retrieve the next page of results.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListTenantsResponseOrBuilder
public ListTenantsResponse.Builder setNextPageToken(String value)
A token to retrieve the next page of results.
string next_page_token = 2;
value
- The nextPageToken to set.public ListTenantsResponse.Builder clearNextPageToken()
A token to retrieve the next page of results.
string next_page_token = 2;
public ListTenantsResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve the next page of results.
string next_page_token = 2;
value
- The bytes for nextPageToken to set.public boolean hasMetadata()
Additional information for the API invocation, such as the request tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 3;
hasMetadata
in interface ListTenantsResponseOrBuilder
public ResponseMetadata getMetadata()
Additional information for the API invocation, such as the request tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 3;
getMetadata
in interface ListTenantsResponseOrBuilder
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;
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;
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;
public ListTenantsResponse.Builder clearMetadata()
Additional information for the API invocation, such as the request tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 3;
public ResponseMetadata.Builder getMetadataBuilder()
Additional information for the API invocation, such as the request tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 3;
public ResponseMetadataOrBuilder getMetadataOrBuilder()
Additional information for the API invocation, such as the request tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 3;
getMetadataOrBuilder
in interface ListTenantsResponseOrBuilder
public final ListTenantsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
public final ListTenantsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListTenantsResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.