Enum AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type (0.51.0)

public enum AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type extends Enum<AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type> implements ProtocolMessageEnum

Query classification types.

Protobuf enum google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type

Implements

ProtocolMessageEnum

Static Fields

Name Description
ADVERSARIAL_QUERY

Adversarial query classification type.

ADVERSARIAL_QUERY = 1;

ADVERSARIAL_QUERY_VALUE

Adversarial query classification type.

ADVERSARIAL_QUERY = 1;

JAIL_BREAKING_QUERY

Jail-breaking query classification type.

JAIL_BREAKING_QUERY = 3;

JAIL_BREAKING_QUERY_VALUE

Jail-breaking query classification type.

JAIL_BREAKING_QUERY = 3;

NON_ANSWER_SEEKING_QUERY

Non-answer-seeking query classification type, for chit chat.

NON_ANSWER_SEEKING_QUERY = 2;

NON_ANSWER_SEEKING_QUERY_V2

Non-answer-seeking query classification type, for no clear intent.

NON_ANSWER_SEEKING_QUERY_V2 = 4;

NON_ANSWER_SEEKING_QUERY_V2_VALUE

Non-answer-seeking query classification type, for no clear intent.

NON_ANSWER_SEEKING_QUERY_V2 = 4;

NON_ANSWER_SEEKING_QUERY_VALUE

Non-answer-seeking query classification type, for chit chat.

NON_ANSWER_SEEKING_QUERY = 2;

TYPE_UNSPECIFIED

Unspecified query classification type.

TYPE_UNSPECIFIED = 0;

TYPE_UNSPECIFIED_VALUE

Unspecified query classification type.

TYPE_UNSPECIFIED = 0;

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