Interface DetectorReferenceOrBuilder (2.103.0)

public interface DetectorReferenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDetectorId()

public abstract String getDetectorId()

The unique identifier of the detector.

string detector_id = 2;

Returns
Type Description
String

The detectorId.

getDetectorIdBytes()

public abstract ByteString getDetectorIdBytes()

The unique identifier of the detector.

string detector_id = 2;

Returns
Type Description
ByteString

The bytes for detectorId.

getDisplayName()

public abstract String getDisplayName()

A human readable name for the detector, providing context on its purpose. For example, "ASI02: Tool Misuse", or "Excessive API Calls".

string display_name = 3;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

A human readable name for the detector, providing context on its purpose. For example, "ASI02: Tool Misuse", or "Excessive API Calls".

string display_name = 3;

Returns
Type Description
ByteString

The bytes for displayName.

getExplanation()

public abstract String getExplanation()

A detailed explanation generated by an LLM or the detector itself, describing why this specific anomaly was flagged. This provides rationale and context for the detection.

string explanation = 4;

Returns
Type Description
String

The explanation.

getExplanationBytes()

public abstract ByteString getExplanationBytes()

A detailed explanation generated by an LLM or the detector itself, describing why this specific anomaly was flagged. This provides rationale and context for the detection.

string explanation = 4;

Returns
Type Description
ByteString

The bytes for explanation.

getRecommendation()

public abstract String getRecommendation()

Recommended steps or actions to remediate or investigate the anomaly flagged by this detector. These could include configuration changes, code adjustments, or further diagnostic procedures.

string recommendation = 5;

Returns
Type Description
String

The recommendation.

getRecommendationBytes()

public abstract ByteString getRecommendationBytes()

Recommended steps or actions to remediate or investigate the anomaly flagged by this detector. These could include configuration changes, code adjustments, or further diagnostic procedures.

string recommendation = 5;

Returns
Type Description
ByteString

The bytes for recommendation.

getSeverity()

public abstract DetectorReference.Severity getSeverity()

The severity of the detector.

.google.cloud.securitycenter.v1.DetectorReference.Severity severity = 1;

Returns
Type Description
DetectorReference.Severity

The severity.

getSeverityValue()

public abstract int getSeverityValue()

The severity of the detector.

.google.cloud.securitycenter.v1.DetectorReference.Severity severity = 1;

Returns
Type Description
int

The enum numeric value on the wire for severity.