Enum AccountVerificationInfo.Result
- java.lang.Object
-
- java.lang.Enum<AccountVerificationInfo.Result>
-
- com.google.recaptchaenterprise.v1.AccountVerificationInfo.Result
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<AccountVerificationInfo.Result>
- Enclosing class:
- AccountVerificationInfo
public static enum AccountVerificationInfo.Result extends Enum<AccountVerificationInfo.Result> implements com.google.protobuf.ProtocolMessageEnum
Result of the account verification as contained in the verdict token issued at the end of the verification flow.
Protobuf enumgoogle.cloud.recaptchaenterprise.v1.AccountVerificationInfo.Result
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR_CRITICAL_INTERNAL
The verification flow could not be completed due to a critical internal error.ERROR_CUSTOMER_QUOTA_EXHAUSTED
The client has exceeded their two factor request quota for this period of time.ERROR_RECIPIENT_ABUSE_LIMIT_EXHAUSTED
The recipient has already been sent too many verification codes in a short amount of time.ERROR_RECIPIENT_NOT_ALLOWED
The recipient is not allowed for account verification.ERROR_SITE_ONBOARDING_INCOMPLETE
The site is not properly onboarded to use the account verification feature.ERROR_USER_NOT_VERIFIED
The user failed the verification challenge.ERROR_VERDICT_MISMATCH
The request parameters do not match with the token provided and cannot be processed.ERROR_VERIFICATION_BYPASSED
The request cannot be processed at the time because of an incident.RESULT_UNSPECIFIED
No information about the latest account verification.SUCCESS_USER_VERIFIED
The user was successfully verified.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
ERROR_CRITICAL_INTERNAL_VALUE
The verification flow could not be completed due to a critical internal error.static int
ERROR_CUSTOMER_QUOTA_EXHAUSTED_VALUE
The client has exceeded their two factor request quota for this period of time.static int
ERROR_RECIPIENT_ABUSE_LIMIT_EXHAUSTED_VALUE
The recipient has already been sent too many verification codes in a short amount of time.static int
ERROR_RECIPIENT_NOT_ALLOWED_VALUE
The recipient is not allowed for account verification.static int
ERROR_SITE_ONBOARDING_INCOMPLETE_VALUE
The site is not properly onboarded to use the account verification feature.static int
ERROR_USER_NOT_VERIFIED_VALUE
The user failed the verification challenge.static int
ERROR_VERDICT_MISMATCH_VALUE
The request parameters do not match with the token provided and cannot be processed.static int
ERROR_VERIFICATION_BYPASSED_VALUE
The request cannot be processed at the time because of an incident.static int
RESULT_UNSPECIFIED_VALUE
No information about the latest account verification.static int
SUCCESS_USER_VERIFIED_VALUE
The user was successfully verified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AccountVerificationInfo.Result
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<AccountVerificationInfo.Result>
internalGetValueMap()
static AccountVerificationInfo.Result
valueOf(int value)
Deprecated.static AccountVerificationInfo.Result
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static AccountVerificationInfo.Result
valueOf(String name)
Returns the enum constant of this type with the specified name.static AccountVerificationInfo.Result[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESULT_UNSPECIFIED
public static final AccountVerificationInfo.Result RESULT_UNSPECIFIED
No information about the latest account verification.
RESULT_UNSPECIFIED = 0;
-
SUCCESS_USER_VERIFIED
public static final AccountVerificationInfo.Result SUCCESS_USER_VERIFIED
The user was successfully verified. This means the account verification challenge was successfully completed.
SUCCESS_USER_VERIFIED = 1;
-
ERROR_USER_NOT_VERIFIED
public static final AccountVerificationInfo.Result ERROR_USER_NOT_VERIFIED
The user failed the verification challenge.
ERROR_USER_NOT_VERIFIED = 2;
-
ERROR_SITE_ONBOARDING_INCOMPLETE
public static final AccountVerificationInfo.Result ERROR_SITE_ONBOARDING_INCOMPLETE
The site is not properly onboarded to use the account verification feature.
ERROR_SITE_ONBOARDING_INCOMPLETE = 3;
-
ERROR_RECIPIENT_NOT_ALLOWED
public static final AccountVerificationInfo.Result ERROR_RECIPIENT_NOT_ALLOWED
The recipient is not allowed for account verification. This can occur during integration but should not occur in production.
ERROR_RECIPIENT_NOT_ALLOWED = 4;
-
ERROR_RECIPIENT_ABUSE_LIMIT_EXHAUSTED
public static final AccountVerificationInfo.Result ERROR_RECIPIENT_ABUSE_LIMIT_EXHAUSTED
The recipient has already been sent too many verification codes in a short amount of time.
ERROR_RECIPIENT_ABUSE_LIMIT_EXHAUSTED = 5;
-
ERROR_CRITICAL_INTERNAL
public static final AccountVerificationInfo.Result ERROR_CRITICAL_INTERNAL
The verification flow could not be completed due to a critical internal error.
ERROR_CRITICAL_INTERNAL = 6;
-
ERROR_CUSTOMER_QUOTA_EXHAUSTED
public static final AccountVerificationInfo.Result ERROR_CUSTOMER_QUOTA_EXHAUSTED
The client has exceeded their two factor request quota for this period of time.
ERROR_CUSTOMER_QUOTA_EXHAUSTED = 7;
-
ERROR_VERIFICATION_BYPASSED
public static final AccountVerificationInfo.Result ERROR_VERIFICATION_BYPASSED
The request cannot be processed at the time because of an incident. This bypass can be restricted to a problematic destination email domain, a customer, or could affect the entire service.
ERROR_VERIFICATION_BYPASSED = 8;
-
ERROR_VERDICT_MISMATCH
public static final AccountVerificationInfo.Result ERROR_VERDICT_MISMATCH
The request parameters do not match with the token provided and cannot be processed.
ERROR_VERDICT_MISMATCH = 9;
-
UNRECOGNIZED
public static final AccountVerificationInfo.Result UNRECOGNIZED
-
-
Field Detail
-
RESULT_UNSPECIFIED_VALUE
public static final int RESULT_UNSPECIFIED_VALUE
No information about the latest account verification.
RESULT_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
SUCCESS_USER_VERIFIED_VALUE
public static final int SUCCESS_USER_VERIFIED_VALUE
The user was successfully verified. This means the account verification challenge was successfully completed.
SUCCESS_USER_VERIFIED = 1;
- See Also:
- Constant Field Values
-
ERROR_USER_NOT_VERIFIED_VALUE
public static final int ERROR_USER_NOT_VERIFIED_VALUE
The user failed the verification challenge.
ERROR_USER_NOT_VERIFIED = 2;
- See Also:
- Constant Field Values
-
ERROR_SITE_ONBOARDING_INCOMPLETE_VALUE
public static final int ERROR_SITE_ONBOARDING_INCOMPLETE_VALUE
The site is not properly onboarded to use the account verification feature.
ERROR_SITE_ONBOARDING_INCOMPLETE = 3;
- See Also:
- Constant Field Values
-
ERROR_RECIPIENT_NOT_ALLOWED_VALUE
public static final int ERROR_RECIPIENT_NOT_ALLOWED_VALUE
The recipient is not allowed for account verification. This can occur during integration but should not occur in production.
ERROR_RECIPIENT_NOT_ALLOWED = 4;
- See Also:
- Constant Field Values
-
ERROR_RECIPIENT_ABUSE_LIMIT_EXHAUSTED_VALUE
public static final int ERROR_RECIPIENT_ABUSE_LIMIT_EXHAUSTED_VALUE
The recipient has already been sent too many verification codes in a short amount of time.
ERROR_RECIPIENT_ABUSE_LIMIT_EXHAUSTED = 5;
- See Also:
- Constant Field Values
-
ERROR_CRITICAL_INTERNAL_VALUE
public static final int ERROR_CRITICAL_INTERNAL_VALUE
The verification flow could not be completed due to a critical internal error.
ERROR_CRITICAL_INTERNAL = 6;
- See Also:
- Constant Field Values
-
ERROR_CUSTOMER_QUOTA_EXHAUSTED_VALUE
public static final int ERROR_CUSTOMER_QUOTA_EXHAUSTED_VALUE
The client has exceeded their two factor request quota for this period of time.
ERROR_CUSTOMER_QUOTA_EXHAUSTED = 7;
- See Also:
- Constant Field Values
-
ERROR_VERIFICATION_BYPASSED_VALUE
public static final int ERROR_VERIFICATION_BYPASSED_VALUE
The request cannot be processed at the time because of an incident. This bypass can be restricted to a problematic destination email domain, a customer, or could affect the entire service.
ERROR_VERIFICATION_BYPASSED = 8;
- See Also:
- Constant Field Values
-
ERROR_VERDICT_MISMATCH_VALUE
public static final int ERROR_VERDICT_MISMATCH_VALUE
The request parameters do not match with the token provided and cannot be processed.
ERROR_VERDICT_MISMATCH = 9;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AccountVerificationInfo.Result[] 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 (AccountVerificationInfo.Result c : AccountVerificationInfo.Result.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccountVerificationInfo.Result 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 AccountVerificationInfo.Result 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 AccountVerificationInfo.Result 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<AccountVerificationInfo.Result> 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 AccountVerificationInfo.Result 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
-
-