public Builder setGoogleSearchRetrieval(
        com.google.cloud.vertexai.api.GoogleSearchRetrieval value) {
      if (googleSearchRetrievalBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        googleSearchRetrieval_ = value;
      } else {
        googleSearchRetrievalBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
<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