public Builder mergeFrom(com.google.cloud.vertexai.api.GroundingMetadata other) {
      if (other == com.google.cloud.vertexai.api.GroundingMetadata.getDefaultInstance())
        return this;
      if (!other.webSearchQueries_.isEmpty()) {
        if (webSearchQueries_.isEmpty()) {
          webSearchQueries_ = other.webSearchQueries_;
          bitField0_ |= 0x00000001;
        } else {
          ensureWebSearchQueriesIsMutable();
          webSearchQueries_.addAll(other.webSearchQueries_);
        }
        onChanged();
      }
      if (other.hasSearchEntryPoint()) {
        mergeSearchEntryPoint(other.getSearchEntryPoint());
      }
      if (groundingChunksBuilder_ == null) {
        if (!other.groundingChunks_.isEmpty()) {
          if (groundingChunks_.isEmpty()) {
            groundingChunks_ = other.groundingChunks_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureGroundingChunksIsMutable();
            groundingChunks_.addAll(other.groundingChunks_);
          }
          onChanged();
        }
      } else {
        if (!other.groundingChunks_.isEmpty()) {
          if (groundingChunksBuilder_.isEmpty()) {
            groundingChunksBuilder_.dispose();
            groundingChunksBuilder_ = null;
            groundingChunks_ = other.groundingChunks_;
            bitField0_ = (bitField0_ & ~0x00000004);
            groundingChunksBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                    ? getGroundingChunksFieldBuilder()
                    : null;
          } else {
            groundingChunksBuilder_.addAllMessages(other.groundingChunks_);
          }
        }
      }
      if (groundingSupportsBuilder_ == null) {
        if (!other.groundingSupports_.isEmpty()) {
          if (groundingSupports_.isEmpty()) {
            groundingSupports_ = other.groundingSupports_;
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            ensureGroundingSupportsIsMutable();
            groundingSupports_.addAll(other.groundingSupports_);
          }
          onChanged();
        }
      } else {
        if (!other.groundingSupports_.isEmpty()) {
          if (groundingSupportsBuilder_.isEmpty()) {
            groundingSupportsBuilder_.dispose();
            groundingSupportsBuilder_ = null;
            groundingSupports_ = other.groundingSupports_;
            bitField0_ = (bitField0_ & ~0x00000008);
            groundingSupportsBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                    ? getGroundingSupportsFieldBuilder()
                    : null;
          } else {
            groundingSupportsBuilder_.addAllMessages(other.groundingSupports_);
          }
        }
      }
      if (other.hasRetrievalMetadata()) {
        mergeRetrievalMetadata(other.getRetrievalMetadata());
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<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