Class SecurityPolicyAdaptiveProtectionConfig.Builder (1.61.0)

public static final class SecurityPolicyAdaptiveProtectionConfig.Builder extends GeneratedMessageV3.Builder<SecurityPolicyAdaptiveProtectionConfig.Builder> implements SecurityPolicyAdaptiveProtectionConfigOrBuilder

Configuration options for Cloud Armor Adaptive Protection (CAAP).

Protobuf type google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecurityPolicyAdaptiveProtectionConfig build()
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig

buildPartial()

public SecurityPolicyAdaptiveProtectionConfig buildPartial()
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLayer7DdosDefenseConfig()

public SecurityPolicyAdaptiveProtectionConfig.Builder clearLayer7DdosDefenseConfig()

If set to true, enables Cloud Armor Machine Learning.

optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig layer7_ddos_defense_config = 437316771;

Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SecurityPolicyAdaptiveProtectionConfig getDefaultInstanceForType()
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig

getDescriptorForType()

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

getLayer7DdosDefenseConfig()

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig getLayer7DdosDefenseConfig()

If set to true, enables Cloud Armor Machine Learning.

optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig layer7_ddos_defense_config = 437316771;

Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

The layer7DdosDefenseConfig.

getLayer7DdosDefenseConfigBuilder()

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder getLayer7DdosDefenseConfigBuilder()

If set to true, enables Cloud Armor Machine Learning.

optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig layer7_ddos_defense_config = 437316771;

Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

getLayer7DdosDefenseConfigOrBuilder()

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOrBuilder getLayer7DdosDefenseConfigOrBuilder()

If set to true, enables Cloud Armor Machine Learning.

optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig layer7_ddos_defense_config = 437316771;

Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOrBuilder

hasLayer7DdosDefenseConfig()

public boolean hasLayer7DdosDefenseConfig()

If set to true, enables Cloud Armor Machine Learning.

optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig layer7_ddos_defense_config = 437316771;

Returns
Type Description
boolean

Whether the layer7DdosDefenseConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecurityPolicyAdaptiveProtectionConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLayer7DdosDefenseConfig(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig value)

public SecurityPolicyAdaptiveProtectionConfig.Builder mergeLayer7DdosDefenseConfig(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig value)

If set to true, enables Cloud Armor Machine Learning.

optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig layer7_ddos_defense_config = 437316771;

Parameter
Name Description
value SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLayer7DdosDefenseConfig(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig value)

public SecurityPolicyAdaptiveProtectionConfig.Builder setLayer7DdosDefenseConfig(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig value)

If set to true, enables Cloud Armor Machine Learning.

optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig layer7_ddos_defense_config = 437316771;

Parameter
Name Description
value SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig.Builder

setLayer7DdosDefenseConfig(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder builderForValue)

public SecurityPolicyAdaptiveProtectionConfig.Builder setLayer7DdosDefenseConfig(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder builderForValue)

If set to true, enables Cloud Armor Machine Learning.

optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig layer7_ddos_defense_config = 437316771;

Parameter
Name Description
builderForValue SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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