Enum SearchResponse.Summary.SummarySkippedReason (0.47.0)

public enum SearchResponse.Summary.SummarySkippedReason extends Enum<SearchResponse.Summary.SummarySkippedReason> implements ProtocolMessageEnum

An Enum for summary-skipped reasons.

Protobuf enum google.cloud.discoveryengine.v1beta.SearchResponse.Summary.SummarySkippedReason

Implements

ProtocolMessageEnum

Static Fields

Name Description
ADVERSARIAL_QUERY_IGNORED

The adversarial query ignored case.

Only used when SummarySpec.ignore_adversarial_query is set to true.

ADVERSARIAL_QUERY_IGNORED = 1;

ADVERSARIAL_QUERY_IGNORED_VALUE

The adversarial query ignored case.

Only used when SummarySpec.ignore_adversarial_query is set to true.

ADVERSARIAL_QUERY_IGNORED = 1;

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 = 8;

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 = 8;

JAIL_BREAKING_QUERY_IGNORED

The jail-breaking query ignored case.

For example, "Reply in the tone of a competing company's CEO". Only used when [SearchRequest.ContentSearchSpec.SummarySpec.ignore_jail_breaking_query] is set to true.

JAIL_BREAKING_QUERY_IGNORED = 7;

JAIL_BREAKING_QUERY_IGNORED_VALUE

The jail-breaking query ignored case.

For example, "Reply in the tone of a competing company's CEO". Only used when [SearchRequest.ContentSearchSpec.SummarySpec.ignore_jail_breaking_query] is set to true.

JAIL_BREAKING_QUERY_IGNORED = 7;

LLM_ADDON_NOT_ENABLED

The LLM addon not enabled case.

Google skips the summary if the LLM addon is not enabled.

LLM_ADDON_NOT_ENABLED = 5;

LLM_ADDON_NOT_ENABLED_VALUE

The LLM addon not enabled case.

Google skips the summary if the LLM addon is not enabled.

LLM_ADDON_NOT_ENABLED = 5;

NON_SUMMARY_SEEKING_QUERY_IGNORED

The non-summary seeking query ignored case.

Only used when SummarySpec.ignore_non_summary_seeking_query is set to true.

NON_SUMMARY_SEEKING_QUERY_IGNORED = 2;

NON_SUMMARY_SEEKING_QUERY_IGNORED_VALUE

The non-summary seeking query ignored case.

Only used when SummarySpec.ignore_non_summary_seeking_query is set to true.

NON_SUMMARY_SEEKING_QUERY_IGNORED = 2;

NO_RELEVANT_CONTENT

The no relevant content case.

Google skips the summary if there is no relevant content in the retrieved search results.

NO_RELEVANT_CONTENT = 6;

NO_RELEVANT_CONTENT_VALUE

The no relevant content case.

Google skips the summary if there is no relevant content in the retrieved search results.

NO_RELEVANT_CONTENT = 6;

OUT_OF_DOMAIN_QUERY_IGNORED

The out-of-domain query ignored case.

Google skips the summary if there are no high-relevance search results. For example, the data store contains facts about company A but the user query is asking questions about company B.

OUT_OF_DOMAIN_QUERY_IGNORED = 3;

OUT_OF_DOMAIN_QUERY_IGNORED_VALUE

The out-of-domain query ignored case.

Google skips the summary if there are no high-relevance search results. For example, the data store contains facts about company A but the user query is asking questions about company B.

OUT_OF_DOMAIN_QUERY_IGNORED = 3;

POTENTIAL_POLICY_VIOLATION

The potential policy violation case.

Google skips the summary 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 summary if there is a potential policy violation detected. This includes content that may be violent or toxic.

POTENTIAL_POLICY_VIOLATION = 4;

SUMMARY_SKIPPED_REASON_UNSPECIFIED

Default value. The summary skipped reason is not specified.

SUMMARY_SKIPPED_REASON_UNSPECIFIED = 0;

SUMMARY_SKIPPED_REASON_UNSPECIFIED_VALUE

Default value. The summary skipped reason is not specified.

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