public Builder mergeCodeExecution(com.google.cloud.vertexai.api.Tool.CodeExecution value) {
      if (codeExecutionBuilder_ == null) {
        if (((bitField0_ & 0x00000020) != 0)
            && codeExecution_ != null
            && codeExecution_
                != com.google.cloud.vertexai.api.Tool.CodeExecution.getDefaultInstance()) {
          getCodeExecutionBuilder().mergeFrom(value);
        } else {
          codeExecution_ = value;
        }
      } else {
        codeExecutionBuilder_.mergeFrom(value);
      }
      if (codeExecution_ != null) {
        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