public Builder addGroundingSupports(
        int index, com.google.cloud.vertexai.api.GroundingSupport value) {
      if (groundingSupportsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureGroundingSupportsIsMutable();
        groundingSupports_.add(index, value);
        onChanged();
      } else {
        groundingSupportsBuilder_.addMessage(index, value);
      }
      return this;
    }
<pre>
Optional. List of grounding support.
</pre>

<code>
repeated .google.cloud.vertexai.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingMetadata.java