public final class SecurityPolicyAdaptiveProtectionConfig extends GeneratedMessageV3 implements SecurityPolicyAdaptiveProtectionConfigOrBuilder
Configuration options for Cloud Armor Adaptive Protection (CAAP).
Protobuf type google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig
Static Fields
LAYER7_DDOS_DEFENSE_CONFIG_FIELD_NUMBER
public static final int LAYER7_DDOS_DEFENSE_CONFIG_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SecurityPolicyAdaptiveProtectionConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SecurityPolicyAdaptiveProtectionConfig.Builder newBuilder()
Returns
newBuilder(SecurityPolicyAdaptiveProtectionConfig prototype)
public static SecurityPolicyAdaptiveProtectionConfig.Builder newBuilder(SecurityPolicyAdaptiveProtectionConfig prototype)
Parameter
Returns
public static SecurityPolicyAdaptiveProtectionConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SecurityPolicyAdaptiveProtectionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SecurityPolicyAdaptiveProtectionConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyAdaptiveProtectionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SecurityPolicyAdaptiveProtectionConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyAdaptiveProtectionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SecurityPolicyAdaptiveProtectionConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SecurityPolicyAdaptiveProtectionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SecurityPolicyAdaptiveProtectionConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SecurityPolicyAdaptiveProtectionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SecurityPolicyAdaptiveProtectionConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyAdaptiveProtectionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SecurityPolicyAdaptiveProtectionConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public SecurityPolicyAdaptiveProtectionConfig getDefaultInstanceForType()
Returns
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
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
getParserForType()
public Parser<SecurityPolicyAdaptiveProtectionConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SecurityPolicyAdaptiveProtectionConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SecurityPolicyAdaptiveProtectionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SecurityPolicyAdaptiveProtectionConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions