public Builder setGroundingMetadata(
        com.google.cloud.vertexai.api.GroundingMetadata.Builder builderForValue) {
      if (groundingMetadataBuilder_ == null) {
        groundingMetadata_ = builderForValue.build();
      } else {
        groundingMetadataBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000200;
      onChanged();
      return this;
    }
<pre>
Output only. Metadata specifies sources used to ground generated content.
</pre>

<code>
.google.cloud.vertexai.v1.GroundingMetadata grounding_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Candidate.java