Class SecurityPolicyRuleMatcherExprOptions.Builder (1.51.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecurityPolicyRuleMatcherExprOptions build()
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptions

buildPartial()

public SecurityPolicyRuleMatcherExprOptions buildPartial()
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptions

clear()

public SecurityPolicyRuleMatcherExprOptions.Builder clear()
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptions.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public SecurityPolicyRuleMatcherExprOptions.Builder clone()
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptions.Builder
Overrides

getDefaultInstanceForType()

public SecurityPolicyRuleMatcherExprOptions getDefaultInstanceForType()
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptions

getDescriptorForType()

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

Whether the recaptchaOptions field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SecurityPolicyRuleMatcherExprOptions other)

public SecurityPolicyRuleMatcherExprOptions.Builder mergeFrom(SecurityPolicyRuleMatcherExprOptions other)
Parameter
NameDescription
otherSecurityPolicyRuleMatcherExprOptions
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SecurityPolicyRuleMatcherExprOptions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPolicyRuleMatcherExprOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptions.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SecurityPolicyRuleMatcherExprOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Returns
TypeDescription
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
NameDescription
builderForValueSecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptions.Builder

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

public SecurityPolicyRuleMatcherExprOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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