@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(2, getSnapshotTime());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(4, getStatus());
    }
    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5);
    if (((bitField0_ & 0x00000004) != 0)) {
      output.writeMessage(6, getTargetDatetime());
    }
    if (((bitField0_ & 0x00000008) != 0)) {
      output.writeMessage(7, getReportMetrics());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reportPathPrefix_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, reportPathPrefix_);
    }
    if (shardsCount_ != 0L) {
      output.writeInt64(9, shardsCount_);
    }
    getUnknownFields().writeTo(output);
  }
<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