Class AgentAnomaly (2.103.0)

public final class AgentAnomaly extends GeneratedMessage implements AgentAnomalyOrBuilder

Represents details about an anomaly detected in an AI agent's behavior.

Protobuf type google.cloud.securitycenter.v2.AgentAnomaly

Static Fields

CONFIDENCE_SCORE_FIELD_NUMBER

public static final int CONFIDENCE_SCORE_FIELD_NUMBER
Field Value
Type Description
int

DETECTOR_REFERENCES_FIELD_NUMBER

public static final int DETECTOR_REFERENCES_FIELD_NUMBER
Field Value
Type Description
int

INVOCATION_REFERENCES_FIELD_NUMBER

public static final int INVOCATION_REFERENCES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AgentAnomaly getDefaultInstance()
Returns
Type Description
AgentAnomaly

getDescriptor()

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

newBuilder()

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

newBuilder(AgentAnomaly prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConfidenceScore()

public double getConfidenceScore()

The overall confidence score indicating the likelihood that this session contains a true anomaly. The score ranges from 0.0 to 1.0, where 1.0 signifies 100% confidence in the presence of an anomaly and 0.0 signifies 0% confidence.

double confidence_score = 1;

Returns
Type Description
double

The confidenceScore.

getDefaultInstanceForType()

public AgentAnomaly getDefaultInstanceForType()
Returns
Type Description
AgentAnomaly

getDetectorReferences(int index)

public DetectorReference getDetectorReferences(int index)

The list of references to specific detectors that identified anomalies within this session.

repeated .google.cloud.securitycenter.v2.DetectorReference detector_references = 2;

Parameter
Name Description
index int
Returns
Type Description
DetectorReference

getDetectorReferencesCount()

public int getDetectorReferencesCount()

The list of references to specific detectors that identified anomalies within this session.

repeated .google.cloud.securitycenter.v2.DetectorReference detector_references = 2;

Returns
Type Description
int

getDetectorReferencesList()

public List<DetectorReference> getDetectorReferencesList()

The list of references to specific detectors that identified anomalies within this session.

repeated .google.cloud.securitycenter.v2.DetectorReference detector_references = 2;

Returns
Type Description
List<DetectorReference>

getDetectorReferencesOrBuilder(int index)

public DetectorReferenceOrBuilder getDetectorReferencesOrBuilder(int index)

The list of references to specific detectors that identified anomalies within this session.

repeated .google.cloud.securitycenter.v2.DetectorReference detector_references = 2;

Parameter
Name Description
index int
Returns
Type Description
DetectorReferenceOrBuilder

getDetectorReferencesOrBuilderList()

public List<? extends DetectorReferenceOrBuilder> getDetectorReferencesOrBuilderList()

The list of references to specific detectors that identified anomalies within this session.

repeated .google.cloud.securitycenter.v2.DetectorReference detector_references = 2;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v2.DetectorReferenceOrBuilder>

getInvocationReferences(int index)

public InvocationReference getInvocationReferences(int index)

References to the OpenTelemetry invocations.

repeated .google.cloud.securitycenter.v2.InvocationReference invocation_references = 3;

Parameter
Name Description
index int
Returns
Type Description
InvocationReference

getInvocationReferencesCount()

public int getInvocationReferencesCount()

References to the OpenTelemetry invocations.

repeated .google.cloud.securitycenter.v2.InvocationReference invocation_references = 3;

Returns
Type Description
int

getInvocationReferencesList()

public List<InvocationReference> getInvocationReferencesList()

References to the OpenTelemetry invocations.

repeated .google.cloud.securitycenter.v2.InvocationReference invocation_references = 3;

Returns
Type Description
List<InvocationReference>

getInvocationReferencesOrBuilder(int index)

public InvocationReferenceOrBuilder getInvocationReferencesOrBuilder(int index)

References to the OpenTelemetry invocations.

repeated .google.cloud.securitycenter.v2.InvocationReference invocation_references = 3;

Parameter
Name Description
index int
Returns
Type Description
InvocationReferenceOrBuilder

getInvocationReferencesOrBuilderList()

public List<? extends InvocationReferenceOrBuilder> getInvocationReferencesOrBuilderList()

References to the OpenTelemetry invocations.

repeated .google.cloud.securitycenter.v2.InvocationReference invocation_references = 3;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v2.InvocationReferenceOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected AgentAnomaly.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AgentAnomaly.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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