private static class storeTopKeyValueAnnotations_argsTupleScheme extends TupleScheme<storeTopKeyValueAnnotations_args> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, storeTopKeyValueAnnotations_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetService_name()) {
optionals.set(0);
}
if (struct.isSetAnnotations()) {
optionals.set(1);
}
oprot.writeBitSet(optionals, 2);
if (struct.isSetService_name()) {
oprot.writeString(struct.service_name);
}
if (struct.isSetAnnotations()) {
{
oprot.writeI32(struct.annotations.size());
for (String _iter12 : struct.annotations)
{
oprot.writeString(_iter12);
}
}
}
}