public Builder mergeFrom(com.google.cloud.vertexai.api.GroundingSupport other) {
      if (other == com.google.cloud.vertexai.api.GroundingSupport.getDefaultInstance()) return this;
      if (other.hasSegment()) {
        mergeSegment(other.getSegment());
      }
      if (!other.groundingChunkIndices_.isEmpty()) {
        if (groundingChunkIndices_.isEmpty()) {
          groundingChunkIndices_ = other.groundingChunkIndices_;
          groundingChunkIndices_.makeImmutable();
          bitField0_ |= 0x00000002;
        } else {
          ensureGroundingChunkIndicesIsMutable();
          groundingChunkIndices_.addAll(other.groundingChunkIndices_);
        }
        onChanged();
      }
      if (!other.confidenceScores_.isEmpty()) {
        if (confidenceScores_.isEmpty()) {
          confidenceScores_ = other.confidenceScores_;
          confidenceScores_.makeImmutable();
          bitField0_ |= 0x00000004;
        } else {
          ensureConfidenceScoresIsMutable();
          confidenceScores_.addAll(other.confidenceScores_);
        }
        onChanged();
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
Grounding support.
</pre>

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