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 enum
google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest.Reason-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the transaction had a chargeback issued with no other details.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).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).Indicates the user provided the correct password.Indicates that the user failed a 2FA challenge.Indicates the user provided an incorrect password.Indicates that the user was served a 2FA challenge.Indicates that the user passed a 2FA challenge.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.Unspecified reason.Indicates that the completed payment transaction was refunded by the seller.Indicates that the completed payment transaction was determined to be fraudulent by the seller, and was cancelled and refunded as a result.Indicates that the user sent unwanted and abusive messages to other users of the platform, such as spam, scams, phishing, or social engineering.Indicates that the payment transaction was accepted, and the user was charged.Indicates that the payment transaction was declined, for example due to invalid card details. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates 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 final intIndicates 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 final intIndicates that the transaction had a chargeback issued with no other details.static final intIndicates the user provided the correct password.static final intIndicates that the user failed a 2FA challenge.static final intIndicates the user provided an incorrect password.static final intIndicates that the user was served a 2FA challenge.static final intIndicates that the user passed a 2FA challenge.static final intIndicates 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 final intUnspecified reason.static final intIndicates that the completed payment transaction was determined to be fraudulent by the seller, and was cancelled and refunded as a result.static final intIndicates that the completed payment transaction was refunded by the seller.static final intIndicates that the user sent unwanted and abusive messages to other users of the platform, such as spam, scams, phishing, or social engineering.static final intIndicates that the payment transaction was accepted, and the user was charged.static final intIndicates that the payment transaction was declined, for example due to invalid card details. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AnnotateAssessmentRequest.Reason>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified 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 Details
-
REASON_UNSPECIFIED
Unspecified reason. Do not use.
REASON_UNSPECIFIED = 0; -
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
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
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
Indicates that the completed payment transaction was refunded by the seller.
REFUND = 10; -
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
Indicates that the payment transaction was accepted, and the user was charged.
TRANSACTION_ACCEPTED = 12; -
TRANSACTION_DECLINED
Indicates that the payment transaction was declined, for example due to invalid card details.
TRANSACTION_DECLINED = 13; -
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
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
Indicates that the user passed a 2FA challenge.
PASSED_TWO_FACTOR = 3; -
FAILED_TWO_FACTOR
Indicates that the user failed a 2FA challenge.
FAILED_TWO_FACTOR = 4; -
CORRECT_PASSWORD
Indicates the user provided the correct password.
CORRECT_PASSWORD = 5; -
INCORRECT_PASSWORD
Indicates the user provided an incorrect password.
INCORRECT_PASSWORD = 6; -
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
-
-
Field Details
-
REASON_UNSPECIFIED_VALUE
public static final int REASON_UNSPECIFIED_VALUEUnspecified reason. Do not use.
REASON_UNSPECIFIED = 0;- See Also:
-
CHARGEBACK_VALUE
public static final int CHARGEBACK_VALUEIndicates 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:
-
CHARGEBACK_FRAUD_VALUE
public static final int CHARGEBACK_FRAUD_VALUEIndicates 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:
-
CHARGEBACK_DISPUTE_VALUE
public static final int CHARGEBACK_DISPUTE_VALUEIndicates 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:
-
REFUND_VALUE
public static final int REFUND_VALUEIndicates that the completed payment transaction was refunded by the seller.
REFUND = 10;- See Also:
-
REFUND_FRAUD_VALUE
public static final int REFUND_FRAUD_VALUEIndicates 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:
-
TRANSACTION_ACCEPTED_VALUE
public static final int TRANSACTION_ACCEPTED_VALUEIndicates that the payment transaction was accepted, and the user was charged.
TRANSACTION_ACCEPTED = 12;- See Also:
-
TRANSACTION_DECLINED_VALUE
public static final int TRANSACTION_DECLINED_VALUEIndicates that the payment transaction was declined, for example due to invalid card details.
TRANSACTION_DECLINED = 13;- See Also:
-
PAYMENT_HEURISTICS_VALUE
public static final int PAYMENT_HEURISTICS_VALUEIndicates 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:
-
INITIATED_TWO_FACTOR_VALUE
public static final int INITIATED_TWO_FACTOR_VALUEIndicates 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:
-
PASSED_TWO_FACTOR_VALUE
public static final int PASSED_TWO_FACTOR_VALUEIndicates that the user passed a 2FA challenge.
PASSED_TWO_FACTOR = 3;- See Also:
-
FAILED_TWO_FACTOR_VALUE
public static final int FAILED_TWO_FACTOR_VALUEIndicates that the user failed a 2FA challenge.
FAILED_TWO_FACTOR = 4;- See Also:
-
CORRECT_PASSWORD_VALUE
public static final int CORRECT_PASSWORD_VALUEIndicates the user provided the correct password.
CORRECT_PASSWORD = 5;- See Also:
-
INCORRECT_PASSWORD_VALUE
public static final int INCORRECT_PASSWORD_VALUEIndicates the user provided an incorrect password.
INCORRECT_PASSWORD = 6;- See Also:
-
SOCIAL_SPAM_VALUE
public static final int SOCIAL_SPAM_VALUEIndicates 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:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static 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
-