Subversion Repositories SmartDukaan

Rev

Rev 7075 | Rev 7084 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7075 Rev 7080
Line 918... Line 918...
918
 
918
 
919
    public List<String> receiveUpdatesForRedExpress(String awbNumber) throws org.apache.thrift.TException;
919
    public List<String> receiveUpdatesForRedExpress(String awbNumber) throws org.apache.thrift.TException;
920
 
920
 
921
    public RechargeTransaction createRechargeTransaction(RechargeTransaction thriftRechargeTransaction) throws org.apache.thrift.TException;
921
    public RechargeTransaction createRechargeTransaction(RechargeTransaction thriftRechargeTransaction) throws org.apache.thrift.TException;
922
 
922
 
-
 
923
    public RechargeTransaction getRechargeTransaction(long rechargeId) throws org.apache.thrift.TException;
-
 
924
 
-
 
925
    public List<FRC> getFRCs(long circleId, long operatorId) throws org.apache.thrift.TException;
-
 
926
 
923
  }
927
  }
924
 
928
 
925
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
929
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
926
 
930
 
927
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
931
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1230... Line 1234...
1230
 
1234
 
1231
    public void receiveUpdatesForRedExpress(String awbNumber, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.receiveUpdatesForRedExpress_call> resultHandler) throws org.apache.thrift.TException;
1235
    public void receiveUpdatesForRedExpress(String awbNumber, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.receiveUpdatesForRedExpress_call> resultHandler) throws org.apache.thrift.TException;
1232
 
1236
 
1233
    public void createRechargeTransaction(RechargeTransaction thriftRechargeTransaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createRechargeTransaction_call> resultHandler) throws org.apache.thrift.TException;
1237
    public void createRechargeTransaction(RechargeTransaction thriftRechargeTransaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createRechargeTransaction_call> resultHandler) throws org.apache.thrift.TException;
1234
 
1238
 
-
 
1239
    public void getRechargeTransaction(long rechargeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRechargeTransaction_call> resultHandler) throws org.apache.thrift.TException;
-
 
1240
 
-
 
1241
    public void getFRCs(long circleId, long operatorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getFRCs_call> resultHandler) throws org.apache.thrift.TException;
-
 
1242
 
1235
  }
1243
  }
1236
 
1244
 
1237
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1245
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1238
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1246
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1239
      public Factory() {}
1247
      public Factory() {}
Line 5129... Line 5137...
5129
        return result.success;
5137
        return result.success;
5130
      }
5138
      }
5131
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createRechargeTransaction failed: unknown result");
5139
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createRechargeTransaction failed: unknown result");
5132
    }
5140
    }
5133
 
5141
 
-
 
5142
    public RechargeTransaction getRechargeTransaction(long rechargeId) throws org.apache.thrift.TException
-
 
5143
    {
-
 
5144
      send_getRechargeTransaction(rechargeId);
-
 
5145
      return recv_getRechargeTransaction();
-
 
5146
    }
-
 
5147
 
-
 
5148
    public void send_getRechargeTransaction(long rechargeId) throws org.apache.thrift.TException
-
 
5149
    {
-
 
5150
      getRechargeTransaction_args args = new getRechargeTransaction_args();
-
 
5151
      args.setRechargeId(rechargeId);
-
 
5152
      sendBase("getRechargeTransaction", args);
-
 
5153
    }
-
 
5154
 
-
 
5155
    public RechargeTransaction recv_getRechargeTransaction() throws org.apache.thrift.TException
-
 
5156
    {
-
 
5157
      getRechargeTransaction_result result = new getRechargeTransaction_result();
-
 
5158
      receiveBase(result, "getRechargeTransaction");
-
 
5159
      if (result.isSetSuccess()) {
-
 
5160
        return result.success;
-
 
5161
      }
-
 
5162
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRechargeTransaction failed: unknown result");
-
 
5163
    }
-
 
5164
 
-
 
5165
    public List<FRC> getFRCs(long circleId, long operatorId) throws org.apache.thrift.TException
-
 
5166
    {
-
 
5167
      send_getFRCs(circleId, operatorId);
-
 
5168
      return recv_getFRCs();
-
 
5169
    }
-
 
5170
 
-
 
5171
    public void send_getFRCs(long circleId, long operatorId) throws org.apache.thrift.TException
-
 
5172
    {
-
 
5173
      getFRCs_args args = new getFRCs_args();
-
 
5174
      args.setCircleId(circleId);
-
 
5175
      args.setOperatorId(operatorId);
-
 
5176
      sendBase("getFRCs", args);
-
 
5177
    }
-
 
5178
 
-
 
5179
    public List<FRC> recv_getFRCs() throws org.apache.thrift.TException
-
 
5180
    {
-
 
5181
      getFRCs_result result = new getFRCs_result();
-
 
5182
      receiveBase(result, "getFRCs");
-
 
5183
      if (result.isSetSuccess()) {
-
 
5184
        return result.success;
-
 
5185
      }
-
 
5186
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getFRCs failed: unknown result");
-
 
5187
    }
-
 
5188
 
5134
  }
5189
  }
5135
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5190
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5136
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5191
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5137
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5192
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5138
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
5193
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 10531... Line 10586...
10531
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
10586
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
10532
        return (new Client(prot)).recv_createRechargeTransaction();
10587
        return (new Client(prot)).recv_createRechargeTransaction();
10533
      }
10588
      }
10534
    }
10589
    }
10535
 
10590
 
-
 
10591
    public void getRechargeTransaction(long rechargeId, org.apache.thrift.async.AsyncMethodCallback<getRechargeTransaction_call> resultHandler) throws org.apache.thrift.TException {
-
 
10592
      checkReady();
-
 
10593
      getRechargeTransaction_call method_call = new getRechargeTransaction_call(rechargeId, resultHandler, this, ___protocolFactory, ___transport);
-
 
10594
      this.___currentMethod = method_call;
-
 
10595
      ___manager.call(method_call);
-
 
10596
    }
-
 
10597
 
-
 
10598
    public static class getRechargeTransaction_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
10599
      private long rechargeId;
-
 
10600
      public getRechargeTransaction_call(long rechargeId, org.apache.thrift.async.AsyncMethodCallback<getRechargeTransaction_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-
 
10601
        super(client, protocolFactory, transport, resultHandler, false);
-
 
10602
        this.rechargeId = rechargeId;
-
 
10603
      }
-
 
10604
 
-
 
10605
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
10606
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRechargeTransaction", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
10607
        getRechargeTransaction_args args = new getRechargeTransaction_args();
-
 
10608
        args.setRechargeId(rechargeId);
-
 
10609
        args.write(prot);
-
 
10610
        prot.writeMessageEnd();
-
 
10611
      }
-
 
10612
 
-
 
10613
      public RechargeTransaction getResult() throws org.apache.thrift.TException {
-
 
10614
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
10615
          throw new IllegalStateException("Method call not finished!");
-
 
10616
        }
-
 
10617
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
10618
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
10619
        return (new Client(prot)).recv_getRechargeTransaction();
-
 
10620
      }
-
 
10621
    }
-
 
10622
 
-
 
10623
    public void getFRCs(long circleId, long operatorId, org.apache.thrift.async.AsyncMethodCallback<getFRCs_call> resultHandler) throws org.apache.thrift.TException {
-
 
10624
      checkReady();
-
 
10625
      getFRCs_call method_call = new getFRCs_call(circleId, operatorId, resultHandler, this, ___protocolFactory, ___transport);
-
 
10626
      this.___currentMethod = method_call;
-
 
10627
      ___manager.call(method_call);
-
 
10628
    }
-
 
10629
 
-
 
10630
    public static class getFRCs_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
10631
      private long circleId;
-
 
10632
      private long operatorId;
-
 
10633
      public getFRCs_call(long circleId, long operatorId, org.apache.thrift.async.AsyncMethodCallback<getFRCs_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-
 
10634
        super(client, protocolFactory, transport, resultHandler, false);
-
 
10635
        this.circleId = circleId;
-
 
10636
        this.operatorId = operatorId;
-
 
10637
      }
