Interface EvaluationResult.EvaluationExpectationResultOrBuilder (0.3.0)

public static interface EvaluationResult.EvaluationExpectationResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEvaluationExpectation()

public abstract String getEvaluationExpectation()

Output only. The evaluation expectation. Format: projects/{project}/locations/{location}/apps/{app}/evaluationExpectations/{evaluation_expectation}

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

Returns
Type Description
String

The evaluationExpectation.

getEvaluationExpectationBytes()

public abstract ByteString getEvaluationExpectationBytes()

Output only. The evaluation expectation. Format: projects/{project}/locations/{location}/apps/{app}/evaluationExpectations/{evaluation_expectation}

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

Returns
Type Description
ByteString

The bytes for evaluationExpectation.

getExplanation()

public abstract String getExplanation()

Output only. The explanation for the result.

string explanation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The explanation.

getExplanationBytes()

public abstract ByteString getExplanationBytes()

Output only. The explanation for the result.

string explanation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for explanation.

getOutcome()

public abstract EvaluationResult.Outcome getOutcome()

Output only. The outcome of the evaluation expectation.

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

Returns
Type Description
EvaluationResult.Outcome

The outcome.

getOutcomeValue()

public abstract int getOutcomeValue()

Output only. The outcome of the evaluation expectation.

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

Returns
Type Description
int

The enum numeric value on the wire for outcome.

getPrompt()

public abstract String getPrompt()

Output only. The prompt that was used for the evaluation.

string prompt = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The prompt.

getPromptBytes()

public abstract ByteString getPromptBytes()

Output only. The prompt that was used for the evaluation.

string prompt = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for prompt.