public Builder setCodeExecution(com.google.cloud.vertexai.api.Tool.CodeExecution value) {
      if (codeExecutionBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        codeExecution_ = value;
      } else {
        codeExecutionBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
<pre>
Optional. CodeExecution tool type.
Enables the model to execute code as part of generation.
</pre>

<code>
.google.cloud.vertexai.v1.Tool.CodeExecution code_execution = 4 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Tool.java