Class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder (1.50.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig>
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
Returns
TypeDescription
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
NameDescription
builderForValueSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder

build()

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig build()
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

buildPartial()

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig buildPartial()
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

clear()

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

clone()

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

getDefaultInstanceForType()

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig getDefaultInstanceForType()
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

getDescriptorForType()

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

Whether the ruleVisibility field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig other)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder mergeFrom(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig other)
Parameter
NameDescription
otherSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueboolean

The enable to set.

Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The ruleVisibility to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for ruleVisibility to set.

Returns
TypeDescription
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
NameDescription
indexint
valueSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.Builder
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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