@java.lang.Override
  public boolean hasToolConfig() {
    return ((bitField0_ & 0x00000002) != 0);
  }
<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>

@return Whether the toolConfig field is set.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentRequest.java