if (struct.isSetSortFieldResults()) {
optionals.set(3);
}
oprot.writeBitSet(optionals, 4);
if (struct.isSetLocationId()) {
oprot.writeString(struct.locationId);
}
if (struct.isSetScore()) {
oprot.writeDouble(struct.score);
}
if (struct.isSetFetchResult()) {