public static final class KnowledgeAssistAnswer.SuggestedQuery.Builder extends GeneratedMessageV3.Builder<KnowledgeAssistAnswer.SuggestedQuery.Builder> implements KnowledgeAssistAnswer.SuggestedQueryOrBuilder
Represents a suggested query.
Protobuf type google.cloud.dialogflow.v2beta1.KnowledgeAssistAnswer.SuggestedQuery
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public KnowledgeAssistAnswer.SuggestedQuery.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public KnowledgeAssistAnswer.SuggestedQuery build()
buildPartial()
public KnowledgeAssistAnswer.SuggestedQuery buildPartial()
clear()
public KnowledgeAssistAnswer.SuggestedQuery.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public KnowledgeAssistAnswer.SuggestedQuery.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public KnowledgeAssistAnswer.SuggestedQuery.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearQueryText()
public KnowledgeAssistAnswer.SuggestedQuery.Builder clearQueryText()
Suggested query text.
string query_text = 1;
clone()
public KnowledgeAssistAnswer.SuggestedQuery.Builder clone()
Overrides
getDefaultInstanceForType()
public KnowledgeAssistAnswer.SuggestedQuery getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getQueryText()
public String getQueryText()
Suggested query text.
string query_text = 1;
Returns |
Type |
Description |
String |
The queryText.
|
getQueryTextBytes()
public ByteString getQueryTextBytes()
Suggested query text.
string query_text = 1;
Returns |
Type |
Description |
ByteString |
The bytes for queryText.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(KnowledgeAssistAnswer.SuggestedQuery other)
public KnowledgeAssistAnswer.SuggestedQuery.Builder mergeFrom(KnowledgeAssistAnswer.SuggestedQuery other)
public KnowledgeAssistAnswer.SuggestedQuery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public KnowledgeAssistAnswer.SuggestedQuery.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final KnowledgeAssistAnswer.SuggestedQuery.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public KnowledgeAssistAnswer.SuggestedQuery.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setQueryText(String value)
public KnowledgeAssistAnswer.SuggestedQuery.Builder setQueryText(String value)
Suggested query text.
string query_text = 1;
Parameter |
Name |
Description |
value |
String
The queryText to set.
|
setQueryTextBytes(ByteString value)
public KnowledgeAssistAnswer.SuggestedQuery.Builder setQueryTextBytes(ByteString value)
Suggested query text.
string query_text = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for queryText to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public KnowledgeAssistAnswer.SuggestedQuery.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final KnowledgeAssistAnswer.SuggestedQuery.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides