Class SecurityPolicyRecaptchaOptionsConfig.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRecaptchaOptionsConfig.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.GeneratedMessageV3.Builder<SecurityPolicyRecaptchaOptionsConfig.Builder>
      • getDefaultInstanceForType

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

        public SecurityPolicyRecaptchaOptionsConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public SecurityPolicyRecaptchaOptionsConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRecaptchaOptionsConfig.Builder>
      • hasRedirectSiteKey

        public boolean hasRedirectSiteKey()
         An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
         
        optional string redirect_site_key = 447677034;
        Specified by:
        hasRedirectSiteKey in interface SecurityPolicyRecaptchaOptionsConfigOrBuilder
        Returns:
        Whether the redirectSiteKey field is set.
      • getRedirectSiteKey

        public String getRedirectSiteKey()
         An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
         
        optional string redirect_site_key = 447677034;
        Specified by:
        getRedirectSiteKey in interface SecurityPolicyRecaptchaOptionsConfigOrBuilder
        Returns:
        The redirectSiteKey.
      • getRedirectSiteKeyBytes

        public com.google.protobuf.ByteString getRedirectSiteKeyBytes()
         An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
         
        optional string redirect_site_key = 447677034;
        Specified by:
        getRedirectSiteKeyBytes in interface SecurityPolicyRecaptchaOptionsConfigOrBuilder
        Returns:
        The bytes for redirectSiteKey.
      • setRedirectSiteKey

        public SecurityPolicyRecaptchaOptionsConfig.Builder setRedirectSiteKey​(String value)
         An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
         
        optional string redirect_site_key = 447677034;
        Parameters:
        value - The redirectSiteKey to set.
        Returns:
        This builder for chaining.
      • clearRedirectSiteKey

        public SecurityPolicyRecaptchaOptionsConfig.Builder clearRedirectSiteKey()
         An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
         
        optional string redirect_site_key = 447677034;
        Returns:
        This builder for chaining.
      • setRedirectSiteKeyBytes

        public SecurityPolicyRecaptchaOptionsConfig.Builder setRedirectSiteKeyBytes​(com.google.protobuf.ByteString value)
         An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
         
        optional string redirect_site_key = 447677034;
        Parameters:
        value - The bytes for redirectSiteKey to set.
        Returns:
        This builder for chaining.