Class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder>
com.google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
All Implemented Interfaces:
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

public static final class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder extends com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder> implements SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder
 
Protobuf type google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder>
    • getDefaultInstanceForType

      public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder>
    • mergeFrom

      public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder>
      Throws:
      IOException
    • getActionTokenSiteKeysList

      public com.google.protobuf.ProtocolStringList getActionTokenSiteKeysList()
       A list of site keys to be used during the validation of reCAPTCHA
       action-tokens. The provided site keys need to be created from
       reCAPTCHA API under the same project where the security policy is
       created.
       
      repeated string action_token_site_keys = 59929885;
      Specified by:
      getActionTokenSiteKeysList in interface SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder
      Returns:
      A list containing the actionTokenSiteKeys.
    • getActionTokenSiteKeysCount

      public int getActionTokenSiteKeysCount()
       A list of site keys to be used during the validation of reCAPTCHA
       action-tokens. The provided site keys need to be created from
       reCAPTCHA API under the same project where the security policy is
       created.
       
      repeated string action_token_site_keys = 59929885;
      Specified by:
      getActionTokenSiteKeysCount in interface SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder
      Returns:
      The count of actionTokenSiteKeys.
    • getActionTokenSiteKeys

      public String getActionTokenSiteKeys(int index)
       A list of site keys to be used during the validation of reCAPTCHA
       action-tokens. The provided site keys need to be created from
       reCAPTCHA API under the same project where the security policy is
       created.
       
      repeated string action_token_site_keys = 59929885;
      Specified by:
      getActionTokenSiteKeys in interface SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The actionTokenSiteKeys at the given index.
    • getActionTokenSiteKeysBytes

      public com.google.protobuf.ByteString getActionTokenSiteKeysBytes(int index)
       A list of site keys to be used during the validation of reCAPTCHA
       action-tokens. The provided site keys need to be created from
       reCAPTCHA API under the same project where the security policy is
       created.
       
      repeated string action_token_site_keys = 59929885;
      Specified by:
      getActionTokenSiteKeysBytes in interface SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the actionTokenSiteKeys at the given index.
    • setActionTokenSiteKeys

      public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder setActionTokenSiteKeys(int index, String value)
       A list of site keys to be used during the validation of reCAPTCHA
       action-tokens. The provided site keys need to be created from
       reCAPTCHA API under the same project where the security policy is
       created.
       
      repeated string action_token_site_keys = 59929885;
      Parameters:
      index - The index to set the value at.
      value - The actionTokenSiteKeys to set.
      Returns:
      This builder for chaining.
    • addActionTokenSiteKeys

       A list of site keys to be used during the validation of reCAPTCHA
       action-tokens. The provided site keys need to be created from
       reCAPTCHA API under the same project where the security policy is
       created.
       
      repeated string action_token_site_keys = 59929885;
      Parameters:
      value - The actionTokenSiteKeys to add.
      Returns:
      This builder for chaining.
    • addAllActionTokenSiteKeys

       A list of site keys to be used during the validation of reCAPTCHA
       action-tokens. The provided site keys need to be created from
       reCAPTCHA API under the same project where the security policy is
       created.
       
      repeated string action_token_site_keys = 59929885;
      Parameters:
      values - The actionTokenSiteKeys to add.
      Returns:
      This builder for chaining.
    • clearActionTokenSiteKeys

       A list of site keys to be used during the validation of reCAPTCHA
       action-tokens. The provided site keys need to be created from
       reCAPTCHA API under the same project where the security policy is
       created.
       
      repeated string action_token_site_keys = 59929885;
      Returns:
      This builder for chaining.
    • addActionTokenSiteKeysBytes

      public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder addActionTokenSiteKeysBytes(com.google.protobuf.ByteString value)
       A list of site keys to be used during the validation of reCAPTCHA
       action-tokens. The provided site keys need to be created from
       reCAPTCHA API under the same project where the security policy is
       created.
       
      repeated string action_token_site_keys = 59929885;
      Parameters:
      value - The bytes of the actionTokenSiteKeys to add.
      Returns:
      This builder for chaining.
    • getSessionTokenSiteKeysList

      public com.google.protobuf.ProtocolStringList getSessionTokenSiteKeysList()
       A list of site keys to be used during the validation of reCAPTCHA
       session-tokens. The provided site keys need to be created from
       reCAPTCHA API under the same project where the security policy is
       created.
       
      repeated string session_token_site_keys = 333363581;
      Specified by:
      getSessionTokenSiteKeysList in interface SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder
      Returns:
      A list containing the sessionTokenSiteKeys.
    • getSessionTokenSiteKeysCount

      public int getSessionTokenSiteKeysCount()
       A list of site keys to be used during the validation of reCAPTCHA
       session-tokens. The provided site keys need to be created from
       reCAPTCHA API under the same project where the security policy is
       created.
       
      repeated string session_token_site_keys = 333363581;
      Specified by:
      getSessionTokenSiteKeysCount in interface SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder
      Returns:
      The count of sessionTokenSiteKeys.
    • getSessionTokenSiteKeys

      public String getSessionTokenSiteKeys(int index)
       A list of site keys to be used during the validation of reCAPTCHA
       session-tokens. The provided site keys need to be created from
       reCAPTCHA API under the same project where the security policy is
       created.
       
      repeated string session_token_site_keys = 333363581;
      Specified by:
      getSessionTokenSiteKeys in interface SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The sessionTokenSiteKeys at the given index.
    • getSessionTokenSiteKeysBytes

      public com.google.protobuf.ByteString getSessionTokenSiteKeysBytes(int index)
       A list of site keys to be used during the validation of reCAPTCHA
       session-tokens. The provided site keys need to be created from
       reCAPTCHA API under the same project where the security policy is
       created.
       
      repeated string session_token_site_keys = 333363581;
      Specified by:
      getSessionTokenSiteKeysBytes in interface SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the sessionTokenSiteKeys at the given index.
    • setSessionTokenSiteKeys

      public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder setSessionTokenSiteKeys(int index, String value)
       A list of site keys to be used during the validation of reCAPTCHA
       session-tokens. The provided site keys need to be created from
       reCAPTCHA API under the same project where the security policy is
       created.
       
      repeated string session_token_site_keys = 333363581;
      Parameters:
      index - The index to set the value at.
      value - The sessionTokenSiteKeys to set.
      Returns:
      This builder for chaining.
    • addSessionTokenSiteKeys

       A list of site keys to be used during the validation of reCAPTCHA
       session-tokens. The provided site keys need to be created from
       reCAPTCHA API under the same project where the security policy is
       created.
       
      repeated string session_token_site_keys = 333363581;
      Parameters:
      value - The sessionTokenSiteKeys to add.
      Returns:
      This builder for chaining.
    • addAllSessionTokenSiteKeys

       A list of site keys to be used during the validation of reCAPTCHA
       session-tokens. The provided site keys need to be created from
       reCAPTCHA API under the same project where the security policy is
       created.
       
      repeated string session_token_site_keys = 333363581;
      Parameters:
      values - The sessionTokenSiteKeys to add.
      Returns:
      This builder for chaining.
    • clearSessionTokenSiteKeys

       A list of site keys to be used during the validation of reCAPTCHA
       session-tokens. The provided site keys need to be created from
       reCAPTCHA API under the same project where the security policy is
       created.
       
      repeated string session_token_site_keys = 333363581;
      Returns:
      This builder for chaining.
    • addSessionTokenSiteKeysBytes

      public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder addSessionTokenSiteKeysBytes(com.google.protobuf.ByteString value)
       A list of site keys to be used during the validation of reCAPTCHA
       session-tokens. The provided site keys need to be created from
       reCAPTCHA API under the same project where the security policy is
       created.
       
      repeated string session_token_site_keys = 333363581;
      Parameters:
      value - The bytes of the sessionTokenSiteKeys to add.
      Returns:
      This builder for chaining.