public static enum Answer.AnswerSkippedReason extends Enum<Answer.AnswerSkippedReason> implements com.google.protobuf.ProtocolMessageEnum
An enum for answer skipped reasons.Protobuf enum
google.cloud.discoveryengine.v1beta.Answer.AnswerSkippedReason| Enum Constant and Description |
|---|
ADVERSARIAL_QUERY_IGNORED
The adversarial query ignored case.
|
ANSWER_SKIPPED_REASON_UNSPECIFIED
Default value.
|
CUSTOMER_POLICY_VIOLATION
The customer policy violation case.
|
JAIL_BREAKING_QUERY_IGNORED
The jail-breaking query ignored case.
|
LOW_GROUNDED_ANSWER
The low-grounded answer case.
|
NO_RELEVANT_CONTENT
The no relevant content case.
|
NON_ANSWER_SEEKING_QUERY_IGNORED
The non-answer seeking query ignored case
Google skips the answer if the query is chit chat.
|
NON_ANSWER_SEEKING_QUERY_IGNORED_V2
The non-answer seeking query ignored case.
|
OUT_OF_DOMAIN_QUERY_IGNORED
The out-of-domain query ignored case.
|
POTENTIAL_POLICY_VIOLATION
The potential policy violation case.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ADVERSARIAL_QUERY_IGNORED_VALUE
The adversarial query ignored case.
|
static int |
ANSWER_SKIPPED_REASON_UNSPECIFIED_VALUE
Default value.
|
static int |
CUSTOMER_POLICY_VIOLATION_VALUE
The customer policy violation case.
|
static int |
JAIL_BREAKING_QUERY_IGNORED_VALUE
The jail-breaking query ignored case.
|
static int |
LOW_GROUNDED_ANSWER_VALUE
The low-grounded answer case.
|
static int |
NO_RELEVANT_CONTENT_VALUE
The no relevant content case.
|
static int |
NON_ANSWER_SEEKING_QUERY_IGNORED_V2_VALUE
The non-answer seeking query ignored case.
|
static int |
NON_ANSWER_SEEKING_QUERY_IGNORED_VALUE
The non-answer seeking query ignored case
Google skips the answer if the query is chit chat.
|
static int |
OUT_OF_DOMAIN_QUERY_IGNORED_VALUE
The out-of-domain query ignored case.
|
static int |
POTENTIAL_POLICY_VIOLATION_VALUE
The potential policy violation case.
|
| Modifier and Type | Method and Description |
|---|---|
static Answer.AnswerSkippedReason |
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.AnswerSkippedReason> |
internalGetValueMap() |
static Answer.AnswerSkippedReason |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Answer.AnswerSkippedReason |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Answer.AnswerSkippedReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Answer.AnswerSkippedReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Answer.AnswerSkippedReason ANSWER_SKIPPED_REASON_UNSPECIFIED
Default value. The answer skipped reason is not specified.
ANSWER_SKIPPED_REASON_UNSPECIFIED = 0;public static final Answer.AnswerSkippedReason ADVERSARIAL_QUERY_IGNORED
The adversarial query ignored case.
ADVERSARIAL_QUERY_IGNORED = 1;public static final Answer.AnswerSkippedReason NON_ANSWER_SEEKING_QUERY_IGNORED
The non-answer seeking query ignored case Google skips the answer if the query is chit chat.
NON_ANSWER_SEEKING_QUERY_IGNORED = 2;public static final Answer.AnswerSkippedReason OUT_OF_DOMAIN_QUERY_IGNORED
The out-of-domain query ignored case. Google skips the answer if there are no high-relevance search results.
OUT_OF_DOMAIN_QUERY_IGNORED = 3;public static final Answer.AnswerSkippedReason POTENTIAL_POLICY_VIOLATION
The potential policy violation case. Google skips the answer if there is a potential policy violation detected. This includes content that may be violent or toxic.
POTENTIAL_POLICY_VIOLATION = 4;public static final Answer.AnswerSkippedReason NO_RELEVANT_CONTENT
The no relevant content case. Google skips the answer if there is no relevant content in the retrieved search results.
NO_RELEVANT_CONTENT = 5;public static final Answer.AnswerSkippedReason JAIL_BREAKING_QUERY_IGNORED
The jail-breaking query ignored case. For example, "Reply in the tone of a competing company's CEO". Google skips the answer if the query is classified as a jail-breaking query.
JAIL_BREAKING_QUERY_IGNORED = 6;public static final Answer.AnswerSkippedReason CUSTOMER_POLICY_VIOLATION
The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.
CUSTOMER_POLICY_VIOLATION = 7;public static final Answer.AnswerSkippedReason NON_ANSWER_SEEKING_QUERY_IGNORED_V2
The non-answer seeking query ignored case. Google skips the answer if the query doesn't have clear intent.
NON_ANSWER_SEEKING_QUERY_IGNORED_V2 = 8;public static final Answer.AnswerSkippedReason LOW_GROUNDED_ANSWER
The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated.
LOW_GROUNDED_ANSWER = 9;public static final Answer.AnswerSkippedReason UNRECOGNIZED
public static final int ANSWER_SKIPPED_REASON_UNSPECIFIED_VALUE
Default value. The answer skipped reason is not specified.
ANSWER_SKIPPED_REASON_UNSPECIFIED = 0;public static final int ADVERSARIAL_QUERY_IGNORED_VALUE
The adversarial query ignored case.
ADVERSARIAL_QUERY_IGNORED = 1;public static final int NON_ANSWER_SEEKING_QUERY_IGNORED_VALUE
The non-answer seeking query ignored case Google skips the answer if the query is chit chat.
NON_ANSWER_SEEKING_QUERY_IGNORED = 2;public static final int OUT_OF_DOMAIN_QUERY_IGNORED_VALUE
The out-of-domain query ignored case. Google skips the answer if there are no high-relevance search results.
OUT_OF_DOMAIN_QUERY_IGNORED = 3;public static final int POTENTIAL_POLICY_VIOLATION_VALUE
The potential policy violation case. Google skips the answer if there is a potential policy violation detected. This includes content that may be violent or toxic.
POTENTIAL_POLICY_VIOLATION = 4;public static final int NO_RELEVANT_CONTENT_VALUE
The no relevant content case. Google skips the answer if there is no relevant content in the retrieved search results.
NO_RELEVANT_CONTENT = 5;public static final int JAIL_BREAKING_QUERY_IGNORED_VALUE
The jail-breaking query ignored case. For example, "Reply in the tone of a competing company's CEO". Google skips the answer if the query is classified as a jail-breaking query.
JAIL_BREAKING_QUERY_IGNORED = 6;public static final int CUSTOMER_POLICY_VIOLATION_VALUE
The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.
CUSTOMER_POLICY_VIOLATION = 7;public static final int NON_ANSWER_SEEKING_QUERY_IGNORED_V2_VALUE
The non-answer seeking query ignored case. Google skips the answer if the query doesn't have clear intent.
NON_ANSWER_SEEKING_QUERY_IGNORED_V2 = 8;public static final int LOW_GROUNDED_ANSWER_VALUE
The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated.
LOW_GROUNDED_ANSWER = 9;public static Answer.AnswerSkippedReason[] values()
for (Answer.AnswerSkippedReason c : Answer.AnswerSkippedReason.values()) System.out.println(c);
public static Answer.AnswerSkippedReason 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.AnswerSkippedReason valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Answer.AnswerSkippedReason forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Answer.AnswerSkippedReason> 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.AnswerSkippedReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.