Class AggregatedMetrics.MetricsByTurn.Builder (0.3.0)

public static final class AggregatedMetrics.MetricsByTurn.Builder extends GeneratedMessage.Builder<AggregatedMetrics.MetricsByTurn.Builder> implements AggregatedMetrics.MetricsByTurnOrBuilder

Metrics aggregated per turn.

Protobuf type google.cloud.ces.v1beta.AggregatedMetrics.MetricsByTurn

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllHallucinationMetrics(Iterable<? extends AggregatedMetrics.HallucinationMetrics> values)

public AggregatedMetrics.MetricsByTurn.Builder addAllHallucinationMetrics(Iterable<? extends AggregatedMetrics.HallucinationMetrics> values)

Output only. Metrics for hallucination within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics>
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addAllSemanticSimilarityMetrics(Iterable<? extends AggregatedMetrics.SemanticSimilarityMetrics> values)

public AggregatedMetrics.MetricsByTurn.Builder addAllSemanticSimilarityMetrics(Iterable<? extends AggregatedMetrics.SemanticSimilarityMetrics> values)

Output only. Metrics for semantic similarity within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics>
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addAllToolCallLatencyMetrics(Iterable<? extends AggregatedMetrics.ToolCallLatencyMetrics> values)

public AggregatedMetrics.MetricsByTurn.Builder addAllToolCallLatencyMetrics(Iterable<? extends AggregatedMetrics.ToolCallLatencyMetrics> values)

Output only. Metrics for tool call latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics>
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addAllToolMetrics(Iterable<? extends AggregatedMetrics.ToolMetrics> values)

public AggregatedMetrics.MetricsByTurn.Builder addAllToolMetrics(Iterable<? extends AggregatedMetrics.ToolMetrics> values)

Output only. Metrics for each tool within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics>
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addAllTurnLatencyMetrics(Iterable<? extends AggregatedMetrics.TurnLatencyMetrics> values)

public AggregatedMetrics.MetricsByTurn.Builder addAllTurnLatencyMetrics(Iterable<? extends AggregatedMetrics.TurnLatencyMetrics> values)

Output only. Metrics for turn latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics>
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addHallucinationMetrics(AggregatedMetrics.HallucinationMetrics value)

public AggregatedMetrics.MetricsByTurn.Builder addHallucinationMetrics(AggregatedMetrics.HallucinationMetrics value)

Output only. Metrics for hallucination within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AggregatedMetrics.HallucinationMetrics
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addHallucinationMetrics(AggregatedMetrics.HallucinationMetrics.Builder builderForValue)

public AggregatedMetrics.MetricsByTurn.Builder addHallucinationMetrics(AggregatedMetrics.HallucinationMetrics.Builder builderForValue)

Output only. Metrics for hallucination within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue AggregatedMetrics.HallucinationMetrics.Builder
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addHallucinationMetrics(int index, AggregatedMetrics.HallucinationMetrics value)

public AggregatedMetrics.MetricsByTurn.Builder addHallucinationMetrics(int index, AggregatedMetrics.HallucinationMetrics value)

Output only. Metrics for hallucination within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value AggregatedMetrics.HallucinationMetrics
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addHallucinationMetrics(int index, AggregatedMetrics.HallucinationMetrics.Builder builderForValue)

public AggregatedMetrics.MetricsByTurn.Builder addHallucinationMetrics(int index, AggregatedMetrics.HallucinationMetrics.Builder builderForValue)

Output only. Metrics for hallucination within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue AggregatedMetrics.HallucinationMetrics.Builder
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addHallucinationMetricsBuilder()

public AggregatedMetrics.HallucinationMetrics.Builder addHallucinationMetricsBuilder()

Output only. Metrics for hallucination within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AggregatedMetrics.HallucinationMetrics.Builder

addHallucinationMetricsBuilder(int index)

public AggregatedMetrics.HallucinationMetrics.Builder addHallucinationMetricsBuilder(int index)

Output only. Metrics for hallucination within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.HallucinationMetrics.Builder

addSemanticSimilarityMetrics(AggregatedMetrics.SemanticSimilarityMetrics value)

public AggregatedMetrics.MetricsByTurn.Builder addSemanticSimilarityMetrics(AggregatedMetrics.SemanticSimilarityMetrics value)

Output only. Metrics for semantic similarity within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AggregatedMetrics.SemanticSimilarityMetrics
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addSemanticSimilarityMetrics(AggregatedMetrics.SemanticSimilarityMetrics.Builder builderForValue)

