Class AdaptiveProtection (2.55.0)

public final class AdaptiveProtection extends GeneratedMessageV3 implements AdaptiveProtectionOrBuilder

Information about Google Cloud Armor Adaptive Protection.

Protobuf type google.cloud.securitycenter.v2.AdaptiveProtection

Static Fields

CONFIDENCE_FIELD_NUMBER

public static final int CONFIDENCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AdaptiveProtection getDefaultInstance()
Returns
Type Description
AdaptiveProtection

getDescriptor()

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

newBuilder()

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

newBuilder(AdaptiveProtection prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConfidence()

public double getConfidence()

A score of 0 means that there is low confidence that the detected event is an actual attack. A score of 1 means that there is high confidence that the detected event is an attack. See the Adaptive Protection documentation for further explanation.

double confidence = 1;

Returns
Type Description
double

The confidence.

getDefaultInstanceForType()

public AdaptiveProtection getDefaultInstanceForType()
Returns
Type Description
AdaptiveProtection

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 AdaptiveProtection.Builder newBuilderForType()
Returns
Type Description
AdaptiveProtection.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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