public com.google.cloud.vertexai.api.EnterpriseWebSearch getEnterpriseWebSearch() {
      if (enterpriseWebSearchBuilder_ == null) {
        return enterpriseWebSearch_ == null
            ? com.google.cloud.vertexai.api.EnterpriseWebSearch.getDefaultInstance()
            : enterpriseWebSearch_;
      } else {
        return enterpriseWebSearchBuilder_.getMessage();
      }
    }
<pre>
Optional. Tool to support searching public web data, powered by Vertex AI
Search and Sec4 compliance.
</pre>

<code>
.google.cloud.vertexai.v1.EnterpriseWebSearch enterprise_web_search = 6 [(.google.api.field_behavior) = OPTIONAL];
</code>

@return The enterpriseWebSearch.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Tool.java