public Builder setToolConfig(com.google.cloud.vertexai.api.ToolConfig.Builder builderForValue) {
      if (toolConfigBuilder_ == null) {
        toolConfig_ = builderForValue.build();
      } else {
        toolConfigBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000100;
      onChanged();
      return this;
    }
<pre>
Optional. Input only. Immutable. Tool config. This config is shared for all
tools
</pre>

<code>
.google.cloud.vertexai.v1.ToolConfig tool_config = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY];
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CachedContent.java