Enum SearchKnowledgeAnswer.AnswerType (4.38.0)

public enum SearchKnowledgeAnswer.AnswerType extends Enum<SearchKnowledgeAnswer.AnswerType> implements ProtocolMessageEnum

The type of the answer.

Protobuf enum google.cloud.dialogflow.v2.SearchKnowledgeAnswer.AnswerType

Implements

ProtocolMessageEnum

Static Fields

Name Description
ANSWER_TYPE_UNSPECIFIED

The answer has a unspecified type.

ANSWER_TYPE_UNSPECIFIED = 0;

ANSWER_TYPE_UNSPECIFIED_VALUE

The answer has a unspecified type.

ANSWER_TYPE_UNSPECIFIED = 0;

FAQ

The answer is from FAQ doucments.

FAQ = 1;

FAQ_VALUE

The answer is from FAQ doucments.

FAQ = 1;

GENERATIVE

The answer is from generative model.

GENERATIVE = 2;

GENERATIVE_VALUE

The answer is from generative model.

GENERATIVE = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()