Class KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder (4.61.0)

public static final class KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder extends GeneratedMessageV3.Builder<KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder> implements KnowledgeAssistAnswer.KnowledgeAnswer.FaqSourceOrBuilder

Details about source of FAQ answer.

Protobuf type google.cloud.dialogflow.v2beta1.KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder
Overrides

build()

public KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource build()
Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource

buildPartial()

public KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource buildPartial()
Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource

clear()

public KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder clear()
Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder
Overrides

clearQuestion()

public KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder clearQuestion()

The corresponding FAQ question.

string question = 2;

Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder

This builder for chaining.

clone()

public KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder clone()
Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder
Overrides

getDefaultInstanceForType()

public KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource getDefaultInstanceForType()
Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getQuestion()

public String getQuestion()

The corresponding FAQ question.

string question = 2;

Returns
Type Description
String

The question.

getQuestionBytes()

public ByteString getQuestionBytes()

The corresponding FAQ question.

string question = 2;

Returns
Type Description
ByteString

The bytes for question.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource other)

public KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder mergeFrom(KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource other)
Parameter
Name Description
other KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource
Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder
Overrides

setQuestion(String value)

public KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder setQuestion(String value)

The corresponding FAQ question.

string question = 2;

Parameter
Name Description
value String

The question to set.

Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder

This builder for chaining.

setQuestionBytes(ByteString value)

public KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder setQuestionBytes(ByteString value)

The corresponding FAQ question.

string question = 2;

Parameter
Name Description
value ByteString

The bytes for question to set.

Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder

This builder for chaining.

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

public KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource.Builder
Overrides