Class CompleteQueryResponse.CompletionResult.Builder (2.4.2)

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

Resource that represents completion results.

Protobuf type google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CompleteQueryResponse.CompletionResult build()
Returns
TypeDescription
CompleteQueryResponse.CompletionResult

buildPartial()

public CompleteQueryResponse.CompletionResult buildPartial()
Returns
TypeDescription
CompleteQueryResponse.CompletionResult

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearImageUri()

public CompleteQueryResponse.CompletionResult.Builder clearImageUri()

The URI of the company image for COMPANY_NAME.

string image_uri = 3;

Returns
TypeDescription
CompleteQueryResponse.CompletionResult.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSuggestion()

public CompleteQueryResponse.CompletionResult.Builder clearSuggestion()

The suggestion for the query.

string suggestion = 1;

Returns
TypeDescription
CompleteQueryResponse.CompletionResult.Builder

This builder for chaining.

clearType()

public CompleteQueryResponse.CompletionResult.Builder clearType()

The completion topic.

.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2;

Returns
TypeDescription
CompleteQueryResponse.CompletionResult.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CompleteQueryResponse.CompletionResult getDefaultInstanceForType()
Returns
TypeDescription
CompleteQueryResponse.CompletionResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getImageUri()

public String getImageUri()

The URI of the company image for COMPANY_NAME.

string image_uri = 3;

Returns
TypeDescription
String

The imageUri.

getImageUriBytes()

public ByteString getImageUriBytes()

The URI of the company image for COMPANY_NAME.

string image_uri = 3;

Returns
TypeDescription
ByteString

The bytes for imageUri.

getSuggestion()

public String getSuggestion()

The suggestion for the query.

string suggestion = 1;

Returns
TypeDescription
String

The suggestion.

getSuggestionBytes()

public ByteString getSuggestionBytes()

The suggestion for the query.

string suggestion = 1;

Returns
TypeDescription
ByteString

The bytes for suggestion.

getType()

public CompleteQueryRequest.CompletionType getType()

The completion topic.

.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2;

Returns
TypeDescription
CompleteQueryRequest.CompletionType

The type.

getTypeValue()

public int getTypeValue()

The completion topic.

.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CompleteQueryResponse.CompletionResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setImageUri(String value)

public CompleteQueryResponse.CompletionResult.Builder setImageUri(String value)

The URI of the company image for COMPANY_NAME.

string image_uri = 3;

Parameter
NameDescription
valueString

The imageUri to set.

Returns
TypeDescription
CompleteQueryResponse.CompletionResult.Builder

This builder for chaining.

setImageUriBytes(ByteString value)

public CompleteQueryResponse.CompletionResult.Builder setImageUriBytes(ByteString value)

The URI of the company image for COMPANY_NAME.

string image_uri = 3;

Parameter
NameDescription
valueByteString

The bytes for imageUri to set.

Returns
TypeDescription
CompleteQueryResponse.CompletionResult.Builder

This builder for chaining.

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

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

setSuggestion(String value)

public CompleteQueryResponse.CompletionResult.Builder setSuggestion(String value)

The suggestion for the query.

string suggestion = 1;

Parameter
NameDescription
valueString

The suggestion to set.

Returns
TypeDescription
CompleteQueryResponse.CompletionResult.Builder

This builder for chaining.

setSuggestionBytes(ByteString value)

public CompleteQueryResponse.CompletionResult.Builder setSuggestionBytes(ByteString value)

The suggestion for the query.

string suggestion = 1;

Parameter
NameDescription
valueByteString

The bytes for suggestion to set.

Returns
TypeDescription
CompleteQueryResponse.CompletionResult.Builder

This builder for chaining.

setType(CompleteQueryRequest.CompletionType value)

public CompleteQueryResponse.CompletionResult.Builder setType(CompleteQueryRequest.CompletionType value)

The completion topic.

.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2;

Parameter
NameDescription
valueCompleteQueryRequest.CompletionType

The type to set.

Returns
TypeDescription
CompleteQueryResponse.CompletionResult.Builder

This builder for chaining.

setTypeValue(int value)

public CompleteQueryResponse.CompletionResult.Builder setTypeValue(int value)

The completion topic.

.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2;

Parameter
NameDescription
valueint

The enum numeric value on the wire for type to set.

Returns
TypeDescription
CompleteQueryResponse.CompletionResult.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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