oprot.writeBitSet(optionals, 6);
if (struct.isSetStarted()) {
oprot.writeI64(struct.started);
}
if (struct.isSetFinished()) {
oprot.writeI64(struct.finished);
}
if (struct.isSetCandidates()) {
oprot.writeI64(struct.candidates);
}
if (struct.isSetInUse()) {