Class SecurityPolicyAdaptiveProtectionConfig (1.49.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static SecurityPolicyAdaptiveProtectionConfig getDefaultInstance()
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SecurityPolicyAdaptiveProtectionConfig.Builder newBuilder()
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig.Builder

newBuilder(SecurityPolicyAdaptiveProtectionConfig prototype)

public static SecurityPolicyAdaptiveProtectionConfig.Builder newBuilder(SecurityPolicyAdaptiveProtectionConfig prototype)
Parameter
NameDescription
prototypeSecurityPolicyAdaptiveProtectionConfig
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig.Builder

parseDelimitedFrom(InputStream input)

public static SecurityPolicyAdaptiveProtectionConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdaptiveProtectionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyAdaptiveProtectionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SecurityPolicyAdaptiveProtectionConfig> parser()
Returns
TypeDescription
Parser<SecurityPolicyAdaptiveProtectionConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SecurityPolicyAdaptiveProtectionConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOrBuilder

getParserForType()

public Parser<SecurityPolicyAdaptiveProtectionConfig> getParserForType()
Returns
TypeDescription
Parser<SecurityPolicyAdaptiveProtectionConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the layer7DdosDefenseConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SecurityPolicyAdaptiveProtectionConfig.Builder newBuilderForType()
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecurityPolicyAdaptiveProtectionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SecurityPolicyAdaptiveProtectionConfig.Builder toBuilder()
Returns
TypeDescription
SecurityPolicyAdaptiveProtectionConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException