Class SecurityPolicyRulePreconfiguredWafConfig.Builder (1.31.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion>
Returns
TypeDescription
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
NameDescription
valueSecurityPolicyRulePreconfiguredWafConfigExclusion
Returns
TypeDescription
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
NameDescription
builderForValueSecurityPolicyRulePreconfiguredWafConfigExclusion.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSecurityPolicyRulePreconfiguredWafConfigExclusion
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSecurityPolicyRulePreconfiguredWafConfigExclusion.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecurityPolicyRulePreconfiguredWafConfig build()
Returns
TypeDescription
SecurityPolicyRulePreconfiguredWafConfig

buildPartial()

public SecurityPolicyRulePreconfiguredWafConfig buildPartial()
Returns
TypeDescription
SecurityPolicyRulePreconfiguredWafConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SecurityPolicyRulePreconfiguredWafConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SecurityPolicyRulePreconfiguredWafConfig.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public SecurityPolicyRulePreconfiguredWafConfig getDefaultInstanceForType()
Returns
TypeDescription
SecurityPolicyRulePreconfiguredWafConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SecurityPolicyRulePreconfiguredWafConfig other)

public SecurityPolicyRulePreconfiguredWafConfig.Builder mergeFrom(SecurityPolicyRulePreconfiguredWafConfig other)
Parameter
NameDescription
otherSecurityPolicyRulePreconfiguredWafConfig
Returns
TypeDescription
SecurityPolicyRulePreconfiguredWafConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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