Interface EvaluationResult.GoldenExpectationOutcomeOrBuilder (0.9.0)

public static interface EvaluationResult.GoldenExpectationOutcomeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExpectation()

public abstract Evaluation.GoldenExpectation getExpectation()

Output only. The expectation that was evaluated.

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

Returns
Type Description
Evaluation.GoldenExpectation

The expectation.

getExpectationOrBuilder()

public abstract Evaluation.GoldenExpectationOrBuilder getExpectationOrBuilder()

Output only. The expectation that was evaluated.

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

Returns
Type Description
Evaluation.GoldenExpectationOrBuilder

getObservedAgentResponse()

public abstract Message getObservedAgentResponse()

Output only. The result of the agent response expectation.

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

Returns
Type Description
Message

The observedAgentResponse.

getObservedAgentResponseOrBuilder()

public abstract MessageOrBuilder getObservedAgentResponseOrBuilder()

Output only. The result of the agent response expectation.

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

Returns
Type Description
MessageOrBuilder

getObservedAgentTransfer()

public abstract AgentTransfer getObservedAgentTransfer()

Output only. The result of the agent transfer expectation.

.google.cloud.ces.v1beta.AgentTransfer observed_agent_transfer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AgentTransfer

The observedAgentTransfer.

getObservedAgentTransferOrBuilder()

public abstract AgentTransferOrBuilder getObservedAgentTransferOrBuilder()

Output only. The result of the agent transfer expectation.

.google.cloud.ces.v1beta.AgentTransfer observed_agent_transfer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AgentTransferOrBuilder

getObservedPayload()

public abstract Struct getObservedPayload()

Output only. An observed custom payload. There are no expectations for custom payloads. This is only used for metrics calculation. The outcome is always SKIPPED.

.google.protobuf.Struct observed_payload = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Struct

The observedPayload.

getObservedPayloadOrBuilder()

public abstract StructOrBuilder getObservedPayloadOrBuilder()

Output only. An observed custom payload. There are no expectations for custom payloads. This is only used for metrics calculation. The outcome is always SKIPPED.

.google.protobuf.Struct observed_payload = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StructOrBuilder

getObservedToolCall()

public abstract ToolCall getObservedToolCall()

Output only. The result of the tool call expectation.

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

Returns
Type Description
ToolCall

The observedToolCall.

getObservedToolCallOrBuilder()

public abstract ToolCallOrBuilder getObservedToolCallOrBuilder()

Output only. The result of the tool call expectation.

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

Returns
Type Description
ToolCallOrBuilder

getObservedToolResponse()

public abstract ToolResponse getObservedToolResponse()

Output only. The result of the tool response expectation.

.google.cloud.ces.v1beta.ToolResponse observed_tool_response = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ToolResponse

The observedToolResponse.

getObservedToolResponseOrBuilder()

public abstract ToolResponseOrBuilder getObservedToolResponseOrBuilder()

Output only. The result of the tool response expectation.

.google.cloud.ces.v1beta.ToolResponse observed_tool_response = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ToolResponseOrBuilder

getOutcome()

public abstract EvaluationResult.Outcome getOutcome()

Output only. The outcome of the expectation.

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

Returns
Type Description
EvaluationResult.Outcome

The outcome.

getOutcomeValue()

public abstract int getOutcomeValue()

Output only. The outcome of the expectation.

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

Returns
Type Description
int

The enum numeric value on the wire for outcome.

getResultCase()

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

getSemanticSimilarityResult() (deprecated)

public abstract EvaluationResult.SemanticSimilarityResult getSemanticSimilarityResult()

Deprecated. google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome.semantic_similarity_result is deprecated. See google/cloud/ces/v1beta/evaluation.proto;l=600

Output only. The result of the semantic similarity check.

.google.cloud.ces.v1beta.EvaluationResult.SemanticSimilarityResult semantic_similarity_result = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationResult.SemanticSimilarityResult

The semanticSimilarityResult.

getSemanticSimilarityResultOrBuilder() (deprecated)

public abstract EvaluationResult.SemanticSimilarityResultOrBuilder getSemanticSimilarityResultOrBuilder()

Output only. The result of the semantic similarity check.

.google.cloud.ces.v1beta.EvaluationResult.SemanticSimilarityResult semantic_similarity_result = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationResult.SemanticSimilarityResultOrBuilder

getToolInvocationResult()

public abstract EvaluationResult.GoldenExpectationOutcome.ToolInvocationResult getToolInvocationResult()

Output only. The result of the tool invocation check.

.google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome.ToolInvocationResult tool_invocation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationResult.GoldenExpectationOutcome.ToolInvocationResult

The toolInvocationResult.

getToolInvocationResultOrBuilder()

public abstract EvaluationResult.GoldenExpectationOutcome.ToolInvocationResultOrBuilder getToolInvocationResultOrBuilder()

Output only. The result of the tool invocation check.

.google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome.ToolInvocationResult tool_invocation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationResult.GoldenExpectationOutcome.ToolInvocationResultOrBuilder

hasExpectation()

public abstract boolean hasExpectation()

Output only. The expectation that was evaluated.

.google.cloud.ces.v1beta.Evaluation.GoldenExpectation 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 result of the agent response expectation.

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

Returns
Type Description
boolean

Whether the observedAgentResponse field is set.

hasObservedAgentTransfer()

public abstract boolean hasObservedAgentTransfer()

Output only. The result of the agent transfer expectation.

.google.cloud.ces.v1beta.AgentTransfer observed_agent_transfer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the observedAgentTransfer field is set.

hasObservedPayload()

public abstract boolean hasObservedPayload()

Output only. An observed custom payload. There are no expectations for custom payloads. This is only used for metrics calculation. The outcome is always SKIPPED.

.google.protobuf.Struct observed_payload = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the observedPayload field is set.

hasObservedToolCall()

public abstract boolean hasObservedToolCall()

Output only. The result of the tool call expectation.

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

Returns
Type Description
boolean

Whether the observedToolCall field is set.

hasObservedToolResponse()

public abstract boolean hasObservedToolResponse()

Output only. The result of the tool response expectation.

.google.cloud.ces.v1beta.ToolResponse observed_tool_response = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the observedToolResponse field is set.

hasSemanticSimilarityResult() (deprecated)

public abstract boolean hasSemanticSimilarityResult()

Deprecated. google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome.semantic_similarity_result is deprecated. See google/cloud/ces/v1beta/evaluation.proto;l=600

Output only. The result of the semantic similarity check.

.google.cloud.ces.v1beta.EvaluationResult.SemanticSimilarityResult semantic_similarity_result = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the semanticSimilarityResult field is set.

hasToolInvocationResult()

public abstract boolean hasToolInvocationResult()

Output only. The result of the tool invocation check.

.google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome.ToolInvocationResult tool_invocation_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the toolInvocationResult field is set.