public static final class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder extends GeneratedMessage.Builder<SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder> implements SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOrBuilderConfiguration 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
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.BuilderStatic 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 |
|
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 |
|
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. |
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 |
|
getDefaultInstanceForType()
public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder |
|
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 |
booleanThe enable to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe 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 |
|