public static enum AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type extends Enum<AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type> implements com.google.protobuf.ProtocolMessageEnum
Query classification types.Protobuf enum
google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type| Enum Constant and Description |
|---|
ADVERSARIAL_QUERY
Adversarial query classification type.
|
JAIL_BREAKING_QUERY
Jail-breaking query classification type.
|
NON_ANSWER_SEEKING_QUERY
Non-answer-seeking query classification type.
|
TYPE_UNSPECIFIED
Unspecified query classification type.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ADVERSARIAL_QUERY_VALUE
Adversarial query classification type.
|
static int |
JAIL_BREAKING_QUERY_VALUE
Jail-breaking query classification type.
|
static int |
NON_ANSWER_SEEKING_QUERY_VALUE
Non-answer-seeking query classification type.
|
static int |
TYPE_UNSPECIFIED_VALUE
Unspecified query classification type.
|
public static final AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type TYPE_UNSPECIFIED
Unspecified query classification type.
TYPE_UNSPECIFIED = 0;public static final AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type ADVERSARIAL_QUERY
Adversarial query classification type.
ADVERSARIAL_QUERY = 1;public static final AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type NON_ANSWER_SEEKING_QUERY
Non-answer-seeking query classification type.
NON_ANSWER_SEEKING_QUERY = 2;public static final AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type JAIL_BREAKING_QUERY
Jail-breaking query classification type.
JAIL_BREAKING_QUERY = 3;public static final AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type UNRECOGNIZED
public static final int TYPE_UNSPECIFIED_VALUE
Unspecified query classification type.
TYPE_UNSPECIFIED = 0;public static final int ADVERSARIAL_QUERY_VALUE
Adversarial query classification type.
ADVERSARIAL_QUERY = 1;public static final int NON_ANSWER_SEEKING_QUERY_VALUE
Non-answer-seeking query classification type.
NON_ANSWER_SEEKING_QUERY = 2;public static final int JAIL_BREAKING_QUERY_VALUE
Jail-breaking query classification type.
JAIL_BREAKING_QUERY = 3;public static AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type[] values()
for (AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type c : AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type.values()) System.out.println(c);
public static AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.