public static enum SearchResponse.Summary.SummarySkippedReason extends Enum<SearchResponse.Summary.SummarySkippedReason> implements com.google.protobuf.ProtocolMessageEnum
An Enum for summary-skipped reasons.Protobuf enum
google.cloud.discoveryengine.v1beta.SearchResponse.Summary.SummarySkippedReason| Enum Constant and Description |
|---|
ADVERSARIAL_QUERY_IGNORED
The adversarial query ignored case.
|
LLM_ADDON_NOT_ENABLED
The LLM addon not enabled case.
|
NON_SUMMARY_SEEKING_QUERY_IGNORED
The non-summary seeking query ignored case.
|
OUT_OF_DOMAIN_QUERY_IGNORED
The out-of-domain query ignored case.
|
POTENTIAL_POLICY_VIOLATION
The potential policy violation case.
|
SUMMARY_SKIPPED_REASON_UNSPECIFIED
Default value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ADVERSARIAL_QUERY_IGNORED_VALUE
The adversarial query ignored case.
|
static int |
LLM_ADDON_NOT_ENABLED_VALUE
The LLM addon not enabled case.
|
static int |
NON_SUMMARY_SEEKING_QUERY_IGNORED_VALUE
The non-summary seeking query ignored case.
|
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.
|
static int |
SUMMARY_SKIPPED_REASON_UNSPECIFIED_VALUE
Default value.
|
| Modifier and Type | Method and Description |
|---|---|
static SearchResponse.Summary.SummarySkippedReason |
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<SearchResponse.Summary.SummarySkippedReason> |
internalGetValueMap() |
static SearchResponse.Summary.SummarySkippedReason |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SearchResponse.Summary.SummarySkippedReason |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SearchResponse.Summary.SummarySkippedReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchResponse.Summary.SummarySkippedReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchResponse.Summary.SummarySkippedReason SUMMARY_SKIPPED_REASON_UNSPECIFIED
Default value. The summary skipped reason is not specified.
SUMMARY_SKIPPED_REASON_UNSPECIFIED = 0;public static final SearchResponse.Summary.SummarySkippedReason ADVERSARIAL_QUERY_IGNORED
The adversarial query ignored case. Only populated when [SummarySpec.ignore_adversarial_query][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec.ignore_adversarial_query] is set to `true`.
ADVERSARIAL_QUERY_IGNORED = 1;public static final SearchResponse.Summary.SummarySkippedReason NON_SUMMARY_SEEKING_QUERY_IGNORED
The non-summary seeking query ignored case. Only populated when [SummarySpec.ignore_non_summary_seeking_query][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec.ignore_non_summary_seeking_query] is set to `true`.
NON_SUMMARY_SEEKING_QUERY_IGNORED = 2;public static final SearchResponse.Summary.SummarySkippedReason 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;public static final SearchResponse.Summary.SummarySkippedReason 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;public static final SearchResponse.Summary.SummarySkippedReason 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;public static final SearchResponse.Summary.SummarySkippedReason UNRECOGNIZED
public static final int SUMMARY_SKIPPED_REASON_UNSPECIFIED_VALUE
Default value. The summary skipped reason is not specified.
SUMMARY_SKIPPED_REASON_UNSPECIFIED = 0;public static final int ADVERSARIAL_QUERY_IGNORED_VALUE
The adversarial query ignored case. Only populated when [SummarySpec.ignore_adversarial_query][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec.ignore_adversarial_query] is set to `true`.
ADVERSARIAL_QUERY_IGNORED = 1;public static final int NON_SUMMARY_SEEKING_QUERY_IGNORED_VALUE
The non-summary seeking query ignored case. Only populated when [SummarySpec.ignore_non_summary_seeking_query][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec.ignore_non_summary_seeking_query] is set to `true`.
NON_SUMMARY_SEEKING_QUERY_IGNORED = 2;public static final int 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;public static final int 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;public static final int 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;public static SearchResponse.Summary.SummarySkippedReason[] values()
for (SearchResponse.Summary.SummarySkippedReason c : SearchResponse.Summary.SummarySkippedReason.values()) System.out.println(c);
public static SearchResponse.Summary.SummarySkippedReason 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 SearchResponse.Summary.SummarySkippedReason valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SearchResponse.Summary.SummarySkippedReason forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SearchResponse.Summary.SummarySkippedReason> 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 SearchResponse.Summary.SummarySkippedReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.