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. Ensure that applications can handle values not explicitly listed.Protobuf enum
google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.Result-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe verification flow could not be completed due to a critical internal error.The client has exceeded their two factor request quota for this period of time.The recipient has already been sent too many verification codes in a short amount of time.The recipient is not allowed for account verification.The site is not properly onboarded to use the account verification feature.The user failed the verification challenge.The request parameters do not match with the token provided and cannot be processed.The request cannot be processed at the time because of an incident.No information about the latest account verification.The user was successfully verified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe verification flow could not be completed due to a critical internal error.static final intThe client has exceeded their two factor request quota for this period of time.static final intThe recipient has already been sent too many verification codes in a short amount of time.static final intThe recipient is not allowed for account verification.static final intThe site is not properly onboarded to use the account verification feature.static final intThe user failed the verification challenge.static final intThe request parameters do not match with the token provided and cannot be processed.static final intThe request cannot be processed at the time because of an incident.static final intNo information about the latest account verification.static final intThe user was successfully verified. -
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<AccountVerificationInfo.Result>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 AccountVerificationInfo.Result[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RESULT_UNSPECIFIED
No information about the latest account verification.
RESULT_UNSPECIFIED = 0; -
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
The user failed the verification challenge.
ERROR_USER_NOT_VERIFIED = 2; -
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
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
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
The verification flow could not be completed due to a critical internal error.
ERROR_CRITICAL_INTERNAL = 6; -
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
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
The request parameters do not match with the token provided and cannot be processed.
ERROR_VERDICT_MISMATCH = 9; -
UNRECOGNIZED
-
-
Field Details
-
RESULT_UNSPECIFIED_VALUE
public static final int RESULT_UNSPECIFIED_VALUENo information about the latest account verification.
RESULT_UNSPECIFIED = 0;- See Also:
-
SUCCESS_USER_VERIFIED_VALUE
public static final int SUCCESS_USER_VERIFIED_VALUEThe user was successfully verified. This means the account verification challenge was successfully completed.
SUCCESS_USER_VERIFIED = 1;- See Also:
-
ERROR_USER_NOT_VERIFIED_VALUE
public static final int ERROR_USER_NOT_VERIFIED_VALUEThe user failed the verification challenge.
ERROR_USER_NOT_VERIFIED = 2;- See Also:
-
ERROR_SITE_ONBOARDING_INCOMPLETE_VALUE
public static final int ERROR_SITE_ONBOARDING_INCOMPLETE_VALUEThe site is not properly onboarded to use the account verification feature.
ERROR_SITE_ONBOARDING_INCOMPLETE = 3;- See Also:
-
ERROR_RECIPIENT_NOT_ALLOWED_VALUE
public static final int ERROR_RECIPIENT_NOT_ALLOWED_VALUEThe 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:
-
ERROR_RECIPIENT_ABUSE_LIMIT_EXHAUSTED_VALUE
public static final int ERROR_RECIPIENT_ABUSE_LIMIT_EXHAUSTED_VALUEThe recipient has already been sent too many verification codes in a short amount of time.
ERROR_RECIPIENT_ABUSE_LIMIT_EXHAUSTED = 5;- See Also:
-
ERROR_CRITICAL_INTERNAL_VALUE
public static final int ERROR_CRITICAL_INTERNAL_VALUEThe verification flow could not be completed due to a critical internal error.
ERROR_CRITICAL_INTERNAL = 6;- See Also:
-
ERROR_CUSTOMER_QUOTA_EXHAUSTED_VALUE
public static final int ERROR_CUSTOMER_QUOTA_EXHAUSTED_VALUEThe client has exceeded their two factor request quota for this period of time.
ERROR_CUSTOMER_QUOTA_EXHAUSTED = 7;- See Also:
-
ERROR_VERIFICATION_BYPASSED_VALUE
public static final int ERROR_VERIFICATION_BYPASSED_VALUEThe 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:
-
ERROR_VERDICT_MISMATCH_VALUE
public static final int ERROR_VERDICT_MISMATCH_VALUEThe request parameters do not match with the token provided and cannot be processed.
ERROR_VERDICT_MISMATCH = 9;- 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<AccountVerificationInfo.Result> 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 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
-