public Builder mergeGoogleSearch(com.google.cloud.vertexai.api.Tool.GoogleSearch value) {
      if (googleSearchBuilder_ == null) {
        if (((bitField0_ & 0x00000004) != 0)
            && googleSearch_ != null
            && googleSearch_
                != com.google.cloud.vertexai.api.Tool.GoogleSearch.getDefaultInstance()) {
          getGoogleSearchBuilder().mergeFrom(value);
        } else {
          googleSearch_ = value;
        }
      } else {
        googleSearchBuilder_.mergeFrom(value);
      }
      if (googleSearch_ != null) {
        bitField0_ |= 0x00000004;
        onChanged();
      }
      return this;
    }
<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