Interface PolicyOrBuilder (3.96.0)

public interface PolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChallengeRuleGroups(int index)

public abstract ChallengeRuleGroup getChallengeRuleGroups(int index)

Optional. Rules to configure the behavior of reCAPTCHA for showing a challenge. Rule groups are evaluated in order. Evaluation stops when the first matching rule group is found.

repeated .google.cloud.recaptchaenterprise.v1.ChallengeRuleGroup challenge_rule_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ChallengeRuleGroup

getChallengeRuleGroupsCount()

public abstract int getChallengeRuleGroupsCount()

Optional. Rules to configure the behavior of reCAPTCHA for showing a challenge. Rule groups are evaluated in order. Evaluation stops when the first matching rule group is found.

repeated .google.cloud.recaptchaenterprise.v1.ChallengeRuleGroup challenge_rule_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getChallengeRuleGroupsList()

public abstract List<ChallengeRuleGroup> getChallengeRuleGroupsList()

Optional. Rules to configure the behavior of reCAPTCHA for showing a challenge. Rule groups are evaluated in order. Evaluation stops when the first matching rule group is found.

repeated .google.cloud.recaptchaenterprise.v1.ChallengeRuleGroup challenge_rule_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ChallengeRuleGroup>

getChallengeRuleGroupsOrBuilder(int index)

public abstract ChallengeRuleGroupOrBuilder getChallengeRuleGroupsOrBuilder(int index)

Optional. Rules to configure the behavior of reCAPTCHA for showing a challenge. Rule groups are evaluated in order. Evaluation stops when the first matching rule group is found.

repeated .google.cloud.recaptchaenterprise.v1.ChallengeRuleGroup challenge_rule_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ChallengeRuleGroupOrBuilder

getChallengeRuleGroupsOrBuilderList()

public abstract List<? extends ChallengeRuleGroupOrBuilder> getChallengeRuleGroupsOrBuilderList()

Optional. Rules to configure the behavior of reCAPTCHA for showing a challenge. Rule groups are evaluated in order. Evaluation stops when the first matching rule group is found.

repeated .google.cloud.recaptchaenterprise.v1.ChallengeRuleGroup challenge_rule_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

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

getClientSettings()

public abstract ClientSettings getClientSettings()

Required. Configuration for clients protected by this policy.

.google.cloud.recaptchaenterprise.v1.ClientSettings client_settings = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ClientSettings

The clientSettings.

getClientSettingsOrBuilder()

public abstract ClientSettingsOrBuilder getClientSettingsOrBuilder()

Required. Configuration for clients protected by this policy.

.google.cloud.recaptchaenterprise.v1.ClientSettings client_settings = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ClientSettingsOrBuilder

getName()

public abstract String getName()

Identifier. Resource name for this policy. Format: "projects/{project}/keys/{key}/policy" for a policy under a key.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. Resource name for this policy. Format: "projects/{project}/keys/{key}/policy" for a policy under a key.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

hasClientSettings()

public abstract boolean hasClientSettings()

Required. Configuration for clients protected by this policy.

.google.cloud.recaptchaenterprise.v1.ClientSettings client_settings = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the clientSettings field is set.