public com.google.cloud.vertexai.api.Tool.GoogleSearchOrBuilder getGoogleSearchOrBuilder() {
      if (googleSearchBuilder_ != null) {
        return googleSearchBuilder_.getMessageOrBuilder();
      } else {
        return googleSearch_ == null
            ? com.google.cloud.vertexai.api.Tool.GoogleSearch.getDefaultInstance()
            : googleSearch_;
      }
    }
<pre>
Optional. GoogleSearch tool type.
Tool to support Google Search in Model. Powered by Google.
</pre>

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