-
 
10638
 
-
 
10639
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
10640
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getFRCs", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
10641
        getFRCs_args args = new getFRCs_args();
-
 
10642
        args.setCircleId(circleId);
-
 
10643
        args.setOperatorId(operatorId);
-
 
10644
        args.write(prot);
-
 
10645
        prot.writeMessageEnd();
-
 
10646
      }
-
 
10647
 
-
 
10648
      public List<FRC> getResult() throws org.apache.thrift.TException {
-
 
10649
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
10650
          throw new IllegalStateException("Method call not finished!");
-
 
10651
        }
-
 
10652
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
10653
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
10654
        return (new Client(prot)).recv_getFRCs();
-
 
10655
      }
-
 
10656
    }
-
 
10657
 
10536
  }
10658
  }
10537
 
10659
 
10538
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
10660
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
10539
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
10661
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
10540
    public Processor(I iface) {
10662
    public Processor(I iface) {
Line 10698... Line 10820...
10698
      processMap.put("getDocument", new getDocument());
10820
      processMap.put("getDocument", new getDocument());
10699
      processMap.put("changeShippingAddress", new changeShippingAddress());
10821
      processMap.put("changeShippingAddress", new changeShippingAddress());
10700
      processMap.put("retrieveInvoice", new retrieveInvoice());
10822
      processMap.put("retrieveInvoice", new retrieveInvoice());
10701
      processMap.put("receiveUpdatesForRedExpress", new receiveUpdatesForRedExpress());
10823
      processMap.put("receiveUpdatesForRedExpress", new receiveUpdatesForRedExpress());
10702
      processMap.put("createRechargeTransaction", new createRechargeTransaction());
10824
      processMap.put("createRechargeTransaction", new createRechargeTransaction());
-
 
10825
      processMap.put("getRechargeTransaction", new getRechargeTransaction());
-
 
10826
      processMap.put("getFRCs", new getFRCs());
10703
      return processMap;
10827
      return processMap;
10704
    }
10828
    }
10705
 
10829
 
10706
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
10830
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
10707
      public createTransaction() {
10831
      public createTransaction() {
Line 13593... Line 13717...
13593
        result.success = iface.createRechargeTransaction(args.thriftRechargeTransaction);
13717
        result.success = iface.createRechargeTransaction(args.thriftRechargeTransaction);
13594
        return result;
13718
        return result;
13595
      }
13719
      }
13596
    }
13720
    }
13597
 
13721
 
-
 
13722
    private static class getRechargeTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRechargeTransaction_args> {
-
 
13723
      public getRechargeTransaction() {
-
 
13724
        super("getRechargeTransaction");
-
 
13725
      }
-
 
13726
 
-
 
13727
      protected getRechargeTransaction_args getEmptyArgsInstance() {
-
 
13728
        return new getRechargeTransaction_args();
-
 
13729
      }
-
 
13730
 
-
 
13731
      protected getRechargeTransaction_result getResult(I iface, getRechargeTransaction_args args) throws org.apache.thrift.TException {
-
 
13732
        getRechargeTransaction_result result = new getRechargeTransaction_result();
-
 
13733
        result.success = iface.getRechargeTransaction(args.rechargeId);
-
 
13734
        return result;
-
 
13735
      }
-
 
13736
    }
-
 
13737
 
-
 
13738
    private static class getFRCs<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getFRCs_args> {
-
 
13739
      public getFRCs() {
-
 
13740
        super("getFRCs");
-
 
13741
      }
-
 
13742
 
-
 
13743
      protected getFRCs_args getEmptyArgsInstance() {
-
 
13744
        return new getFRCs_args();
-
 
13745
      }
-
 
13746
 
-
 
13747
      protected getFRCs_result getResult(I iface, getFRCs_args args) throws org.apache.thrift.TException {
-
 
13748
        getFRCs_result result = new getFRCs_result();
-
 
13749
        result.success = iface.getFRCs(args.circleId, args.operatorId);
-
 
13750
        return result;
-
 
13751
      }
-
 
13752
    }
-
 
13753
 
13598
  }
13754
  }
13599
 
13755
 
13600
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
13756
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
13601
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
13757
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
13602
 
13758
 
Line 57699... Line 57855...
57699
      }
57855
      }
57700
    }
57856
    }
57701
 
57857
 
57702
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
57858
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
57703
      try {
57859
      try {
-
 
57860
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
57861
        __isset_bit_vector = new BitSet(1);
57704
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
57862
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
57705
      } catch (org.apache.thrift.TException te) {
57863
      } catch (org.apache.thrift.TException te) {
57706
        throw new java.io.IOException(te);
57864
        throw new java.io.IOException(te);
57707
      }
57865
      }
57708
    }
57866
    }
Line 62549... Line 62707...
62549
      }
62707
      }
62550
    }
62708
    }
62551
 
62709
 
62552
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
62710
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
62553
      try {
62711
      try {
-
 
62712
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
62713
        __isset_bit_vector = new BitSet(1);
62554
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
62714
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
62555
      } catch (org.apache.thrift.TException te) {
62715
      } catch (org.apache.thrift.TException te) {
62556
        throw new java.io.IOException(te);
62716
        throw new java.io.IOException(te);
62557
      }
62717
      }
62558
    }
62718
    }
Line 125559... Line 125719...
125559
      boolean first = true;
125719
      boolean first = true;
125560
 
125720
 
125561
      sb.append("success:");
125721
      sb.append("success:");
125562
      if (this.success == null) {
125722
      if (this.success == null) {
125563
        sb.append("null");
125723
        sb.append("null");
-
 
125724
      } else {
-
 
125725
        sb.append(this.success);
-
 
125726
      }
-
 
125727
      first = false;
-
 
125728
      sb.append(")");
-
 
125729
      return sb.toString();
-
 
125730
    }
-
 
125731
 
-
 
125732
    public void validate() throws org.apache.thrift.TException {
-
 
125733
      // check for required fields
-
 
125734
    }
-
 
125735
 
-
 
125736
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
125737
      try {
-
 
125738
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
125739
      } catch (org.apache.thrift.TException te) {
-
 
125740
        throw new java.io.IOException(te);
-
 
125741
      }
-
 
125742
    }
-
 
125743
 
-
 
125744
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
125745
      try {
-
 
125746
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
125747
      } catch (org.apache.thrift.TException te) {
-
 
125748
        throw new java.io.IOException(te);
-
 
125749
      }
-
 
125750
    }
-
 
125751
 
-
 
125752
  }
-
 
125753
 
-
 
125754
  public static class getRechargeTransaction_args implements org.apache.thrift.TBase<getRechargeTransaction_args, getRechargeTransaction_args._Fields>, java.io.Serializable, Cloneable   {
-
 
125755
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRechargeTransaction_args");
-
 
125756
 
-
 
125757
    private static final org.apache.thrift.protocol.TField RECHARGE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("rechargeId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
125758
 
-
 
125759
    private long rechargeId; // required
-
 
125760
 
-
 
125761
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
125762
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
125763
      RECHARGE_ID((short)1, "rechargeId");
-
 
125764
 
-
 
125765
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
125766
 
-
 
125767
      static {
-
 
125768
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
125769
          byName.put(field.getFieldName(), field);
-
 
125770
        }
-
 
125771
      }
-
 
125772
 
-
 
125773
      /**
-
 
125774
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
125775
       */
-
 
125776
      public static _Fields findByThriftId(int fieldId) {
-
 
125777
        switch(fieldId) {
-
 
125778
          case 1: // RECHARGE_ID
-
 
125779
            return RECHARGE_ID;
-
 
125780
          default:
-
 
125781
            return null;
-
 
125782
        }
-
 
125783
      }
-
 
125784
 
-
 
125785
      /**
-
 
125786
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
125787
       * if it is not found.
-
 
125788
       */
-
 
125789
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
125790
        _Fields fields = findByThriftId(fieldId);
-
 
125791
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
125792
        return fields;
-
 
125793
      }
-
 
125794
 
-
 
125795
      /**
-
 
125796
       * Find the _Fields constant that matches name, or null if its not found.
-
 
125797
       */
-
 
125798
      public static _Fields findByName(String name) {
-
 
125799
        return byName.get(name);
-
 
125800
      }
-
 
125801
 
-
 
125802
      private final short _thriftId;
-
 
125803
      private final String _fieldName;
-
 
125804
 
-
 
125805
      _Fields(short thriftId, String fieldName) {
-
 
125806
        _thriftId = thriftId;
-
 
125807
        _fieldName = fieldName;
-
 
125808
      }
-
 
125809
 
-
 
125810
      public short getThriftFieldId() {
-
 
125811
        return _thriftId;
-
 
125812
      }
-
 
125813
 
-
 
125814
      public String getFieldName() {
-
 
125815
        return _fieldName;
-
 
125816
      }
-
 
125817
    }
-
 
125818
 
-
 
125819
    // isset id assignments
-
 
125820
    private static final int __RECHARGEID_ISSET_ID = 0;
-
 
125821
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
125822
 
-
 
125823
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
125824
    static {
-
 
125825
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
125826
      tmpMap.put(_Fields.RECHARGE_ID, new org.apache.thrift.meta_data.FieldMetaData("rechargeId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
125827
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
125828
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
125829
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRechargeTransaction_args.class, metaDataMap);
-
 
125830
    }
-
 
125831
 
-
 
125832
    public getRechargeTransaction_args() {
-
 
125833
    }
-
 
125834
 
-
 
125835
    public getRechargeTransaction_args(
-
 
125836
      long rechargeId)
-
 
125837
    {
-
 
125838
      this();
-
 
125839
      this.rechargeId = rechargeId;
-
 
125840
      setRechargeIdIsSet(true);
-
 
125841
    }
-
 
125842
 
-
 
125843
    /**
-
 
125844
     * Performs a deep copy on <i>other</i>.
-
 
125845
     */
-
 
125846
    public getRechargeTransaction_args(getRechargeTransaction_args other) {
-
 
125847
      __isset_bit_vector.clear();
-
 
125848
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
125849
      this.rechargeId = other.rechargeId;
-
 
125850
    }
-
 
125851
 
-
 
125852
    public getRechargeTransaction_args deepCopy() {
-
 
125853
      return new getRechargeTransaction_args(this);
-
 
125854
    }
-
 
125855
 
-
 
125856
    @Override
-
 
125857
    public void clear() {
-
 
125858
      setRechargeIdIsSet(false);
-
 
125859
      this.rechargeId = 0;
-
 
125860
    }
-
 
125861
 
-
 
125862
    public long getRechargeId() {
-
 
125863
      return this.rechargeId;
-
 
125864
    }
-
 
125865
 
-
 
125866
    public void setRechargeId(long rechargeId) {
-
 
125867
      this.rechargeId = rechargeId;
-
 
125868
      setRechargeIdIsSet(true);
-
 
125869
    }
-
 
125870
 
-
 
125871
    public void unsetRechargeId() {
-
 
125872
      __isset_bit_vector.clear(__RECHARGEID_ISSET_ID);
-
 
125873
    }
-
 
125874
 
-
 
125875
    /** Returns true if field rechargeId is set (has been assigned a value) and false otherwise */
-
 
125876
    public boolean isSetRechargeId() {
-
 
125877
      return __isset_bit_vector.get(__RECHARGEID_ISSET_ID);
-
 
125878
    }
-
 
125879
 
-
 
125880
    public void setRechargeIdIsSet(boolean value) {
-
 
125881
      __isset_bit_vector.set(__RECHARGEID_ISSET_ID, value);
-
 
125882
    }
-
 
125883
 
-
 
125884
    public void setFieldValue(_Fields field, Object value) {
-
 
125885
      switch (field) {
-
 
125886
      case RECHARGE_ID:
-
 
125887
        if (value == null) {
-
 
125888
          unsetRechargeId();
-
 
125889
        } else {
-
 
125890
          setRechargeId((Long)value);
-
 
125891
        }
-
 
125892
        break;
-
 
125893
 
-
 
125894
      }
-
 
125895
    }
-
 
125896
 
-
 
125897
    public Object getFieldValue(_Fields field) {
-
 
125898
      switch (field) {
-
 
125899
      case RECHARGE_ID:
-
 
125900
        return Long.valueOf(getRechargeId());
-
 
125901
 
-
 
125902
      }
-
 
125903
      throw new IllegalStateException();
-
 
125904
    }
-
 
125905
 
-
 
125906
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
125907
    public boolean isSet(_Fields field) {
-
 
125908
      if (field == null) {
-
 
125909
        throw new IllegalArgumentException();
-
 
125910
      }
-
 
125911
 
-
 
125912
      switch (field) {
-
 
125913
      case RECHARGE_ID:
-
 
125914
        return isSetRechargeId();
-
 
125915
      }
-
 
125916
      throw new IllegalStateException();
-
 
125917
    }
-
 
125918
 
-
 
125919
    @Override
-
 
125920
    public boolean equals(Object that) {
-
 
125921
      if (that == null)
-
 
125922
        return false;
-
 
125923
      if (that instanceof getRechargeTransaction_args)
-
 
125924
        return this.equals((getRechargeTransaction_args)that);
-
 
125925
      return false;
-
 
125926
    }
-
 
125927
 
-
 
125928
    public boolean equals(getRechargeTransaction_args that) {
-
 
125929
      if (that == null)
-
 
125930
        return false;
-
 
125931
 
-
 
125932
      boolean this_present_rechargeId = true;
-
 
125933
      boolean that_present_rechargeId = true;
-
 
125934
      if (this_present_rechargeId || that_present_rechargeId) {
-
 
125935
        if (!(this_present_rechargeId && that_present_rechargeId))
-
 
125936
          return false;
-
 
125937
        if (this.rechargeId != that.rechargeId)
-
 
125938
          return false;
-
 
125939
      }
-
 
125940
 
-
 
125941
      return true;
-
 
125942
    }
-
 
125943
 
-
 
125944
    @Override
-
 
125945
    public int hashCode() {
-
 
125946
      return 0;
-
 
125947
    }
-
 
125948
 
-
 
125949
    public int compareTo(getRechargeTransaction_args other) {
-
 
125950
      if (!getClass().equals(other.getClass())) {
-
 
125951
        return getClass().getName().compareTo(other.getClass().getName());
-
 
125952
      }
-
 
125953
 
-
 
125954
      int lastComparison = 0;
-
 
125955
      getRechargeTransaction_args typedOther = (getRechargeTransaction_args)other;
-
 
125956
 
-
 
125957
      lastComparison = Boolean.valueOf(isSetRechargeId()).compareTo(typedOther.isSetRechargeId());
-
 
125958
      if (lastComparison != 0) {
-
 
125959
        return lastComparison;
-
 
125960
      }
-
 
125961
      if (isSetRechargeId()) {
-
 
125962
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rechargeId, typedOther.rechargeId);
-
 
125963
        if (lastComparison != 0) {
-
 
125964
          return lastComparison;
-
 
125965
        }
-
 
125966
      }
-
 
125967
      return 0;
-
 
125968
    }
-
 
125969
 
-
 
125970
    public _Fields fieldForId(int fieldId) {
-
 
125971
      return _Fields.findByThriftId(fieldId);
-
 
125972
    }
-
 
125973
 
-
 
125974
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
125975
      org.apache.thrift.protocol.TField field;
-
 
125976
      iprot.readStructBegin();
-
 
125977
      while (true)
-
 
125978
      {
-
 
125979
        field = iprot.readFieldBegin();
-
 
125980
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
125981
          break;
-
 
125982
        }
-
 
125983
        switch (field.id) {
-
 
125984
          case 1: // RECHARGE_ID
-
 
125985
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
125986
              this.rechargeId = iprot.readI64();
-
 
125987
              setRechargeIdIsSet(true);
-
 
125988
            } else { 
-
 
125989
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
125990
            }
-
 
125991
            break;
-
 
125992
          default:
-
 
125993
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
125994
        }
-
 
125995
        iprot.readFieldEnd();
-
 
125996
      }
-
 
125997
      iprot.readStructEnd();
-
 
125998
      validate();
-
 
125999
    }
-
 
126000
 
-
 
126001
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
126002
      validate();
-
 
126003
 
-
 
126004
      oprot.writeStructBegin(STRUCT_DESC);
-
 
126005
      oprot.writeFieldBegin(RECHARGE_ID_FIELD_DESC);
-
 
126006
      oprot.writeI64(this.rechargeId);
-
 
126007
      oprot.writeFieldEnd();
-
 
126008
      oprot.writeFieldStop();
-
 
126009
      oprot.writeStructEnd();
-
 
126010
    }
-
 
126011
 
-
 
126012
    @Override
-
 
126013
    public String toString() {
-
 
126014
      StringBuilder sb = new StringBuilder("getRechargeTransaction_args(");
-
 
126015
      boolean first = true;
-
 
126016
 
-
 
126017
      sb.append("rechargeId:");
-
 
126018
      sb.append(this.rechargeId);
-
 
126019
      first = false;
-
 
126020
      sb.append(")");
-
 
126021
      return sb.toString();
-
 
126022
    }
-
 
126023
 
-
 
126024
    public void validate() throws org.apache.thrift.TException {
-
 
126025
      // check for required fields
-
 
126026
    }
-
 
126027
 
-
 
126028
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
126029
      try {
-
 
126030
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
126031
      } catch (org.apache.thrift.TException te) {
-
 
126032
        throw new java.io.IOException(te);
-
 
126033
      }
-
 
126034
    }
-
 
126035
 
-
 
126036
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
126037
      try {
-
 
126038
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
126039
        __isset_bit_vector = new BitSet(1);
-
 
126040
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
126041
      } catch (org.apache.thrift.TException te) {
-
 
126042
        throw new java.io.IOException(te);
-
 
126043
      }
-
 
126044
    }
-
 
126045
 
-
 
126046
  }
-
 
126047
 
-
 
126048
  public static class getRechargeTransaction_result implements org.apache.thrift.TBase<getRechargeTransaction_result, getRechargeTransaction_result._Fields>, java.io.Serializable, Cloneable   {
-
 
126049
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRechargeTransaction_result");
-
 
126050
 
-
 
126051
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
-
 
126052
 
-
 
126053
    private RechargeTransaction success; // required
-
 
126054
 
-
 
126055
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
126056
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
126057
      SUCCESS((short)0, "success");
-
 
126058
 
-
 
126059
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
126060
 
-
 
126061
      static {
-
 
126062
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
126063
          byName.put(field.getFieldName(), field);
-
 
126064
        }
-
 
126065
      }
-
 
126066
 
-
 
126067
      /**
-
 
126068
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
126069
       */
-
 
126070
      public static _Fields findByThriftId(int fieldId) {
-
 
126071
        switch(fieldId) {
-
 
126072
          case 0: // SUCCESS
-
 
126073
            return SUCCESS;
-
 
126074
          default:
-
 
126075
            return null;
-
 
126076
        }
-
 
126077
      }
-
 
126078
 
-
 
126079
      /**
-
 
126080
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
126081
       * if it is not found.
-
 
126082
       */
-
 
126083
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
126084
        _Fields fields = findByThriftId(fieldId);
-
 
126085
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
126086
        return fields;
-
 
126087
      }
-
 
126088
 
-
 
126089
      /**
-
 
126090
       * Find the _Fields constant that matches name, or null if its not found.
-
 
126091
       */
-
 
126092
      public static _Fields findByName(String name) {
-
 
126093
        return byName.get(name);
-
 
126094
      }
-
 
126095
 
-
 
126096
      private final short _thriftId;
-
 
126097
      private final String _fieldName;
-
 
126098
 
-
 
126099
      _Fields(short thriftId, String fieldName) {
-
 
126100
        _thriftId = thriftId;
-
 
126101
        _fieldName = fieldName;
-
 
126102
      }
-
 
126103
 
-
 
126104
      public short getThriftFieldId() {
-
 
126105
        return _thriftId;
-
 
126106
      }
-
 
126107
 
-
 
126108
      public String getFieldName() {
-
 
126109
        return _fieldName;
-
 
126110
      }
-
 
126111
    }
-
 
126112
 
-
 
126113
    // isset id assignments
-
 
126114
 
-
 
126115
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
126116
    static {
-
 
126117
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
126118
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
126119
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, RechargeTransaction.class)));
-
 
126120
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
126121
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRechargeTransaction_result.class, metaDataMap);
-
 
126122
    }
-
 
126123
 
-
 
126124
    public getRechargeTransaction_result() {
-
 
126125
    }
-
 
126126
 
-
 
126127
    public getRechargeTransaction_result(
-
 
126128
      RechargeTransaction success)
-
 
126129
    {
-
 
126130
      this();
-
 
126131
      this.success = success;
-
 
126132
    }
-
 
126133
 
-
 
126134
    /**
-
 
126135
     * Performs a deep copy on <i>other</i>.
-
 
126136
     */
-
 
126137
    public getRechargeTransaction_result(getRechargeTransaction_result other) {
-
 
126138
      if (other.isSetSuccess()) {
-
 
126139
        this.success = new RechargeTransaction(other.success);
-
 
126140
      }
-
 
126141
    }
-
 
126142
 
-
 
126143
    public getRechargeTransaction_result deepCopy() {
-
 
126144
      return new getRechargeTransaction_result(this);
-
 
126145
    }
-
 
126146
 
-
 
126147
    @Override
-
 
126148
    public void clear() {
-
 
126149
      this.success = null;
-
 
126150
    }
-
 
126151
 
-
 
126152
    public RechargeTransaction getSuccess() {
-
 
126153
      return this.success;
-
 
126154
    }
-
 
126155
 
-
 
126156
    public void setSuccess(RechargeTransaction success) {
-
 
126157
      this.success = success;
-
 
126158
    }
-
 
126159
 
-
 
126160
    public void unsetSuccess() {
-
 
126161
      this.success = null;
-
 
126162
    }
-
 
126163
 
-
 
126164
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
126165
    public boolean isSetSuccess() {
-
 
126166
      return this.success != null;
-
 
126167
    }
-
 
126168
 
-
 
126169
    public void setSuccessIsSet(boolean value) {
-
 
126170
      if (!value) {
-
 
126171
        this.success = null;
-
 
126172
      }
-
 
126173
    }
-
 
126174
 
-
 
126175
    public void setFieldValue(_Fields field, Object value) {
-
 
126176
      switch (field) {
-
 
126177
      case SUCCESS:
-
 
126178
        if (value == null) {
-
 
126179
          unsetSuccess();
-
 
126180
        } else {
-
 
126181
          setSuccess((RechargeTransaction)value);
-
 
126182
        }
-
 
126183
        break;
-
 
126184
 
-
 
126185
      }
-
 
126186
    }
-
 
126187
 
-
 
126188
    public Object getFieldValue(_Fields field) {
-
 
126189
      switch (field) {
-
 
126190
      case SUCCESS:
-
 
126191
        return getSuccess();
-
 
126192
 
-
 
126193
      }
-
 
126194
      throw new IllegalStateException();
-
 
126195
    }
-
 
126196
 
-
 
126197
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
126198
    public boolean isSet(_Fields field) {
-
 
126199
      if (field == null) {
-
 
126200
        throw new IllegalArgumentException();
-
 
126201
      }
-
 
126202
 
-
 
126203
      switch (field) {
-
 
126204
      case SUCCESS:
-
 
126205
        return isSetSuccess();
-
 
126206
      }
-
 
126207
      throw new IllegalStateException();
-
 
126208
    }
