Class SecurityPoliciesWafConfig.Builder (1.44.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecurityPoliciesWafConfig build()
Returns
TypeDescription
SecurityPoliciesWafConfig

buildPartial()

public SecurityPoliciesWafConfig buildPartial()
Returns
TypeDescription
SecurityPoliciesWafConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWafRules()

public SecurityPoliciesWafConfig.Builder clearWafRules()

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

Returns
TypeDescription
SecurityPoliciesWafConfig.Builder

clone()

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

getDefaultInstanceForType()

public SecurityPoliciesWafConfig getDefaultInstanceForType()
Returns
TypeDescription
SecurityPoliciesWafConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getWafRules()

public PreconfiguredWafSet getWafRules()

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

Returns
TypeDescription
PreconfiguredWafSet

The wafRules.

getWafRulesBuilder()

public PreconfiguredWafSet.Builder getWafRulesBuilder()

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

Returns
TypeDescription
PreconfiguredWafSet.Builder

getWafRulesOrBuilder()

public PreconfiguredWafSetOrBuilder getWafRulesOrBuilder()

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

Returns
TypeDescription
PreconfiguredWafSetOrBuilder

hasWafRules()

public boolean hasWafRules()

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

Returns
TypeDescription
boolean

Whether the wafRules field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SecurityPoliciesWafConfig other)

public SecurityPoliciesWafConfig.Builder mergeFrom(SecurityPoliciesWafConfig other)
Parameter
NameDescription
otherSecurityPoliciesWafConfig
Returns
TypeDescription
SecurityPoliciesWafConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWafRules(PreconfiguredWafSet value)

public SecurityPoliciesWafConfig.Builder mergeWafRules(PreconfiguredWafSet value)

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

Parameter
NameDescription
valuePreconfiguredWafSet
Returns
TypeDescription
SecurityPoliciesWafConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWafRules(PreconfiguredWafSet value)

public SecurityPoliciesWafConfig.Builder setWafRules(PreconfiguredWafSet value)

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

Parameter
NameDescription
valuePreconfiguredWafSet
Returns
TypeDescription
SecurityPoliciesWafConfig.Builder

setWafRules(PreconfiguredWafSet.Builder builderForValue)

public SecurityPoliciesWafConfig.Builder setWafRules(PreconfiguredWafSet.Builder builderForValue)

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

Parameter
NameDescription
builderForValuePreconfiguredWafSet.Builder
Returns
TypeDescription
SecurityPoliciesWafConfig.Builder