// sum, count, countps, avg, max, min, var
out.writeRawVarint64(rollup.getSum());
out.writeRawVarint64(rollup.getCount());
out.writeDoubleNoTag(rollup.getRate());
out.writeRawVarint32(rollup.getSampleCount());
putRollupStat(rollup.getAverage(), out);
putRollupStat(rollup.getMaxValue(), out);
putRollupStat(rollup.getMinValue(), out);
putRollupStat(rollup.getVariance(), out);