public static final class ListTenantsResponse.Builder extends GeneratedMessageV3.Builder<ListTenantsResponse.Builder> implements ListTenantsResponseOrBuilder
The List tenants response object.
Protobuf type google.cloud.talent.v4beta1.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()
Methods
addAllTenants(Iterable<? extends Tenant> values)
public ListTenantsResponse.Builder addAllTenants(Iterable<? extends Tenant> values)
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.talent.v4beta1.Tenant>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListTenantsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addTenants(Tenant value)
public ListTenantsResponse.Builder addTenants(Tenant value)
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
Parameter |
---|
Name | Description |
value | Tenant
|
addTenants(Tenant.Builder builderForValue)
public ListTenantsResponse.Builder addTenants(Tenant.Builder builderForValue)
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
addTenants(int index, Tenant value)
public ListTenantsResponse.Builder addTenants(int index, Tenant value)
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
addTenants(int index, Tenant.Builder builderForValue)
public ListTenantsResponse.Builder addTenants(int index, Tenant.Builder builderForValue)
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
addTenantsBuilder()
public Tenant.Builder addTenantsBuilder()
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
addTenantsBuilder(int index)
public Tenant.Builder addTenantsBuilder(int index)
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
Parameter |
---|
Name | Description |
index | int
|
build()
public ListTenantsResponse build()
buildPartial()
public ListTenantsResponse buildPartial()
clear()
public ListTenantsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListTenantsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ListTenantsResponse.Builder clearMetadata()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
clearNextPageToken()
public ListTenantsResponse.Builder clearNextPageToken()
A token to retrieve the next page of results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListTenantsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTenants()
public ListTenantsResponse.Builder clearTenants()
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
clone()
public ListTenantsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListTenantsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public ResponseMetadata getMetadata()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
public ResponseMetadata.Builder getMetadataBuilder()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
public ResponseMetadataOrBuilder getMetadataOrBuilder()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
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.v4beta1.Tenant tenants = 1;
Parameter |
---|
Name | Description |
index | int
|
getTenantsBuilder(int index)
public Tenant.Builder getTenantsBuilder(int index)
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
Parameter |
---|
Name | Description |
index | int
|
getTenantsBuilderList()
public List<Tenant.Builder> getTenantsBuilderList()
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
getTenantsCount()
public int getTenantsCount()
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
Returns |
---|
Type | Description |
int | |
getTenantsList()
public List<Tenant> getTenantsList()
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
getTenantsOrBuilder(int index)
public TenantOrBuilder getTenantsOrBuilder(int index)
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
Parameter |
---|
Name | Description |
index | int
|
getTenantsOrBuilderList()
public List<? extends TenantOrBuilder> getTenantsOrBuilderList()
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.talent.v4beta1.TenantOrBuilder> | |
public boolean hasMetadata()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
Returns |
---|
Type | Description |
boolean | Whether the metadata field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListTenantsResponse other)
public ListTenantsResponse.Builder mergeFrom(ListTenantsResponse other)
public ListTenantsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListTenantsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public ListTenantsResponse.Builder mergeMetadata(ResponseMetadata value)
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListTenantsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeTenants(int index)
public ListTenantsResponse.Builder removeTenants(int index)
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListTenantsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListTenantsResponse.Builder setMetadata(ResponseMetadata value)
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4beta1.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.v4beta1.ResponseMetadata metadata = 3;
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListTenantsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTenants(int index, Tenant value)
public ListTenantsResponse.Builder setTenants(int index, Tenant value)
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
setTenants(int index, Tenant.Builder builderForValue)
public ListTenantsResponse.Builder setTenants(int index, Tenant.Builder builderForValue)
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListTenantsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides