Class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder (1.53.0)

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

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.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.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
Overrides