Class SecurityPolicyRuleMatcherExprOptions.Builder (1.65.0)

public static final class SecurityPolicyRuleMatcherExprOptions.Builder extends GeneratedMessageV3.Builder<SecurityPolicyRuleMatcherExprOptions.Builder> implements SecurityPolicyRuleMatcherExprOptionsOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptions

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecurityPolicyRuleMatcherExprOptions build()
Returns
Type Description
SecurityPolicyRuleMatcherExprOptions

buildPartial()

public SecurityPolicyRuleMatcherExprOptions buildPartial()
Returns
Type Description
SecurityPolicyRuleMatcherExprOptions

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRecaptchaOptions()

public SecurityPolicyRuleMatcherExprOptions.Builder clearRecaptchaOptions()

reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect.

optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions recaptcha_options = 389151558;

Returns
Type Description
SecurityPolicyRuleMatcherExprOptions.Builder

clone()

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

getDefaultInstanceForType()

public SecurityPolicyRuleMatcherExprOptions getDefaultInstanceForType()
Returns
Type Description
SecurityPolicyRuleMatcherExprOptions

getDescriptorForType()

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

getRecaptchaOptions()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions getRecaptchaOptions()

reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect.

optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions recaptcha_options = 389151558;

Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

The recaptchaOptions.

getRecaptchaOptionsBuilder()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder getRecaptchaOptionsBuilder()

reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect.

optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions recaptcha_options = 389151558;

Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

getRecaptchaOptionsOrBuilder()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder getRecaptchaOptionsOrBuilder()

reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect.

optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions recaptcha_options = 389151558;

Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder

hasRecaptchaOptions()

public boolean hasRecaptchaOptions()

reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect.

optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions recaptcha_options = 389151558;

Returns
Type Description
boolean

Whether the recaptchaOptions field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecurityPolicyRuleMatcherExprOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRecaptchaOptions(SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions value)

public SecurityPolicyRuleMatcherExprOptions.Builder mergeRecaptchaOptions(SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions value)

reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect.

optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions recaptcha_options = 389151558;

Parameter
Name Description
value SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Returns
Type Description
SecurityPolicyRuleMatcherExprOptions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPolicyRuleMatcherExprOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SecurityPolicyRuleMatcherExprOptions.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setRecaptchaOptions(SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions value)

public SecurityPolicyRuleMatcherExprOptions.Builder setRecaptchaOptions(SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions value)

reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect.

optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions recaptcha_options = 389151558;

Parameter
Name Description
value SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Returns
Type Description
SecurityPolicyRuleMatcherExprOptions.Builder

setRecaptchaOptions(SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder builderForValue)

public SecurityPolicyRuleMatcherExprOptions.Builder setRecaptchaOptions(SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder builderForValue)

reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect.

optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions recaptcha_options = 389151558;

Parameter
Name Description
builderForValue SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
Returns
Type Description
SecurityPolicyRuleMatcherExprOptions.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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