Class SecurityPolicyAdaptiveProtectionConfig (1.62.0)

public final class SecurityPolicyAdaptiveProtectionConfig extends GeneratedMessageV3 implements SecurityPolicyAdaptiveProtectionConfigOrBuilder

Configuration options for Cloud Armor Adaptive Protection (CAAP).

Protobuf type google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SecurityPolicyAdaptiveProtectionConfig

Static Fields

LAYER7_DDOS_DEFENSE_CONFIG_FIELD_NUMBER

public static final int LAYER7_DDOS_DEFENSE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SecurityPolicyAdaptiveProtectionConfig getDefaultInstance()
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SecurityPolicyAdaptiveProtectionConfig.Builder newBuilder()
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig.Builder

newBuilder(SecurityPolicyAdaptiveProtectionConfig prototype)

public static SecurityPolicyAdaptiveProtectionConfig.Builder newBuilder(SecurityPolicyAdaptiveProtectionConfig prototype)
Parameter
Name Description
prototype SecurityPolicyAdaptiveProtectionConfig
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig.Builder

parseDelimitedFrom(InputStream input)

public static SecurityPolicyAdaptiveProtectionConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdaptiveProtectionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SecurityPolicyAdaptiveProtectionConfig> parser()
Returns
Type Description
Parser<SecurityPolicyAdaptiveProtectionConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SecurityPolicyAdaptiveProtectionConfig getDefaultInstanceForType()
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig

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
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

The layer7DdosDefenseConfig.

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
Type Description
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOrBuilder

getParserForType()

public Parser<SecurityPolicyAdaptiveProtectionConfig> getParserForType()
Returns
Type Description
Parser<SecurityPolicyAdaptiveProtectionConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SecurityPolicyAdaptiveProtectionConfig.Builder newBuilderForType()
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecurityPolicyAdaptiveProtectionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SecurityPolicyAdaptiveProtectionConfig.Builder toBuilder()
Returns
Type Description
SecurityPolicyAdaptiveProtectionConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException