Interface AggregatedMetrics.ToolCallLatencyMetricsOrBuilder (0.3.0)

public static interface AggregatedMetrics.ToolCallLatencyMetricsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAverageLatency()

public abstract Duration getAverageLatency()

Output only. The average latency of the tool calls.

.google.protobuf.Duration average_latency = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Duration

The averageLatency.

getAverageLatencyOrBuilder()

public abstract DurationOrBuilder getAverageLatencyOrBuilder()

Output only. The average latency of the tool calls.

.google.protobuf.Duration average_latency = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DurationOrBuilder

getTool()

public abstract String getTool()

Output only. The name of the tool.

string tool = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The tool.

getToolBytes()

public abstract ByteString getToolBytes()

Output only. The name of the tool.

string tool = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for tool.

hasAverageLatency()

public abstract boolean hasAverageLatency()

Output only. The average latency of the tool calls.

.google.protobuf.Duration average_latency = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the averageLatency field is set.