Interface EvaluationResult.ScenarioExpectationOutcomeOrBuilder (0.3.0)

public static interface EvaluationResult.ScenarioExpectationOutcomeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExpectation()

public abstract Evaluation.ScenarioExpectation getExpectation()

Output only. The expectation that was evaluated.

.google.cloud.ces.v1beta.Evaluation.ScenarioExpectation expectation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Evaluation.ScenarioExpectation

The expectation.

getExpectationOrBuilder()

public abstract Evaluation.ScenarioExpectationOrBuilder getExpectationOrBuilder()

Output only. The expectation that was evaluated.

.google.cloud.ces.v1beta.Evaluation.ScenarioExpectation expectation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Evaluation.ScenarioExpectationOrBuilder

getObservedAgentResponse()

public abstract Message getObservedAgentResponse()

Output only. The observed agent response.

.google.cloud.ces.v1beta.Message observed_agent_response = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Message

The observedAgentResponse.

getObservedAgentResponseOrBuilder()

public abstract MessageOrBuilder getObservedAgentResponseOrBuilder()

Output only. The observed agent response.

.google.cloud.ces.v1beta.Message observed_agent_response = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MessageOrBuilder

getObservedToolCall()

public abstract EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall getObservedToolCall()

Output only. The observed tool call.

.google.cloud.ces.v1beta.EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall observed_tool_call = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall

The observedToolCall.

getObservedToolCallOrBuilder()

public abstract EvaluationResult.ScenarioExpectationOutcome.ObservedToolCallOrBuilder getObservedToolCallOrBuilder()

Output only. The observed tool call.

.google.cloud.ces.v1beta.EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall observed_tool_call = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationResult.ScenarioExpectationOutcome.ObservedToolCallOrBuilder

getOutcome()

public abstract EvaluationResult.Outcome getOutcome()

Output only. The outcome of the ScenarioExpectation.

.google.cloud.ces.v1beta.EvaluationResult.Outcome outcome = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationResult.Outcome

The outcome.

getOutcomeValue()

public abstract int getOutcomeValue()

Output only. The outcome of the ScenarioExpectation.

.google.cloud.ces.v1beta.EvaluationResult.Outcome outcome = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for outcome.

getResultCase()

public abstract EvaluationResult.ScenarioExpectationOutcome.ResultCase getResultCase()
Returns
Type Description
EvaluationResult.ScenarioExpectationOutcome.ResultCase

hasExpectation()

public abstract boolean hasExpectation()

Output only. The expectation that was evaluated.

.google.cloud.ces.v1beta.Evaluation.ScenarioExpectation expectation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the expectation field is set.

hasObservedAgentResponse()

public abstract boolean hasObservedAgentResponse()

Output only. The observed agent response.

.google.cloud.ces.v1beta.Message observed_agent_response = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the observedAgentResponse field is set.

hasObservedToolCall()

public abstract boolean hasObservedToolCall()

Output only. The observed tool call.

.google.cloud.ces.v1beta.EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall observed_tool_call = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the observedToolCall field is set.