Class SecurityPolicyRulePreconfiguredWafConfig.Builder (1.58.0)

public static final class SecurityPolicyRulePreconfiguredWafConfig.Builder extends GeneratedMessageV3.Builder<SecurityPolicyRulePreconfiguredWafConfig.Builder> implements SecurityPolicyRulePreconfiguredWafConfigOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfig

Static Methods

getDescriptor()

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

Methods

addAllExclusions(Iterable<? extends SecurityPolicyRulePreconfiguredWafConfigExclusion> values)

public SecurityPolicyRulePreconfiguredWafConfig.Builder addAllExclusions(Iterable<? extends SecurityPolicyRulePreconfiguredWafConfigExclusion> values)

A list of exclusions to apply during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion>
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfig.Builder

addExclusions(SecurityPolicyRulePreconfiguredWafConfigExclusion value)

public SecurityPolicyRulePreconfiguredWafConfig.Builder addExclusions(SecurityPolicyRulePreconfiguredWafConfigExclusion value)

A list of exclusions to apply during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701;

Parameter
Name Description
value SecurityPolicyRulePreconfiguredWafConfigExclusion
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfig.Builder

addExclusions(SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder builderForValue)

public SecurityPolicyRulePreconfiguredWafConfig.Builder addExclusions(SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder builderForValue)

A list of exclusions to apply during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701;

Parameter
Name Description
builderForValue SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfig.Builder

addExclusions(int index, SecurityPolicyRulePreconfiguredWafConfigExclusion value)

public SecurityPolicyRulePreconfiguredWafConfig.Builder addExclusions(int index, SecurityPolicyRulePreconfiguredWafConfigExclusion value)

A list of exclusions to apply during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701;

Parameters
Name Description
index int
value SecurityPolicyRulePreconfiguredWafConfigExclusion
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfig.Builder

addExclusions(int index, SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder builderForValue)

public SecurityPolicyRulePreconfiguredWafConfig.Builder addExclusions(int index, SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder builderForValue)

A list of exclusions to apply during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701;

Parameters
Name Description
index int
builderForValue SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfig.Builder

addExclusionsBuilder()

public SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder addExclusionsBuilder()

A list of exclusions to apply during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701;

Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder

addExclusionsBuilder(int index)

public SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder addExclusionsBuilder(int index)

A list of exclusions to apply during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecurityPolicyRulePreconfiguredWafConfig build()
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfig

buildPartial()

public SecurityPolicyRulePreconfiguredWafConfig buildPartial()
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfig

clear()

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

clearExclusions()

public SecurityPolicyRulePreconfiguredWafConfig.Builder clearExclusions()

A list of exclusions to apply during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701;

Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SecurityPolicyRulePreconfiguredWafConfig getDefaultInstanceForType()
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfig

getDescriptorForType()

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

getExclusions(int index)

public SecurityPolicyRulePreconfiguredWafConfigExclusion getExclusions(int index)

A list of exclusions to apply during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfigExclusion

getExclusionsBuilder(int index)

public SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder getExclusionsBuilder(int index)

A list of exclusions to apply during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder

getExclusionsBuilderList()

public List<SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder> getExclusionsBuilderList()

A list of exclusions to apply during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701;

Returns
Type Description
List<Builder>

getExclusionsCount()

public int getExclusionsCount()

A list of exclusions to apply during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701;

Returns
Type Description
int

getExclusionsList()

public List<SecurityPolicyRulePreconfiguredWafConfigExclusion> getExclusionsList()

A list of exclusions to apply during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701;

Returns
Type Description
List<SecurityPolicyRulePreconfiguredWafConfigExclusion>

getExclusionsOrBuilder(int index)

public SecurityPolicyRulePreconfiguredWafConfigExclusionOrBuilder getExclusionsOrBuilder(int index)

A list of exclusions to apply during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfigExclusionOrBuilder

getExclusionsOrBuilderList()

public List<? extends SecurityPolicyRulePreconfiguredWafConfigExclusionOrBuilder> getExclusionsOrBuilderList()

A list of exclusions to apply during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecurityPolicyRulePreconfiguredWafConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeExclusions(int index)

public SecurityPolicyRulePreconfiguredWafConfig.Builder removeExclusions(int index)

A list of exclusions to apply during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfig.Builder

setExclusions(int index, SecurityPolicyRulePreconfiguredWafConfigExclusion value)

public SecurityPolicyRulePreconfiguredWafConfig.Builder setExclusions(int index, SecurityPolicyRulePreconfiguredWafConfigExclusion value)

A list of exclusions to apply during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701;

Parameters
Name Description
index int
value SecurityPolicyRulePreconfiguredWafConfigExclusion
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfig.Builder

setExclusions(int index, SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder builderForValue)

public SecurityPolicyRulePreconfiguredWafConfig.Builder setExclusions(int index, SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder builderForValue)

A list of exclusions to apply during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701;

Parameters
Name Description
index int
builderForValue SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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