public static enum AssistAnswer.AssistSkippedReason extends Enum<AssistAnswer.AssistSkippedReason> implements com.google.protobuf.ProtocolMessageEnum
Possible reasons for not answering an assist call.Protobuf enum
google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason| Enum Constant and Description |
|---|
ASSIST_SKIPPED_REASON_UNSPECIFIED
Default value.
|
CUSTOMER_POLICY_VIOLATION
The assistant ignored the query or refused to answer because of a
customer policy violation (e.g., the query or the answer contained a
banned phrase).
|
NON_ASSIST_SEEKING_QUERY_IGNORED
The assistant ignored the query, because it did not appear to be
answer-seeking.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ASSIST_SKIPPED_REASON_UNSPECIFIED_VALUE
Default value.
|
static int |
CUSTOMER_POLICY_VIOLATION_VALUE
The assistant ignored the query or refused to answer because of a
customer policy violation (e.g., the query or the answer contained a
banned phrase).
|
static int |
NON_ASSIST_SEEKING_QUERY_IGNORED_VALUE
The assistant ignored the query, because it did not appear to be
answer-seeking.
|
| Modifier and Type | Method and Description |
|---|---|
static AssistAnswer.AssistSkippedReason |
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<AssistAnswer.AssistSkippedReason> |
internalGetValueMap() |
static AssistAnswer.AssistSkippedReason |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AssistAnswer.AssistSkippedReason |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AssistAnswer.AssistSkippedReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssistAnswer.AssistSkippedReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssistAnswer.AssistSkippedReason ASSIST_SKIPPED_REASON_UNSPECIFIED
Default value. Skip reason is not specified.
ASSIST_SKIPPED_REASON_UNSPECIFIED = 0;public static final AssistAnswer.AssistSkippedReason NON_ASSIST_SEEKING_QUERY_IGNORED
The assistant ignored the query, because it did not appear to be answer-seeking.
NON_ASSIST_SEEKING_QUERY_IGNORED = 1;public static final AssistAnswer.AssistSkippedReason CUSTOMER_POLICY_VIOLATION
The assistant ignored the query or refused to answer because of a customer policy violation (e.g., the query or the answer contained a banned phrase).
CUSTOMER_POLICY_VIOLATION = 2;public static final AssistAnswer.AssistSkippedReason UNRECOGNIZED
public static final int ASSIST_SKIPPED_REASON_UNSPECIFIED_VALUE
Default value. Skip reason is not specified.
ASSIST_SKIPPED_REASON_UNSPECIFIED = 0;public static final int NON_ASSIST_SEEKING_QUERY_IGNORED_VALUE
The assistant ignored the query, because it did not appear to be answer-seeking.
NON_ASSIST_SEEKING_QUERY_IGNORED = 1;public static final int CUSTOMER_POLICY_VIOLATION_VALUE
The assistant ignored the query or refused to answer because of a customer policy violation (e.g., the query or the answer contained a banned phrase).
CUSTOMER_POLICY_VIOLATION = 2;public static AssistAnswer.AssistSkippedReason[] values()
for (AssistAnswer.AssistSkippedReason c : AssistAnswer.AssistSkippedReason.values()) System.out.println(c);
public static AssistAnswer.AssistSkippedReason 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 AssistAnswer.AssistSkippedReason valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AssistAnswer.AssistSkippedReason forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AssistAnswer.AssistSkippedReason> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static AssistAnswer.AssistSkippedReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2026 Google LLC. All rights reserved.