public Builder setToolConfig(com.google.cloud.vertexai.api.ToolConfig value) {
      if (toolConfigBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        toolConfig_ = value;
      } else {
        toolConfigBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
<pre>
Optional. Tool config. This config is shared for all tools provided in the
request.
</pre>

<code>
.google.cloud.vertexai.v1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentRequest.java