Class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder (1.63.0)

See more code actions.
public static final class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder extends GeneratedMessageV3.Builder<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder> implements SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.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
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()

buildPartial()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions buildPartial()

clear()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder clear()
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
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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()
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()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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