public static enum TestingOptions.TestingChallenge extends Enum<TestingOptions.TestingChallenge> implements com.google.protobuf.ProtocolMessageEnum
Enum that represents the challenge option for challenge-based (CHECKBOX, INVISIBLE) testing keys.Protobuf enum
google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge| Enum Constant and Description |
|---|
NOCAPTCHA
Challenge requests for this key always return a nocaptcha, which
does not require a solution.
|
TESTING_CHALLENGE_UNSPECIFIED
Perform the normal risk analysis and return either nocaptcha or a
challenge depending on risk and trust factors.
|
UNRECOGNIZED |
UNSOLVABLE_CHALLENGE
Challenge requests for this key always return an unsolvable
challenge.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
NOCAPTCHA_VALUE
Challenge requests for this key always return a nocaptcha, which
does not require a solution.
|
static int |
TESTING_CHALLENGE_UNSPECIFIED_VALUE
Perform the normal risk analysis and return either nocaptcha or a
challenge depending on risk and trust factors.
|
static int |
UNSOLVABLE_CHALLENGE_VALUE
Challenge requests for this key always return an unsolvable
challenge.
|
| Modifier and Type | Method and Description |
|---|---|
static TestingOptions.TestingChallenge |
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<TestingOptions.TestingChallenge> |
internalGetValueMap() |
static TestingOptions.TestingChallenge |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TestingOptions.TestingChallenge |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TestingOptions.TestingChallenge |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestingOptions.TestingChallenge[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestingOptions.TestingChallenge TESTING_CHALLENGE_UNSPECIFIED
Perform the normal risk analysis and return either nocaptcha or a challenge depending on risk and trust factors.
TESTING_CHALLENGE_UNSPECIFIED = 0;public static final TestingOptions.TestingChallenge NOCAPTCHA
Challenge requests for this key always return a nocaptcha, which does not require a solution.
NOCAPTCHA = 1;public static final TestingOptions.TestingChallenge UNSOLVABLE_CHALLENGE
Challenge requests for this key always return an unsolvable challenge.
UNSOLVABLE_CHALLENGE = 2;public static final TestingOptions.TestingChallenge UNRECOGNIZED
public static final int TESTING_CHALLENGE_UNSPECIFIED_VALUE
Perform the normal risk analysis and return either nocaptcha or a challenge depending on risk and trust factors.
TESTING_CHALLENGE_UNSPECIFIED = 0;public static final int NOCAPTCHA_VALUE
Challenge requests for this key always return a nocaptcha, which does not require a solution.
NOCAPTCHA = 1;public static final int UNSOLVABLE_CHALLENGE_VALUE
Challenge requests for this key always return an unsolvable challenge.
UNSOLVABLE_CHALLENGE = 2;public static TestingOptions.TestingChallenge[] values()
for (TestingOptions.TestingChallenge c : TestingOptions.TestingChallenge.values()) System.out.println(c);
public static TestingOptions.TestingChallenge 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 TestingOptions.TestingChallenge valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TestingOptions.TestingChallenge forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TestingOptions.TestingChallenge> 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 TestingOptions.TestingChallenge valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.