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 GroundingChunkOrBuilder (1.9.0)\n\n public interface GroundingChunkOrBuilder 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### getChunkTypeCase()\n\n public abstract GroundingChunk.ChunkTypeCase getChunkTypeCase()\n\n### getRetrievedContext()\n\n public abstract GroundingChunk.RetrievedContext getRetrievedContext()\n\nGrounding chunk from context retrieved by the retrieval tools.\n\n`.google.cloud.vertexai.v1.GroundingChunk.RetrievedContext retrieved_context = 2;`\n\n### getRetrievedContextOrBuilder()\n\n public abstract GroundingChunk.RetrievedContextOrBuilder getRetrievedContextOrBuilder()\n\nGrounding chunk from context retrieved by the retrieval tools.\n\n`.google.cloud.vertexai.v1.GroundingChunk.RetrievedContext retrieved_context = 2;`\n\n### getWeb()\n\n public abstract GroundingChunk.Web getWeb()\n\nGrounding chunk from the web.\n\n`.google.cloud.vertexai.v1.GroundingChunk.Web web = 1;`\n\n### getWebOrBuilder()\n\n public abstract GroundingChunk.WebOrBuilder getWebOrBuilder()\n\nGrounding chunk from the web.\n\n`.google.cloud.vertexai.v1.GroundingChunk.Web web = 1;`\n\n### hasRetrievedContext()\n\n public abstract boolean hasRetrievedContext()\n\nGrounding chunk from context retrieved by the retrieval tools.\n\n`.google.cloud.vertexai.v1.GroundingChunk.RetrievedContext retrieved_context = 2;`\n\n### hasWeb()\n\n public abstract boolean hasWeb()\n\nGrounding chunk from the web.\n\n`.google.cloud.vertexai.v1.GroundingChunk.Web web = 1;`"]]