-
 
126209
 
-
 
126210
    @Override
-
 
126211
    public boolean equals(Object that) {
-
 
126212
      if (that == null)
-
 
126213
        return false;
-
 
126214
      if (that instanceof getRechargeTransaction_result)
-
 
126215
        return this.equals((getRechargeTransaction_result)that);
-
 
126216
      return false;
-
 
126217
    }
-
 
126218
 
-
 
126219
    public boolean equals(getRechargeTransaction_result that) {
-
 
126220
      if (that == null)
-
 
126221
        return false;
-
 
126222
 
-
 
126223
      boolean this_present_success = true && this.isSetSuccess();
-
 
126224
      boolean that_present_success = true && that.isSetSuccess();
-
 
126225
      if (this_present_success || that_present_success) {
-
 
126226
        if (!(this_present_success && that_present_success))
-
 
126227
          return false;
-
 
126228
        if (!this.success.equals(that.success))
-
 
126229
          return false;
-
 
126230
      }
-
 
126231
 
-
 
126232
      return true;
-
 
126233
    }
-
 
126234
 
-
 
126235
    @Override
-
 
126236
    public int hashCode() {
-
 
126237
      return 0;
-
 
126238
    }
-
 
126239
 
-
 
126240
    public int compareTo(getRechargeTransaction_result other) {
-
 
126241
      if (!getClass().equals(other.getClass())) {
-
 
126242
        return getClass().getName().compareTo(other.getClass().getName());
-
 
126243
      }
-
 
126244
 
-
 
126245
      int lastComparison = 0;
-
 
126246
      getRechargeTransaction_result typedOther = (getRechargeTransaction_result)other;
-
 
126247
 
-
 
126248
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
126249
      if (lastComparison != 0) {
-
 
126250
        return lastComparison;
-
 
126251
      }
-
 
126252
      if (isSetSuccess()) {
-
 
126253
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
126254
        if (lastComparison != 0) {
-
 
126255
          return lastComparison;
-
 
126256
        }
-
 
126257
      }
-
 
126258
      return 0;
-
 
126259
    }
-
 
126260
 
-
 
126261
    public _Fields fieldForId(int fieldId) {
-
 
126262
      return _Fields.findByThriftId(fieldId);
-
 
126263
    }
-
 
126264
 
-
 
126265
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
126266
      org.apache.thrift.protocol.TField field;
-
 
126267
      iprot.readStructBegin();
-
 
126268
      while (true)
-
 
126269
      {
-
 
126270
        field = iprot.readFieldBegin();
-
 
126271
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
126272
          break;
-
 
126273
        }
-
 
126274
        switch (field.id) {
-
 
126275
          case 0: // SUCCESS
-
 
126276
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
126277
              this.success = new RechargeTransaction();
-
 
126278
              this.success.read(iprot);
-
 
126279
            } else { 
-
 
126280
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
126281
            }
-
 
126282
            break;
-
 
126283
          default:
-
 
126284
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
126285
        }
-
 
126286
        iprot.readFieldEnd();
-
 
126287
      }
-
 
126288
      iprot.readStructEnd();
-
 
126289
      validate();
-
 
126290
    }
-
 
126291
 
-
 
126292
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
126293
      oprot.writeStructBegin(STRUCT_DESC);
-
 
126294
 
-
 
126295
      if (this.isSetSuccess()) {
-
 
126296
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
126297
        this.success.write(oprot);
-
 
126298
        oprot.writeFieldEnd();
-
 
126299
      }
-
 
126300
      oprot.writeFieldStop();
-
 
126301
      oprot.writeStructEnd();
-
 
126302
    }
-
 
126303
 
-
 
126304
    @Override
-
 
126305
    public String toString() {
-
 
126306
      StringBuilder sb = new StringBuilder("getRechargeTransaction_result(");
-
 
126307
      boolean first = true;
-
 
126308
 
-
 
126309
      sb.append("success:");
-
 
126310
      if (this.success == null) {
-
 
126311
        sb.append("null");
-
 
126312
      } else {
-
 
126313
        sb.append(this.success);
-
 
126314
      }
-
 
126315
      first = false;
-
 
126316
      sb.append(")");
-
 
126317
      return sb.toString();
-
 
126318
    }
-
 
126319
 
-
 
126320
    public void validate() throws org.apache.thrift.TException {
-
 
126321
      // check for required fields
-
 
126322
    }
-
 
126323
 
-
 
126324
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
126325
      try {
-
 
126326
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
126327
      } catch (org.apache.thrift.TException te) {
-
 
126328
        throw new java.io.IOException(te);
-
 
126329
      }
-
 
126330
    }
-
 
126331
 
-
 
126332
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
126333
      try {
-
 
126334
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
126335
      } catch (org.apache.thrift.TException te) {
-
 
126336
        throw new java.io.IOException(te);
-
 
126337
      }
-
 
126338
    }
-
 
126339
 
-
 
126340
  }
-
 
126341
 
-
 
126342
  public static class getFRCs_args implements org.apache.thrift.TBase<getFRCs_args, getFRCs_args._Fields>, java.io.Serializable, Cloneable   {
-
 
126343
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getFRCs_args");
-
 
126344
 
-
 
126345
    private static final org.apache.thrift.protocol.TField CIRCLE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("circleId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
126346
    private static final org.apache.thrift.protocol.TField OPERATOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("operatorId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
126347
 
-
 
126348
    private long circleId; // required
-
 
126349
    private long operatorId; // required
-
 
126350
 
-
 
126351
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
126352
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
126353
      CIRCLE_ID((short)1, "circleId"),
-
 
126354
      OPERATOR_ID((short)2, "operatorId");
-
 
126355
 
-
 
126356
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
126357
 
-
 
126358
      static {
-
 
126359
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
126360
          byName.put(field.getFieldName(), field);
-
 
126361
        }
-
 
126362
      }
-
 
126363
 
-
 
126364
      /**
-
 
126365
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
126366
       */
-
 
126367
      public static _Fields findByThriftId(int fieldId) {
-
 
126368
        switch(fieldId) {
-
 
126369
          case 1: // CIRCLE_ID
-
 
126370
            return CIRCLE_ID;
-
 
126371
          case 2: // OPERATOR_ID
-
 
126372
            return OPERATOR_ID;
-
 
126373
          default:
-
 
126374
            return null;
-
 
126375
        }
-
 
126376
      }
-
 
126377
 
-
 
126378
      /**
-
 
126379
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
126380
       * if it is not found.
-
 
126381
       */
-
 
126382
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
126383
        _Fields fields = findByThriftId(fieldId);
-
 
126384
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
126385
        return fields;
-
 
126386
      }
-
 
126387
 
-
 
126388
      /**
-
 
126389
       * Find the _Fields constant that matches name, or null if its not found.
-
 
126390
       */
-
 
126391
      public static _Fields findByName(String name) {
-
 
126392
        return byName.get(name);
-
 
126393
      }
-
 
126394
 
-
 
126395
      private final short _thriftId;
-
 
126396
      private final String _fieldName;
-
 
126397
 
-
 
126398
      _Fields(short thriftId, String fieldName) {
-
 
126399
        _thriftId = thriftId;
-
 
126400
        _fieldName = fieldName;
-
 
126401
      }
-
 
126402
 
-
 
126403
      public short getThriftFieldId() {
-
 
126404
        return _thriftId;
-
 
126405
      }
-
 
126406
 
-
 
126407
      public String getFieldName() {
-
 
126408
        return _fieldName;
-
 
126409
      }
-
 
126410
    }
-
 
126411
 
-
 
126412
    // isset id assignments
-
 
126413
    private static final int __CIRCLEID_ISSET_ID = 0;
-
 
126414
    private static final int __OPERATORID_ISSET_ID = 1;
-
 
126415
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
126416
 
-
 
126417
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
126418
    static {
-
 
126419
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
126420
      tmpMap.put(_Fields.CIRCLE_ID, new org.apache.thrift.meta_data.FieldMetaData("circleId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
126421
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
126422
      tmpMap.put(_Fields.OPERATOR_ID, new org.apache.thrift.meta_data.FieldMetaData("operatorId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
126423
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
126424
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
126425
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getFRCs_args.class, metaDataMap);
-
 
126426
    }
-
 
126427
 
-
 
126428
    public getFRCs_args() {
-
 
126429
    }
-
 
126430
 
-
 
126431
    public getFRCs_args(
-
 
126432
      long circleId,
-
 
126433
      long operatorId)
-
 
126434
    {
-
 
126435
      this();
-
 
126436
      this.circleId = circleId;
-
 
126437
      setCircleIdIsSet(true);
-
 
126438
      this.operatorId = operatorId;
-
 
126439
      setOperatorIdIsSet(true);
-
 
126440
    }
-
 
126441
 
-
 
126442
    /**
-
 
126443
     * Performs a deep copy on <i>other</i>.
-
 
126444
     */
-
 
126445
    public getFRCs_args(getFRCs_args other) {
-
 
126446
      __isset_bit_vector.clear();
-
 
126447
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
126448
      this.circleId = other.circleId;
-
 
126449
      this.operatorId = other.operatorId;
-
 
126450
    }
-
 
126451
 
-
 
126452
    public getFRCs_args deepCopy() {
-
 
126453
      return new getFRCs_args(this);
-
 
126454
    }
-
 
126455
 
-
 
126456
    @Override
-
 
126457
    public void clear() {
-
 
126458
      setCircleIdIsSet(false);
-
 
126459
      this.circleId = 0;
-
 
126460
      setOperatorIdIsSet(false);
-
 
126461
      this.operatorId = 0;
-
 
126462
    }
-
 
126463
 
-
 
126464
    public long getCircleId() {
-
 
126465
      return this.circleId;
-
 
126466
    }
-
 
126467
 
-
 
126468
    public void setCircleId(long circleId) {
-
 
126469
      this.circleId = circleId;
-
 
126470
      setCircleIdIsSet(true);
-
 
126471
    }
-
 
126472
 
-
 
126473
    public void unsetCircleId() {
-
 
126474
      __isset_bit_vector.clear(__CIRCLEID_ISSET_ID);
-
 
126475
    }
-
 
126476
 
-
 
126477
    /** Returns true if field circleId is set (has been assigned a value) and false otherwise */
-
 
126478
    public boolean isSetCircleId() {
-
 
126479
      return __isset_bit_vector.get(__CIRCLEID_ISSET_ID);
-
 
126480
    }
-
 
126481
 
-
 
126482
    public void setCircleIdIsSet(boolean value) {
-
 
126483
      __isset_bit_vector.set(__CIRCLEID_ISSET_ID, value);
-
 
126484
    }
-
 
126485
 
-
 
126486
    public long getOperatorId() {
-
 
126487
      return this.operatorId;
-
 
126488
    }
-
 
126489
 
-
 
126490
    public void setOperatorId(long operatorId) {
-
 
126491
      this.operatorId = operatorId;
-
 
126492
      setOperatorIdIsSet(true);
-
 
126493
    }
-
 
126494
 
-
 
126495
    public void unsetOperatorId() {
-
 
126496
      __isset_bit_vector.clear(__OPERATORID_ISSET_ID);
-
 
126497
    }
-
 
126498
 
-
 
126499
    /** Returns true if field operatorId is set (has been assigned a value) and false otherwise */
-
 
126500
    public boolean isSetOperatorId() {
-
 
126501
      return __isset_bit_vector.get(__OPERATORID_ISSET_ID);
-
 
126502
    }
-
 
126503
 
-
 
126504
    public void setOperatorIdIsSet(boolean value) {
-
 
126505
      __isset_bit_vector.set(__OPERATORID_ISSET_ID, value);
-
 
126506
    }
-
 
126507
 
-
 
126508
    public void setFieldValue(_Fields field, Object value) {
-
 
126509
      switch (field) {
-
 
126510
      case CIRCLE_ID:
-
 
126511
        if (value == null) {
-
 
126512
          unsetCircleId();
-
 
126513
        } else {
-
 
126514
          setCircleId((Long)value);
-
 
126515
        }
-
 
126516
        break;
-
 
126517
 
-
 
126518
      case OPERATOR_ID:
-
 
126519
        if (value == null) {
-
 
126520
          unsetOperatorId();
-
 
126521
        } else {
-
 
126522
          setOperatorId((Long)value);
-
 
126523
        }
-
 
126524
        break;
-
 
126525
 
-
 
126526
      }
-
 
126527
    }
-
 
126528
 
-
 
126529
    public Object getFieldValue(_Fields field) {
-
 
126530
      switch (field) {
-
 
126531
      case CIRCLE_ID:
-
 
126532
        return Long.valueOf(getCircleId());
-
 
126533
 
-
 
126534
      case OPERATOR_ID:
-
 
126535
        return Long.valueOf(getOperatorId());
-
 
126536
 
-
 
126537
      }
-
 
126538
      throw new IllegalStateException();
-
 
126539
    }
-
 
126540
 
-
 
126541
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
126542
    public boolean isSet(_Fields field) {
-
 
126543
      if (field == null) {
-
 
126544
        throw new IllegalArgumentException();
-
 
126545
      }
-
 
126546
 
-
 
126547
      switch (field) {
-
 
126548
      case CIRCLE_ID:
-
 
126549
        return isSetCircleId();
-
 
126550
      case OPERATOR_ID:
-
 
126551
        return isSetOperatorId();
-
 
126552
      }
-
 
126553
      throw new IllegalStateException();
-
 
126554
    }
-
 
126555
 
-
 
126556
    @Override
-
 
126557
    public boolean equals(Object that) {
-
 
126558
      if (that == null)
-
 
126559
        return false;
-
 
126560
      if (that instanceof getFRCs_args)
-
 
126561
        return this.equals((getFRCs_args)that);
-
 
126562
      return false;
-
 
126563
    }
-
 
126564
 
-
 
126565
    public boolean equals(getFRCs_args that) {
-
 
126566
      if (that == null)
-
 
126567
        return false;
-
 
126568
 
-
 
126569
      boolean this_present_circleId = true;
-
 
126570
      boolean that_present_circleId = true;
-
 
126571
      if (this_present_circleId || that_present_circleId) {
-
 
126572
        if (!(this_present_circleId && that_present_circleId))
-
 
126573
          return false;
-
 
126574
        if (this.circleId != that.circleId)
-
 
126575
          return false;
-
 
126576
      }
-
 
126577
 
-
 
126578
      boolean this_present_operatorId = true;
-
 
126579
      boolean that_present_operatorId = true;
-
 
126580
      if (this_present_operatorId || that_present_operatorId) {
-
 
126581
        if (!(this_present_operatorId && that_present_operatorId))
-
 
126582
          return false;
-
 
126583
        if (this.operatorId != that.operatorId)
-
 
126584
          return false;
-
 
126585
      }
-
 
126586
 
-
 
126587
      return true;
-
 
126588
    }
-
 
126589
 
-
 
126590
    @Override
-
 
126591
    public int hashCode() {
-
 
126592
      return 0;
-
 
126593
    }
-
 
126594
 
-
 
126595
    public int compareTo(getFRCs_args other) {
-
 
126596
      if (!getClass().equals(other.getClass())) {
-
 
126597
        return getClass().getName().compareTo(other.getClass().getName());
-
 
126598
      }
-
 
126599
 
-
 
126600
      int lastComparison = 0;
-
 
126601
      getFRCs_args typedOther = (getFRCs_args)other;
-
 
126602
 
-
 
126603
      lastComparison = Boolean.valueOf(isSetCircleId()).compareTo(typedOther.isSetCircleId());
-
 
126604
      if (lastComparison != 0) {
-
 
126605
        return lastComparison;
-
 
126606
      }
-
 
126607
      if (isSetCircleId()) {
-
 
126608
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.circleId, typedOther.circleId);
-
 
126609
        if (lastComparison != 0) {
-
 
126610
          return lastComparison;
-
 
126611
        }
-
 
126612
      }
-
 
126613
      lastComparison = Boolean.valueOf(isSetOperatorId()).compareTo(typedOther.isSetOperatorId());
-
 
126614
      if (lastComparison != 0) {
-
 
126615
        return lastComparison;
-
 
126616
      }
-
 
126617
      if (isSetOperatorId()) {
-
 
126618
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorId, typedOther.operatorId);
-
 
126619
        if (lastComparison != 0) {
-
 
126620
          return lastComparison;
-
 
126621
        }
-
 
126622
      }
-
 
126623
      return 0;
-
 
126624
    }
-
 
126625
 
-
 
126626
    public _Fields fieldForId(int fieldId) {
-
 
126627
      return _Fields.findByThriftId(fieldId);
-
 
126628
    }
-
 
126629
 
-
 
126630
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
126631
      org.apache.thrift.protocol.TField field;
-
 
126632
      iprot.readStructBegin();
-
 
126633
      while (true)
-
 
126634
      {
-
 
126635
        field = iprot.readFieldBegin();
-
 
126636
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
126637
          break;
-
 
126638
        }
-
 
126639
        switch (field.id) {
-
 
126640
          case 1: // CIRCLE_ID
-
 
126641
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
126642
              this.circleId = iprot.readI64();
-
 
126643
              setCircleIdIsSet(true);
-
 
126644
            } else { 
-
 
126645
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
126646
            }
-
 
126647
            break;
-
 
126648
          case 2: // OPERATOR_ID
-
 
126649
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
126650
              this.operatorId = iprot.readI64();
-
 
126651
              setOperatorIdIsSet(true);
-
 
126652
            } else { 
-
 
126653
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
126654
            }
