Interface LatencyReport.LlmCallLatencyOrBuilder (0.3.0)

public static interface LatencyReport.LlmCallLatencyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLatencyMetrics()

public abstract LatencyReport.LatencyMetrics getLatencyMetrics()

Output only. The latency metrics for the LLM call.

.google.cloud.ces.v1beta.LatencyReport.LatencyMetrics latency_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LatencyReport.LatencyMetrics

The latencyMetrics.

getLatencyMetricsOrBuilder()

public abstract LatencyReport.LatencyMetricsOrBuilder getLatencyMetricsOrBuilder()

Output only. The latency metrics for the LLM call.

.google.cloud.ces.v1beta.LatencyReport.LatencyMetrics latency_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LatencyReport.LatencyMetricsOrBuilder

getModel()

public abstract String getModel()

Output only. The name of the model.

string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The model.

getModelBytes()

public abstract ByteString getModelBytes()

Output only. The name of the model.

string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for model.

hasLatencyMetrics()

public abstract boolean hasLatencyMetrics()

Output only. The latency metrics for the LLM call.

.google.cloud.ces.v1beta.LatencyReport.LatencyMetrics latency_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the latencyMetrics field is set.