Class SecurityPolicyRuleMatcherExprOptions.Builder (1.47.0)

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

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptions

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecurityPolicyRuleMatcherExprOptions build()

buildPartial()

public SecurityPolicyRuleMatcherExprOptions buildPartial()

clear()

public SecurityPolicyRuleMatcherExprOptions.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public SecurityPolicyRuleMatcherExprOptions.Builder clone()
Overrides

getDefaultInstanceForType()

public SecurityPolicyRuleMatcherExprOptions getDefaultInstanceForType()

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;

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;

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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;

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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