private void buildPartialOneofs(com.google.cloud.vertexai.api.GroundingChunk result) {
      result.chunkTypeCase_ = chunkTypeCase_;
      result.chunkType_ = this.chunkType_;
      if (chunkTypeCase_ == 1 && webBuilder_ != null) {
        result.chunkType_ = webBuilder_.build();
      }
      if (chunkTypeCase_ == 2 && retrievedContextBuilder_ != null) {
        result.chunkType_ = retrievedContextBuilder_.build();
      }
    }
<pre>
Grounding chunk.
</pre>

Protobuf type {@code google.cloud.vertexai.v1.GroundingChunk}
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingChunk.java