public static enum DataStoreConnectionSignals.SafetySignals.SafetyDecision extends Enum<DataStoreConnectionSignals.SafetySignals.SafetyDecision> implements com.google.protobuf.ProtocolMessageEnum
Safety decision. All kinds of check are incorporated into this final decision, including banned phrases check.Protobuf enum
google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals.SafetyDecision| Enum Constant and Description |
|---|
ACCEPTED_BY_SAFETY_CHECK
No manual or automatic safety check fired.
|
REJECTED_BY_SAFETY_CHECK
One ore more safety checks fired.
|
SAFETY_DECISION_UNSPECIFIED
Decision not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCEPTED_BY_SAFETY_CHECK_VALUE
No manual or automatic safety check fired.
|
static int |
REJECTED_BY_SAFETY_CHECK_VALUE
One ore more safety checks fired.
|
static int |
SAFETY_DECISION_UNSPECIFIED_VALUE
Decision not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static DataStoreConnectionSignals.SafetySignals.SafetyDecision |
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<DataStoreConnectionSignals.SafetySignals.SafetyDecision> |
internalGetValueMap() |
static DataStoreConnectionSignals.SafetySignals.SafetyDecision |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DataStoreConnectionSignals.SafetySignals.SafetyDecision |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DataStoreConnectionSignals.SafetySignals.SafetyDecision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataStoreConnectionSignals.SafetySignals.SafetyDecision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataStoreConnectionSignals.SafetySignals.SafetyDecision SAFETY_DECISION_UNSPECIFIED
Decision not specified.
SAFETY_DECISION_UNSPECIFIED = 0;public static final DataStoreConnectionSignals.SafetySignals.SafetyDecision ACCEPTED_BY_SAFETY_CHECK
No manual or automatic safety check fired.
ACCEPTED_BY_SAFETY_CHECK = 1;public static final DataStoreConnectionSignals.SafetySignals.SafetyDecision REJECTED_BY_SAFETY_CHECK
One ore more safety checks fired.
REJECTED_BY_SAFETY_CHECK = 2;public static final DataStoreConnectionSignals.SafetySignals.SafetyDecision UNRECOGNIZED
public static final int SAFETY_DECISION_UNSPECIFIED_VALUE
Decision not specified.
SAFETY_DECISION_UNSPECIFIED = 0;public static final int ACCEPTED_BY_SAFETY_CHECK_VALUE
No manual or automatic safety check fired.
ACCEPTED_BY_SAFETY_CHECK = 1;public static final int REJECTED_BY_SAFETY_CHECK_VALUE
One ore more safety checks fired.
REJECTED_BY_SAFETY_CHECK = 2;public static DataStoreConnectionSignals.SafetySignals.SafetyDecision[] values()
for (DataStoreConnectionSignals.SafetySignals.SafetyDecision c : DataStoreConnectionSignals.SafetySignals.SafetyDecision.values()) System.out.println(c);
public static DataStoreConnectionSignals.SafetySignals.SafetyDecision 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 DataStoreConnectionSignals.SafetySignals.SafetyDecision valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DataStoreConnectionSignals.SafetySignals.SafetyDecision forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DataStoreConnectionSignals.SafetySignals.SafetyDecision> 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 DataStoreConnectionSignals.SafetySignals.SafetyDecision valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.