@java.lang.Override
    public com.google.cloud.vertexai.api.CodeExecutionResult getCodeExecutionResult() {
      if (codeExecutionResultBuilder_ == null) {
        if (dataCase_ == 9) {
          return (com.google.cloud.vertexai.api.CodeExecutionResult) data_;
        }
        return com.google.cloud.vertexai.api.CodeExecutionResult.getDefaultInstance();
      } else {
        if (dataCase_ == 9) {
          return codeExecutionResultBuilder_.getMessage();
        }
        return com.google.cloud.vertexai.api.CodeExecutionResult.getDefaultInstance();
      }
    }
<pre>
Optional. Result of executing the [ExecutableCode].
</pre>

<code>
.google.cloud.vertexai.v1.CodeExecutionResult code_execution_result = 9 [(.google.api.field_behavior) = OPTIONAL];
</code>

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