@java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (getWebSearchQueriesCount() > 0) {
      hash = (37 * hash) + WEB_SEARCH_QUERIES_FIELD_NUMBER;
      hash = (53 * hash) + getWebSearchQueriesList().hashCode();
    }
    if (hasSearchEntryPoint()) {
      hash = (37 * hash) + SEARCH_ENTRY_POINT_FIELD_NUMBER;
      hash = (53 * hash) + getSearchEntryPoint().hashCode();
    }
    if (getGroundingChunksCount() > 0) {
      hash = (37 * hash) + GROUNDING_CHUNKS_FIELD_NUMBER;
      hash = (53 * hash) + getGroundingChunksList().hashCode();
    }
    if (getGroundingSupportsCount() > 0) {
      hash = (37 * hash) + GROUNDING_SUPPORTS_FIELD_NUMBER;
      hash = (53 * hash) + getGroundingSupportsList().hashCode();
    }
    if (hasRetrievalMetadata()) {
      hash = (37 * hash) + RETRIEVAL_METADATA_FIELD_NUMBER;
      hash = (53 * hash) + getRetrievalMetadata().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }
<pre>
Optional. Output only. Retrieval metadata.
</pre>

<code>
optional .google.cloud.vertexai.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingMetadata.java