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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyAdaptiveProtectionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SecurityPolicyAdaptiveProtectionConfig build()
Returns
buildPartial()
public SecurityPolicyAdaptiveProtectionConfig buildPartial()
Returns
clear()
public SecurityPolicyAdaptiveProtectionConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SecurityPolicyAdaptiveProtectionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityPolicyAdaptiveProtectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public SecurityPolicyAdaptiveProtectionConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SecurityPolicyAdaptiveProtectionConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
Type | Description |
boolean | Whether the layer7DdosDefenseConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SecurityPolicyAdaptiveProtectionConfig other)
public SecurityPolicyAdaptiveProtectionConfig.Builder mergeFrom(SecurityPolicyAdaptiveProtectionConfig other)
Parameter
Returns
public SecurityPolicyAdaptiveProtectionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SecurityPolicyAdaptiveProtectionConfig.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyAdaptiveProtectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyAdaptiveProtectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityPolicyAdaptiveProtectionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyAdaptiveProtectionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides