Class CompleteQueryResponse.Builder (2.8.0)

public static final class CompleteQueryResponse.Builder extends GeneratedMessageV3.Builder<CompleteQueryResponse.Builder> implements CompleteQueryResponseOrBuilder

Response of auto-complete query.

Protobuf type google.cloud.talent.v4beta1.CompleteQueryResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

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.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult>
Returns
TypeDescription
CompleteQueryResponse.Builder

addCompletionResults(CompleteQueryResponse.CompletionResult value)

public CompleteQueryResponse.Builder addCompletionResults(CompleteQueryResponse.CompletionResult value)

Results of the matching job/company candidates.

repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1;

Parameter
NameDescription
valueCompleteQueryResponse.CompletionResult
Returns
TypeDescription
CompleteQueryResponse.Builder

addCompletionResults(CompleteQueryResponse.CompletionResult.Builder builderForValue)

public CompleteQueryResponse.Builder addCompletionResults(CompleteQueryResponse.CompletionResult.Builder builderForValue)

Results of the matching job/company candidates.

repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1;

Parameter
NameDescription
builderForValueCompleteQueryResponse.CompletionResult.Builder
Returns
TypeDescription
CompleteQueryResponse.Builder

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.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1;

Parameters
NameDescription
indexint
valueCompleteQueryResponse.CompletionResult
Returns
TypeDescription
CompleteQueryResponse.Builder

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.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1;

Parameters
NameDescription
indexint
builderForValueCompleteQueryResponse.CompletionResult.Builder
Returns
TypeDescription
CompleteQueryResponse.Builder

addCompletionResultsBuilder()

public CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder()

Results of the matching job/company candidates.

repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1;

Returns
TypeDescription
CompleteQueryResponse.CompletionResult.Builder

addCompletionResultsBuilder(int index)

public CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder(int index)

Results of the matching job/company candidates.

repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CompleteQueryResponse.CompletionResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CompleteQueryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CompleteQueryResponse.Builder
Overrides

build()

public CompleteQueryResponse build()
Returns
TypeDescription
CompleteQueryResponse

buildPartial()

public CompleteQueryResponse buildPartial()
Returns
TypeDescription
CompleteQueryResponse

clear()

public CompleteQueryResponse.Builder clear()
Returns
TypeDescription
CompleteQueryResponse.Builder
Overrides

clearCompletionResults()

public CompleteQueryResponse.Builder clearCompletionResults()

Results of the matching job/company candidates.

repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1;

Returns
TypeDescription
CompleteQueryResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public CompleteQueryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CompleteQueryResponse.Builder
Overrides

clearMetadata()

public CompleteQueryResponse.Builder clearMetadata()

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

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

Returns
TypeDescription
CompleteQueryResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CompleteQueryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CompleteQueryResponse.Builder
Overrides

clone()

public CompleteQueryResponse.Builder clone()
Returns
TypeDescription
CompleteQueryResponse.Builder
Overrides

getCompletionResults(int index)

public CompleteQueryResponse.CompletionResult getCompletionResults(int index)

Results of the matching job/company candidates.

repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CompleteQueryResponse.CompletionResult

getCompletionResultsBuilder(int index)

public CompleteQueryResponse.CompletionResult.Builder getCompletionResultsBuilder(int index)

Results of the matching job/company candidates.

repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CompleteQueryResponse.CompletionResult.Builder

getCompletionResultsBuilderList()

public List<CompleteQueryResponse.CompletionResult.Builder> getCompletionResultsBuilderList()

Results of the matching job/company candidates.

repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1;

Returns
TypeDescription
List<Builder>

getCompletionResultsCount()

public int getCompletionResultsCount()

Results of the matching job/company candidates.

repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1;

Returns
TypeDescription
int

getCompletionResultsList()

public List<CompleteQueryResponse.CompletionResult> getCompletionResultsList()

Results of the matching job/company candidates.

repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1;

Returns
TypeDescription
List<CompletionResult>

getCompletionResultsOrBuilder(int index)

public CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder(int index)

Results of the matching job/company candidates.

repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CompleteQueryResponse.CompletionResultOrBuilder

getCompletionResultsOrBuilderList()

public List<? extends CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsOrBuilderList()

Results of the matching job/company candidates.

repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1;

Returns
TypeDescription
List<? extends com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder>

getDefaultInstanceForType()

public CompleteQueryResponse getDefaultInstanceForType()
Returns
TypeDescription
CompleteQueryResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMetadata()

public ResponseMetadata getMetadata()

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

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

Returns
TypeDescription
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 = 2;

Returns
TypeDescription
ResponseMetadata.Builder

getMetadataOrBuilder()

public ResponseMetadataOrBuilder getMetadataOrBuilder()

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

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

Returns
TypeDescription
ResponseMetadataOrBuilder

hasMetadata()

public boolean hasMetadata()

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

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

Returns
TypeDescription
boolean

Whether the metadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CompleteQueryResponse other)

public CompleteQueryResponse.Builder mergeFrom(CompleteQueryResponse other)
Parameter
NameDescription
otherCompleteQueryResponse
Returns
TypeDescription
CompleteQueryResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CompleteQueryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompleteQueryResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CompleteQueryResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CompleteQueryResponse.Builder
Overrides

mergeMetadata(ResponseMetadata value)

public CompleteQueryResponse.Builder mergeMetadata(ResponseMetadata value)

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

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

Parameter
NameDescription
valueResponseMetadata
Returns
TypeDescription
CompleteQueryResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CompleteQueryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CompleteQueryResponse.Builder
Overrides

removeCompletionResults(int index)

public CompleteQueryResponse.Builder removeCompletionResults(int index)

Results of the matching job/company candidates.

repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CompleteQueryResponse.Builder

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.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1;

Parameters
NameDescription
indexint
valueCompleteQueryResponse.CompletionResult
Returns
TypeDescription
CompleteQueryResponse.Builder

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.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1;

Parameters
NameDescription
indexint
builderForValueCompleteQueryResponse.CompletionResult.Builder
Returns
TypeDescription
CompleteQueryResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CompleteQueryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CompleteQueryResponse.Builder
Overrides

setMetadata(ResponseMetadata value)

public CompleteQueryResponse.Builder setMetadata(ResponseMetadata value)

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

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

Parameter
NameDescription
valueResponseMetadata
Returns
TypeDescription
CompleteQueryResponse.Builder

setMetadata(ResponseMetadata.Builder builderForValue)

public CompleteQueryResponse.Builder setMetadata(ResponseMetadata.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueResponseMetadata.Builder
Returns
TypeDescription
CompleteQueryResponse.Builder

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

public CompleteQueryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CompleteQueryResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CompleteQueryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CompleteQueryResponse.Builder
Overrides