Class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder (1.93.0)

public static final class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder extends GeneratedMessage.Builder<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder> implements SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addActionTokenSiteKeys(String value)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder addActionTokenSiteKeys(String value)

A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string action_token_site_keys = 59929885;

Parameter
Name Description
value String

The actionTokenSiteKeys to add.

Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

This builder for chaining.

addActionTokenSiteKeysBytes(ByteString value)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder addActionTokenSiteKeysBytes(ByteString value)

A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string action_token_site_keys = 59929885;

Parameter
Name Description
value ByteString

The bytes of the actionTokenSiteKeys to add.

Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

This builder for chaining.

addAllActionTokenSiteKeys(Iterable<String> values)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder addAllActionTokenSiteKeys(Iterable<String> values)

A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string action_token_site_keys = 59929885;

Parameter
Name Description
values Iterable<String>

The actionTokenSiteKeys to add.

Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

This builder for chaining.

addAllSessionTokenSiteKeys(Iterable<String> values)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder addAllSessionTokenSiteKeys(Iterable<String> values)

A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string session_token_site_keys = 333363581;

Parameter
Name Description
values Iterable<String>

The sessionTokenSiteKeys to add.

Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

This builder for chaining.

addSessionTokenSiteKeys(String value)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder addSessionTokenSiteKeys(String value)

A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string session_token_site_keys = 333363581;

Parameter
Name Description
value String

The sessionTokenSiteKeys to add.

Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

This builder for chaining.

addSessionTokenSiteKeysBytes(ByteString value)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder addSessionTokenSiteKeysBytes(ByteString value)

A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string session_token_site_keys = 333363581;

Parameter
Name Description
value ByteString

The bytes of the sessionTokenSiteKeys to add.

Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

This builder for chaining.

build()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions build()
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

buildPartial()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions buildPartial()
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

clear()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder clear()
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
Overrides

clearActionTokenSiteKeys()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder clearActionTokenSiteKeys()

A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string action_token_site_keys = 59929885;

Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

This builder for chaining.

clearSessionTokenSiteKeys()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder clearSessionTokenSiteKeys()

A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string session_token_site_keys = 333363581;

Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

This builder for chaining.

getActionTokenSiteKeys(int index)

public String getActionTokenSiteKeys(int index)

A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string action_token_site_keys = 59929885;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The actionTokenSiteKeys at the given index.

getActionTokenSiteKeysBytes(int index)

public ByteString getActionTokenSiteKeysBytes(int index)

A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string action_token_site_keys = 59929885;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the actionTokenSiteKeys at the given index.

getActionTokenSiteKeysCount()

public int getActionTokenSiteKeysCount()

A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string action_token_site_keys = 59929885;

Returns
Type Description
int

The count of actionTokenSiteKeys.

getActionTokenSiteKeysList()

public ProtocolStringList getActionTokenSiteKeysList()

A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string action_token_site_keys = 59929885;

Returns
Type Description
ProtocolStringList

A list containing the actionTokenSiteKeys.

getDefaultInstanceForType()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions getDefaultInstanceForType()
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSessionTokenSiteKeys(int index)

public String getSessionTokenSiteKeys(int index)

A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string session_token_site_keys = 333363581;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The sessionTokenSiteKeys at the given index.

getSessionTokenSiteKeysBytes(int index)

public ByteString getSessionTokenSiteKeysBytes(int index)

A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string session_token_site_keys = 333363581;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the sessionTokenSiteKeys at the given index.

getSessionTokenSiteKeysCount()

public int getSessionTokenSiteKeysCount()

A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string session_token_site_keys = 333363581;

Returns
Type Description
int

The count of sessionTokenSiteKeys.

getSessionTokenSiteKeysList()

public ProtocolStringList getSessionTokenSiteKeysList()

A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string session_token_site_keys = 333363581;

Returns
Type Description
ProtocolStringList

A list containing the sessionTokenSiteKeys.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions other)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder mergeFrom(SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions other)
Parameter
Name Description
other SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
Overrides

setActionTokenSiteKeys(int index, String value)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder setActionTokenSiteKeys(int index, String value)

A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string action_token_site_keys = 59929885;

Parameters
Name Description
index int

The index to set the value at.

value String

The actionTokenSiteKeys to set.

Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

This builder for chaining.

setSessionTokenSiteKeys(int index, String value)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder setSessionTokenSiteKeys(int index, String value)

A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string session_token_site_keys = 333363581;

Parameters
Name Description
index int

The index to set the value at.

value String

The sessionTokenSiteKeys to set.

Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

This builder for chaining.