Class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder (1.45.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
TypeDescription
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
NameDescription
valueString

The actionTokenSiteKeys to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the actionTokenSiteKeys to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The actionTokenSiteKeys to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The sessionTokenSiteKeys to add.

Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The sessionTokenSiteKeys to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the sessionTokenSiteKeys to add.

Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

This builder for chaining.

build()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions build()
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

buildPartial()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions buildPartial()
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

This builder for chaining.

clone()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the actionTokenSiteKeys.

getDefaultInstanceForType()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions getDefaultInstanceForType()
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the sessionTokenSiteKeys.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions other)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder mergeFrom(SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions other)
Parameter
NameDescription
otherSecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The actionTokenSiteKeys to set.

Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
Overrides

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

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The sessionTokenSiteKeys to set.

Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
Overrides