Class SecurityPolicyAdaptiveProtectionConfig.Builder (1.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecurityPolicyAdaptiveProtectionConfig build()
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig

buildPartial()

public SecurityPolicyAdaptiveProtectionConfig buildPartial()
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

public SecurityPolicyAdaptiveProtectionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SecurityPolicyAdaptiveProtectionConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SecurityPolicyAdaptiveProtectionConfig getDefaultInstanceForType()
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the layer7DdosDefenseConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SecurityPolicyAdaptiveProtectionConfig other)

public SecurityPolicyAdaptiveProtectionConfig.Builder mergeFrom(SecurityPolicyAdaptiveProtectionConfig other)
Parameter
NameDescription
otherSecurityPolicyAdaptiveProtectionConfig
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SecurityPolicyAdaptiveProtectionConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public SecurityPolicyAdaptiveProtectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
Returns
TypeDescription
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
NameDescription
builderForValueSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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