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
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AgentAnomaly.Builder newBuilder()
newBuilder(AgentAnomaly prototype)
public static AgentAnomaly.Builder newBuilder(AgentAnomaly prototype)
public static AgentAnomaly parseDelimitedFrom(InputStream input)
public static AgentAnomaly parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AgentAnomaly parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AgentAnomaly parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AgentAnomaly parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AgentAnomaly parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AgentAnomaly parseFrom(CodedInputStream input)
public static AgentAnomaly parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AgentAnomaly parseFrom(InputStream input)
public static AgentAnomaly parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AgentAnomaly parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AgentAnomaly parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AgentAnomaly> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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()
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
|
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;
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
|
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
|
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;
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
|
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()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AgentAnomaly.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AgentAnomaly.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public AgentAnomaly.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides