Interface WebKeySettings.ChallengeSettingsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
WebKeySettings.ChallengeSettings, WebKeySettings.ChallengeSettings.Builder
Enclosing class:
WebKeySettings

public static interface WebKeySettings.ChallengeSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasDefaultSettings

      boolean hasDefaultSettings()
       Required. Defines when a challenge is triggered (unless the default
       threshold is overridden for the given action, see `action_settings`).
       
      .google.cloud.recaptchaenterprise.v1.WebKeySettings.ActionSettings default_settings = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the defaultSettings field is set.
    • getDefaultSettings

      WebKeySettings.ActionSettings getDefaultSettings()
       Required. Defines when a challenge is triggered (unless the default
       threshold is overridden for the given action, see `action_settings`).
       
      .google.cloud.recaptchaenterprise.v1.WebKeySettings.ActionSettings default_settings = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The defaultSettings.
    • getDefaultSettingsOrBuilder

      WebKeySettings.ActionSettingsOrBuilder getDefaultSettingsOrBuilder()
       Required. Defines when a challenge is triggered (unless the default
       threshold is overridden for the given action, see `action_settings`).
       
      .google.cloud.recaptchaenterprise.v1.WebKeySettings.ActionSettings default_settings = 1 [(.google.api.field_behavior) = REQUIRED];
    • getActionSettingsCount

      int getActionSettingsCount()
       Optional. The action to score threshold map.
       The action name should be the same as the action name passed in the
       `data-action` attribute
       (see https://cloud.google.com/recaptcha/docs/actions-website).
       Action names are case-insensitive.
       There is a maximum of 100 action settings.
       An action name has a maximum length of 100.
       
      map<string, .google.cloud.recaptchaenterprise.v1.WebKeySettings.ActionSettings> action_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
    • containsActionSettings

      boolean containsActionSettings(String key)
       Optional. The action to score threshold map.
       The action name should be the same as the action name passed in the
       `data-action` attribute
       (see https://cloud.google.com/recaptcha/docs/actions-website).
       Action names are case-insensitive.
       There is a maximum of 100 action settings.
       An action name has a maximum length of 100.
       
      map<string, .google.cloud.recaptchaenterprise.v1.WebKeySettings.ActionSettings> action_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getActionSettings

      Deprecated.
    • getActionSettingsMap

      Map<String,WebKeySettings.ActionSettings> getActionSettingsMap()
       Optional. The action to score threshold map.
       The action name should be the same as the action name passed in the
       `data-action` attribute
       (see https://cloud.google.com/recaptcha/docs/actions-website).
       Action names are case-insensitive.
       There is a maximum of 100 action settings.
       An action name has a maximum length of 100.
       
      map<string, .google.cloud.recaptchaenterprise.v1.WebKeySettings.ActionSettings> action_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getActionSettingsOrDefault

      WebKeySettings.ActionSettings getActionSettingsOrDefault(String key, WebKeySettings.ActionSettings defaultValue)
       Optional. The action to score threshold map.
       The action name should be the same as the action name passed in the
       `data-action` attribute
       (see https://cloud.google.com/recaptcha/docs/actions-website).
       Action names are case-insensitive.
       There is a maximum of 100 action settings.
       An action name has a maximum length of 100.
       
      map<string, .google.cloud.recaptchaenterprise.v1.WebKeySettings.ActionSettings> action_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getActionSettingsOrThrow

      WebKeySettings.ActionSettings getActionSettingsOrThrow(String key)
       Optional. The action to score threshold map.
       The action name should be the same as the action name passed in the
       `data-action` attribute
       (see https://cloud.google.com/recaptcha/docs/actions-website).
       Action names are case-insensitive.
       There is a maximum of 100 action settings.
       An action name has a maximum length of 100.
       
      map<string, .google.cloud.recaptchaenterprise.v1.WebKeySettings.ActionSettings> action_settings = 2 [(.google.api.field_behavior) = OPTIONAL];