@java.lang.Override
  public boolean hasExecutableCode() {
    return dataCase_ == 8;
  }
<pre>
Optional. Code generated by the model that is meant to be executed.
</pre>

<code>
.google.cloud.vertexai.v1.ExecutableCode executable_code = 8 [(.google.api.field_behavior) = OPTIONAL];
</code>

@return Whether the executableCode field is set.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Part.java