Class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder (1.64.0)

public static final class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder extends GeneratedMessageV3.Builder<SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder> implements SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOrBuilder

Configuration options for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.

Protobuf type google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

Static Methods

getDescriptor()

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

Methods

addAllThresholdConfigs(Iterable<? extends SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig> values)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder addAllThresholdConfigs(Iterable<? extends SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig> values)

Configuration options for layer7 adaptive protection for various customizable thresholds.

repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig>
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addThresholdConfigs(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig value)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder addThresholdConfigs(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig value)

Configuration options for layer7 adaptive protection for various customizable thresholds.

repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805;

Parameter
Name Description
value SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

addThresholdConfigs(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder builderForValue)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder addThresholdConfigs(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder builderForValue)

Configuration options for layer7 adaptive protection for various customizable thresholds.

repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805;

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

addThresholdConfigs(int index, SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig value)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder addThresholdConfigs(int index, SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig value)

Configuration options for layer7 adaptive protection for various customizable thresholds.

repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805;

Parameters
Name Description
index int
value SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

addThresholdConfigs(int index, SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder builderForValue)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder addThresholdConfigs(int index, SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder builderForValue)

Configuration options for layer7 adaptive protection for various customizable thresholds.

repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805;

Parameters
Name Description
index int
builderForValue SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

addThresholdConfigsBuilder()

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder addThresholdConfigsBuilder()

Configuration options for layer7 adaptive protection for various customizable thresholds.

repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805;

Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder

addThresholdConfigsBuilder(int index)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder addThresholdConfigsBuilder(int index)

Configuration options for layer7 adaptive protection for various customizable thresholds.

repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder

build()

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig build()
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

buildPartial()

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig buildPartial()
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

clear()

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

clearEnable()

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder clearEnable()

If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.

optional bool enable = 311764355;

Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRuleVisibility()

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder clearRuleVisibility()

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR. Check the RuleVisibility enum for the list of possible values.

optional string rule_visibility = 453258293;

Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

This builder for chaining.

clearThresholdConfigs()

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder clearThresholdConfigs()

Configuration options for layer7 adaptive protection for various customizable thresholds.

repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805;

Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

clone()

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

getDefaultInstanceForType()

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig getDefaultInstanceForType()
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

getDescriptorForType()

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

getEnable()

public boolean getEnable()

If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.

optional bool enable = 311764355;

Returns
Type Description
boolean

The enable.

getRuleVisibility()

public String getRuleVisibility()

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR. Check the RuleVisibility enum for the list of possible values.

optional string rule_visibility = 453258293;

Returns
Type Description
String

The ruleVisibility.

getRuleVisibilityBytes()

public ByteString getRuleVisibilityBytes()

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR. Check the RuleVisibility enum for the list of possible values.

optional string rule_visibility = 453258293;

Returns
Type Description
ByteString

The bytes for ruleVisibility.

getThresholdConfigs(int index)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig getThresholdConfigs(int index)

Configuration options for layer7 adaptive protection for various customizable thresholds.

repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig

getThresholdConfigsBuilder(int index)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder getThresholdConfigsBuilder(int index)

Configuration options for layer7 adaptive protection for various customizable thresholds.

repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder

getThresholdConfigsBuilderList()

public List<SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder> getThresholdConfigsBuilderList()

Configuration options for layer7 adaptive protection for various customizable thresholds.

repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805;

Returns
Type Description
List<Builder>

getThresholdConfigsCount()

public int getThresholdConfigsCount()

Configuration options for layer7 adaptive protection for various customizable thresholds.

repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805;

Returns
Type Description
int

getThresholdConfigsList()

public List<SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig> getThresholdConfigsList()

Configuration options for layer7 adaptive protection for various customizable thresholds.

repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805;

Returns
Type Description
List<SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig>

getThresholdConfigsOrBuilder(int index)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigOrBuilder getThresholdConfigsOrBuilder(int index)

Configuration options for layer7 adaptive protection for various customizable thresholds.

repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigOrBuilder

getThresholdConfigsOrBuilderList()

public List<? extends SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigOrBuilder> getThresholdConfigsOrBuilderList()

Configuration options for layer7 adaptive protection for various customizable thresholds.

repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigOrBuilder>

hasEnable()

public boolean hasEnable()

If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.

optional bool enable = 311764355;

Returns
Type Description
boolean

Whether the enable field is set.

hasRuleVisibility()

public boolean hasRuleVisibility()

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR. Check the RuleVisibility enum for the list of possible values.

optional string rule_visibility = 453258293;

Returns
Type Description
boolean

Whether the ruleVisibility field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeThresholdConfigs(int index)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder removeThresholdConfigs(int index)

Configuration options for layer7 adaptive protection for various customizable thresholds.

repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

setEnable(boolean value)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder setEnable(boolean value)

If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.

optional bool enable = 311764355;

Parameter
Name Description
value boolean

The enable to set.

Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRuleVisibility(String value)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder setRuleVisibility(String value)

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR. Check the RuleVisibility enum for the list of possible values.

optional string rule_visibility = 453258293;

Parameter
Name Description
value String

The ruleVisibility to set.

Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

This builder for chaining.

setRuleVisibilityBytes(ByteString value)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder setRuleVisibilityBytes(ByteString value)

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR. Check the RuleVisibility enum for the list of possible values.

optional string rule_visibility = 453258293;

Parameter
Name Description
value ByteString

The bytes for ruleVisibility to set.

Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

This builder for chaining.

setThresholdConfigs(int index, SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig value)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder setThresholdConfigs(int index, SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig value)

Configuration options for layer7 adaptive protection for various customizable thresholds.

repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805;

Parameters
Name Description
index int
value SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

setThresholdConfigs(int index, SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder builderForValue)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder setThresholdConfigs(int index, SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder builderForValue)

Configuration options for layer7 adaptive protection for various customizable thresholds.

repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805;

Parameters
Name Description
index int
builderForValue SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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