@java.lang.Override
  public com.google.cloud.vertexai.api.GroundingChunk.RetrievedContextOrBuilder
      getRetrievedContextOrBuilder() {
    if (chunkTypeCase_ == 2) {
      return (com.google.cloud.vertexai.api.GroundingChunk.RetrievedContext) chunkType_;
    }
    return com.google.cloud.vertexai.api.GroundingChunk.RetrievedContext.getDefaultInstance();
  }
<pre>
Grounding chunk from context retrieved by the retrieval tools.
</pre>

<code>.google.cloud.vertexai.v1.GroundingChunk.RetrievedContext retrieved_context = 2;</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingChunk.java