public Builder mergeGoogleSearchRetrieval(
        com.google.cloud.vertexai.api.GoogleSearchRetrieval value) {
      if (googleSearchRetrievalBuilder_ == null) {
        if (((bitField0_ & 0x00000008) != 0)
            && googleSearchRetrieval_ != null
            && googleSearchRetrieval_
                != com.google.cloud.vertexai.api.GoogleSearchRetrieval.getDefaultInstance()) {
          getGoogleSearchRetrievalBuilder().mergeFrom(value);
        } else {
          googleSearchRetrieval_ = value;
        }
      } else {
        googleSearchRetrievalBuilder_.mergeFrom(value);
      }
      if (googleSearchRetrieval_ != null) {
        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