@java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.vertexai.api.Tool.CodeExecution)) {
        return super.equals(obj);
      }
      com.google.cloud.vertexai.api.Tool.CodeExecution other =
          (com.google.cloud.vertexai.api.Tool.CodeExecution) obj;

      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
Tool that executes code generated by the model, and automatically returns
the result to the model.

See also [ExecutableCode]and [CodeExecutionResult] which are input and
output to this tool.
</pre>

Protobuf type {@code google.cloud.vertexai.v1.Tool.CodeExecution}
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Tool.java