Enum SearchKnowledgeAnswer.AnswerType (4.54.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 documents.

FAQ = 1;

FAQ_VALUE

The answer is from FAQ documents.

FAQ = 1;

GENERATIVE

The answer is from generative model.

GENERATIVE = 2;

GENERATIVE_VALUE

The answer is from generative model.

GENERATIVE = 2;

INTENT

The answer is from intent matching.

INTENT = 3;

INTENT_VALUE

The answer is from intent matching.

INTENT = 3;

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()