Class ListCompaniesResponse.Builder (2.46.0)

public static final class ListCompaniesResponse.Builder extends GeneratedMessageV3.Builder<ListCompaniesResponse.Builder> implements ListCompaniesResponseOrBuilder

The List companies response object.

Protobuf type google.cloud.talent.v4beta1.ListCompaniesResponse

Static Methods

getDescriptor()

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

Methods

addAllCompanies(Iterable<? extends Company> values)

public ListCompaniesResponse.Builder addAllCompanies(Iterable<? extends Company> values)

Companies for the current client.

repeated .google.cloud.talent.v4beta1.Company companies = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.talent.v4beta1.Company>
Returns
Type Description
ListCompaniesResponse.Builder

addCompanies(Company value)

public ListCompaniesResponse.Builder addCompanies(Company value)

Companies for the current client.

repeated .google.cloud.talent.v4beta1.Company companies = 1;

Parameter
Name Description
value Company
Returns
Type Description
ListCompaniesResponse.Builder

addCompanies(Company.Builder builderForValue)

public ListCompaniesResponse.Builder addCompanies(Company.Builder builderForValue)

Companies for the current client.

repeated .google.cloud.talent.v4beta1.Company companies = 1;

Parameter
Name Description
builderForValue Company.Builder
Returns
Type Description
ListCompaniesResponse.Builder

addCompanies(int index, Company value)

public ListCompaniesResponse.Builder addCompanies(int index, Company value)

Companies for the current client.

repeated .google.cloud.talent.v4beta1.Company companies = 1;

Parameters
Name Description
index int
value Company
Returns
Type Description
ListCompaniesResponse.Builder

addCompanies(int index, Company.Builder builderForValue)

public ListCompaniesResponse.Builder addCompanies(int index, Company.Builder builderForValue)

Companies for the current client.

repeated .google.cloud.talent.v4beta1.Company companies = 1;

Parameters
Name Description
index int
builderForValue Company.Builder
Returns
Type Description
ListCompaniesResponse.Builder

addCompaniesBuilder()

public Company.Builder addCompaniesBuilder()

Companies for the current client.

repeated .google.cloud.talent.v4beta1.Company companies = 1;

Returns
Type Description
Company.Builder

addCompaniesBuilder(int index)

public Company.Builder addCompaniesBuilder(int index)

Companies for the current client.

repeated .google.cloud.talent.v4beta1.Company companies = 1;

Parameter
Name Description
index int
Returns
Type Description
Company.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListCompaniesResponse build()
Returns
Type Description
ListCompaniesResponse

buildPartial()

public ListCompaniesResponse buildPartial()
Returns
Type Description
ListCompaniesResponse

clear()

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

clearCompanies()

public ListCompaniesResponse.Builder clearCompanies()

Companies for the current client.

repeated .google.cloud.talent.v4beta1.Company companies = 1;

Returns
Type Description
ListCompaniesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearMetadata()

public ListCompaniesResponse.Builder clearMetadata()

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

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

Returns
Type Description
ListCompaniesResponse.Builder

clearNextPageToken()

public ListCompaniesResponse.Builder clearNextPageToken()

A token to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
ListCompaniesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCompanies(int index)

public Company getCompanies(int index)

Companies for the current client.

repeated .google.cloud.talent.v4beta1.Company companies = 1;

Parameter
Name Description
index int
Returns
Type Description
Company

getCompaniesBuilder(int index)

public Company.Builder getCompaniesBuilder(int index)

Companies for the current client.

repeated .google.cloud.talent.v4beta1.Company companies = 1;

Parameter
Name Description
index int
Returns
Type Description
Company.Builder

getCompaniesBuilderList()

public List<Company.Builder> getCompaniesBuilderList()

Companies for the current client.

repeated .google.cloud.talent.v4beta1.Company companies = 1;

Returns
Type Description
List<Builder>

getCompaniesCount()

public int getCompaniesCount()

Companies for the current client.

repeated .google.cloud.talent.v4beta1.Company companies = 1;

Returns
Type Description
int

getCompaniesList()

public List<Company> getCompaniesList()

Companies for the current client.

repeated .google.cloud.talent.v4beta1.Company companies = 1;

Returns
Type Description
List<Company>

getCompaniesOrBuilder(int index)

public CompanyOrBuilder getCompaniesOrBuilder(int index)

Companies for the current client.

repeated .google.cloud.talent.v4beta1.Company companies = 1;

Parameter
Name Description
index int
Returns
Type Description
CompanyOrBuilder

getCompaniesOrBuilderList()

public List<? extends CompanyOrBuilder> getCompaniesOrBuilderList()

Companies for the current client.

repeated .google.cloud.talent.v4beta1.Company companies = 1;

Returns
Type Description
List<? extends com.google.cloud.talent.v4beta1.CompanyOrBuilder>

getDefaultInstanceForType()

public ListCompaniesResponse getDefaultInstanceForType()
Returns
Type Description
ListCompaniesResponse

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.v4beta1.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.v4beta1.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.v4beta1.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.

hasMetadata()

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListCompaniesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetadata(ResponseMetadata value)

public ListCompaniesResponse.Builder mergeMetadata(ResponseMetadata value)

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

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

Parameter
Name Description
value ResponseMetadata
Returns
Type Description
ListCompaniesResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCompanies(int index)

public ListCompaniesResponse.Builder removeCompanies(int index)

Companies for the current client.

repeated .google.cloud.talent.v4beta1.Company companies = 1;

Parameter
Name Description
index int
Returns
Type Description
ListCompaniesResponse.Builder

setCompanies(int index, Company value)

public ListCompaniesResponse.Builder setCompanies(int index, Company value)

Companies for the current client.

repeated .google.cloud.talent.v4beta1.Company companies = 1;

Parameters
Name Description
index int
value Company
Returns
Type Description
ListCompaniesResponse.Builder

setCompanies(int index, Company.Builder builderForValue)

public ListCompaniesResponse.Builder setCompanies(int index, Company.Builder builderForValue)

Companies for the current client.

repeated .google.cloud.talent.v4beta1.Company companies = 1;

Parameters
Name Description
index int
builderForValue Company.Builder
Returns
Type Description
ListCompaniesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetadata(ResponseMetadata value)

public ListCompaniesResponse.Builder setMetadata(ResponseMetadata value)

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

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

Parameter
Name Description
value ResponseMetadata
Returns
Type Description
ListCompaniesResponse.Builder

setMetadata(ResponseMetadata.Builder builderForValue)

public ListCompaniesResponse.Builder setMetadata(ResponseMetadata.Builder builderForValue)

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

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

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

setNextPageToken(String value)

public ListCompaniesResponse.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
ListCompaniesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListCompaniesResponse.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
ListCompaniesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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