@Override
public void write(org.apache.thrift.protocol.TProtocol prot, checkAndPut_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
oprot.writeBinary(struct.table);
oprot.writeBinary(struct.row);
oprot.writeBinary(struct.family);
oprot.writeBinary(struct.qualifier);
struct.put.write(oprot);
BitSet optionals = new BitSet();
if (struct.isSetValue()) {
optionals.set(0);