public static final class ListCompaniesResponse.Builder extends GeneratedMessageV3.Builder<ListCompaniesResponse.Builder> implements ListCompaniesResponseOrBuilder
The List companies response object.
Protobuf type google.cloud.talent.v4.ListCompaniesResponse
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
addAllCompanies(Iterable<? extends Company> values)
public ListCompaniesResponse.Builder addAllCompanies(Iterable<? extends Company> values)
Companies for the current client.
repeated .google.cloud.talent.v4.Company companies = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.talent.v4.Company>
|
Returns
addCompanies(Company value)
public ListCompaniesResponse.Builder addCompanies(Company value)
Companies for the current client.
repeated .google.cloud.talent.v4.Company companies = 1;
Parameter
Returns
addCompanies(Company.Builder builderForValue)
public ListCompaniesResponse.Builder addCompanies(Company.Builder builderForValue)
Companies for the current client.
repeated .google.cloud.talent.v4.Company companies = 1;
Parameter
Returns
addCompanies(int index, Company value)
public ListCompaniesResponse.Builder addCompanies(int index, Company value)
Companies for the current client.
repeated .google.cloud.talent.v4.Company companies = 1;
Parameters
Returns
addCompanies(int index, Company.Builder builderForValue)
public ListCompaniesResponse.Builder addCompanies(int index, Company.Builder builderForValue)
Companies for the current client.
repeated .google.cloud.talent.v4.Company companies = 1;
Parameters
Returns
addCompaniesBuilder()
public Company.Builder addCompaniesBuilder()
Companies for the current client.
repeated .google.cloud.talent.v4.Company companies = 1;
Returns
addCompaniesBuilder(int index)
public Company.Builder addCompaniesBuilder(int index)
Companies for the current client.
repeated .google.cloud.talent.v4.Company companies = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCompaniesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListCompaniesResponse build()
Returns
buildPartial()
public ListCompaniesResponse buildPartial()
Returns
clear()
public ListCompaniesResponse.Builder clear()
Returns
Overrides
clearCompanies()
public ListCompaniesResponse.Builder clearCompanies()
Companies for the current client.
repeated .google.cloud.talent.v4.Company companies = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListCompaniesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ListCompaniesResponse.Builder clearMetadata()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 3;
Returns
clearNextPageToken()
public ListCompaniesResponse.Builder clearNextPageToken()
A token to retrieve the next page of results.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCompaniesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListCompaniesResponse.Builder clone()
Returns
Overrides
getCompanies(int index)
public Company getCompanies(int index)
Companies for the current client.
repeated .google.cloud.talent.v4.Company companies = 1;
Parameter
Returns
getCompaniesBuilder(int index)
public Company.Builder getCompaniesBuilder(int index)
Companies for the current client.
repeated .google.cloud.talent.v4.Company companies = 1;
Parameter
Returns
getCompaniesBuilderList()
public List<Company.Builder> getCompaniesBuilderList()
Companies for the current client.
repeated .google.cloud.talent.v4.Company companies = 1;
Returns
getCompaniesCount()
public int getCompaniesCount()
Companies for the current client.
repeated .google.cloud.talent.v4.Company companies = 1;
Returns
getCompaniesList()
public List<Company> getCompaniesList()
Companies for the current client.
repeated .google.cloud.talent.v4.Company companies = 1;
Returns
getCompaniesOrBuilder(int index)
public CompanyOrBuilder getCompaniesOrBuilder(int index)
Companies for the current client.
repeated .google.cloud.talent.v4.Company companies = 1;
Parameter
Returns
getCompaniesOrBuilderList()
public List<? extends CompanyOrBuilder> getCompaniesOrBuilderList()
Companies for the current client.
repeated .google.cloud.talent.v4.Company companies = 1;
Returns
Type | Description |
List<? extends com.google.cloud.talent.v4.CompanyOrBuilder> | |
getDefaultInstanceForType()
public ListCompaniesResponse 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.
|
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(ListCompaniesResponse other)
public ListCompaniesResponse.Builder mergeFrom(ListCompaniesResponse other)
Parameter
Returns
public ListCompaniesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListCompaniesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public ListCompaniesResponse.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 ListCompaniesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeCompanies(int index)
public ListCompaniesResponse.Builder removeCompanies(int index)
Companies for the current client.
repeated .google.cloud.talent.v4.Company companies = 1;
Parameter
Returns
setCompanies(int index, Company value)
public ListCompaniesResponse.Builder setCompanies(int index, Company value)
Companies for the current client.
repeated .google.cloud.talent.v4.Company companies = 1;
Parameters
Returns
setCompanies(int index, Company.Builder builderForValue)
public ListCompaniesResponse.Builder setCompanies(int index, Company.Builder builderForValue)
Companies for the current client.
repeated .google.cloud.talent.v4.Company companies = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListCompaniesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListCompaniesResponse.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 ListCompaniesResponse.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 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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListCompaniesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCompaniesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides