Interface KeyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Key, Key.Builder

@Generated public interface KeyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

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

      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];
      Returns:
      The bytes for name.
    • getDisplayName

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

      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];
      Returns:
      The bytes for displayName.
    • hasWebSettings

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

      WebKeySettings getWebSettings()
       Settings for keys that can be used by websites.
       
      .google.cloud.recaptchaenterprise.v1.WebKeySettings web_settings = 3;
      Returns:
      The webSettings.
    • getWebSettingsOrBuilder

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

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

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

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

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

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

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

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

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

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

      int getLabelsCount()
       Optional. See [Creating and managing labels]
       (https://cloud.google.com/recaptcha/docs/labels).
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      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];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      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];
    • getLabelsOrDefault

      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];
    • getLabelsOrThrow

      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];
    • hasCreateTime

      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];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      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];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      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];
    • hasTestingOptions

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

      TestingOptions getTestingOptions()
       Optional. Options for user acceptance testing.
       
      .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The testingOptions.
    • getTestingOptionsOrBuilder

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

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

      WafSettings getWafSettings()
       Optional. Settings for Web Application Firewall (WAF).
       
      .google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The wafSettings.
    • getWafSettingsOrBuilder

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

      Key.PlatformSettingsCase getPlatformSettingsCase()