public AggregatedMetrics.MetricsByTurn.Builder addSemanticSimilarityMetrics(AggregatedMetrics.SemanticSimilarityMetrics.Builder builderForValue)

Output only. Metrics for semantic similarity within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue AggregatedMetrics.SemanticSimilarityMetrics.Builder
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addSemanticSimilarityMetrics(int index, AggregatedMetrics.SemanticSimilarityMetrics value)

public AggregatedMetrics.MetricsByTurn.Builder addSemanticSimilarityMetrics(int index, AggregatedMetrics.SemanticSimilarityMetrics value)

Output only. Metrics for semantic similarity within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value AggregatedMetrics.SemanticSimilarityMetrics
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addSemanticSimilarityMetrics(int index, AggregatedMetrics.SemanticSimilarityMetrics.Builder builderForValue)

public AggregatedMetrics.MetricsByTurn.Builder addSemanticSimilarityMetrics(int index, AggregatedMetrics.SemanticSimilarityMetrics.Builder builderForValue)

Output only. Metrics for semantic similarity within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue AggregatedMetrics.SemanticSimilarityMetrics.Builder
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addSemanticSimilarityMetricsBuilder()

public AggregatedMetrics.SemanticSimilarityMetrics.Builder addSemanticSimilarityMetricsBuilder()

Output only. Metrics for semantic similarity within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AggregatedMetrics.SemanticSimilarityMetrics.Builder

addSemanticSimilarityMetricsBuilder(int index)

public AggregatedMetrics.SemanticSimilarityMetrics.Builder addSemanticSimilarityMetricsBuilder(int index)

Output only. Metrics for semantic similarity within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.SemanticSimilarityMetrics.Builder

addToolCallLatencyMetrics(AggregatedMetrics.ToolCallLatencyMetrics value)

public AggregatedMetrics.MetricsByTurn.Builder addToolCallLatencyMetrics(AggregatedMetrics.ToolCallLatencyMetrics value)

Output only. Metrics for tool call latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AggregatedMetrics.ToolCallLatencyMetrics
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addToolCallLatencyMetrics(AggregatedMetrics.ToolCallLatencyMetrics.Builder builderForValue)

public AggregatedMetrics.MetricsByTurn.Builder addToolCallLatencyMetrics(AggregatedMetrics.ToolCallLatencyMetrics.Builder builderForValue)

Output only. Metrics for tool call latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue AggregatedMetrics.ToolCallLatencyMetrics.Builder
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addToolCallLatencyMetrics(int index, AggregatedMetrics.ToolCallLatencyMetrics value)

public AggregatedMetrics.MetricsByTurn.Builder addToolCallLatencyMetrics(int index, AggregatedMetrics.ToolCallLatencyMetrics value)

Output only. Metrics for tool call latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value AggregatedMetrics.ToolCallLatencyMetrics
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addToolCallLatencyMetrics(int index, AggregatedMetrics.ToolCallLatencyMetrics.Builder builderForValue)

public AggregatedMetrics.MetricsByTurn.Builder addToolCallLatencyMetrics(int index, AggregatedMetrics.ToolCallLatencyMetrics.Builder builderForValue)

Output only. Metrics for tool call latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue AggregatedMetrics.ToolCallLatencyMetrics.Builder
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addToolCallLatencyMetricsBuilder()

public AggregatedMetrics.ToolCallLatencyMetrics.Builder addToolCallLatencyMetricsBuilder()

Output only. Metrics for tool call latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AggregatedMetrics.ToolCallLatencyMetrics.Builder

addToolCallLatencyMetricsBuilder(int index)

public AggregatedMetrics.ToolCallLatencyMetrics.Builder addToolCallLatencyMetricsBuilder(int index)

Output only. Metrics for tool call latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.ToolCallLatencyMetrics.Builder

addToolMetrics(AggregatedMetrics.ToolMetrics value)

public AggregatedMetrics.MetricsByTurn.Builder addToolMetrics(AggregatedMetrics.ToolMetrics value)

Output only. Metrics for each tool within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AggregatedMetrics.ToolMetrics
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addToolMetrics(AggregatedMetrics.ToolMetrics.Builder builderForValue)

public AggregatedMetrics.MetricsByTurn.Builder addToolMetrics(AggregatedMetrics.ToolMetrics.Builder builderForValue)

