private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.vertexai.api.VertexAISearch,
            com.google.cloud.vertexai.api.VertexAISearch.Builder,
            com.google.cloud.vertexai.api.VertexAISearchOrBuilder>
        getVertexAiSearchFieldBuilder() {
      if (vertexAiSearchBuilder_ == null) {
        if (!(sourceCase_ == 2)) {
          source_ = com.google.cloud.vertexai.api.VertexAISearch.getDefaultInstance();
        }
        vertexAiSearchBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.cloud.vertexai.api.VertexAISearch,
                com.google.cloud.vertexai.api.VertexAISearch.Builder,
                com.google.cloud.vertexai.api.VertexAISearchOrBuilder>(
                (com.google.cloud.vertexai.api.VertexAISearch) source_,
                getParentForChildren(),
                isClean());
        source_ = null;
      }
      sourceCase_ = 2;
      onChanged();
      return vertexAiSearchBuilder_;
    }
<pre>
Set to use data source powered by Vertex AI Search.
</pre>

<code>.google.cloud.vertexai.v1.VertexAISearch vertex_ai_search = 2;</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Retrieval.java