@java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (hasSegment()) {
      hash = (37 * hash) + SEGMENT_FIELD_NUMBER;
      hash = (53 * hash) + getSegment().hashCode();
    }
    if (getGroundingChunkIndicesCount() > 0) {
      hash = (37 * hash) + GROUNDING_CHUNK_INDICES_FIELD_NUMBER;
      hash = (53 * hash) + getGroundingChunkIndicesList().hashCode();
    }
    if (getConfidenceScoresCount() > 0) {
      hash = (37 * hash) + CONFIDENCE_SCORES_FIELD_NUMBER;
      hash = (53 * hash) + getConfidenceScoresList().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }
<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