public Builder mergeFrom(com.google.cloud.vertexai.api.ToolConfig other) {
      if (other == com.google.cloud.vertexai.api.ToolConfig.getDefaultInstance()) return this;
      if (other.hasFunctionCallingConfig()) {
        mergeFunctionCallingConfig(other.getFunctionCallingConfig());
      }
      if (other.hasRetrievalConfig()) {
        mergeRetrievalConfig(other.getRetrievalConfig());
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
Tool config. This config is shared for all tools provided in the request.
</pre>

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