Interface FirewallActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FirewallAction,FirewallAction.Builder
@Generated
public interface FirewallActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAllow()The user request did not match any policy and should be allowed access to the requested resource.The user request did not match any policy and should be allowed access to the requested resource.getBlock()This action denies access to a given page.This action denies access to a given page.This action injects reCAPTCHA JavaScript code into the HTML page returned by the site backend.This action injects reCAPTCHA JavaScript code into the HTML page returned by the site backend.This action redirects the request to a reCAPTCHA interstitial to attach a token.This action redirects the request to a reCAPTCHA interstitial to attach a token.This action sets a custom header but allow the request to continue to the customer backend.This action sets a custom header but allow the request to continue to the customer backend.This action transparently serves a different page to an offending user.This action transparently serves a different page to an offending user.booleanhasAllow()The user request did not match any policy and should be allowed access to the requested resource.booleanhasBlock()This action denies access to a given page.booleanThis action injects reCAPTCHA JavaScript code into the HTML page returned by the site backend.booleanThis action redirects the request to a reCAPTCHA interstitial to attach a token.booleanThis action sets a custom header but allow the request to continue to the customer backend.booleanThis action transparently serves a different page to an offending user.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAllow
boolean hasAllow()The user request did not match any policy and should be allowed access to the requested resource.
.google.cloud.recaptchaenterprise.v1.FirewallAction.AllowAction allow = 1;- Returns:
- Whether the allow field is set.
-
getAllow
FirewallAction.AllowAction getAllow()The user request did not match any policy and should be allowed access to the requested resource.
.google.cloud.recaptchaenterprise.v1.FirewallAction.AllowAction allow = 1;- Returns:
- The allow.
-
getAllowOrBuilder
FirewallAction.AllowActionOrBuilder getAllowOrBuilder()The user request did not match any policy and should be allowed access to the requested resource.
.google.cloud.recaptchaenterprise.v1.FirewallAction.AllowAction allow = 1; -
hasBlock
boolean hasBlock()This action denies access to a given page. The user gets an HTTP error code.
.google.cloud.recaptchaenterprise.v1.FirewallAction.BlockAction block = 2;- Returns:
- Whether the block field is set.
-
getBlock
FirewallAction.BlockAction getBlock()This action denies access to a given page. The user gets an HTTP error code.
.google.cloud.recaptchaenterprise.v1.FirewallAction.BlockAction block = 2;- Returns:
- The block.
-
getBlockOrBuilder
FirewallAction.BlockActionOrBuilder getBlockOrBuilder()This action denies access to a given page. The user gets an HTTP error code.
.google.cloud.recaptchaenterprise.v1.FirewallAction.BlockAction block = 2; -
hasIncludeRecaptchaScript
boolean hasIncludeRecaptchaScript()This action injects reCAPTCHA JavaScript code into the HTML page returned by the site backend.
.google.cloud.recaptchaenterprise.v1.FirewallAction.IncludeRecaptchaScriptAction include_recaptcha_script = 6;- Returns:
- Whether the includeRecaptchaScript field is set.
-
getIncludeRecaptchaScript
FirewallAction.IncludeRecaptchaScriptAction getIncludeRecaptchaScript()This action injects reCAPTCHA JavaScript code into the HTML page returned by the site backend.
.google.cloud.recaptchaenterprise.v1.FirewallAction.IncludeRecaptchaScriptAction include_recaptcha_script = 6;- Returns:
- The includeRecaptchaScript.
-
getIncludeRecaptchaScriptOrBuilder
FirewallAction.IncludeRecaptchaScriptActionOrBuilder getIncludeRecaptchaScriptOrBuilder()This action injects reCAPTCHA JavaScript code into the HTML page returned by the site backend.
.google.cloud.recaptchaenterprise.v1.FirewallAction.IncludeRecaptchaScriptAction include_recaptcha_script = 6; -
hasRedirect
boolean hasRedirect()This action redirects the request to a reCAPTCHA interstitial to attach a token.
.google.cloud.recaptchaenterprise.v1.FirewallAction.RedirectAction redirect = 5;- Returns:
- Whether the redirect field is set.
-
getRedirect
FirewallAction.RedirectAction getRedirect()This action redirects the request to a reCAPTCHA interstitial to attach a token.
.google.cloud.recaptchaenterprise.v1.FirewallAction.RedirectAction redirect = 5;- Returns:
- The redirect.
-
getRedirectOrBuilder
FirewallAction.RedirectActionOrBuilder getRedirectOrBuilder()This action redirects the request to a reCAPTCHA interstitial to attach a token.
.google.cloud.recaptchaenterprise.v1.FirewallAction.RedirectAction redirect = 5; -
hasSubstitute
boolean hasSubstitute()This action transparently serves a different page to an offending user.
.google.cloud.recaptchaenterprise.v1.FirewallAction.SubstituteAction substitute = 3;- Returns:
- Whether the substitute field is set.
-
getSubstitute
FirewallAction.SubstituteAction getSubstitute()This action transparently serves a different page to an offending user.
.google.cloud.recaptchaenterprise.v1.FirewallAction.SubstituteAction substitute = 3;- Returns:
- The substitute.
-
getSubstituteOrBuilder
FirewallAction.SubstituteActionOrBuilder getSubstituteOrBuilder()This action transparently serves a different page to an offending user.
.google.cloud.recaptchaenterprise.v1.FirewallAction.SubstituteAction substitute = 3; -
hasSetHeader
boolean hasSetHeader()This action sets a custom header but allow the request to continue to the customer backend.
.google.cloud.recaptchaenterprise.v1.FirewallAction.SetHeaderAction set_header = 4;- Returns:
- Whether the setHeader field is set.
-
getSetHeader
FirewallAction.SetHeaderAction getSetHeader()This action sets a custom header but allow the request to continue to the customer backend.
.google.cloud.recaptchaenterprise.v1.FirewallAction.SetHeaderAction set_header = 4;- Returns:
- The setHeader.
-
getSetHeaderOrBuilder
FirewallAction.SetHeaderActionOrBuilder getSetHeaderOrBuilder()This action sets a custom header but allow the request to continue to the customer backend.
.google.cloud.recaptchaenterprise.v1.FirewallAction.SetHeaderAction set_header = 4; -
getFirewallActionOneofCase
FirewallAction.FirewallActionOneofCase getFirewallActionOneofCase()
-