public static enum AnnotateAssessmentRequest.Reason extends Enum<AnnotateAssessmentRequest.Reason> implements com.google.protobuf.ProtocolMessageEnum
Enum that represents potential reasons for annotating an assessment.Protobuf enum
google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest.Reason| Enum Constant and Description |
|---|
CHARGEBACK
Indicates a chargeback was issued for the transaction associated with the
assessment, with no other details.
|
CHARGEBACK_DISPUTE
Indicates a chargeback related to the cardholder having provided their
card but allegedly not being satisfied with the purchase
(for example, misrepresentation, attempted cancellation).
|
CHARGEBACK_FRAUD
Indicates a chargeback related to an alleged unauthorized transaction
from the perspective of the cardholder (for example, the card number was
stolen).
|
CORRECT_PASSWORD
Indicates the user provided the correct password.
|
FAILED_TWO_FACTOR
Indicates that the user failed a 2FA challenge.
|
INCORRECT_PASSWORD
Indicates the user provided an incorrect password.
|
INITIATED_TWO_FACTOR
Indicates that the user was served a 2FA challenge.
|
PASSED_TWO_FACTOR
Indicates that the user passed a 2FA challenge.
|
PAYMENT_HEURISTICS
Indicates the transaction associated with the assessment is suspected of
being fraudulent based on the payment method, billing details, shipping
address or other transaction information.
|
REASON_UNSPECIFIED
Default unspecified reason.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CHARGEBACK_DISPUTE_VALUE
Indicates a chargeback related to the cardholder having provided their
card but allegedly not being satisfied with the purchase
(for example, misrepresentation, attempted cancellation).
|
static int |
CHARGEBACK_FRAUD_VALUE
Indicates a chargeback related to an alleged unauthorized transaction
from the perspective of the cardholder (for example, the card number was
stolen).
|
static int |
CHARGEBACK_VALUE
Indicates a chargeback was issued for the transaction associated with the
assessment, with no other details.
|
static int |
CORRECT_PASSWORD_VALUE
Indicates the user provided the correct password.
|
static int |
FAILED_TWO_FACTOR_VALUE
Indicates that the user failed a 2FA challenge.
|
static int |
INCORRECT_PASSWORD_VALUE
Indicates the user provided an incorrect password.
|
static int |
INITIATED_TWO_FACTOR_VALUE
Indicates that the user was served a 2FA challenge.
|
static int |
PASSED_TWO_FACTOR_VALUE
Indicates that the user passed a 2FA challenge.
|
static int |
PAYMENT_HEURISTICS_VALUE
Indicates the transaction associated with the assessment is suspected of
being fraudulent based on the payment method, billing details, shipping
address or other transaction information.
|
static int |
REASON_UNSPECIFIED_VALUE
Default unspecified reason.
|
| Modifier and Type | Method and Description |
|---|---|
static AnnotateAssessmentRequest.Reason |
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<AnnotateAssessmentRequest.Reason> |
internalGetValueMap() |
static AnnotateAssessmentRequest.Reason |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AnnotateAssessmentRequest.Reason |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AnnotateAssessmentRequest.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotateAssessmentRequest.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotateAssessmentRequest.Reason REASON_UNSPECIFIED
Default unspecified reason.
REASON_UNSPECIFIED = 0;public static final AnnotateAssessmentRequest.Reason CHARGEBACK
Indicates a chargeback was issued for the transaction associated with the assessment, with no other details. When possible, specify the type by using CHARGEBACK_FRAUD or CHARGEBACK_DISPUTE instead.
CHARGEBACK = 1;public static final AnnotateAssessmentRequest.Reason CHARGEBACK_FRAUD
Indicates a chargeback related to an alleged unauthorized transaction from the perspective of the cardholder (for example, the card number was stolen).
CHARGEBACK_FRAUD = 8;public static final AnnotateAssessmentRequest.Reason CHARGEBACK_DISPUTE
Indicates a chargeback related to the cardholder having provided their card but allegedly not being satisfied with the purchase (for example, misrepresentation, attempted cancellation).
CHARGEBACK_DISPUTE = 9;public static final AnnotateAssessmentRequest.Reason PAYMENT_HEURISTICS
Indicates the transaction associated with the assessment is suspected of being fraudulent based on the payment method, billing details, shipping address or other transaction information.
PAYMENT_HEURISTICS = 2;public static final AnnotateAssessmentRequest.Reason INITIATED_TWO_FACTOR
Indicates that the user was served a 2FA challenge. An old assessment with `ENUM_VALUES.INITIATED_TWO_FACTOR` reason that has not been overwritten with `PASSED_TWO_FACTOR` is treated as an abandoned 2FA flow. This is equivalent to `FAILED_TWO_FACTOR`.
INITIATED_TWO_FACTOR = 7;public static final AnnotateAssessmentRequest.Reason PASSED_TWO_FACTOR
Indicates that the user passed a 2FA challenge.
PASSED_TWO_FACTOR = 3;public static final AnnotateAssessmentRequest.Reason FAILED_TWO_FACTOR
Indicates that the user failed a 2FA challenge.
FAILED_TWO_FACTOR = 4;public static final AnnotateAssessmentRequest.Reason CORRECT_PASSWORD
Indicates the user provided the correct password.
CORRECT_PASSWORD = 5;public static final AnnotateAssessmentRequest.Reason INCORRECT_PASSWORD
Indicates the user provided an incorrect password.
INCORRECT_PASSWORD = 6;public static final AnnotateAssessmentRequest.Reason UNRECOGNIZED
public static final int REASON_UNSPECIFIED_VALUE
Default unspecified reason.
REASON_UNSPECIFIED = 0;public static final int CHARGEBACK_VALUE
Indicates a chargeback was issued for the transaction associated with the assessment, with no other details. When possible, specify the type by using CHARGEBACK_FRAUD or CHARGEBACK_DISPUTE instead.
CHARGEBACK = 1;public static final int CHARGEBACK_FRAUD_VALUE
Indicates a chargeback related to an alleged unauthorized transaction from the perspective of the cardholder (for example, the card number was stolen).
CHARGEBACK_FRAUD = 8;public static final int CHARGEBACK_DISPUTE_VALUE
Indicates a chargeback related to the cardholder having provided their card but allegedly not being satisfied with the purchase (for example, misrepresentation, attempted cancellation).
CHARGEBACK_DISPUTE = 9;public static final int PAYMENT_HEURISTICS_VALUE
Indicates the transaction associated with the assessment is suspected of being fraudulent based on the payment method, billing details, shipping address or other transaction information.
PAYMENT_HEURISTICS = 2;public static final int INITIATED_TWO_FACTOR_VALUE
Indicates that the user was served a 2FA challenge. An old assessment with `ENUM_VALUES.INITIATED_TWO_FACTOR` reason that has not been overwritten with `PASSED_TWO_FACTOR` is treated as an abandoned 2FA flow. This is equivalent to `FAILED_TWO_FACTOR`.
INITIATED_TWO_FACTOR = 7;public static final int PASSED_TWO_FACTOR_VALUE
Indicates that the user passed a 2FA challenge.
PASSED_TWO_FACTOR = 3;public static final int FAILED_TWO_FACTOR_VALUE
Indicates that the user failed a 2FA challenge.
FAILED_TWO_FACTOR = 4;public static final int CORRECT_PASSWORD_VALUE
Indicates the user provided the correct password.
CORRECT_PASSWORD = 5;public static final int INCORRECT_PASSWORD_VALUE
Indicates the user provided an incorrect password.
INCORRECT_PASSWORD = 6;public static AnnotateAssessmentRequest.Reason[] values()
for (AnnotateAssessmentRequest.Reason c : AnnotateAssessmentRequest.Reason.values()) System.out.println(c);
public static AnnotateAssessmentRequest.Reason 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 AnnotateAssessmentRequest.Reason valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AnnotateAssessmentRequest.Reason forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AnnotateAssessmentRequest.Reason> 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 AnnotateAssessmentRequest.Reason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.