class ContentSummary extends QuotaUsage implements Writable {

  @Override
  @InterfaceAudience.Private
  public void write(DataOutput out) throws IOException {
    out.writeLong(length);
    out.writeLong(fileCount);
    out.writeLong(directoryCount);
    out.writeLong(getQuota());
    out.writeLong(getSpaceConsumed());
    out.writeLong(getSpaceQuota());
  }

  @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);

}