@java.lang.Override
  public com.google.cloud.vertexai.api.GoogleSearchRetrievalOrBuilder
      getGoogleSearchRetrievalOrBuilder() {
    return googleSearchRetrieval_ == null
        ? com.google.cloud.vertexai.api.GoogleSearchRetrieval.getDefaultInstance()
        : googleSearchRetrieval_;
  }
<pre>
Optional. GoogleSearchRetrieval tool type.
Specialized retrieval tool that is powered by Google search.
</pre>

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