oprot.writeBitSet(optionals, 8);
if (struct.isSetQueryId()) {
oprot.writeString(struct.queryId);
}
if (struct.isSetQueryType()) {
oprot.writeString(struct.queryType);
}
if (struct.isSetQueryAttributes()) {
{
oprot.writeI32(struct.queryAttributes.size());
for (Map.Entry<String, String> _iter114 : struct.queryAttributes.entrySet())