sz += CodedOutputStream.computeRawVarint32Size(i);
}
break;
case Type.B_ROLLUP_STAT:
sz = 1 + 1; // type + isFP.
AbstractRollupStat stat = (AbstractRollupStat)o;
sz += stat.isFloatingPoint() ?
CodedOutputStream.computeDoubleSizeNoTag(stat.toDouble()) :
CodedOutputStream.computeRawVarint64Size(stat.toLong());
return sz;
case Type.B_TIMER:
sz += 1; // version
TimerRollup rollup = (TimerRollup)o;
sz += CodedOutputStream.computeRawVarint64Size(rollup.getSum());