public static final class AgentAnomaly.Builder extends GeneratedMessage.Builder<AgentAnomaly.Builder> implements AgentAnomalyOrBuilderRepresents details about an anomaly detected in an AI agent's behavior.
Protobuf type google.cloud.securitycenter.v2.AgentAnomaly
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AgentAnomaly.BuilderImplements
AgentAnomalyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDetectorReferences(Iterable<? extends DetectorReference> values)
public AgentAnomaly.Builder addAllDetectorReferences(Iterable<? extends DetectorReference> values)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 |
values |
Iterable<? extends com.google.cloud.securitycenter.v2.DetectorReference> |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
addAllInvocationReferences(Iterable<? extends InvocationReference> values)
public AgentAnomaly.Builder addAllInvocationReferences(Iterable<? extends InvocationReference> values)References to the OpenTelemetry invocations.
repeated .google.cloud.securitycenter.v2.InvocationReference invocation_references = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.securitycenter.v2.InvocationReference> |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
addDetectorReferences(DetectorReference value)
public AgentAnomaly.Builder addDetectorReferences(DetectorReference value)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 |
value |
DetectorReference |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
addDetectorReferences(DetectorReference.Builder builderForValue)
public AgentAnomaly.Builder addDetectorReferences(DetectorReference.Builder builderForValue)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 |
builderForValue |
DetectorReference.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
addDetectorReferences(int index, DetectorReference value)
public AgentAnomaly.Builder addDetectorReferences(int index, DetectorReference value)The list of references to specific detectors that identified anomalies within this session.
repeated .google.cloud.securitycenter.v2.DetectorReference detector_references = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DetectorReference |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
addDetectorReferences(int index, DetectorReference.Builder builderForValue)
public AgentAnomaly.Builder addDetectorReferences(int index, DetectorReference.Builder builderForValue)The list of references to specific detectors that identified anomalies within this session.
repeated .google.cloud.securitycenter.v2.DetectorReference detector_references = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DetectorReference.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
addDetectorReferencesBuilder()
public DetectorReference.Builder addDetectorReferencesBuilder()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 |
DetectorReference.Builder |
|
addDetectorReferencesBuilder(int index)
public DetectorReference.Builder addDetectorReferencesBuilder(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.Builder |
|
addInvocationReferences(InvocationReference value)
public AgentAnomaly.Builder addInvocationReferences(InvocationReference value)References to the OpenTelemetry invocations.
repeated .google.cloud.securitycenter.v2.InvocationReference invocation_references = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
InvocationReference |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
addInvocationReferences(InvocationReference.Builder builderForValue)
public AgentAnomaly.Builder addInvocationReferences(InvocationReference.Builder builderForValue)References to the OpenTelemetry invocations.
repeated .google.cloud.securitycenter.v2.InvocationReference invocation_references = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
InvocationReference.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
addInvocationReferences(int index, InvocationReference value)
public AgentAnomaly.Builder addInvocationReferences(int index, InvocationReference value)References to the OpenTelemetry invocations.
repeated .google.cloud.securitycenter.v2.InvocationReference invocation_references = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
InvocationReference |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
addInvocationReferences(int index, InvocationReference.Builder builderForValue)
public AgentAnomaly.Builder addInvocationReferences(int index, InvocationReference.Builder builderForValue)References to the OpenTelemetry invocations.
repeated .google.cloud.securitycenter.v2.InvocationReference invocation_references = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
InvocationReference.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
addInvocationReferencesBuilder()
public InvocationReference.Builder addInvocationReferencesBuilder()References to the OpenTelemetry invocations.
repeated .google.cloud.securitycenter.v2.InvocationReference invocation_references = 3;
| Returns | |
|---|---|
| Type | Description |
InvocationReference.Builder |
|
addInvocationReferencesBuilder(int index)
public InvocationReference.Builder addInvocationReferencesBuilder(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.Builder |
|
build()
public AgentAnomaly build()| Returns | |
|---|---|
| Type | Description |
AgentAnomaly |
|
buildPartial()
public AgentAnomaly buildPartial()| Returns | |
|---|---|
| Type | Description |
AgentAnomaly |
|
clear()
public AgentAnomaly.Builder clear()| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
clearConfidenceScore()
public AgentAnomaly.Builder clearConfidenceScore()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 |
AgentAnomaly.Builder |
This builder for chaining. |
clearDetectorReferences()
public AgentAnomaly.Builder clearDetectorReferences()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 |
AgentAnomaly.Builder |
|
clearInvocationReferences()
public AgentAnomaly.Builder clearInvocationReferences()References to the OpenTelemetry invocations.
repeated .google.cloud.securitycenter.v2.InvocationReference invocation_references = 3;
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
|
getDetectorReferencesBuilder(int index)
public DetectorReference.Builder getDetectorReferencesBuilder(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.Builder |
|
getDetectorReferencesBuilderList()
public List<DetectorReference.Builder> getDetectorReferencesBuilderList()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<Builder> |
|
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 |
|
getInvocationReferencesBuilder(int index)
public InvocationReference.Builder getInvocationReferencesBuilder(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.Builder |
|
getInvocationReferencesBuilderList()
public List<InvocationReference.Builder> getInvocationReferencesBuilderList()References to the OpenTelemetry invocations.
repeated .google.cloud.securitycenter.v2.InvocationReference invocation_references = 3;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AgentAnomaly other)
public AgentAnomaly.Builder mergeFrom(AgentAnomaly other)| Parameter | |
|---|---|
| Name | Description |
other |
AgentAnomaly |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AgentAnomaly.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AgentAnomaly.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
removeDetectorReferences(int index)
public AgentAnomaly.Builder removeDetectorReferences(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 |
AgentAnomaly.Builder |
|
removeInvocationReferences(int index)
public AgentAnomaly.Builder removeInvocationReferences(int index)References to the OpenTelemetry invocations.
repeated .google.cloud.securitycenter.v2.InvocationReference invocation_references = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
setConfidenceScore(double value)
public AgentAnomaly.Builder setConfidenceScore(double value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe confidenceScore to set. |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
This builder for chaining. |
setDetectorReferences(int index, DetectorReference value)
public AgentAnomaly.Builder setDetectorReferences(int index, DetectorReference value)The list of references to specific detectors that identified anomalies within this session.
repeated .google.cloud.securitycenter.v2.DetectorReference detector_references = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DetectorReference |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
setDetectorReferences(int index, DetectorReference.Builder builderForValue)
public AgentAnomaly.Builder setDetectorReferences(int index, DetectorReference.Builder builderForValue)The list of references to specific detectors that identified anomalies within this session.
repeated .google.cloud.securitycenter.v2.DetectorReference detector_references = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DetectorReference.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
setInvocationReferences(int index, InvocationReference value)
public AgentAnomaly.Builder setInvocationReferences(int index, InvocationReference value)References to the OpenTelemetry invocations.
repeated .google.cloud.securitycenter.v2.InvocationReference invocation_references = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
InvocationReference |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|
setInvocationReferences(int index, InvocationReference.Builder builderForValue)
public AgentAnomaly.Builder setInvocationReferences(int index, InvocationReference.Builder builderForValue)References to the OpenTelemetry invocations.
repeated .google.cloud.securitycenter.v2.InvocationReference invocation_references = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
InvocationReference.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentAnomaly.Builder |
|