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

    if (!getWebSearchQueriesList().equals(other.getWebSearchQueriesList())) return false;
    if (hasSearchEntryPoint() != other.hasSearchEntryPoint()) return false;
    if (hasSearchEntryPoint()) {
      if (!getSearchEntryPoint().equals(other.getSearchEntryPoint())) return false;
    }
    if (!getGroundingChunksList().equals(other.getGroundingChunksList())) return false;
    if (!getGroundingSupportsList().equals(other.getGroundingSupportsList())) return false;
    if (hasRetrievalMetadata() != other.hasRetrievalMetadata()) return false;
    if (hasRetrievalMetadata()) {
      if (!getRetrievalMetadata().equals(other.getRetrievalMetadata())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<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