Output only. Metrics for each tool within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue AggregatedMetrics.ToolMetrics.Builder
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addToolMetrics(int index, AggregatedMetrics.ToolMetrics value)

public AggregatedMetrics.MetricsByTurn.Builder addToolMetrics(int index, AggregatedMetrics.ToolMetrics value)

Output only. Metrics for each tool within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value AggregatedMetrics.ToolMetrics
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addToolMetrics(int index, AggregatedMetrics.ToolMetrics.Builder builderForValue)

public AggregatedMetrics.MetricsByTurn.Builder addToolMetrics(int index, AggregatedMetrics.ToolMetrics.Builder builderForValue)

Output only. Metrics for each tool within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue AggregatedMetrics.ToolMetrics.Builder
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addToolMetricsBuilder()

public AggregatedMetrics.ToolMetrics.Builder addToolMetricsBuilder()

Output only. Metrics for each tool within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AggregatedMetrics.ToolMetrics.Builder

addToolMetricsBuilder(int index)

public AggregatedMetrics.ToolMetrics.Builder addToolMetricsBuilder(int index)

Output only. Metrics for each tool within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.ToolMetrics.Builder

addTurnLatencyMetrics(AggregatedMetrics.TurnLatencyMetrics value)

public AggregatedMetrics.MetricsByTurn.Builder addTurnLatencyMetrics(AggregatedMetrics.TurnLatencyMetrics value)

Output only. Metrics for turn latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AggregatedMetrics.TurnLatencyMetrics
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addTurnLatencyMetrics(AggregatedMetrics.TurnLatencyMetrics.Builder builderForValue)

public AggregatedMetrics.MetricsByTurn.Builder addTurnLatencyMetrics(AggregatedMetrics.TurnLatencyMetrics.Builder builderForValue)

Output only. Metrics for turn latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue AggregatedMetrics.TurnLatencyMetrics.Builder
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addTurnLatencyMetrics(int index, AggregatedMetrics.TurnLatencyMetrics value)

public AggregatedMetrics.MetricsByTurn.Builder addTurnLatencyMetrics(int index, AggregatedMetrics.TurnLatencyMetrics value)

Output only. Metrics for turn latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value AggregatedMetrics.TurnLatencyMetrics
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addTurnLatencyMetrics(int index, AggregatedMetrics.TurnLatencyMetrics.Builder builderForValue)

public AggregatedMetrics.MetricsByTurn.Builder addTurnLatencyMetrics(int index, AggregatedMetrics.TurnLatencyMetrics.Builder builderForValue)

Output only. Metrics for turn latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue AggregatedMetrics.TurnLatencyMetrics.Builder
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

addTurnLatencyMetricsBuilder()

public AggregatedMetrics.TurnLatencyMetrics.Builder addTurnLatencyMetricsBuilder()

Output only. Metrics for turn latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AggregatedMetrics.TurnLatencyMetrics.Builder

addTurnLatencyMetricsBuilder(int index)

public AggregatedMetrics.TurnLatencyMetrics.Builder addTurnLatencyMetricsBuilder(int index)

Output only. Metrics for turn latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.TurnLatencyMetrics.Builder

build()

public AggregatedMetrics.MetricsByTurn build()
Returns
Type Description
AggregatedMetrics.MetricsByTurn

buildPartial()

public AggregatedMetrics.MetricsByTurn buildPartial()
Returns
Type Description
AggregatedMetrics.MetricsByTurn

clear()

public AggregatedMetrics.MetricsByTurn.Builder clear()
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder
Overrides

clearHallucinationMetrics()

public AggregatedMetrics.MetricsByTurn.Builder clearHallucinationMetrics()

Output only. Metrics for hallucination within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

clearSemanticSimilarityMetrics()

public AggregatedMetrics.MetricsByTurn.Builder clearSemanticSimilarityMetrics()

Output only. Metrics for semantic similarity within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

clearToolCallLatencyMetrics()

public AggregatedMetrics.MetricsByTurn.Builder clearToolCallLatencyMetrics()

Output only. Metrics for tool call latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

clearToolMetrics()

public AggregatedMetrics.MetricsByTurn.Builder clearToolMetrics()

Output only. Metrics for each tool within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

clearTurnIndex()

public AggregatedMetrics.MetricsByTurn.Builder clearTurnIndex()

Output only. The turn index (0-based).

int32 turn_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

This builder for chaining.

clearTurnLatencyMetrics()

