Enum AnnotateAssessmentRequest.Reason
- java.lang.Object
-
- java.lang.Enum<AnnotateAssessmentRequest.Reason>
-
- com.google.recaptchaenterprise.v1.AnnotateAssessmentRequest.Reason
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<AnnotateAssessmentRequest.Reason>
- Enclosing class:
- AnnotateAssessmentRequest
public static enum AnnotateAssessmentRequest.Reason extends Enum<AnnotateAssessmentRequest.Reason> implements com.google.protobuf.ProtocolMessageEnum
Enum that represents potential reasons for annotating an assessment.
Protobuf enumgoogle.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest.Reason
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHARGEBACK
Indicates that the transaction had a chargeback issued with no other details.CHARGEBACK_DISPUTE
Indicates that the transaction had a chargeback issued related to the cardholder having provided their card details but allegedly not being satisfied with the purchase (for example, misrepresentation, attempted cancellation).CHARGEBACK_FRAUD
Indicates that the transaction had a chargeback issued related to an alleged unauthorized transaction from the cardholder's perspective (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.REFUND
Indicates that the completed payment transaction was refunded by the seller.REFUND_FRAUD
Indicates that the completed payment transaction was determined to be fraudulent by the seller, and was cancelled and refunded as a result.SOCIAL_SPAM
Indicates that the user sent unwanted and abusive messages to other users of the platform, such as spam, scams, phishing, or social engineering.TRANSACTION_ACCEPTED
Indicates that the payment transaction was accepted, and the user was charged.TRANSACTION_DECLINED
Indicates that the payment transaction was declined, for example due to invalid card details.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
CHARGEBACK_DISPUTE_VALUE
Indicates that the transaction had a chargeback issued related to the cardholder having provided their card details but allegedly not being satisfied with the purchase (for example, misrepresentation, attempted cancellation).static int
CHARGEBACK_FRAUD_VALUE
Indicates that the transaction had a chargeback issued related to an alleged unauthorized transaction from the cardholder's perspective (for example, the card number was stolen).static int
CHARGEBACK_VALUE
Indicates that the transaction had a chargeback issued 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.static int
REFUND_FRAUD_VALUE
Indicates that the completed payment transaction was determined to be fraudulent by the seller, and was cancelled and refunded as a result.static int
REFUND_VALUE
Indicates that the completed payment transaction was refunded by the seller.static int
SOCIAL_SPAM_VALUE
Indicates that the user sent unwanted and abusive messages to other users of the platform, such as spam, scams, phishing, or social engineering.static int
TRANSACTION_ACCEPTED_VALUE
Indicates that the payment transaction was accepted, and the user was charged.static int
TRANSACTION_DECLINED_VALUE
Indicates that the payment transaction was declined, for example due to invalid card details.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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(int value)
Deprecated.static AnnotateAssessmentRequest.Reason
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.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.
-
-
-
Enum Constant Detail
-
REASON_UNSPECIFIED
public static final AnnotateAssessmentRequest.Reason REASON_UNSPECIFIED
Default unspecified reason.
REASON_UNSPECIFIED = 0;
-
CHARGEBACK
public static final AnnotateAssessmentRequest.Reason CHARGEBACK
Indicates that the transaction had a chargeback issued with no other details. When possible, specify the type by using CHARGEBACK_FRAUD or CHARGEBACK_DISPUTE instead.
CHARGEBACK = 1;
-
CHARGEBACK_FRAUD
public static final AnnotateAssessmentRequest.Reason CHARGEBACK_FRAUD
Indicates that the transaction had a chargeback issued related to an alleged unauthorized transaction from the cardholder's perspective (for example, the card number was stolen).
CHARGEBACK_FRAUD = 8;
-
CHARGEBACK_DISPUTE
public static final AnnotateAssessmentRequest.Reason CHARGEBACK_DISPUTE
Indicates that the transaction had a chargeback issued related to the cardholder having provided their card details but allegedly not being satisfied with the purchase (for example, misrepresentation, attempted cancellation).
CHARGEBACK_DISPUTE = 9;
-
REFUND
public static final AnnotateAssessmentRequest.Reason REFUND
Indicates that the completed payment transaction was refunded by the seller.
REFUND = 10;
-
REFUND_FRAUD
public static final AnnotateAssessmentRequest.Reason REFUND_FRAUD
Indicates that the completed payment transaction was determined to be fraudulent by the seller, and was cancelled and refunded as a result.
REFUND_FRAUD = 11;
-
TRANSACTION_ACCEPTED
public static final AnnotateAssessmentRequest.Reason TRANSACTION_ACCEPTED
Indicates that the payment transaction was accepted, and the user was charged.
TRANSACTION_ACCEPTED = 12;
-
TRANSACTION_DECLINED
public static final AnnotateAssessmentRequest.Reason TRANSACTION_DECLINED
Indicates that the payment transaction was declined, for example due to invalid card details.
TRANSACTION_DECLINED = 13;
-
PAYMENT_HEURISTICS
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;
-
INITIATED_TWO_FACTOR
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;
-
PASSED_TWO_FACTOR
public static final AnnotateAssessmentRequest.Reason PASSED_TWO_FACTOR
Indicates that the user passed a 2FA challenge.
PASSED_TWO_FACTOR = 3;
-
FAILED_TWO_FACTOR
public static final AnnotateAssessmentRequest.Reason FAILED_TWO_FACTOR
Indicates that the user failed a 2FA challenge.
FAILED_TWO_FACTOR = 4;
-
CORRECT_PASSWORD
public static final AnnotateAssessmentRequest.Reason CORRECT_PASSWORD
Indicates the user provided the correct password.
CORRECT_PASSWORD = 5;
-
INCORRECT_PASSWORD
public static final AnnotateAssessmentRequest.Reason INCORRECT_PASSWORD
Indicates the user provided an incorrect password.
INCORRECT_PASSWORD = 6;
-
SOCIAL_SPAM
public static final AnnotateAssessmentRequest.Reason SOCIAL_SPAM
Indicates that the user sent unwanted and abusive messages to other users of the platform, such as spam, scams, phishing, or social engineering.
SOCIAL_SPAM = 14;
-
UNRECOGNIZED
public static final AnnotateAssessmentRequest.Reason UNRECOGNIZED
-
-
Field Detail
-
REASON_UNSPECIFIED_VALUE
public static final int REASON_UNSPECIFIED_VALUE
Default unspecified reason.
REASON_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
CHARGEBACK_VALUE
public static final int CHARGEBACK_VALUE
Indicates that the transaction had a chargeback issued with no other details. When possible, specify the type by using CHARGEBACK_FRAUD or CHARGEBACK_DISPUTE instead.
CHARGEBACK = 1;
- See Also:
- Constant Field Values
-
CHARGEBACK_FRAUD_VALUE
public static final int CHARGEBACK_FRAUD_VALUE
Indicates that the transaction had a chargeback issued related to an alleged unauthorized transaction from the cardholder's perspective (for example, the card number was stolen).
CHARGEBACK_FRAUD = 8;
- See Also:
- Constant Field Values
-
CHARGEBACK_DISPUTE_VALUE
public static final int CHARGEBACK_DISPUTE_VALUE
Indicates that the transaction had a chargeback issued related to the cardholder having provided their card details but allegedly not being satisfied with the purchase (for example, misrepresentation, attempted cancellation).
CHARGEBACK_DISPUTE = 9;
- See Also:
- Constant Field Values
-
REFUND_VALUE
public static final int REFUND_VALUE
Indicates that the completed payment transaction was refunded by the seller.
REFUND = 10;
- See Also:
- Constant Field Values
-
REFUND_FRAUD_VALUE
public static final int REFUND_FRAUD_VALUE
Indicates that the completed payment transaction was determined to be fraudulent by the seller, and was cancelled and refunded as a result.
REFUND_FRAUD = 11;
- See Also:
- Constant Field Values
-
TRANSACTION_ACCEPTED_VALUE
public static final int TRANSACTION_ACCEPTED_VALUE
Indicates that the payment transaction was accepted, and the user was charged.
TRANSACTION_ACCEPTED = 12;
- See Also:
- Constant Field Values
-
TRANSACTION_DECLINED_VALUE
public static final int TRANSACTION_DECLINED_VALUE
Indicates that the payment transaction was declined, for example due to invalid card details.
TRANSACTION_DECLINED = 13;
- See Also:
- Constant Field Values
-
PAYMENT_HEURISTICS_VALUE
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;
- See Also:
- Constant Field Values
-
INITIATED_TWO_FACTOR_VALUE
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;
- See Also:
- Constant Field Values
-
PASSED_TWO_FACTOR_VALUE
public static final int PASSED_TWO_FACTOR_VALUE
Indicates that the user passed a 2FA challenge.
PASSED_TWO_FACTOR = 3;
- See Also:
- Constant Field Values
-
FAILED_TWO_FACTOR_VALUE
public static final int FAILED_TWO_FACTOR_VALUE
Indicates that the user failed a 2FA challenge.
FAILED_TWO_FACTOR = 4;
- See Also:
- Constant Field Values
-
CORRECT_PASSWORD_VALUE
public static final int CORRECT_PASSWORD_VALUE
Indicates the user provided the correct password.
CORRECT_PASSWORD = 5;
- See Also:
- Constant Field Values
-
INCORRECT_PASSWORD_VALUE
public static final int INCORRECT_PASSWORD_VALUE
Indicates the user provided an incorrect password.
INCORRECT_PASSWORD = 6;
- See Also:
- Constant Field Values
-
SOCIAL_SPAM_VALUE
public static final int SOCIAL_SPAM_VALUE
Indicates that the user sent unwanted and abusive messages to other users of the platform, such as spam, scams, phishing, or social engineering.
SOCIAL_SPAM = 14;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AnnotateAssessmentRequest.Reason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AnnotateAssessmentRequest.Reason c : AnnotateAssessmentRequest.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnnotateAssessmentRequest.Reason valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static AnnotateAssessmentRequest.Reason valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static AnnotateAssessmentRequest.Reason forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<AnnotateAssessmentRequest.Reason> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static AnnotateAssessmentRequest.Reason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-