Enum AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type (0.50.0)

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

Query classification types.

Protobuf enum google.cloud.discoveryengine.v1alpha.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.

NON_ANSWER_SEEKING_QUERY = 2;

NON_ANSWER_SEEKING_QUERY_VALUE

Non-answer-seeking query classification type.

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