if (struct.isSetTotalResults()) {
oprot.writeI64(struct.totalResults);
}
if (struct.isSetShardInfo()) {
{
oprot.writeI32(struct.shardInfo.size());
for (Map.Entry<String, Long> _iter101 : struct.shardInfo.entrySet())
{
oprot.writeString(_iter101.getKey());
oprot.writeI64(_iter101.getValue());
}