@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.vertexai.api.GroundingSupport)) {
      return super.equals(obj);
    }
    com.google.cloud.vertexai.api.GroundingSupport other =
        (com.google.cloud.vertexai.api.GroundingSupport) obj;

    if (hasSegment() != other.hasSegment()) return false;
    if (hasSegment()) {
      if (!getSegment().equals(other.getSegment())) return false;
    }
    if (!getGroundingChunkIndicesList().equals(other.getGroundingChunkIndicesList())) return false;
    if (!getConfidenceScoresList().equals(other.getConfidenceScoresList())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Confidence score of the support references. Ranges from 0 to 1. 1 is the
most confident. This list must have the same size as the
grounding_chunk_indices.
</pre>

<code>repeated float confidence_scores = 3;</code>

@param index The index of the element to return.
@return The confidenceScores at the given index.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingSupport.java