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 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

       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

       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

       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

       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

       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

       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

       This action transparently serves a different page to an offending
       user.
       
      .google.cloud.recaptchaenterprise.v1.FirewallAction.SubstituteAction substitute = 3;
      Returns:
      The substitute.
    • 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

       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

       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()