private void buildPartialRepeatedFields(
        com.google.cloud.vertexai.api.GroundingMetadata result) {
      if (groundingChunksBuilder_ == null) {
        if (((bitField0_ & 0x00000004) != 0)) {
          groundingChunks_ = java.util.Collections.unmodifiableList(groundingChunks_);
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.groundingChunks_ = groundingChunks_;
      } else {
        result.groundingChunks_ = groundingChunksBuilder_.build();
      }
      if (groundingSupportsBuilder_ == null) {
        if (((bitField0_ & 0x00000008) != 0)) {
          groundingSupports_ = java.util.Collections.unmodifiableList(groundingSupports_);
          bitField0_ = (bitField0_ & ~0x00000008);
        }
        result.groundingSupports_ = groundingSupports_;
      } else {
        result.groundingSupports_ = groundingSupportsBuilder_.build();
      }
    }
<pre>
Metadata returned to client when grounding is enabled.
</pre>

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