public static final class CompleteQueryResponse.Builder extends GeneratedMessageV3.Builder<CompleteQueryResponse.Builder> implements CompleteQueryResponseOrBuilder
Response of auto-complete query.
Protobuf type google.cloud.talent.v4.CompleteQueryResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllCompletionResults(Iterable<? extends CompleteQueryResponse.CompletionResult> values)
public CompleteQueryResponse.Builder addAllCompletionResults(Iterable<? extends CompleteQueryResponse.CompletionResult> values)
Results of the matching job/company candidates.
repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult>
|
Returns
addCompletionResults(CompleteQueryResponse.CompletionResult value)
public CompleteQueryResponse.Builder addCompletionResults(CompleteQueryResponse.CompletionResult value)
Results of the matching job/company candidates.
repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1;
Parameter
Returns
addCompletionResults(CompleteQueryResponse.CompletionResult.Builder builderForValue)
public CompleteQueryResponse.Builder addCompletionResults(CompleteQueryResponse.CompletionResult.Builder builderForValue)
Results of the matching job/company candidates.
repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1;
Parameter
Returns
addCompletionResults(int index, CompleteQueryResponse.CompletionResult value)
public CompleteQueryResponse.Builder addCompletionResults(int index, CompleteQueryResponse.CompletionResult value)
Results of the matching job/company candidates.
repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1;
Parameters
Returns
addCompletionResults(int index, CompleteQueryResponse.CompletionResult.Builder builderForValue)
public CompleteQueryResponse.Builder addCompletionResults(int index, CompleteQueryResponse.CompletionResult.Builder builderForValue)
Results of the matching job/company candidates.
repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1;
Parameters
Returns
addCompletionResultsBuilder()
public CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder()
Results of the matching job/company candidates.
repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1;
Returns
addCompletionResultsBuilder(int index)
public CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder(int index)
Results of the matching job/company candidates.
repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CompleteQueryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CompleteQueryResponse build()
Returns
buildPartial()
public CompleteQueryResponse buildPartial()
Returns
clear()
public CompleteQueryResponse.Builder clear()
Returns
Overrides
clearCompletionResults()
public CompleteQueryResponse.Builder clearCompletionResults()
Results of the matching job/company candidates.
repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public CompleteQueryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CompleteQueryResponse.Builder clearMetadata()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public CompleteQueryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public CompleteQueryResponse.Builder clone()
Returns
Overrides
getCompletionResults(int index)
public CompleteQueryResponse.CompletionResult getCompletionResults(int index)
Results of the matching job/company candidates.
repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1;
Parameter
Returns
getCompletionResultsBuilder(int index)
public CompleteQueryResponse.CompletionResult.Builder getCompletionResultsBuilder(int index)
Results of the matching job/company candidates.
repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1;
Parameter
Returns
getCompletionResultsBuilderList()
public List<CompleteQueryResponse.CompletionResult.Builder> getCompletionResultsBuilderList()
Results of the matching job/company candidates.
repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1;
Returns
getCompletionResultsCount()
public int getCompletionResultsCount()
Results of the matching job/company candidates.
repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1;
Returns
getCompletionResultsList()
public List<CompleteQueryResponse.CompletionResult> getCompletionResultsList()
Results of the matching job/company candidates.
repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1;
Returns
getCompletionResultsOrBuilder(int index)
public CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder(int index)
Results of the matching job/company candidates.
repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1;
Parameter
Returns
getCompletionResultsOrBuilderList()
public List<? extends CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsOrBuilderList()
Results of the matching job/company candidates.
repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1;
Returns
Type | Description |
List<? extends com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> | |
getDefaultInstanceForType()
public CompleteQueryResponse 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 = 2;
Returns
public ResponseMetadata.Builder getMetadataBuilder()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 2;
Returns
public ResponseMetadataOrBuilder getMetadataOrBuilder()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 2;
Returns
public boolean hasMetadata()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 2;
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(CompleteQueryResponse other)
public CompleteQueryResponse.Builder mergeFrom(CompleteQueryResponse other)
Parameter
Returns
public CompleteQueryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CompleteQueryResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public CompleteQueryResponse.Builder mergeMetadata(ResponseMetadata value)
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CompleteQueryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeCompletionResults(int index)
public CompleteQueryResponse.Builder removeCompletionResults(int index)
Results of the matching job/company candidates.
repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1;
Parameter
Returns
setCompletionResults(int index, CompleteQueryResponse.CompletionResult value)
public CompleteQueryResponse.Builder setCompletionResults(int index, CompleteQueryResponse.CompletionResult value)
Results of the matching job/company candidates.
repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1;
Parameters
Returns
setCompletionResults(int index, CompleteQueryResponse.CompletionResult.Builder builderForValue)
public CompleteQueryResponse.Builder setCompletionResults(int index, CompleteQueryResponse.CompletionResult.Builder builderForValue)
Results of the matching job/company candidates.
repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CompleteQueryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CompleteQueryResponse.Builder setMetadata(ResponseMetadata value)
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 2;
Parameter
Returns
public CompleteQueryResponse.Builder setMetadata(ResponseMetadata.Builder builderForValue)
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4.ResponseMetadata metadata = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CompleteQueryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CompleteQueryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides