public static enum WebKeySettings.ChallengeSecurityPreference extends Enum<WebKeySettings.ChallengeSecurityPreference> implements com.google.protobuf.ProtocolMessageEnum
Enum that represents the possible challenge frequency and difficulty configurations for a web key.Protobuf enum
google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference| Enum Constant and Description |
|---|
BALANCE
Key tends to show balanced (in amount and difficulty) challenges.
|
CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED
Default type that indicates this enum hasn't been specified.
|
SECURITY
Key tends to show more and harder challenges.
|
UNRECOGNIZED |
USABILITY
Key tends to show fewer and easier challenges.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
BALANCE_VALUE
Key tends to show balanced (in amount and difficulty) challenges.
|
static int |
CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED_VALUE
Default type that indicates this enum hasn't been specified.
|
static int |
SECURITY_VALUE
Key tends to show more and harder challenges.
|
static int |
USABILITY_VALUE
Key tends to show fewer and easier challenges.
|
| Modifier and Type | Method and Description |
|---|---|
static WebKeySettings.ChallengeSecurityPreference |
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<WebKeySettings.ChallengeSecurityPreference> |
internalGetValueMap() |
static WebKeySettings.ChallengeSecurityPreference |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static WebKeySettings.ChallengeSecurityPreference |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static WebKeySettings.ChallengeSecurityPreference |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebKeySettings.ChallengeSecurityPreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebKeySettings.ChallengeSecurityPreference CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED
Default type that indicates this enum hasn't been specified.
CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED = 0;public static final WebKeySettings.ChallengeSecurityPreference USABILITY
Key tends to show fewer and easier challenges.
USABILITY = 1;public static final WebKeySettings.ChallengeSecurityPreference BALANCE
Key tends to show balanced (in amount and difficulty) challenges.
BALANCE = 2;public static final WebKeySettings.ChallengeSecurityPreference SECURITY
Key tends to show more and harder challenges.
SECURITY = 3;public static final WebKeySettings.ChallengeSecurityPreference UNRECOGNIZED
public static final int CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED_VALUE
Default type that indicates this enum hasn't been specified.
CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED = 0;public static final int USABILITY_VALUE
Key tends to show fewer and easier challenges.
USABILITY = 1;public static final int BALANCE_VALUE
Key tends to show balanced (in amount and difficulty) challenges.
BALANCE = 2;public static final int SECURITY_VALUE
Key tends to show more and harder challenges.
SECURITY = 3;public static WebKeySettings.ChallengeSecurityPreference[] values()
for (WebKeySettings.ChallengeSecurityPreference c : WebKeySettings.ChallengeSecurityPreference.values()) System.out.println(c);
public static WebKeySettings.ChallengeSecurityPreference 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 WebKeySettings.ChallengeSecurityPreference valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static WebKeySettings.ChallengeSecurityPreference forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<WebKeySettings.ChallengeSecurityPreference> 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 WebKeySettings.ChallengeSecurityPreference valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021 Google LLC. All rights reserved.