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.
[[["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 RetrievalOrBuilder (1.20.0)\n\n public interface RetrievalOrBuilder 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### getDisableAttribution() (deprecated)\n\n public abstract boolean getDisableAttribution()\n\n**Deprecated.** *google.cloud.vertexai.v1.Retrieval.disable_attribution is deprecated. See\ngoogle/cloud/vertexai/v1/tool.proto;l=219*\n\nOptional. Deprecated. This option is no longer supported.\n\n`\nbool disable_attribution = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];\n`\n\n### getSourceCase()\n\n public abstract Retrieval.SourceCase getSourceCase()\n\n### getVertexAiSearch()\n\n public abstract VertexAISearch getVertexAiSearch()\n\nSet to use data source powered by Vertex AI Search.\n\n`.google.cloud.vertexai.v1.VertexAISearch vertex_ai_search = 2;`\n\n### getVertexAiSearchOrBuilder()\n\n public abstract VertexAISearchOrBuilder getVertexAiSearchOrBuilder()\n\nSet to use data source powered by Vertex AI Search.\n\n`.google.cloud.vertexai.v1.VertexAISearch vertex_ai_search = 2;`\n\n### getVertexRagStore()\n\n public abstract VertexRagStore getVertexRagStore()\n\nSet to use data source powered by Vertex RAG store.\nUser data is uploaded via the VertexRagDataService.\n\n`.google.cloud.vertexai.v1.VertexRagStore vertex_rag_store = 4;`\n\n### getVertexRagStoreOrBuilder()\n\n public abstract VertexRagStoreOrBuilder getVertexRagStoreOrBuilder()\n\nSet to use data source powered by Vertex RAG store.\nUser data is uploaded via the VertexRagDataService.\n\n`.google.cloud.vertexai.v1.VertexRagStore vertex_rag_store = 4;`\n\n### hasVertexAiSearch()\n\n public abstract boolean hasVertexAiSearch()\n\nSet to use data source powered by Vertex AI Search.\n\n`.google.cloud.vertexai.v1.VertexAISearch vertex_ai_search = 2;`\n\n### hasVertexRagStore()\n\n public abstract boolean hasVertexRagStore()\n\nSet to use data source powered by Vertex RAG store.\nUser data is uploaded via the VertexRagDataService.\n\n`.google.cloud.vertexai.v1.VertexRagStore vertex_rag_store = 4;`"]]