Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see
Model versions and lifecycle .
Send feedback
Interface VertexAISearchOrBuilder (1.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
public interface VertexAISearchOrBuilder extends MessageOrBuilder
Methods
getDatastore()
public abstract String getDatastore ()
Required. Fully-qualified Vertex AI Search's datastore resource ID.
Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
string datastore = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The datastore.
getDatastoreBytes()
public abstract ByteString getDatastoreBytes ()
Required. Fully-qualified Vertex AI Search's datastore resource ID.
Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
string datastore = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for datastore.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Interface VertexAISearchOrBuilder (1.4.0)\n\n public interface VertexAISearchOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getDatastore()\n\n public abstract String getDatastore()\n\nRequired. Fully-qualified Vertex AI Search's datastore resource ID.\nFormat:\n`projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`\n\n`string datastore = 1 [(.google.api.field_behavior) = REQUIRED];`\n\n### getDatastoreBytes()\n\n public abstract ByteString getDatastoreBytes()\n\nRequired. Fully-qualified Vertex AI Search's datastore resource ID.\nFormat:\n`projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`\n\n`string datastore = 1 [(.google.api.field_behavior) = REQUIRED];`"]]