Interface ChallengeRuleGroupOrBuilder (3.96.0)

public interface ChallengeRuleGroupOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActions(int index)

public abstract String getActions(int index)

Required. Action name provided at token generation. The action name is not case-sensitive and can only contain alphanumeric characters, slashes, and underscores. If "*" is provided, the rule group applies to all actions. If multiple actions are provided, the rule group is applied to all of them. This field is required.

repeated string actions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The actions at the given index.

getActionsBytes(int index)

public abstract ByteString getActionsBytes(int index)

Required. Action name provided at token generation. The action name is not case-sensitive and can only contain alphanumeric characters, slashes, and underscores. If "*" is provided, the rule group applies to all actions. If multiple actions are provided, the rule group is applied to all of them. This field is required.

repeated string actions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the actions at the given index.

getActionsCount()

public abstract int getActionsCount()

Required. Action name provided at token generation. The action name is not case-sensitive and can only contain alphanumeric characters, slashes, and underscores. If "*" is provided, the rule group applies to all actions. If multiple actions are provided, the rule group is applied to all of them. This field is required.

repeated string actions = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of actions.

getActionsList()

public abstract List<String> getActionsList()

Required. Action name provided at token generation. The action name is not case-sensitive and can only contain alphanumeric characters, slashes, and underscores. If "*" is provided, the rule group applies to all actions. If multiple actions are provided, the rule group is applied to all of them. This field is required.

repeated string actions = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the actions.

getChallengeRules(int index)

public abstract ChallengeRule getChallengeRules(int index)

Required. A list of rules that configure when and how reCAPTCHA presents a challenge. reCAPTCHA evaluates these rules in order and applies the first one that matches.

repeated .google.cloud.recaptchaenterprise.v1.ChallengeRule challenge_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ChallengeRule

getChallengeRulesCount()

public abstract int getChallengeRulesCount()

Required. A list of rules that configure when and how reCAPTCHA presents a challenge. reCAPTCHA evaluates these rules in order and applies the first one that matches.

repeated .google.cloud.recaptchaenterprise.v1.ChallengeRule challenge_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getChallengeRulesList()

public abstract List<ChallengeRule> getChallengeRulesList()

Required. A list of rules that configure when and how reCAPTCHA presents a challenge. reCAPTCHA evaluates these rules in order and applies the first one that matches.

repeated .google.cloud.recaptchaenterprise.v1.ChallengeRule challenge_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<ChallengeRule>

getChallengeRulesOrBuilder(int index)

public abstract ChallengeRuleOrBuilder getChallengeRulesOrBuilder(int index)

Required. A list of rules that configure when and how reCAPTCHA presents a challenge. reCAPTCHA evaluates these rules in order and applies the first one that matches.

repeated .google.cloud.recaptchaenterprise.v1.ChallengeRule challenge_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ChallengeRuleOrBuilder

getChallengeRulesOrBuilderList()

public abstract List<? extends ChallengeRuleOrBuilder> getChallengeRulesOrBuilderList()

Required. A list of rules that configure when and how reCAPTCHA presents a challenge. reCAPTCHA evaluates these rules in order and applies the first one that matches.

repeated .google.cloud.recaptchaenterprise.v1.ChallengeRule challenge_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.recaptchaenterprise.v1.ChallengeRuleOrBuilder>