Interface EvaluationResult.ScenarioExpectationOutcome.ObservedToolCallOrBuilder (0.3.0)

public static interface EvaluationResult.ScenarioExpectationOutcome.ObservedToolCallOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getToolCall()

public abstract ToolCall getToolCall()

Output only. The observed tool call.

.google.cloud.ces.v1beta.ToolCall tool_call = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ToolCall

The toolCall.

getToolCallOrBuilder()

public abstract ToolCallOrBuilder getToolCallOrBuilder()

Output only. The observed tool call.

.google.cloud.ces.v1beta.ToolCall tool_call = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ToolCallOrBuilder

getToolResponse()

public abstract ToolResponse getToolResponse()

Output only. The observed tool response.

.google.cloud.ces.v1beta.ToolResponse tool_response = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ToolResponse

The toolResponse.

getToolResponseOrBuilder()

public abstract ToolResponseOrBuilder getToolResponseOrBuilder()

Output only. The observed tool response.

.google.cloud.ces.v1beta.ToolResponse tool_response = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ToolResponseOrBuilder

hasToolCall()

public abstract boolean hasToolCall()

Output only. The observed tool call.

.google.cloud.ces.v1beta.ToolCall tool_call = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the toolCall field is set.

hasToolResponse()

public abstract boolean hasToolResponse()

Output only. The observed tool response.

.google.cloud.ces.v1beta.ToolResponse tool_response = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the toolResponse field is set.