public static final class CompleteQueryResponse.QuerySuggestion.Builder extends GeneratedMessageV3.Builder<CompleteQueryResponse.QuerySuggestion.Builder> implements CompleteQueryResponse.QuerySuggestionOrBuilder
Suggestions as search queries.
Protobuf type google.cloud.discoveryengine.v1.CompleteQueryResponse.QuerySuggestion
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CompleteQueryResponse.QuerySuggestion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CompleteQueryResponse.QuerySuggestion build()
buildPartial()
public CompleteQueryResponse.QuerySuggestion buildPartial()
clear()
public CompleteQueryResponse.QuerySuggestion.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CompleteQueryResponse.QuerySuggestion.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CompleteQueryResponse.QuerySuggestion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSuggestion()
public CompleteQueryResponse.QuerySuggestion.Builder clearSuggestion()
The suggestion for the query.
string suggestion = 1;
clone()
public CompleteQueryResponse.QuerySuggestion.Builder clone()
Overrides
getDefaultInstanceForType()
public CompleteQueryResponse.QuerySuggestion getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSuggestion()
public String getSuggestion()
The suggestion for the query.
string suggestion = 1;
Returns |
---|
Type | Description |
String | The suggestion.
|
getSuggestionBytes()
public ByteString getSuggestionBytes()
The suggestion for the query.
string suggestion = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for suggestion.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CompleteQueryResponse.QuerySuggestion other)
public CompleteQueryResponse.QuerySuggestion.Builder mergeFrom(CompleteQueryResponse.QuerySuggestion other)
public CompleteQueryResponse.QuerySuggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CompleteQueryResponse.QuerySuggestion.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CompleteQueryResponse.QuerySuggestion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CompleteQueryResponse.QuerySuggestion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CompleteQueryResponse.QuerySuggestion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSuggestion(String value)
public CompleteQueryResponse.QuerySuggestion.Builder setSuggestion(String value)
The suggestion for the query.
string suggestion = 1;
Parameter |
---|
Name | Description |
value | String
The suggestion to set.
|
setSuggestionBytes(ByteString value)
public CompleteQueryResponse.QuerySuggestion.Builder setSuggestionBytes(ByteString value)
The suggestion for the query.
string suggestion = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for suggestion to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CompleteQueryResponse.QuerySuggestion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides