oprot.writeBitSet(optionals, 4);
if (struct.isSetStart()) {
struct.start.write(oprot);
}
if (struct.isSetStartInclusive()) {
oprot.writeBool(struct.startInclusive);
}
if (struct.isSetStop()) {
struct.stop.write(oprot);
}
if (struct.isSetStopInclusive()) {