oprot.writeBitSet(optionals, 4);
if (struct.isSetConstrainClass()) {
oprot.writeString(struct.constrainClass);
}
if (struct.isSetViolationCode()) {
oprot.writeI16(struct.violationCode);
}
if (struct.isSetViolationDescription()) {
oprot.writeString(struct.violationDescription);
}
if (struct.isSetNumberOfViolatingMutations()) {