@java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + INDEX_FIELD_NUMBER;
    hash = (53 * hash) + getIndex();
    if (hasContent()) {
      hash = (37 * hash) + CONTENT_FIELD_NUMBER;
      hash = (53 * hash) + getContent().hashCode();
    }
    hash = (37 * hash) + SCORE_FIELD_NUMBER;
    hash =
        (53 * hash)
            + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getScore()));
    hash = (37 * hash) + AVG_LOGPROBS_FIELD_NUMBER;
    hash =
        (53 * hash)
            + com.google.protobuf.Internal.hashLong(
                java.lang.Double.doubleToLongBits(getAvgLogprobs()));
    if (hasLogprobsResult()) {
      hash = (37 * hash) + LOGPROBS_RESULT_FIELD_NUMBER;
      hash = (53 * hash) + getLogprobsResult().hashCode();
    }
    hash = (37 * hash) + FINISH_REASON_FIELD_NUMBER;
    hash = (53 * hash) + finishReason_;
    if (getSafetyRatingsCount() > 0) {
      hash = (37 * hash) + SAFETY_RATINGS_FIELD_NUMBER;
      hash = (53 * hash) + getSafetyRatingsList().hashCode();
    }
    if (hasFinishMessage()) {
      hash = (37 * hash) + FINISH_MESSAGE_FIELD_NUMBER;
      hash = (53 * hash) + getFinishMessage().hashCode();
    }
    if (hasCitationMetadata()) {
      hash = (37 * hash) + CITATION_METADATA_FIELD_NUMBER;
      hash = (53 * hash) + getCitationMetadata().hashCode();
    }
    if (hasGroundingMetadata()) {
      hash = (37 * hash) + GROUNDING_METADATA_FIELD_NUMBER;
      hash = (53 * hash) + getGroundingMetadata().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }
<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