public AggregatedMetrics.MetricsByTurn.Builder clearTurnLatencyMetrics()

Output only. Metrics for turn latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

getDefaultInstanceForType()

public AggregatedMetrics.MetricsByTurn getDefaultInstanceForType()
Returns
Type Description
AggregatedMetrics.MetricsByTurn

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHallucinationMetrics(int index)

public AggregatedMetrics.HallucinationMetrics getHallucinationMetrics(int index)

Output only. Metrics for hallucination within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.HallucinationMetrics

getHallucinationMetricsBuilder(int index)

public AggregatedMetrics.HallucinationMetrics.Builder getHallucinationMetricsBuilder(int index)

Output only. Metrics for hallucination within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.HallucinationMetrics.Builder

getHallucinationMetricsBuilderList()

public List<AggregatedMetrics.HallucinationMetrics.Builder> getHallucinationMetricsBuilderList()

Output only. Metrics for hallucination within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getHallucinationMetricsCount()

public int getHallucinationMetricsCount()

Output only. Metrics for hallucination within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getHallucinationMetricsList()

public List<AggregatedMetrics.HallucinationMetrics> getHallucinationMetricsList()

Output only. Metrics for hallucination within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<HallucinationMetrics>

getHallucinationMetricsOrBuilder(int index)

public AggregatedMetrics.HallucinationMetricsOrBuilder getHallucinationMetricsOrBuilder(int index)

Output only. Metrics for hallucination within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.HallucinationMetricsOrBuilder

getHallucinationMetricsOrBuilderList()

public List<? extends AggregatedMetrics.HallucinationMetricsOrBuilder> getHallucinationMetricsOrBuilderList()

Output only. Metrics for hallucination within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetricsOrBuilder>

getSemanticSimilarityMetrics(int index)

public AggregatedMetrics.SemanticSimilarityMetrics getSemanticSimilarityMetrics(int index)

Output only. Metrics for semantic similarity within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.SemanticSimilarityMetrics

getSemanticSimilarityMetricsBuilder(int index)

public AggregatedMetrics.SemanticSimilarityMetrics.Builder getSemanticSimilarityMetricsBuilder(int index)

Output only. Metrics for semantic similarity within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.SemanticSimilarityMetrics.Builder

getSemanticSimilarityMetricsBuilderList()

public List<AggregatedMetrics.SemanticSimilarityMetrics.Builder> getSemanticSimilarityMetricsBuilderList()

Output only. Metrics for semantic similarity within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getSemanticSimilarityMetricsCount()

public int getSemanticSimilarityMetricsCount()

Output only. Metrics for semantic similarity within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getSemanticSimilarityMetricsList()

public List<AggregatedMetrics.SemanticSimilarityMetrics> getSemanticSimilarityMetricsList()

Output only. Metrics for semantic similarity within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<SemanticSimilarityMetrics>

getSemanticSimilarityMetricsOrBuilder(int index)

public AggregatedMetrics.SemanticSimilarityMetricsOrBuilder getSemanticSimilarityMetricsOrBuilder(int index)

Output only. Metrics for semantic similarity within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.SemanticSimilarityMetricsOrBuilder

getSemanticSimilarityMetricsOrBuilderList()

public List<? extends AggregatedMetrics.SemanticSimilarityMetricsOrBuilder> getSemanticSimilarityMetricsOrBuilderList()

Output only. Metrics for semantic similarity within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetricsOrBuilder>

getToolCallLatencyMetrics(int index)

public AggregatedMetrics.ToolCallLatencyMetrics getToolCallLatencyMetrics(int index)

Output only. Metrics for tool call latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.ToolCallLatencyMetrics

getToolCallLatencyMetricsBuilder(int index)

public AggregatedMetrics.ToolCallLatencyMetrics.Builder getToolCallLatencyMetricsBuilder(int index)

Output only. Metrics for tool call latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.ToolCallLatencyMetrics.Builder

getToolCallLatencyMetricsBuilderList()

public List<AggregatedMetrics.ToolCallLatencyMetrics.Builder> getToolCallLatencyMetricsBuilderList()

Output only. Metrics for tool call latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getToolCallLatencyMetricsCount()

public int getToolCallLatencyMetricsCount()

Output only. Metrics for tool call latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getToolCallLatencyMetricsList()

public List<AggregatedMetrics.ToolCallLatencyMetrics> getToolCallLatencyMetricsList()

Output only. Metrics for tool call latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ToolCallLatencyMetrics>

