Class SecurityPoliciesWafConfig.Builder (1.55.0)

public static final class SecurityPoliciesWafConfig.Builder extends GeneratedMessageV3.Builder<SecurityPoliciesWafConfig.Builder> implements SecurityPoliciesWafConfigOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPoliciesWafConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecurityPoliciesWafConfig build()
Returns
Type Description
SecurityPoliciesWafConfig

buildPartial()

public SecurityPoliciesWafConfig buildPartial()
Returns
Type Description
SecurityPoliciesWafConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWafRules()

public SecurityPoliciesWafConfig.Builder clearWafRules()

optional .google.cloud.compute.v1.PreconfiguredWafSet waf_rules = 74899924;

Returns
Type Description
SecurityPoliciesWafConfig.Builder

clone()

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

getDefaultInstanceForType()

public SecurityPoliciesWafConfig getDefaultInstanceForType()
Returns
Type Description
SecurityPoliciesWafConfig

getDescriptorForType()

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

getWafRules()

public PreconfiguredWafSet getWafRules()

optional .google.cloud.compute.v1.PreconfiguredWafSet waf_rules = 74899924;

Returns
Type Description
PreconfiguredWafSet

The wafRules.

getWafRulesBuilder()

public PreconfiguredWafSet.Builder getWafRulesBuilder()

optional .google.cloud.compute.v1.PreconfiguredWafSet waf_rules = 74899924;

Returns
Type Description
PreconfiguredWafSet.Builder

getWafRulesOrBuilder()

public PreconfiguredWafSetOrBuilder getWafRulesOrBuilder()

optional .google.cloud.compute.v1.PreconfiguredWafSet waf_rules = 74899924;

Returns
Type Description
PreconfiguredWafSetOrBuilder

hasWafRules()

public boolean hasWafRules()

optional .google.cloud.compute.v1.PreconfiguredWafSet waf_rules = 74899924;

Returns
Type Description
boolean

Whether the wafRules field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecurityPoliciesWafConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWafRules(PreconfiguredWafSet value)

public SecurityPoliciesWafConfig.Builder mergeWafRules(PreconfiguredWafSet value)

optional .google.cloud.compute.v1.PreconfiguredWafSet waf_rules = 74899924;

Parameter
Name Description
value PreconfiguredWafSet
Returns
Type Description
SecurityPoliciesWafConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWafRules(PreconfiguredWafSet value)

public SecurityPoliciesWafConfig.Builder setWafRules(PreconfiguredWafSet value)

optional .google.cloud.compute.v1.PreconfiguredWafSet waf_rules = 74899924;

Parameter
Name Description
value PreconfiguredWafSet
Returns
Type Description
SecurityPoliciesWafConfig.Builder

setWafRules(PreconfiguredWafSet.Builder builderForValue)

public SecurityPoliciesWafConfig.Builder setWafRules(PreconfiguredWafSet.Builder builderForValue)

optional .google.cloud.compute.v1.PreconfiguredWafSet waf_rules = 74899924;

Parameter
Name Description
builderForValue PreconfiguredWafSet.Builder
Returns
Type Description
SecurityPoliciesWafConfig.Builder