@java.lang.Override
    public boolean hasCodeExecutionResult() {
      return dataCase_ == 9;
    }
<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 Whether the codeExecutionResult field is set.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Part.java