Class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder (1.8.1)

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

Configuration options for L7 DDoS detection.

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

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. Check the RuleVisibility enum for the list of possible values.

optional string rule_visibility = 453258293;

Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

This builder for chaining.

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.

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. 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. Check the RuleVisibility enum for the list of possible values.

optional string rule_visibility = 453258293;

Returns
TypeDescription
ByteString

The bytes for ruleVisibility.

hasEnable()

public boolean hasEnable()

If set to true, enables CAAP for L7 DDoS detection.

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. 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

setEnable(boolean value)

public SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder setEnable(boolean value)

If set to true, enables CAAP for L7 DDoS detection.

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. 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. 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.

setUnknownFields(UnknownFieldSet unknownFields)

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