@java.lang.Override
  public boolean hasRetrievedContext() {
    return chunkTypeCase_ == 2;
  }
<pre>
Grounding chunk from context retrieved by the retrieval tools.
</pre>

<code>.google.cloud.vertexai.v1.GroundingChunk.RetrievedContext retrieved_context = 2;</code>

@return Whether the retrievedContext field is set.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingChunk.java