class ContentSummary extends QuotaUsage implements Writable {

  @Override
  @InterfaceAudience.Private
  public void readFields(DataInput in) throws IOException {
    this.length = in.readLong();
    this.fileCount = in.readLong();
    this.directoryCount = in.readLong();
    setQuota(in.readLong());
    setSpaceConsumed(in.readLong());
    setSpaceQuota(in.readLong());
  }

  @Deprecated public  ContentSummary();
  @Deprecated public  ContentSummary(long length, long fileCount, long directoryCount);
  @Deprecated public  ContentSummary(
      long length, long fileCount, long directoryCount, long quota,
      long spaceConsumed, long spaceQuota);
  private  ContentSummary(Builder builder);

}