public void write_args(TProtocol prot) throws TException {
                prot.writeMessageBegin(new TMessage("setOption", TMessageType.CALL, 0));
                setOption_args args = new setOption_args();
                args.setKey(key);
                args.setValue(value);
                args.write(prot);
                prot.writeMessageEnd();
            }