Enum TokenProperties.InvalidReason (2.3.1)

public enum TokenProperties.InvalidReason extends Enum<TokenProperties.InvalidReason> implements ProtocolMessageEnum

LINT.IfChange Enum that represents the types of invalid token reasons.

Protobuf enum google.cloud.recaptchaenterprise.v1beta1.TokenProperties.InvalidReason

Implements

ProtocolMessageEnum

Fields

NameDescription
DUPE

The user verification had already been seen.

DUPE = 4;

DUPE_VALUE

The user verification had already been seen.

DUPE = 4;

EXPIRED

The user verification token had expired.

EXPIRED = 3;

EXPIRED_VALUE

The user verification token had expired.

EXPIRED = 3;

INVALID_REASON_UNSPECIFIED

Default unspecified type.

INVALID_REASON_UNSPECIFIED = 0;

INVALID_REASON_UNSPECIFIED_VALUE

Default unspecified type.

INVALID_REASON_UNSPECIFIED = 0;

MALFORMED

The provided user verification token was malformed.

MALFORMED = 2;

MALFORMED_VALUE

The provided user verification token was malformed.

MALFORMED = 2;

MISSING

The user verification token was not present. It is a required input.

MISSING = 6;

MISSING_VALUE

The user verification token was not present. It is a required input.

MISSING = 6;

SITE_MISMATCH

The user verification token did not match the provided site key. This may be a configuration error (e.g. development keys used in production) or end users trying to use verification tokens from other sites.

SITE_MISMATCH = 5;

SITE_MISMATCH_VALUE

The user verification token did not match the provided site key. This may be a configuration error (e.g. development keys used in production) or end users trying to use verification tokens from other sites.

SITE_MISMATCH = 5;

UNKNOWN_INVALID_REASON

If the failure reason was not accounted for.

UNKNOWN_INVALID_REASON = 1;

UNKNOWN_INVALID_REASON_VALUE

If the failure reason was not accounted for.

UNKNOWN_INVALID_REASON = 1;

UNRECOGNIZED

Methods

NameDescription
forNumber(int value)
getDescriptor()
getDescriptorForType()
getNumber()
getValueDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

(deprecated) Use #forNumber(int) instead.

valueOf(String name)
values()