-
 
126655
            break;
-
 
126656
          default:
-
 
126657
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
126658
        }
-
 
126659
        iprot.readFieldEnd();
-
 
126660
      }
-
 
126661
      iprot.readStructEnd();
-
 
126662
      validate();
-
 
126663
    }
-
 
126664
 
-
 
126665
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
126666
      validate();
-
 
126667
 
-
 
126668
      oprot.writeStructBegin(STRUCT_DESC);
-
 
126669
      oprot.writeFieldBegin(CIRCLE_ID_FIELD_DESC);
-
 
126670
      oprot.writeI64(this.circleId);
-
 
126671
      oprot.writeFieldEnd();
-
 
126672
      oprot.writeFieldBegin(OPERATOR_ID_FIELD_DESC);
-
 
126673
      oprot.writeI64(this.operatorId);
-
 
126674
      oprot.writeFieldEnd();
-
 
126675
      oprot.writeFieldStop();
-
 
126676
      oprot.writeStructEnd();
-
 
126677
    }
-
 
126678
 
-
 
126679
    @Override
-
 
126680
    public String toString() {
-
 
126681
      StringBuilder sb = new StringBuilder("getFRCs_args(");
-
 
126682
      boolean first = true;
-
 
126683
 
-
 
126684
      sb.append("circleId:");
-
 
126685
      sb.append(this.circleId);
-
 
126686
      first = false;
-
 
126687
      if (!first) sb.append(", ");
-
 
126688
      sb.append("operatorId:");
-
 
126689
      sb.append(this.operatorId);
-
 
126690
      first = false;
-
 
126691
      sb.append(")");
-
 
126692
      return sb.toString();
-
 
126693
    }
-
 
126694
 
-
 
126695
    public void validate() throws org.apache.thrift.TException {
-
 
126696
      // check for required fields
-
 
126697
    }
-
 
126698
 
-
 
126699
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
126700
      try {
-
 
126701
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
126702
      } catch (org.apache.thrift.TException te) {
-
 
126703
        throw new java.io.IOException(te);
-
 
126704
      }
-
 
126705
    }
-
 
126706
 
-
 
126707
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
126708
      try {
-
 
126709
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
126710
        __isset_bit_vector = new BitSet(1);
-
 
126711
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
126712
      } catch (org.apache.thrift.TException te) {
-
 
126713
        throw new java.io.IOException(te);
-
 
126714
      }
-
 
126715
    }
-
 
126716
 
-
 
126717
  }
-
 
126718
 
-
 
126719
  public static class getFRCs_result implements org.apache.thrift.TBase<getFRCs_result, getFRCs_result._Fields>, java.io.Serializable, Cloneable   {
-
 
126720
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getFRCs_result");
-
 
126721
 
-
 
126722
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
126723
 
-
 
126724
    private List<FRC> success; // required
-
 
126725
 
-
 
126726
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
126727
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
126728
      SUCCESS((short)0, "success");
-
 
126729
 
-
 
126730
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
126731
 
-
 
126732
      static {
-
 
126733
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
126734
          byName.put(field.getFieldName(), field);
-
 
126735
        }
-
 
126736
      }
-
 
126737
 
-
 
126738
      /**
-
 
126739
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
126740
       */
-
 
126741
      public static _Fields findByThriftId(int fieldId) {
-
 
126742
        switch(fieldId) {
-
 
126743
          case 0: // SUCCESS
-
 
126744
            return SUCCESS;
-
 
126745
          default:
-
 
126746
            return null;
-
 
126747
        }
-
 
126748
      }
-
 
126749
 
-
 
126750
      /**
-
 
126751
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
126752
       * if it is not found.
-
 
126753
       */
-
 
126754
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
126755
        _Fields fields = findByThriftId(fieldId);
-
 
126756
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
126757
        return fields;
-
 
126758
      }
-
 
126759
 
-
 
126760
      /**
-
 
126761
       * Find the _Fields constant that matches name, or null if its not found.
-
 
126762
       */
-
 
126763
      public static _Fields findByName(String name) {
-
 
126764
        return byName.get(name);
-
 
126765
      }
-
 
126766
 
-
 
126767
      private final short _thriftId;
-
 
126768
      private final String _fieldName;
-
 
126769
 
-
 
126770
      _Fields(short thriftId, String fieldName) {
-
 
126771
        _thriftId = thriftId;
-
 
126772
        _fieldName = fieldName;
-
 
126773
      }
-
 
126774
 
-
 
126775
      public short getThriftFieldId() {
-
 
126776
        return _thriftId;
-
 
126777
      }
-
 
126778
 
-
 
126779
      public String getFieldName() {
-
 
126780
        return _fieldName;
-
 
126781
      }
-
 
126782
    }
-
 
126783
 
-
 
126784
    // isset id assignments
-
 
126785
 
-
 
126786
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
126787
    static {
-
 
126788
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
126789
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
126790
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
126791
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, FRC.class))));
-
 
126792
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
126793
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getFRCs_result.class, metaDataMap);
-
 
126794
    }
-
 
126795
 
-
 
126796
    public getFRCs_result() {
-
 
126797
    }
-
 
126798
 
-
 
126799
    public getFRCs_result(
-
 
126800
      List<FRC> success)
-
 
126801
    {
-
 
126802
      this();
-
 
126803
      this.success = success;
-
 
126804
    }
-
 
126805
 
-
 
126806
    /**
-
 
126807
     * Performs a deep copy on <i>other</i>.
-
 
126808
     */
-
 
126809
    public getFRCs_result(getFRCs_result other) {
-
 
126810
      if (other.isSetSuccess()) {
-
 
126811
        List<FRC> __this__success = new ArrayList<FRC>();
-
 
126812
        for (FRC other_element : other.success) {
-
 
126813
          __this__success.add(new FRC(other_element));
-
 
126814
        }
-
 
126815
        this.success = __this__success;
-
 
126816
      }
-
 
126817
    }
