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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
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>
|
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
|
addCompanies(Company.Builder builderForValue)
public ListCompaniesResponse.Builder addCompanies(Company.Builder builderForValue)
Companies for the current client.
repeated .google.cloud.talent.v4beta1.Company companies = 1;
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
|
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;
addCompaniesBuilder()
public Company.Builder addCompaniesBuilder()
Companies for the current client.
repeated .google.cloud.talent.v4beta1.Company companies = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCompaniesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListCompaniesResponse build()
buildPartial()
public ListCompaniesResponse buildPartial()
clear()
public ListCompaniesResponse.Builder clear()
Overrides
clearCompanies()
public ListCompaniesResponse.Builder clearCompanies()
Companies for the current client.
repeated .google.cloud.talent.v4beta1.Company companies = 1;
clearField(Descriptors.FieldDescriptor field)
public ListCompaniesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ListCompaniesResponse.Builder clearMetadata()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
clearNextPageToken()
public ListCompaniesResponse.Builder clearNextPageToken()
A token to retrieve the next page of results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCompaniesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListCompaniesResponse.Builder clone()
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
|
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
|
getCompaniesBuilderList()
public List<Company.Builder> getCompaniesBuilderList()
Companies for the current client.
repeated .google.cloud.talent.v4beta1.Company companies = 1;
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;
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
|
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()
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.
|
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(ListCompaniesResponse other)
public ListCompaniesResponse.Builder mergeFrom(ListCompaniesResponse other)
public ListCompaniesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListCompaniesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCompaniesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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
|
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListCompaniesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
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;
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListCompaniesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCompaniesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides