oprot.writeBitSet(optionals, 10);
if (struct.isSetJobID()) {
struct.jobID.write(oprot);
}
if (struct.isSetMapProgress()) {
oprot.writeDouble(struct.mapProgress);
}
if (struct.isSetReduceProgress()) {
oprot.writeDouble(struct.reduceProgress);
}
if (struct.isSetCleanupProgress()) {