@java.lang.Override
  public com.google.cloud.vertexai.api.CodeExecutionResult.Outcome getOutcome() {
    com.google.cloud.vertexai.api.CodeExecutionResult.Outcome result =
        com.google.cloud.vertexai.api.CodeExecutionResult.Outcome.forNumber(outcome_);
    return result == null
        ? com.google.cloud.vertexai.api.CodeExecutionResult.Outcome.UNRECOGNIZED
        : result;
  }
<pre>
Required. Outcome of the code execution.
</pre>

<code>
.google.cloud.vertexai.v1.CodeExecutionResult.Outcome outcome = 1 [(.google.api.field_behavior) = REQUIRED];
</code>

@return The outcome.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CodeExecutionResult.java