Enum Answer.AnswerSkippedReason (0.47.0)

public enum Answer.AnswerSkippedReason extends Enum<Answer.AnswerSkippedReason> implements ProtocolMessageEnum

An enum for answer skipped reasons.

Protobuf enum google.cloud.discoveryengine.v1beta.Answer.AnswerSkippedReason

Implements

ProtocolMessageEnum

Static Fields

Name Description
ADVERSARIAL_QUERY_IGNORED

The adversarial query ignored case.

ADVERSARIAL_QUERY_IGNORED = 1;

ADVERSARIAL_QUERY_IGNORED_VALUE

The adversarial query ignored case.

ADVERSARIAL_QUERY_IGNORED = 1;

ANSWER_SKIPPED_REASON_UNSPECIFIED

Default value. The answer skipped reason is not specified.

ANSWER_SKIPPED_REASON_UNSPECIFIED = 0;

ANSWER_SKIPPED_REASON_UNSPECIFIED_VALUE

Default value. The answer skipped reason is not specified.

ANSWER_SKIPPED_REASON_UNSPECIFIED = 0;

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;

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;

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;

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;

NON_ANSWER_SEEKING_QUERY_IGNORED

The non-answer seeking query ignored case.

NON_ANSWER_SEEKING_QUERY_IGNORED = 2;

NON_ANSWER_SEEKING_QUERY_IGNORED_VALUE

The non-answer seeking query ignored case.

NON_ANSWER_SEEKING_QUERY_IGNORED = 2;

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;

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;

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;

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;

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;

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;

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