public static enum Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type extends Enum<Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type> implements com.google.protobuf.ProtocolMessageEnum
Query classification types.Protobuf enum
google.cloud.discoveryengine.v1alpha.Answer.QueryUnderstandingInfo.QueryClassificationInfo.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.
|
| Modifier and Type | Method and Description |
|---|---|
static Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type> |
internalGetValueMap() |
static Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type TYPE_UNSPECIFIED
Unspecified query classification type.
TYPE_UNSPECIFIED = 0;public static final Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type ADVERSARIAL_QUERY
Adversarial query classification type.
ADVERSARIAL_QUERY = 1;public static final Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type NON_ANSWER_SEEKING_QUERY
Non-answer-seeking query classification type.
NON_ANSWER_SEEKING_QUERY = 2;public static final Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type JAIL_BREAKING_QUERY
Jail-breaking query classification type.
JAIL_BREAKING_QUERY = 3;public static final Answer.QueryUnderstandingInfo.QueryClassificationInfo.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 Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type[] values()
for (Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type c : Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type.values()) System.out.println(c);
public static Answer.QueryUnderstandingInfo.QueryClassificationInfo.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 Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Answer.QueryUnderstandingInfo.QueryClassificationInfo.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 Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.