getToolCallLatencyMetricsOrBuilder(int index)

public AggregatedMetrics.ToolCallLatencyMetricsOrBuilder getToolCallLatencyMetricsOrBuilder(int index)

Output only. Metrics for tool call latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.ToolCallLatencyMetricsOrBuilder

getToolCallLatencyMetricsOrBuilderList()

public List<? extends AggregatedMetrics.ToolCallLatencyMetricsOrBuilder> getToolCallLatencyMetricsOrBuilderList()

Output only. Metrics for tool call latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetricsOrBuilder>

getToolMetrics(int index)

public AggregatedMetrics.ToolMetrics getToolMetrics(int index)

Output only. Metrics for each tool within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.ToolMetrics

getToolMetricsBuilder(int index)

public AggregatedMetrics.ToolMetrics.Builder getToolMetricsBuilder(int index)

Output only. Metrics for each tool within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.ToolMetrics.Builder

getToolMetricsBuilderList()

public List<AggregatedMetrics.ToolMetrics.Builder> getToolMetricsBuilderList()

Output only. Metrics for each tool within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getToolMetricsCount()

public int getToolMetricsCount()

Output only. Metrics for each tool within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getToolMetricsList()

public List<AggregatedMetrics.ToolMetrics> getToolMetricsList()

Output only. Metrics for each tool within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ToolMetrics>

getToolMetricsOrBuilder(int index)

public AggregatedMetrics.ToolMetricsOrBuilder getToolMetricsOrBuilder(int index)

Output only. Metrics for each tool within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.ToolMetricsOrBuilder

getToolMetricsOrBuilderList()

public List<? extends AggregatedMetrics.ToolMetricsOrBuilder> getToolMetricsOrBuilderList()

Output only. Metrics for each tool within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.ces.v1beta.AggregatedMetrics.ToolMetricsOrBuilder>

getTurnIndex()

public int getTurnIndex()

Output only. The turn index (0-based).

int32 turn_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The turnIndex.

getTurnLatencyMetrics(int index)

public AggregatedMetrics.TurnLatencyMetrics getTurnLatencyMetrics(int index)

Output only. Metrics for turn latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.TurnLatencyMetrics

getTurnLatencyMetricsBuilder(int index)

public AggregatedMetrics.TurnLatencyMetrics.Builder getTurnLatencyMetricsBuilder(int index)

Output only. Metrics for turn latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.TurnLatencyMetrics.Builder

getTurnLatencyMetricsBuilderList()

public List<AggregatedMetrics.TurnLatencyMetrics.Builder> getTurnLatencyMetricsBuilderList()

Output only. Metrics for turn latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getTurnLatencyMetricsCount()

public int getTurnLatencyMetricsCount()

Output only. Metrics for turn latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getTurnLatencyMetricsList()

public List<AggregatedMetrics.TurnLatencyMetrics> getTurnLatencyMetricsList()

Output only. Metrics for turn latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<TurnLatencyMetrics>

getTurnLatencyMetricsOrBuilder(int index)

public AggregatedMetrics.TurnLatencyMetricsOrBuilder getTurnLatencyMetricsOrBuilder(int index)

Output only. Metrics for turn latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.TurnLatencyMetricsOrBuilder

getTurnLatencyMetricsOrBuilderList()

public List<? extends AggregatedMetrics.TurnLatencyMetricsOrBuilder> getTurnLatencyMetricsOrBuilderList()

Output only. Metrics for turn latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetricsOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AggregatedMetrics.MetricsByTurn other)

public AggregatedMetrics.MetricsByTurn.Builder mergeFrom(AggregatedMetrics.MetricsByTurn other)
Parameter
Name Description
other AggregatedMetrics.MetricsByTurn
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AggregatedMetrics.MetricsByTurn.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AggregatedMetrics.MetricsByTurn.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder
Overrides

removeHallucinationMetrics(int index)

public AggregatedMetrics.MetricsByTurn.Builder removeHallucinationMetrics(int index)

Output only. Metrics for hallucination within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

removeSemanticSimilarityMetrics(int index)

public AggregatedMetrics.MetricsByTurn.Builder removeSemanticSimilarityMetrics(int index)

Output only. Metrics for semantic similarity within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

removeToolCallLatencyMetrics(int index)

public AggregatedMetrics.MetricsByTurn.Builder removeToolCallLatencyMetrics(int index)

Output only. Metrics for tool call latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

