Enum SearchKnowledgeRequest.QuerySource (4.60.0)

public enum SearchKnowledgeRequest.QuerySource extends Enum<SearchKnowledgeRequest.QuerySource> implements ProtocolMessageEnum

The source of the query. We use QuerySource to distinguish queries directly entered by agents and suggested queries from Participants.SuggestKnowledgeAssist. If SUGGESTED_QUERY source is specified, we will treat it as a continuation of a SuggestKnowledgeAssist call.

Protobuf enum google.cloud.dialogflow.v2.SearchKnowledgeRequest.QuerySource

Implements

ProtocolMessageEnum

Static Fields

Name Description
AGENT_QUERY

The query is from agents.

AGENT_QUERY = 1;

AGENT_QUERY_VALUE

The query is from agents.

AGENT_QUERY = 1;

QUERY_SOURCE_UNSPECIFIED

Unknown query source.

QUERY_SOURCE_UNSPECIFIED = 0;

QUERY_SOURCE_UNSPECIFIED_VALUE

Unknown query source.

QUERY_SOURCE_UNSPECIFIED = 0;

SUGGESTED_QUERY

The query is a suggested query from Participants.SuggestKnowledgeAssist.

SUGGESTED_QUERY = 2;

SUGGESTED_QUERY_VALUE

The query is a suggested query from Participants.SuggestKnowledgeAssist.

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