public void read(TProtocol iprot) throws TException {
            TField field;
            iprot.readStructBegin();
            while (true) {
                field = iprot.readFieldBegin();
                if (field.type == TType.STOP) {
                    break;
                }
                switch (field.id) {
                    case 0: // SUCCESS
                        if (field.type == TType.MAP) {
                            {
                                TMap _map0 = iprot.readMapBegin();
                                this.success = new HashMap<String, Long>(2 * _map0.size);
                                for (int _i1 = 0; _i1 < _map0.size; ++_i1) {
                                    String _key2;
                                    long _val3;
                                    _key2 = iprot.readString();
                                    _val3 = iprot.readI64();
                                    this.success.put(_key2, _val3);
                                }
                                iprot.readMapEnd();
                            }
                        } else {
                            TProtocolUtil.skip(iprot, field.type);
                        }
                        break;
                    default:
                        TProtocolUtil.skip(iprot, field.type);
                }
                iprot.readFieldEnd();
            }
            iprot.readStructEnd();

            // check for required fields of primitive type, which can't be checked in the validate method
            validate();
        }