removeToolMetrics(int index)

public AggregatedMetrics.MetricsByTurn.Builder removeToolMetrics(int index)

Output only. Metrics for each tool within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

removeTurnLatencyMetrics(int index)

public AggregatedMetrics.MetricsByTurn.Builder removeTurnLatencyMetrics(int index)

Output only. Metrics for turn latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

setHallucinationMetrics(int index, AggregatedMetrics.HallucinationMetrics value)

public AggregatedMetrics.MetricsByTurn.Builder setHallucinationMetrics(int index, AggregatedMetrics.HallucinationMetrics value)

Output only. Metrics for hallucination within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value AggregatedMetrics.HallucinationMetrics
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

setHallucinationMetrics(int index, AggregatedMetrics.HallucinationMetrics.Builder builderForValue)

public AggregatedMetrics.MetricsByTurn.Builder setHallucinationMetrics(int index, AggregatedMetrics.HallucinationMetrics.Builder builderForValue)

Output only. Metrics for hallucination within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue AggregatedMetrics.HallucinationMetrics.Builder
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

setSemanticSimilarityMetrics(int index, AggregatedMetrics.SemanticSimilarityMetrics value)

public AggregatedMetrics.MetricsByTurn.Builder setSemanticSimilarityMetrics(int index, AggregatedMetrics.SemanticSimilarityMetrics value)

Output only. Metrics for semantic similarity within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value AggregatedMetrics.SemanticSimilarityMetrics
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

setSemanticSimilarityMetrics(int index, AggregatedMetrics.SemanticSimilarityMetrics.Builder builderForValue)

public AggregatedMetrics.MetricsByTurn.Builder setSemanticSimilarityMetrics(int index, AggregatedMetrics.SemanticSimilarityMetrics.Builder builderForValue)

Output only. Metrics for semantic similarity within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue AggregatedMetrics.SemanticSimilarityMetrics.Builder
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

setToolCallLatencyMetrics(int index, AggregatedMetrics.ToolCallLatencyMetrics value)

public AggregatedMetrics.MetricsByTurn.Builder setToolCallLatencyMetrics(int index, AggregatedMetrics.ToolCallLatencyMetrics value)

Output only. Metrics for tool call latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value AggregatedMetrics.ToolCallLatencyMetrics
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

setToolCallLatencyMetrics(int index, AggregatedMetrics.ToolCallLatencyMetrics.Builder builderForValue)

public AggregatedMetrics.MetricsByTurn.Builder setToolCallLatencyMetrics(int index, AggregatedMetrics.ToolCallLatencyMetrics.Builder builderForValue)

Output only. Metrics for tool call latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue AggregatedMetrics.ToolCallLatencyMetrics.Builder
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

setToolMetrics(int index, AggregatedMetrics.ToolMetrics value)

public AggregatedMetrics.MetricsByTurn.Builder setToolMetrics(int index, AggregatedMetrics.ToolMetrics value)

Output only. Metrics for each tool within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value AggregatedMetrics.ToolMetrics
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

setToolMetrics(int index, AggregatedMetrics.ToolMetrics.Builder builderForValue)

public AggregatedMetrics.MetricsByTurn.Builder setToolMetrics(int index, AggregatedMetrics.ToolMetrics.Builder builderForValue)

Output only. Metrics for each tool within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue AggregatedMetrics.ToolMetrics.Builder
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

setTurnIndex(int value)

public AggregatedMetrics.MetricsByTurn.Builder setTurnIndex(int value)

Output only. The turn index (0-based).

int32 turn_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The turnIndex to set.

Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

This builder for chaining.

setTurnLatencyMetrics(int index, AggregatedMetrics.TurnLatencyMetrics value)

public AggregatedMetrics.MetricsByTurn.Builder setTurnLatencyMetrics(int index, AggregatedMetrics.TurnLatencyMetrics value)

Output only. Metrics for turn latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value AggregatedMetrics.TurnLatencyMetrics
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder

setTurnLatencyMetrics(int index, AggregatedMetrics.TurnLatencyMetrics.Builder builderForValue)

public AggregatedMetrics.MetricsByTurn.Builder setTurnLatencyMetrics(int index, AggregatedMetrics.TurnLatencyMetrics.Builder builderForValue)

Output only. Metrics for turn latency within this turn.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue AggregatedMetrics.TurnLatencyMetrics.Builder
Returns
Type Description
AggregatedMetrics.MetricsByTurn.Builder