Class Key.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Key.Builder>
com.google.recaptchaenterprise.v1.Key.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, KeyOrBuilder, Cloneable
Enclosing class:
Key

public static final class Key.Builder extends com.google.protobuf.GeneratedMessage.Builder<Key.Builder> implements KeyOrBuilder
 A key used to identify and configure applications (web and/or mobile) that
 use reCAPTCHA Enterprise.
 
Protobuf type google.cloud.recaptchaenterprise.v1.Key
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Key.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Key.Builder>
    • internalGetFieldAccessorTable

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

      public Key.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<Key.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<Key.Builder>
    • getDefaultInstanceForType

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

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

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

      public Key.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<Key.Builder>
    • mergeFrom

      public Key.Builder mergeFrom(Key other)
    • isInitialized

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

      public Key.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<Key.Builder>
      Throws:
      IOException
    • getPlatformSettingsCase

      public Key.PlatformSettingsCase getPlatformSettingsCase()
      Specified by:
      getPlatformSettingsCase in interface KeyOrBuilder
    • clearPlatformSettings

      public Key.Builder clearPlatformSettings()
    • getName

      public String getName()
       Identifier. The resource name for the Key in the format
       `projects/{project}/keys/{key}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface KeyOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name for the Key in the format
       `projects/{project}/keys/{key}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface KeyOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Key.Builder setName(String value)
       Identifier. The resource name for the Key in the format
       `projects/{project}/keys/{key}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Key.Builder clearName()
       Identifier. The resource name for the Key in the format
       `projects/{project}/keys/{key}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Key.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The resource name for the Key in the format
       `projects/{project}/keys/{key}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Required. Human-readable display name of this key. Modifiable by user.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface KeyOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. Human-readable display name of this key. Modifiable by user.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface KeyOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Key.Builder setDisplayName(String value)
       Required. Human-readable display name of this key. Modifiable by user.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Key.Builder clearDisplayName()
       Required. Human-readable display name of this key. Modifiable by user.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Key.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. Human-readable display name of this key. Modifiable by user.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • hasWebSettings

      public boolean hasWebSettings()
       Settings for keys that can be used by websites.
       
      .google.cloud.recaptchaenterprise.v1.WebKeySettings web_settings = 3;
      Specified by:
      hasWebSettings in interface KeyOrBuilder
      Returns:
      Whether the webSettings field is set.
    • getWebSettings

      public WebKeySettings getWebSettings()
       Settings for keys that can be used by websites.
       
      .google.cloud.recaptchaenterprise.v1.WebKeySettings web_settings = 3;
      Specified by:
      getWebSettings in interface KeyOrBuilder
      Returns:
      The webSettings.
    • setWebSettings

      public Key.Builder setWebSettings(WebKeySettings value)
       Settings for keys that can be used by websites.
       
      .google.cloud.recaptchaenterprise.v1.WebKeySettings web_settings = 3;
    • setWebSettings

      public Key.Builder setWebSettings(WebKeySettings.Builder builderForValue)
       Settings for keys that can be used by websites.
       
      .google.cloud.recaptchaenterprise.v1.WebKeySettings web_settings = 3;
    • mergeWebSettings

      public Key.Builder mergeWebSettings(WebKeySettings value)
       Settings for keys that can be used by websites.
       
      .google.cloud.recaptchaenterprise.v1.WebKeySettings web_settings = 3;
    • clearWebSettings

      public Key.Builder clearWebSettings()
       Settings for keys that can be used by websites.
       
      .google.cloud.recaptchaenterprise.v1.WebKeySettings web_settings = 3;
    • getWebSettingsBuilder

      public WebKeySettings.Builder getWebSettingsBuilder()
       Settings for keys that can be used by websites.
       
      .google.cloud.recaptchaenterprise.v1.WebKeySettings web_settings = 3;
    • getWebSettingsOrBuilder

      public WebKeySettingsOrBuilder getWebSettingsOrBuilder()
       Settings for keys that can be used by websites.
       
      .google.cloud.recaptchaenterprise.v1.WebKeySettings web_settings = 3;
      Specified by:
      getWebSettingsOrBuilder in interface KeyOrBuilder
    • hasAndroidSettings

      public boolean hasAndroidSettings()
       Settings for keys that can be used by Android apps.
       
      .google.cloud.recaptchaenterprise.v1.AndroidKeySettings android_settings = 4;
      Specified by:
      hasAndroidSettings in interface KeyOrBuilder
      Returns:
      Whether the androidSettings field is set.
    • getAndroidSettings

      public AndroidKeySettings getAndroidSettings()
       Settings for keys that can be used by Android apps.
       
      .google.cloud.recaptchaenterprise.v1.AndroidKeySettings android_settings = 4;
      Specified by:
      getAndroidSettings in interface KeyOrBuilder
      Returns:
      The androidSettings.
    • setAndroidSettings

      public Key.Builder setAndroidSettings(AndroidKeySettings value)
       Settings for keys that can be used by Android apps.
       
      .google.cloud.recaptchaenterprise.v1.AndroidKeySettings android_settings = 4;
    • setAndroidSettings

      public Key.Builder setAndroidSettings(AndroidKeySettings.Builder builderForValue)
       Settings for keys that can be used by Android apps.
       
      .google.cloud.recaptchaenterprise.v1.AndroidKeySettings android_settings = 4;
    • mergeAndroidSettings

      public Key.Builder mergeAndroidSettings(AndroidKeySettings value)
       Settings for keys that can be used by Android apps.
       
      .google.cloud.recaptchaenterprise.v1.AndroidKeySettings android_settings = 4;
    • clearAndroidSettings

      public Key.Builder clearAndroidSettings()
       Settings for keys that can be used by Android apps.
       
      .google.cloud.recaptchaenterprise.v1.AndroidKeySettings android_settings = 4;
    • getAndroidSettingsBuilder

      public AndroidKeySettings.Builder getAndroidSettingsBuilder()
       Settings for keys that can be used by Android apps.
       
      .google.cloud.recaptchaenterprise.v1.AndroidKeySettings android_settings = 4;
    • getAndroidSettingsOrBuilder

      public AndroidKeySettingsOrBuilder getAndroidSettingsOrBuilder()
       Settings for keys that can be used by Android apps.
       
      .google.cloud.recaptchaenterprise.v1.AndroidKeySettings android_settings = 4;
      Specified by:
      getAndroidSettingsOrBuilder in interface KeyOrBuilder
    • hasIosSettings

      public boolean hasIosSettings()
       Settings for keys that can be used by iOS apps.
       
      .google.cloud.recaptchaenterprise.v1.IOSKeySettings ios_settings = 5;
      Specified by:
      hasIosSettings in interface KeyOrBuilder
      Returns:
      Whether the iosSettings field is set.
    • getIosSettings

      public IOSKeySettings getIosSettings()
       Settings for keys that can be used by iOS apps.
       
      .google.cloud.recaptchaenterprise.v1.IOSKeySettings ios_settings = 5;
      Specified by:
      getIosSettings in interface KeyOrBuilder
      Returns:
      The iosSettings.
    • setIosSettings

      public Key.Builder setIosSettings(IOSKeySettings value)
       Settings for keys that can be used by iOS apps.
       
      .google.cloud.recaptchaenterprise.v1.IOSKeySettings ios_settings = 5;
    • setIosSettings

      public Key.Builder setIosSettings(IOSKeySettings.Builder builderForValue)
       Settings for keys that can be used by iOS apps.
       
      .google.cloud.recaptchaenterprise.v1.IOSKeySettings ios_settings = 5;
    • mergeIosSettings

      public Key.Builder mergeIosSettings(IOSKeySettings value)
       Settings for keys that can be used by iOS apps.
       
      .google.cloud.recaptchaenterprise.v1.IOSKeySettings ios_settings = 5;
    • clearIosSettings

      public Key.Builder clearIosSettings()
       Settings for keys that can be used by iOS apps.
       
      .google.cloud.recaptchaenterprise.v1.IOSKeySettings ios_settings = 5;
    • getIosSettingsBuilder

      public IOSKeySettings.Builder getIosSettingsBuilder()
       Settings for keys that can be used by iOS apps.
       
      .google.cloud.recaptchaenterprise.v1.IOSKeySettings ios_settings = 5;
    • getIosSettingsOrBuilder

      public IOSKeySettingsOrBuilder getIosSettingsOrBuilder()
       Settings for keys that can be used by iOS apps.
       
      .google.cloud.recaptchaenterprise.v1.IOSKeySettings ios_settings = 5;
      Specified by:
      getIosSettingsOrBuilder in interface KeyOrBuilder
    • hasExpressSettings

      public boolean hasExpressSettings()
       Settings for keys that can be used by reCAPTCHA Express.
       
      .google.cloud.recaptchaenterprise.v1.ExpressKeySettings express_settings = 11;
      Specified by:
      hasExpressSettings in interface KeyOrBuilder
      Returns:
      Whether the expressSettings field is set.
    • getExpressSettings

      public ExpressKeySettings getExpressSettings()
       Settings for keys that can be used by reCAPTCHA Express.
       
      .google.cloud.recaptchaenterprise.v1.ExpressKeySettings express_settings = 11;
      Specified by:
      getExpressSettings in interface KeyOrBuilder
      Returns:
      The expressSettings.
    • setExpressSettings

      public Key.Builder setExpressSettings(ExpressKeySettings value)
       Settings for keys that can be used by reCAPTCHA Express.
       
      .google.cloud.recaptchaenterprise.v1.ExpressKeySettings express_settings = 11;
    • setExpressSettings

      public Key.Builder setExpressSettings(ExpressKeySettings.Builder builderForValue)
       Settings for keys that can be used by reCAPTCHA Express.
       
      .google.cloud.recaptchaenterprise.v1.ExpressKeySettings express_settings = 11;
    • mergeExpressSettings

      public Key.Builder mergeExpressSettings(ExpressKeySettings value)
       Settings for keys that can be used by reCAPTCHA Express.
       
      .google.cloud.recaptchaenterprise.v1.ExpressKeySettings express_settings = 11;
    • clearExpressSettings

      public Key.Builder clearExpressSettings()
       Settings for keys that can be used by reCAPTCHA Express.
       
      .google.cloud.recaptchaenterprise.v1.ExpressKeySettings express_settings = 11;
    • getExpressSettingsBuilder

      public ExpressKeySettings.Builder getExpressSettingsBuilder()
       Settings for keys that can be used by reCAPTCHA Express.
       
      .google.cloud.recaptchaenterprise.v1.ExpressKeySettings express_settings = 11;
    • getExpressSettingsOrBuilder

      public ExpressKeySettingsOrBuilder getExpressSettingsOrBuilder()
       Settings for keys that can be used by reCAPTCHA Express.
       
      .google.cloud.recaptchaenterprise.v1.ExpressKeySettings express_settings = 11;
      Specified by:
      getExpressSettingsOrBuilder in interface KeyOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: KeyOrBuilder
       Optional. See [Creating and managing labels]
       (https://cloud.google.com/recaptcha/docs/labels).
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface KeyOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. See [Creating and managing labels]
       (https://cloud.google.com/recaptcha/docs/labels).
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface KeyOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface KeyOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. See [Creating and managing labels]
       (https://cloud.google.com/recaptcha/docs/labels).
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface KeyOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. See [Creating and managing labels]
       (https://cloud.google.com/recaptcha/docs/labels).
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface KeyOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. See [Creating and managing labels]
       (https://cloud.google.com/recaptcha/docs/labels).
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface KeyOrBuilder
    • clearLabels

      public Key.Builder clearLabels()
    • removeLabels

      public Key.Builder removeLabels(String key)
       Optional. See [Creating and managing labels]
       (https://cloud.google.com/recaptcha/docs/labels).
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Key.Builder putLabels(String key, String value)
       Optional. See [Creating and managing labels]
       (https://cloud.google.com/recaptcha/docs/labels).
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public Key.Builder putAllLabels(Map<String,String> values)
       Optional. See [Creating and managing labels]
       (https://cloud.google.com/recaptcha/docs/labels).
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The timestamp corresponding to the creation of this key.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface KeyOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp corresponding to the creation of this key.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface KeyOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Key.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp corresponding to the creation of this key.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Key.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp corresponding to the creation of this key.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Key.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp corresponding to the creation of this key.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Key.Builder clearCreateTime()
       Output only. The timestamp corresponding to the creation of this key.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The timestamp corresponding to the creation of this key.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp corresponding to the creation of this key.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface KeyOrBuilder
    • hasTestingOptions

      public boolean hasTestingOptions()
       Optional. Options for user acceptance testing.
       
      .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasTestingOptions in interface KeyOrBuilder
      Returns:
      Whether the testingOptions field is set.
    • getTestingOptions

      public TestingOptions getTestingOptions()
       Optional. Options for user acceptance testing.
       
      .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTestingOptions in interface KeyOrBuilder
      Returns:
      The testingOptions.
    • setTestingOptions

      public Key.Builder setTestingOptions(TestingOptions value)
       Optional. Options for user acceptance testing.
       
      .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL];
    • setTestingOptions

      public Key.Builder setTestingOptions(TestingOptions.Builder builderForValue)
       Optional. Options for user acceptance testing.
       
      .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL];
    • mergeTestingOptions

      public Key.Builder mergeTestingOptions(TestingOptions value)
       Optional. Options for user acceptance testing.
       
      .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL];
    • clearTestingOptions

      public Key.Builder clearTestingOptions()
       Optional. Options for user acceptance testing.
       
      .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getTestingOptionsBuilder

      public TestingOptions.Builder getTestingOptionsBuilder()
       Optional. Options for user acceptance testing.
       
      .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getTestingOptionsOrBuilder

      public TestingOptionsOrBuilder getTestingOptionsOrBuilder()
       Optional. Options for user acceptance testing.
       
      .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTestingOptionsOrBuilder in interface KeyOrBuilder
    • hasWafSettings

      public boolean hasWafSettings()
       Optional. Settings for Web Application Firewall (WAF).
       
      .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasWafSettings in interface KeyOrBuilder
      Returns:
      Whether the wafSettings field is set.
    • getWafSettings

      public WafSettings getWafSettings()
       Optional. Settings for Web Application Firewall (WAF).
       
      .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWafSettings in interface KeyOrBuilder
      Returns:
      The wafSettings.
    • setWafSettings

      public Key.Builder setWafSettings(WafSettings value)
       Optional. Settings for Web Application Firewall (WAF).
       
      .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL];
    • setWafSettings

      public Key.Builder setWafSettings(WafSettings.Builder builderForValue)
       Optional. Settings for Web Application Firewall (WAF).
       
      .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL];
    • mergeWafSettings

      public Key.Builder mergeWafSettings(WafSettings value)
       Optional. Settings for Web Application Firewall (WAF).
       
      .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL];
    • clearWafSettings

      public Key.Builder clearWafSettings()
       Optional. Settings for Web Application Firewall (WAF).
       
      .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getWafSettingsBuilder

      public WafSettings.Builder getWafSettingsBuilder()
       Optional. Settings for Web Application Firewall (WAF).
       
      .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getWafSettingsOrBuilder

      public WafSettingsOrBuilder getWafSettingsOrBuilder()
       Optional. Settings for Web Application Firewall (WAF).
       
      .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWafSettingsOrBuilder in interface KeyOrBuilder