public static enum WafSettings.WafFeature extends Enum<WafSettings.WafFeature> implements com.google.protobuf.ProtocolMessageEnum
Supported WAF features. For more information, see https://cloud.google.com/recaptcha/docs/usecase#comparison_of_features.Protobuf enum
google.cloud.recaptchaenterprise.v1.WafSettings.WafFeature| Enum Constant and Description |
|---|
ACTION_TOKEN
Use reCAPTCHA action-tokens to protect user actions.
|
CHALLENGE_PAGE
Redirects suspicious traffic to reCAPTCHA.
|
EXPRESS
Use reCAPTCHA WAF express protection to protect any content other than
web pages, like APIs and IoT devices.
|
SESSION_TOKEN
Use reCAPTCHA session-tokens to protect the whole user session on the
site's domain.
|
UNRECOGNIZED |
WAF_FEATURE_UNSPECIFIED
Undefined feature.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTION_TOKEN_VALUE
Use reCAPTCHA action-tokens to protect user actions.
|
static int |
CHALLENGE_PAGE_VALUE
Redirects suspicious traffic to reCAPTCHA.
|
static int |
EXPRESS_VALUE
Use reCAPTCHA WAF express protection to protect any content other than
web pages, like APIs and IoT devices.
|
static int |
SESSION_TOKEN_VALUE
Use reCAPTCHA session-tokens to protect the whole user session on the
site's domain.
|
static int |
WAF_FEATURE_UNSPECIFIED_VALUE
Undefined feature.
|
| Modifier and Type | Method and Description |
|---|---|
static WafSettings.WafFeature |
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<WafSettings.WafFeature> |
internalGetValueMap() |
static WafSettings.WafFeature |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static WafSettings.WafFeature |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static WafSettings.WafFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WafSettings.WafFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WafSettings.WafFeature WAF_FEATURE_UNSPECIFIED
Undefined feature.
WAF_FEATURE_UNSPECIFIED = 0;public static final WafSettings.WafFeature CHALLENGE_PAGE
Redirects suspicious traffic to reCAPTCHA.
CHALLENGE_PAGE = 1;public static final WafSettings.WafFeature SESSION_TOKEN
Use reCAPTCHA session-tokens to protect the whole user session on the site's domain.
SESSION_TOKEN = 2;public static final WafSettings.WafFeature ACTION_TOKEN
Use reCAPTCHA action-tokens to protect user actions.
ACTION_TOKEN = 3;public static final WafSettings.WafFeature EXPRESS
Use reCAPTCHA WAF express protection to protect any content other than web pages, like APIs and IoT devices.
EXPRESS = 5;public static final WafSettings.WafFeature UNRECOGNIZED
public static final int WAF_FEATURE_UNSPECIFIED_VALUE
Undefined feature.
WAF_FEATURE_UNSPECIFIED = 0;public static final int CHALLENGE_PAGE_VALUE
Redirects suspicious traffic to reCAPTCHA.
CHALLENGE_PAGE = 1;public static final int SESSION_TOKEN_VALUE
Use reCAPTCHA session-tokens to protect the whole user session on the site's domain.
SESSION_TOKEN = 2;public static final int ACTION_TOKEN_VALUE
Use reCAPTCHA action-tokens to protect user actions.
ACTION_TOKEN = 3;public static final int EXPRESS_VALUE
Use reCAPTCHA WAF express protection to protect any content other than web pages, like APIs and IoT devices.
EXPRESS = 5;public static WafSettings.WafFeature[] values()
for (WafSettings.WafFeature c : WafSettings.WafFeature.values()) System.out.println(c);
public static WafSettings.WafFeature 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 WafSettings.WafFeature valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static WafSettings.WafFeature forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<WafSettings.WafFeature> 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 WafSettings.WafFeature valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.