TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetProperties()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);
if (struct.isSetProperties()) {
{
oprot.writeI32(struct.properties.size());
for (Map.Entry<String, String> _iter251 : struct.properties.entrySet())
{