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

    if (!getName().equals(other.getName())) return false;
    if (hasSnapshotTime() != other.hasSnapshotTime()) return false;
    if (hasSnapshotTime()) {
      if (!getSnapshotTime().equals(other.getSnapshotTime())) return false;
    }
    if (!getReportPathPrefix().equals(other.getReportPathPrefix())) return false;
    if (getShardsCount() != other.getShardsCount()) return false;
    if (hasStatus() != other.hasStatus()) return false;
    if (hasStatus()) {
      if (!getStatus().equals(other.getStatus())) return false;
    }
    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
    if (hasTargetDatetime() != other.hasTargetDatetime()) return false;
    if (hasTargetDatetime()) {
      if (!getTargetDatetime().equals(other.getTargetDatetime())) return false;
    }
    if (hasReportMetrics() != other.hasReportMetrics()) return false;
    if (hasReportMetrics()) {
      if (!getReportMetrics().equals(other.getReportMetrics())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Metrics of the report.
</pre>

<code>.google.cloud.storageinsights.v1.ReportDetail.Metrics report_metrics = 7;</code>
java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/ReportDetail.java