Package com.google.cloud.talent.v4
Class ListTenantsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListTenantsResponse.Builder>
com.google.cloud.talent.v4.ListTenantsResponse.Builder
- All Implemented Interfaces:
ListTenantsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListTenantsResponse
public static final class ListTenantsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListTenantsResponse.Builder>
implements ListTenantsResponseOrBuilder
The List tenants response object.Protobuf type
google.cloud.talent.v4.ListTenantsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllTenants(Iterable<? extends Tenant> values) Tenants for the current client.addTenants(int index, Tenant value) Tenants for the current client.addTenants(int index, Tenant.Builder builderForValue) Tenants for the current client.addTenants(Tenant value) Tenants for the current client.addTenants(Tenant.Builder builderForValue) Tenants for the current client.Tenants for the current client.addTenantsBuilder(int index) Tenants for the current client.build()clear()Additional information for the API invocation, such as the request tracking id.A token to retrieve the next page of results.Tenants for the current client.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorAdditional information for the API invocation, such as the request tracking id.Additional information for the API invocation, such as the request tracking id.Additional information for the API invocation, such as the request tracking id.A token to retrieve the next page of results.com.google.protobuf.ByteStringA token to retrieve the next page of results.getTenants(int index) Tenants for the current client.getTenantsBuilder(int index) Tenants for the current client.Tenants for the current client.intTenants for the current client.Tenants for the current client.getTenantsOrBuilder(int index) Tenants for the current client.List<? extends TenantOrBuilder>Tenants for the current client.booleanAdditional information for the API invocation, such as the request tracking id.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListTenantsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMetadata(ResponseMetadata value) Additional information for the API invocation, such as the request tracking id.removeTenants(int index) Tenants for the current client.setMetadata(ResponseMetadata value) Additional information for the API invocation, such as the request tracking id.setMetadata(ResponseMetadata.Builder builderForValue) Additional information for the API invocation, such as the request tracking id.setNextPageToken(String value) A token to retrieve the next page of results.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token to retrieve the next page of results.setTenants(int index, Tenant value) Tenants for the current client.setTenants(int index, Tenant.Builder builderForValue) Tenants for the current client.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListTenantsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListTenantsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListTenantsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListTenantsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListTenantsResponse.Builder>
-
mergeFrom
public ListTenantsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListTenantsResponse.Builder>- Throws:
IOException
-
getTenantsList
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;- Specified by:
getTenantsListin interfaceListTenantsResponseOrBuilder
-
getTenantsCount
public int getTenantsCount()Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;- Specified by:
getTenantsCountin interfaceListTenantsResponseOrBuilder
-
getTenants
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;- Specified by:
getTenantsin interfaceListTenantsResponseOrBuilder
-
setTenants
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1; -
setTenants
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1; -
addTenants
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1; -
addTenants
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1; -
addTenants
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1; -
addTenants
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1; -
addAllTenants
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1; -
clearTenants
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1; -
removeTenants
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1; -
getTenantsBuilder
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1; -
getTenantsOrBuilder
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;- Specified by:
getTenantsOrBuilderin interfaceListTenantsResponseOrBuilder
-
getTenantsOrBuilderList
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1;- Specified by:
getTenantsOrBuilderListin interfaceListTenantsResponseOrBuilder
-
addTenantsBuilder
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1; -
addTenantsBuilder
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1; -
getTenantsBuilderList
Tenants for the current client.
repeated .google.cloud.talent.v4.Tenant tenants = 1; -
getNextPageToken
A token to retrieve the next page of results.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListTenantsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()A token to retrieve the next page of results.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListTenantsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
A token to retrieve the next page of results.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
A token to retrieve the next page of results.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
A token to retrieve the next page of results.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
hasMetadata
public boolean hasMetadata()Additional information for the API invocation, such as the request tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 3;- Specified by:
hasMetadatain interfaceListTenantsResponseOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
Additional information for the API invocation, such as the request tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 3;- Specified by:
getMetadatain interfaceListTenantsResponseOrBuilder- Returns:
- The metadata.
-
setMetadata
Additional information for the API invocation, such as the request tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 3; -
setMetadata
Additional information for the API invocation, such as the request tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 3; -
mergeMetadata
Additional information for the API invocation, such as the request tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 3; -
clearMetadata
Additional information for the API invocation, such as the request tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 3; -
getMetadataBuilder
Additional information for the API invocation, such as the request tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 3; -
getMetadataOrBuilder
Additional information for the API invocation, such as the request tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 3;- Specified by:
getMetadataOrBuilderin interfaceListTenantsResponseOrBuilder
-