Enum 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 enum google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.Result
    • 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;
    • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null