public static enum RiskAnalysis.Challenge extends Enum<RiskAnalysis.Challenge> implements com.google.protobuf.ProtocolMessageEnum
Challenge information for SCORE_AND_CHALLENGE and INVISIBLE keysProtobuf enum
google.cloud.recaptchaenterprise.v1.RiskAnalysis.Challenge| Enum Constant and Description |
|---|
CHALLENGE_UNSPECIFIED
Default unspecified type.
|
FAILED
A solution was submitted that was incorrect or otherwise
deemed suspicious.
|
NOCAPTCHA
No challenge was presented for solving.
|
PASSED
A solution was submitted that was correct.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CHALLENGE_UNSPECIFIED_VALUE
Default unspecified type.
|
static int |
FAILED_VALUE
A solution was submitted that was incorrect or otherwise
deemed suspicious.
|
static int |
NOCAPTCHA_VALUE
No challenge was presented for solving.
|
static int |
PASSED_VALUE
A solution was submitted that was correct.
|
| Modifier and Type | Method and Description |
|---|---|
static RiskAnalysis.Challenge |
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<RiskAnalysis.Challenge> |
internalGetValueMap() |
static RiskAnalysis.Challenge |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RiskAnalysis.Challenge |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RiskAnalysis.Challenge |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RiskAnalysis.Challenge[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RiskAnalysis.Challenge CHALLENGE_UNSPECIFIED
Default unspecified type.
CHALLENGE_UNSPECIFIED = 0;public static final RiskAnalysis.Challenge NOCAPTCHA
No challenge was presented for solving.
NOCAPTCHA = 1;public static final RiskAnalysis.Challenge PASSED
A solution was submitted that was correct.
PASSED = 2;public static final RiskAnalysis.Challenge FAILED
A solution was submitted that was incorrect or otherwise deemed suspicious.
FAILED = 3;public static final RiskAnalysis.Challenge UNRECOGNIZED
public static final int CHALLENGE_UNSPECIFIED_VALUE
Default unspecified type.
CHALLENGE_UNSPECIFIED = 0;public static final int NOCAPTCHA_VALUE
No challenge was presented for solving.
NOCAPTCHA = 1;public static final int PASSED_VALUE
A solution was submitted that was correct.
PASSED = 2;public static final int FAILED_VALUE
A solution was submitted that was incorrect or otherwise deemed suspicious.
FAILED = 3;public static RiskAnalysis.Challenge[] values()
for (RiskAnalysis.Challenge c : RiskAnalysis.Challenge.values()) System.out.println(c);
public static RiskAnalysis.Challenge valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static RiskAnalysis.Challenge valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RiskAnalysis.Challenge forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RiskAnalysis.Challenge> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RiskAnalysis.Challenge valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.