public static enum Event.FraudPrevention extends Enum<Event.FraudPrevention> implements com.google.protobuf.ProtocolMessageEnum
Setting that controls Fraud Prevention assessments.Protobuf enum
google.cloud.recaptchaenterprise.v1.Event.FraudPrevention| Enum Constant and Description |
|---|
DISABLED
Disable Fraud Prevention for this assessment, regardless of the Google
Cloud console settings.
|
ENABLED
Enable Fraud Prevention for this assessment, if Fraud Prevention is
enabled in the Google Cloud console.
|
FRAUD_PREVENTION_UNSPECIFIED
Default, unspecified setting.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DISABLED_VALUE
Disable Fraud Prevention for this assessment, regardless of the Google
Cloud console settings.
|
static int |
ENABLED_VALUE
Enable Fraud Prevention for this assessment, if Fraud Prevention is
enabled in the Google Cloud console.
|
static int |
FRAUD_PREVENTION_UNSPECIFIED_VALUE
Default, unspecified setting.
|
| Modifier and Type | Method and Description |
|---|---|
static Event.FraudPrevention |
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<Event.FraudPrevention> |
internalGetValueMap() |
static Event.FraudPrevention |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Event.FraudPrevention |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Event.FraudPrevention |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Event.FraudPrevention[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event.FraudPrevention FRAUD_PREVENTION_UNSPECIFIED
Default, unspecified setting. `fraud_prevention_assessment` is returned if `transaction_data` is present in `Event` and Fraud Prevention is enabled in the Google Cloud console.
FRAUD_PREVENTION_UNSPECIFIED = 0;public static final Event.FraudPrevention ENABLED
Enable Fraud Prevention for this assessment, if Fraud Prevention is enabled in the Google Cloud console.
ENABLED = 1;public static final Event.FraudPrevention DISABLED
Disable Fraud Prevention for this assessment, regardless of the Google Cloud console settings.
DISABLED = 2;public static final Event.FraudPrevention UNRECOGNIZED
public static final int FRAUD_PREVENTION_UNSPECIFIED_VALUE
Default, unspecified setting. `fraud_prevention_assessment` is returned if `transaction_data` is present in `Event` and Fraud Prevention is enabled in the Google Cloud console.
FRAUD_PREVENTION_UNSPECIFIED = 0;public static final int ENABLED_VALUE
Enable Fraud Prevention for this assessment, if Fraud Prevention is enabled in the Google Cloud console.
ENABLED = 1;public static final int DISABLED_VALUE
Disable Fraud Prevention for this assessment, regardless of the Google Cloud console settings.
DISABLED = 2;public static Event.FraudPrevention[] values()
for (Event.FraudPrevention c : Event.FraudPrevention.values()) System.out.println(c);
public static Event.FraudPrevention 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 Event.FraudPrevention valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Event.FraudPrevention forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Event.FraudPrevention> 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 Event.FraudPrevention valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.