-
 
126818
 
-
 
126819
    public getFRCs_result deepCopy() {
-
 
126820
      return new getFRCs_result(this);
-
 
126821
    }
-
 
126822
 
-
 
126823
    @Override
-
 
126824
    public void clear() {
-
 
126825
      this.success = null;
-
 
126826
    }
-
 
126827
 
-
 
126828
    public int getSuccessSize() {
-
 
126829
      return (this.success == null) ? 0 : this.success.size();
-
 
126830
    }
-
 
126831
 
-
 
126832
    public java.util.Iterator<FRC> getSuccessIterator() {
-
 
126833
      return (this.success == null) ? null : this.success.iterator();
-
 
126834
    }
-
 
126835
 
-
 
126836
    public void addToSuccess(FRC elem) {
-
 
126837
      if (this.success == null) {
-
 
126838
        this.success = new ArrayList<FRC>();
-
 
126839
      }
-
 
126840
      this.success.add(elem);
-
 
126841
    }
-
 
126842
 
-
 
126843
    public List<FRC> getSuccess() {
-
 
126844
      return this.success;
-
 
126845
    }
-
 
126846
 
-
 
126847
    public void setSuccess(List<FRC> success) {
-
 
126848
      this.success = success;
-
 
126849
    }
-
 
126850
 
-
 
126851
    public void unsetSuccess() {
-
 
126852
      this.success = null;
-
 
126853
    }
-
 
126854
 
-
 
126855
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
126856
    public boolean isSetSuccess() {
-
 
126857
      return this.success != null;
-
 
126858
    }
-
 
126859
 
-
 
126860
    public void setSuccessIsSet(boolean value) {
-
 
126861
      if (!value) {
-
 
126862
        this.success = null;
-
 
126863
      }
-
 
126864
    }
-
 
126865
 
-
 
126866
    public void setFieldValue(_Fields field, Object value) {
-
 
126867
      switch (field) {
-
 
126868
      case SUCCESS:
-
 
126869
        if (value == null) {
-
 
126870
          unsetSuccess();
-
 
126871
        } else {
-
 
126872
          setSuccess((List<FRC>)value);
-
 
126873
        }
-
 
126874
        break;
-
 
126875
 
-
 
126876
      }
-
 
126877
    }
-
 
126878
 
-
 
126879
    public Object getFieldValue(_Fields field) {
-
 
126880
      switch (field) {
-
 
126881
      case SUCCESS:
-
 
126882
        return getSuccess();
-
 
126883
 
-
 
126884
      }
-
 
126885
      throw new IllegalStateException();
-
 
126886
    }
-
 
126887
 
-
 
126888
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
126889
    public boolean isSet(_Fields field) {
-
 
126890
      if (field == null) {
-
 
126891
        throw new IllegalArgumentException();
-
 
126892
      }
-
 
126893
 
-
 
126894
      switch (field) {
-
 
126895
      case SUCCESS:
-
 
126896
        return isSetSuccess();
-
 
126897
      }
-
 
126898
      throw new IllegalStateException();
-
 
126899
    }
-
 
126900
 
-
 
126901
    @Override
-
 
126902
    public boolean equals(Object that) {
-
 
126903
      if (that == null)
-
 
126904
        return false;
-
 
126905
      if (that instanceof getFRCs_result)
-
 
126906
        return this.equals((getFRCs_result)that);
-
 
126907
      return false;
-
 
126908
    }
-
 
126909
 
-
 
126910
    public boolean equals(getFRCs_result that) {
-
 
126911
      if (that == null)
-
 
126912
        return false;
-
 
126913
 
-
 
126914
      boolean this_present_success = true && this.isSetSuccess();
-
 
126915
      boolean that_present_success = true && that.isSetSuccess();
-
 
126916
      if (this_present_success || that_present_success) {
-
 
126917
        if (!(this_present_success && that_present_success))
-
 
126918
          return false;
-
 
126919
        if (!this.success.equals(that.success))
-
 
126920
          return false;
-
 
126921
      }
-
 
126922
 
-
 
126923
      return true;
-
 
126924
    }
-
 
126925
 
-
 
126926
    @Override
-
 
126927
    public int hashCode() {
-
 
126928
      return 0;
-
 
126929
    }
-
 
126930
 
-
 
126931
    public int compareTo(getFRCs_result other) {
-
 
126932
      if (!getClass().equals(other.getClass())) {
-
 
126933
        return getClass().getName().compareTo(other.getClass().getName());
-
 
126934
      }
-
 
126935
 
-
 
126936
      int lastComparison = 0;
-
 
126937
      getFRCs_result typedOther = (getFRCs_result)other;
-
 
126938
 
-
 
126939
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
126940
      if (lastComparison != 0) {
-
 
126941
        return lastComparison;
-
 
126942
      }
-
 
126943
      if (isSetSuccess()) {
-
 
126944
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
126945
        if (lastComparison != 0) {
-
 
126946
          return lastComparison;
-
 
126947
        }
-
 
126948
      }
-
 
126949
      return 0;
-
 
126950
    }
-
 
126951
 
-
 
126952
    public _Fields fieldForId(int fieldId) {
-
 
126953
      return _Fields.findByThriftId(fieldId);
-
 
126954
    }
-
 
126955
 
-
 
126956
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
126957
      org.apache.thrift.protocol.TField field;
-
 
126958
      iprot.readStructBegin();
-
 
126959
      while (true)
-
 
126960
      {
-
 
126961
        field = iprot.readFieldBegin();
-
 
126962
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
126963
          break;
-
 
126964
        }
-
 
126965
        switch (field.id) {
-
 
126966
          case 0: // SUCCESS
-
 
126967
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
126968
              {
-
 
126969
                org.apache.thrift.protocol.TList _list418 = iprot.readListBegin();
-
 
126970
                this.success = new ArrayList<FRC>(_list418.size);
-
 
126971
                for (int _i419 = 0; _i419 < _list418.size; ++_i419)
-
 
126972
                {
-
 
126973
                  FRC _elem420; // required
-
 
126974
                  _elem420 = new FRC();
-
 
126975
                  _elem420.read(iprot);
-
 
126976
                  this.success.add(_elem420);
-
 
126977
                }
-
 
126978
                iprot.readListEnd();
-
 
126979
              }
-
 
126980
            } else { 
-
 
126981
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
126982
            }
-
 
126983
            break;
-
 
126984
          default:
-
 
126985
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
126986
        }
-
 
126987
        iprot.readFieldEnd();
-
 
126988
      }
-
 
126989
      iprot.readStructEnd();
-
 
126990
      validate();
-
 
126991
    }
-
 
126992
 
-
 
126993
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
126994
      oprot.writeStructBegin(STRUCT_DESC);
-
 
126995
 
-
 
126996
      if (this.isSetSuccess()) {
-
 
126997
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
126998
        {
-
 
126999
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
127000
          for (FRC _iter421 : this.success)
-
 
127001
          {
-
 
127002
            _iter421.write(oprot);
-
 
127003
          }
-
 
127004
          oprot.writeListEnd();
-
 
127005
        }
-
 
127006
        oprot.writeFieldEnd();
-
 
127007
      }
-
 
127008
      oprot.writeFieldStop();
-
 
127009
      oprot.writeStructEnd();
-
 
127010
    }
-
 
127011
 
-
 
127012
    @Override
-
 
127013
    public String toString() {
-
 
127014
      StringBuilder sb = new StringBuilder("getFRCs_result(");
-
 
127015
      boolean first = true;
-
 
127016
 
-
 
127017
      sb.append("success:");
-
 
127018
      if (this.success == null) {
-
 
127019
        sb.append("null");
125564
      } else {
127020
      } else {
125565
        sb.append(this.success);
127021
        sb.append(this.success);
125566
      }
127022
      }
125567
      first = false;
127023
      first = false;
125568
      sb.append(")");
127024
      sb.append(")");