# Interface EvaluationResult.OverallToolInvocationResultOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public static interface EvaluationResult.OverallToolInvocationResultOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getOutcome()

    public abstract EvaluationResult.Outcome getOutcome()

Output only. The outcome of the tool invocation check. This is determined
by comparing the tool_invocation_score to the
overall_tool_invocation_correctness_threshold. If the
score is equal to or above the threshold, the outcome will be PASS.
Otherwise, the outcome will be FAIL.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.EvaluationResult.Outcome` | The outcome. |

### getOutcomeValue()

    public abstract int getOutcomeValue()

Output only. The outcome of the tool invocation check. This is determined
by comparing the tool_invocation_score to the
overall_tool_invocation_correctness_threshold. If the
score is equal to or above the threshold, the outcome will be PASS.
Otherwise, the outcome will be FAIL.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for outcome. |

### getToolInvocationScore()

    public abstract float getToolInvocationScore()

The overall tool invocation score for this turn. This indicates the
overall percent of tools from the expected turn that were actually
invoked.

`optional float tool_invocation_score = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The toolInvocationScore. |

### hasToolInvocationScore()

    public abstract boolean hasToolInvocationScore()

The overall tool invocation score for this turn. This indicates the
overall percent of tools from the expected turn that were actually
invoked.

`optional float tool_invocation_score = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the toolInvocationScore field is set. |