Subversion Repositories SmartDukaan

Rev

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

Rev 7737 Rev 7788
Line 138... Line 138...
138
 
138
 
139
    public void updatePincode(long providerId, String pincode, boolean exp, boolean cod, boolean otgAvailable) throws org.apache.thrift.TException;
139
    public void updatePincode(long providerId, String pincode, boolean exp, boolean cod, boolean otgAvailable) throws org.apache.thrift.TException;
140
 
140
 
141
    public boolean addNewAwbs(long providerId, boolean cod, List<String> awbs) throws org.apache.thrift.TException;
141
    public boolean addNewAwbs(long providerId, boolean cod, List<String> awbs) throws org.apache.thrift.TException;
142
 
142
 
143
    /**
-
 
144
     * Returns true when record exist in the Serviceablelocationdetails DB Table otherwise return false.
-
 
145
     * 
-
 
146
     * @param providerId
-
 
147
     * @param pincode
-
 
148
     */
-
 
149
    public boolean getServiceableLocationAsPerProviderIdAndPincode(long providerId, String pincode) throws org.apache.thrift.TException;
143
    public void runLogisticsLocationInfoUpdate(List<LogisticsLocationInfo> logisticsLocationInfoList, boolean runCompleteUpdate) throws org.apache.thrift.TException;
150
 
-
 
151
    public void runCompleteUpdateForPincode() throws org.apache.thrift.TException;
-
 
152
 
144
 
153
  }
145
  }
154
 
146
 
155
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
147
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
156
 
148
 
Line 190... Line 182...
190
 
182
 
191
    public void updatePincode(long providerId, String pincode, boolean exp, boolean cod, boolean otgAvailable, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updatePincode_call> resultHandler) throws org.apache.thrift.TException;
183
    public void updatePincode(long providerId, String pincode, boolean exp, boolean cod, boolean otgAvailable, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updatePincode_call> resultHandler) throws org.apache.thrift.TException;
192
 
184
 
193
    public void addNewAwbs(long providerId, boolean cod, List<String> awbs, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addNewAwbs_call> resultHandler) throws org.apache.thrift.TException;
185
    public void addNewAwbs(long providerId, boolean cod, List<String> awbs, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addNewAwbs_call> resultHandler) throws org.apache.thrift.TException;
194
 
186
 
195
    public void getServiceableLocationAsPerProviderIdAndPincode(long providerId, String pincode, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getServiceableLocationAsPerProviderIdAndPincode_call> resultHandler) throws org.apache.thrift.TException;
-
 
196
 
-
 
197
    public void runCompleteUpdateForPincode(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.runCompleteUpdateForPincode_call> resultHandler) throws org.apache.thrift.TException;
187
    public void runLogisticsLocationInfoUpdate(List<LogisticsLocationInfo> logisticsLocationInfoList, boolean runCompleteUpdate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.runLogisticsLocationInfoUpdate_call> resultHandler) throws org.apache.thrift.TException;
198
 
188
 
199
  }
189
  }
200
 
190
 
201
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
191
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
202
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
192
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
Line 698... Line 688...
698
        return result.success;
688
        return result.success;
699
      }
689
      }
700
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addNewAwbs failed: unknown result");
690
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addNewAwbs failed: unknown result");
701
    }
691
    }
702
 
692
 
703
    public boolean getServiceableLocationAsPerProviderIdAndPincode(long providerId, String pincode) throws org.apache.thrift.TException
693
    public void runLogisticsLocationInfoUpdate(List<LogisticsLocationInfo> logisticsLocationInfoList, boolean runCompleteUpdate) throws org.apache.thrift.TException
704
    {
694
    {
705
      send_getServiceableLocationAsPerProviderIdAndPincode(providerId, pincode);
695
      send_runLogisticsLocationInfoUpdate(logisticsLocationInfoList, runCompleteUpdate);
706
      return recv_getServiceableLocationAsPerProviderIdAndPincode();
696
      recv_runLogisticsLocationInfoUpdate();
707
    }
697
    }
708
 
698
 
709
    public void send_getServiceableLocationAsPerProviderIdAndPincode(long providerId, String pincode) throws org.apache.thrift.TException
699
    public void send_runLogisticsLocationInfoUpdate(List<LogisticsLocationInfo> logisticsLocationInfoList, boolean runCompleteUpdate) throws org.apache.thrift.TException
710
    {
700
    {
711
      getServiceableLocationAsPerProviderIdAndPincode_args args = new getServiceableLocationAsPerProviderIdAndPincode_args();
701
      runLogisticsLocationInfoUpdate_args args = new runLogisticsLocationInfoUpdate_args();
712
      args.setProviderId(providerId);
702
      args.setLogisticsLocationInfoList(logisticsLocationInfoList);
713
      args.setPincode(pincode);
703
      args.setRunCompleteUpdate(runCompleteUpdate);
714
      sendBase("getServiceableLocationAsPerProviderIdAndPincode", args);
704
      sendBase("runLogisticsLocationInfoUpdate", args);
715
    }
705
    }
716
 
706
 
717
    public boolean recv_getServiceableLocationAsPerProviderIdAndPincode() throws org.apache.thrift.TException
707
    public void recv_runLogisticsLocationInfoUpdate() throws org.apache.thrift.TException
718
    {
708
    {
719
      getServiceableLocationAsPerProviderIdAndPincode_result result = new getServiceableLocationAsPerProviderIdAndPincode_result();
-
 
720
      receiveBase(result, "getServiceableLocationAsPerProviderIdAndPincode");
-
 
721
      if (result.isSetSuccess()) {
-
 
722
        return result.success;
-
 
723
      }
-
 
724
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getServiceableLocationAsPerProviderIdAndPincode failed: unknown result");
-
 
725
    }
-
 
726
 
-
 
727
    public void runCompleteUpdateForPincode() throws org.apache.thrift.TException
-
 
728
    {
-
 
729
      send_runCompleteUpdateForPincode();
-
 
730
      recv_runCompleteUpdateForPincode();
-
 
731
    }
-
 
732
 
-
 
733
    public void send_runCompleteUpdateForPincode() throws org.apache.thrift.TException
-
 
734
    {
-
 
735
      runCompleteUpdateForPincode_args args = new runCompleteUpdateForPincode_args();
-
 
736
      sendBase("runCompleteUpdateForPincode", args);
-
 
737
    }
-
 
738
 
-
 
739
    public void recv_runCompleteUpdateForPincode() throws org.apache.thrift.TException
-
 
740
    {
-
 
741
      runCompleteUpdateForPincode_result result = new runCompleteUpdateForPincode_result();
709
      runLogisticsLocationInfoUpdate_result result = new runLogisticsLocationInfoUpdate_result();
742
      receiveBase(result, "runCompleteUpdateForPincode");
710
      receiveBase(result, "runLogisticsLocationInfoUpdate");
743
      return;
711
      return;
744
    }
712
    }
745
 
713
 
746
  }
714
  }
747
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
715
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
Line 1439... Line 1407...
1439
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1407
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1440
        return (new Client(prot)).recv_addNewAwbs();
1408
        return (new Client(prot)).recv_addNewAwbs();
1441
      }
1409
      }
1442
    }
1410
    }
1443
 
1411
 
1444
    public void getServiceableLocationAsPerProviderIdAndPincode(long providerId, String pincode, org.apache.thrift.async.AsyncMethodCallback<getServiceableLocationAsPerProviderIdAndPincode_call> resultHandler) throws org.apache.thrift.TException {
1412
    public void runLogisticsLocationInfoUpdate(List<LogisticsLocationInfo> logisticsLocationInfoList, boolean runCompleteUpdate, org.apache.thrift.async.AsyncMethodCallback<runLogisticsLocationInfoUpdate_call> resultHandler) throws org.apache.thrift.TException {
1445
      checkReady();
1413
      checkReady();
1446
      getServiceableLocationAsPerProviderIdAndPincode_call method_call = new getServiceableLocationAsPerProviderIdAndPincode_call(providerId, pincode, resultHandler, this, ___protocolFactory, ___transport);
1414
      runLogisticsLocationInfoUpdate_call method_call = new runLogisticsLocationInfoUpdate_call(logisticsLocationInfoList, runCompleteUpdate, resultHandler, this, ___protocolFactory, ___transport);
1447
      this.___currentMethod = method_call;
1415
      this.___currentMethod = method_call;
1448
      ___manager.call(method_call);
1416
      ___manager.call(method_call);
1449
    }
1417
    }
1450
 
1418
 
1451
    public static class getServiceableLocationAsPerProviderIdAndPincode_call extends org.apache.thrift.async.TAsyncMethodCall {
1419
    public static class runLogisticsLocationInfoUpdate_call extends org.apache.thrift.async.TAsyncMethodCall {
1452
      private long providerId;
1420
      private List<LogisticsLocationInfo> logisticsLocationInfoList;
1453
      private String pincode;
1421
      private boolean runCompleteUpdate;
1454
      public getServiceableLocationAsPerProviderIdAndPincode_call(long providerId, String pincode, org.apache.thrift.async.AsyncMethodCallback<getServiceableLocationAsPerProviderIdAndPincode_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 {
1422
      public runLogisticsLocationInfoUpdate_call(List<LogisticsLocationInfo> logisticsLocationInfoList, boolean runCompleteUpdate, org.apache.thrift.async.AsyncMethodCallback<runLogisticsLocationInfoUpdate_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 {
1455
        super(client, protocolFactory, transport, resultHandler, false);
1423
        super(client, protocolFactory, transport, resultHandler, false);
1456
        this.providerId = providerId;
1424
        this.logisticsLocationInfoList = logisticsLocationInfoList;
1457
        this.pincode = pincode;
1425
        this.runCompleteUpdate = runCompleteUpdate;
1458
      }
1426
      }
1459
 
1427
 
1460
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1428
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
1461
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getServiceableLocationAsPerProviderIdAndPincode", org.apache.thrift.protocol.TMessageType.CALL, 0));
1429
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("runLogisticsLocationInfoUpdate", org.apache.thrift.protocol.TMessageType.CALL, 0));
1462
        getServiceableLocationAsPerProviderIdAndPincode_args args = new getServiceableLocationAsPerProviderIdAndPincode_args();
1430
        runLogisticsLocationInfoUpdate_args args = new runLogisticsLocationInfoUpdate_args();
1463
        args.setProviderId(providerId);
-
 
1464
        args.setPincode(pincode);
-
 
1465
        args.write(prot);
-
 
1466
        prot.writeMessageEnd();
-
 
1467
      }
-
 
1468
 
-
 
1469
      public boolean getResult() throws org.apache.thrift.TException {
-
 
1470
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
1471
          throw new IllegalStateException("Method call not finished!");
-
 
1472
        }
-
 
1473
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
1474
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
1475
        return (new Client(prot)).recv_getServiceableLocationAsPerProviderIdAndPincode();
-
 
1476
      }
-
 
1477
    }
-
 
1478
 
-
 
1479
    public void runCompleteUpdateForPincode(org.apache.thrift.async.AsyncMethodCallback<runCompleteUpdateForPincode_call> resultHandler) throws org.apache.thrift.TException {
-
 
1480
      checkReady();
-
 
1481
      runCompleteUpdateForPincode_call method_call = new runCompleteUpdateForPincode_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
1482
      this.___currentMethod = method_call;
-
 
1483
      ___manager.call(method_call);
-
 
1484
    }
-
 
1485
 
-
 
1486
    public static class runCompleteUpdateForPincode_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
1487
      public runCompleteUpdateForPincode_call(org.apache.thrift.async.AsyncMethodCallback<runCompleteUpdateForPincode_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 {
1431
        args.setLogisticsLocationInfoList(logisticsLocationInfoList);
1488
        super(client, protocolFactory, transport, resultHandler, false);
-
 
1489
      }
-
 
1490
 
-
 
1491
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
1492
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("runCompleteUpdateForPincode", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
1493
        runCompleteUpdateForPincode_args args = new runCompleteUpdateForPincode_args();
1432
        args.setRunCompleteUpdate(runCompleteUpdate);
1494
        args.write(prot);
1433
        args.write(prot);
1495
        prot.writeMessageEnd();
1434
        prot.writeMessageEnd();
1496
      }
1435
      }
1497
 
1436
 
1498
      public void getResult() throws org.apache.thrift.TException {
1437
      public void getResult() throws org.apache.thrift.TException {
1499
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1438
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
1500
          throw new IllegalStateException("Method call not finished!");
1439
          throw new IllegalStateException("Method call not finished!");
1501
        }
1440
        }
1502
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1441
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
1503
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1442
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1504
        (new Client(prot)).recv_runCompleteUpdateForPincode();
1443
        (new Client(prot)).recv_runLogisticsLocationInfoUpdate();
1505
      }
1444
      }
1506
    }
1445
    }
1507
 
1446
 
1508
  }
1447
  }
1509
 
1448
 
Line 1535... Line 1474...
1535
      processMap.put("getPickupStore", new getPickupStore());
1474
      processMap.put("getPickupStore", new getPickupStore());
1536
      processMap.put("getPickupStoreByHotspotId", new getPickupStoreByHotspotId());
1475
      processMap.put("getPickupStoreByHotspotId", new getPickupStoreByHotspotId());
1537
      processMap.put("addPincode", new addPincode());
1476
      processMap.put("addPincode", new addPincode());
1538
      processMap.put("updatePincode", new updatePincode());
1477
      processMap.put("updatePincode", new updatePincode());
1539
      processMap.put("addNewAwbs", new addNewAwbs());
1478
      processMap.put("addNewAwbs", new addNewAwbs());
1540
      processMap.put("getServiceableLocationAsPerProviderIdAndPincode", new getServiceableLocationAsPerProviderIdAndPincode());
-
 
1541
      processMap.put("runCompleteUpdateForPincode", new runCompleteUpdateForPincode());
1479
      processMap.put("runLogisticsLocationInfoUpdate", new runLogisticsLocationInfoUpdate());
1542
      return processMap;
1480
      return processMap;
1543
    }
1481
    }
1544
 
1482
 
1545
    private static class getProvider<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getProvider_args> {
1483
    private static class getProvider<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getProvider_args> {
1546
      public getProvider() {
1484
      public getProvider() {
Line 1887... Line 1825...
1887
        result.setSuccessIsSet(true);
1825
        result.setSuccessIsSet(true);
1888
        return result;
1826
        return result;
1889
      }
1827
      }
1890
    }
1828
    }
1891
 
1829
 
1892
    private static class getServiceableLocationAsPerProviderIdAndPincode<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getServiceableLocationAsPerProviderIdAndPincode_args> {
-
 
1893
      public getServiceableLocationAsPerProviderIdAndPincode() {
-
 
1894
        super("getServiceableLocationAsPerProviderIdAndPincode");
-
 
1895
      }
-
 
1896
 
-
 
1897
      protected getServiceableLocationAsPerProviderIdAndPincode_args getEmptyArgsInstance() {
-
 
1898
        return new getServiceableLocationAsPerProviderIdAndPincode_args();
-
 
1899
      }
-
 
1900
 
-
 
1901
      protected getServiceableLocationAsPerProviderIdAndPincode_result getResult(I iface, getServiceableLocationAsPerProviderIdAndPincode_args args) throws org.apache.thrift.TException {
-
 
1902
        getServiceableLocationAsPerProviderIdAndPincode_result result = new getServiceableLocationAsPerProviderIdAndPincode_result();
-
 
1903
        result.success = iface.getServiceableLocationAsPerProviderIdAndPincode(args.providerId, args.pincode);
-
 
1904
        result.setSuccessIsSet(true);
-
 
1905
        return result;
-
 
1906
      }
-
 
1907
    }
-
 
1908
 
-
 
1909
    private static class runCompleteUpdateForPincode<I extends Iface> extends org.apache.thrift.ProcessFunction<I, runCompleteUpdateForPincode_args> {
1830
    private static class runLogisticsLocationInfoUpdate<I extends Iface> extends org.apache.thrift.ProcessFunction<I, runLogisticsLocationInfoUpdate_args> {
1910
      public runCompleteUpdateForPincode() {
1831
      public runLogisticsLocationInfoUpdate() {
1911
        super("runCompleteUpdateForPincode");
1832
        super("runLogisticsLocationInfoUpdate");
1912
      }
1833
      }
1913
 
1834
 
1914
      protected runCompleteUpdateForPincode_args getEmptyArgsInstance() {
1835
      protected runLogisticsLocationInfoUpdate_args getEmptyArgsInstance() {
1915
        return new runCompleteUpdateForPincode_args();
1836
        return new runLogisticsLocationInfoUpdate_args();
1916
      }
1837
      }
1917
 
1838
 
1918
      protected runCompleteUpdateForPincode_result getResult(I iface, runCompleteUpdateForPincode_args args) throws org.apache.thrift.TException {
1839
      protected runLogisticsLocationInfoUpdate_result getResult(I iface, runLogisticsLocationInfoUpdate_args args) throws org.apache.thrift.TException {
1919
        runCompleteUpdateForPincode_result result = new runCompleteUpdateForPincode_result();
1840
        runLogisticsLocationInfoUpdate_result result = new runLogisticsLocationInfoUpdate_result();
1920
        iface.runCompleteUpdateForPincode();
1841
        iface.runLogisticsLocationInfoUpdate(args.logisticsLocationInfoList, args.runCompleteUpdate);
1921
        return result;
1842
        return result;
1922
      }
1843
      }
1923
    }
1844
    }
1924
 
1845
 
1925
  }
1846
  }
Line 16023... Line 15944...
16023
      }
15944
      }
16024
    }
15945
    }
16025
 
15946
 
16026
  }
15947
  }
16027
 
15948
 
16028
  public static class getServiceableLocationAsPerProviderIdAndPincode_args implements org.apache.thrift.TBase<getServiceableLocationAsPerProviderIdAndPincode_args, getServiceableLocationAsPerProviderIdAndPincode_args._Fields>, java.io.Serializable, Cloneable   {
15949
  public static class runLogisticsLocationInfoUpdate_args implements org.apache.thrift.TBase<runLogisticsLocationInfoUpdate_args, runLogisticsLocationInfoUpdate_args._Fields>, java.io.Serializable, Cloneable   {
16029
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getServiceableLocationAsPerProviderIdAndPincode_args");
15950
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("runLogisticsLocationInfoUpdate_args");
16030
 
15951
 
16031
    private static final org.apache.thrift.protocol.TField PROVIDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("providerId", org.apache.thrift.protocol.TType.I64, (short)1);
15952
    private static final org.apache.thrift.protocol.TField LOGISTICS_LOCATION_INFO_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("logisticsLocationInfoList", org.apache.thrift.protocol.TType.LIST, (short)1);
16032
    private static final org.apache.thrift.protocol.TField PINCODE_FIELD_DESC = new org.apache.thrift.protocol.TField("pincode", org.apache.thrift.protocol.TType.STRING, (short)2);
15953
    private static final org.apache.thrift.protocol.TField RUN_COMPLETE_UPDATE_FIELD_DESC = new org.apache.thrift.protocol.TField("runCompleteUpdate", org.apache.thrift.protocol.TType.BOOL, (short)2);
16033
 
15954
 
16034
    private long providerId; // required
15955
    private List<LogisticsLocationInfo> logisticsLocationInfoList; // required
16035
    private String pincode; // required
15956
    private boolean runCompleteUpdate; // required
16036
 
15957
 
16037
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
15958
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
16038
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
15959
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
16039
      PROVIDER_ID((short)1, "providerId"),
15960
      LOGISTICS_LOCATION_INFO_LIST((short)1, "logisticsLocationInfoList"),
16040
      PINCODE((short)2, "pincode");
15961
      RUN_COMPLETE_UPDATE((short)2, "runCompleteUpdate");
16041
 
15962
 
16042
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
15963
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
16043
 
15964
 
16044
      static {
15965
      static {
16045
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
15966
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 16050... Line 15971...
16050
      /**
15971
      /**
16051
       * Find the _Fields constant that matches fieldId, or null if its not found.
15972
       * Find the _Fields constant that matches fieldId, or null if its not found.
16052
       */
15973
       */
16053
      public static _Fields findByThriftId(int fieldId) {
15974
      public static _Fields findByThriftId(int fieldId) {
16054
        switch(fieldId) {
15975
        switch(fieldId) {
16055
          case 1: // PROVIDER_ID
15976
          case 1: // LOGISTICS_LOCATION_INFO_LIST
16056
            return PROVIDER_ID;
15977
            return LOGISTICS_LOCATION_INFO_LIST;
16057
          case 2: // PINCODE
15978
          case 2: // RUN_COMPLETE_UPDATE
16058
            return PINCODE;
15979
            return RUN_COMPLETE_UPDATE;
16059
          default:
15980
          default:
16060
            return null;
15981
            return null;
16061
        }
15982
        }
16062
      }
15983
      }
16063
 
15984
 
Line 16094... Line 16015...
16094
        return _fieldName;
16015
        return _fieldName;
16095
      }
16016
      }
16096
    }
16017
    }
16097
 
16018
 
16098
    // isset id assignments
16019
    // isset id assignments
16099
    private static final int __PROVIDERID_ISSET_ID = 0;
16020
    private static final int __RUNCOMPLETEUPDATE_ISSET_ID = 0;
16100
    private BitSet __isset_bit_vector = new BitSet(1);
16021
    private BitSet __isset_bit_vector = new BitSet(1);
16101
 
16022
 
16102
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
16023
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
16103
    static {
16024
    static {
16104
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
16025
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
16105
      tmpMap.put(_Fields.PROVIDER_ID, new org.apache.thrift.meta_data.FieldMetaData("providerId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
16026
      tmpMap.put(_Fields.LOGISTICS_LOCATION_INFO_LIST, new org.apache.thrift.meta_data.FieldMetaData("logisticsLocationInfoList", org.apache.thrift.TFieldRequirementType.DEFAULT, 
16106
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
16027
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
16028
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, LogisticsLocationInfo.class))));
16107
      tmpMap.put(_Fields.PINCODE, new org.apache.thrift.meta_data.FieldMetaData("pincode", org.apache.thrift.TFieldRequirementType.DEFAULT, 
16029
      tmpMap.put(_Fields.RUN_COMPLETE_UPDATE, new org.apache.thrift.meta_data.FieldMetaData("runCompleteUpdate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
16108
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
16030
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
16109
      metaDataMap = Collections.unmodifiableMap(tmpMap);
16031
      metaDataMap = Collections.unmodifiableMap(tmpMap);
16110
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getServiceableLocationAsPerProviderIdAndPincode_args.class, metaDataMap);
16032
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(runLogisticsLocationInfoUpdate_args.class, metaDataMap);
16111
    }
16033
    }
16112
 
16034
 
16113
    public getServiceableLocationAsPerProviderIdAndPincode_args() {
16035
    public runLogisticsLocationInfoUpdate_args() {
16114
    }
16036
    }
16115
 
16037
 
16116
    public getServiceableLocationAsPerProviderIdAndPincode_args(
16038
    public runLogisticsLocationInfoUpdate_args(
16117
      long providerId,
16039
      List<LogisticsLocationInfo> logisticsLocationInfoList,
16118
      String pincode)
16040
      boolean runCompleteUpdate)
16119
    {
16041
    {
16120
      this();
16042
      this();
16121
      this.providerId = providerId;
16043
      this.logisticsLocationInfoList = logisticsLocationInfoList;
16122
      setProviderIdIsSet(true);
16044
      this.runCompleteUpdate = runCompleteUpdate;
16123
      this.pincode = pincode;
16045
      setRunCompleteUpdateIsSet(true);
16124
    }
16046
    }
16125
 
16047
 
16126
    /**
16048
    /**
16127
     * Performs a deep copy on <i>other</i>.
16049
     * Performs a deep copy on <i>other</i>.
16128
     */
16050
     */
16129
    public getServiceableLocationAsPerProviderIdAndPincode_args(getServiceableLocationAsPerProviderIdAndPincode_args other) {
16051
    public runLogisticsLocationInfoUpdate_args(runLogisticsLocationInfoUpdate_args other) {
16130
      __isset_bit_vector.clear();
16052
      __isset_bit_vector.clear();
16131
      __isset_bit_vector.or(other.__isset_bit_vector);
16053
      __isset_bit_vector.or(other.__isset_bit_vector);
16132
      this.providerId = other.providerId;
16054
      if (other.isSetLogisticsLocationInfoList()) {
-
 
16055
        List<LogisticsLocationInfo> __this__logisticsLocationInfoList = new ArrayList<LogisticsLocationInfo>();
16133
      if (other.isSetPincode()) {
16056
        for (LogisticsLocationInfo other_element : other.logisticsLocationInfoList) {
-
 
16057
          __this__logisticsLocationInfoList.add(new LogisticsLocationInfo(other_element));
-
 
16058
        }
16134
        this.pincode = other.pincode;
16059
        this.logisticsLocationInfoList = __this__logisticsLocationInfoList;
16135
      }
16060
      }
-
 
16061
      this.runCompleteUpdate = other.runCompleteUpdate;
16136
    }
16062
    }
16137
 
16063
 
16138
    public getServiceableLocationAsPerProviderIdAndPincode_args deepCopy() {
16064
    public runLogisticsLocationInfoUpdate_args deepCopy() {
16139
      return new getServiceableLocationAsPerProviderIdAndPincode_args(this);
16065
      return new runLogisticsLocationInfoUpdate_args(this);
16140
    }
16066
    }
16141
 
16067
 
16142
    @Override
16068
    @Override
16143
    public void clear() {
16069
    public void clear() {
16144
      setProviderIdIsSet(false);
16070
      this.logisticsLocationInfoList = null;
16145
      this.providerId = 0;
16071
      setRunCompleteUpdateIsSet(false);
16146
      this.pincode = null;
16072
      this.runCompleteUpdate = false;
16147
    }
16073
    }
16148
 
16074
 
16149
    public long getProviderId() {
16075
    public int getLogisticsLocationInfoListSize() {
16150
      return this.providerId;
16076
      return (this.logisticsLocationInfoList == null) ? 0 : this.logisticsLocationInfoList.size();
16151
    }
16077
    }
16152
 
16078
 
16153
    public void setProviderId(long providerId) {
16079
    public java.util.Iterator<LogisticsLocationInfo> getLogisticsLocationInfoListIterator() {
16154
      this.providerId = providerId;
16080
      return (this.logisticsLocationInfoList == null) ? null : this.logisticsLocationInfoList.iterator();
16155
      setProviderIdIsSet(true);
-
 
16156
    }
16081
    }
16157
 
16082
 
-
 
16083
    public void addToLogisticsLocationInfoList(LogisticsLocationInfo elem) {
16158
    public void unsetProviderId() {
16084
      if (this.logisticsLocationInfoList == null) {
-
 
16085
        this.logisticsLocationInfoList = new ArrayList<LogisticsLocationInfo>();
-
 
16086
      }
16159
      __isset_bit_vector.clear(__PROVIDERID_ISSET_ID);
16087
      this.logisticsLocationInfoList.add(elem);
16160
    }
16088
    }
16161
 
16089
 
16162
    /** Returns true if field providerId is set (has been assigned a value) and false otherwise */
-
 
16163
    public boolean isSetProviderId() {
16090
    public List<LogisticsLocationInfo> getLogisticsLocationInfoList() {
16164
      return __isset_bit_vector.get(__PROVIDERID_ISSET_ID);
16091
      return this.logisticsLocationInfoList;
16165
    }
16092
    }
16166
 
16093
 
16167
    public void setProviderIdIsSet(boolean value) {
16094
    public void setLogisticsLocationInfoList(List<LogisticsLocationInfo> logisticsLocationInfoList) {
16168
      __isset_bit_vector.set(__PROVIDERID_ISSET_ID, value);
16095
      this.logisticsLocationInfoList = logisticsLocationInfoList;
16169
    }
16096
    }
16170
 
16097
 
16171
    public String getPincode() {
16098
    public void unsetLogisticsLocationInfoList() {
16172
      return this.pincode;
16099
      this.logisticsLocationInfoList = null;
16173
    }
16100
    }
16174
 
16101
 
-
 
16102
    /** Returns true if field logisticsLocationInfoList is set (has been assigned a value) and false otherwise */
16175
    public void setPincode(String pincode) {
16103
    public boolean isSetLogisticsLocationInfoList() {
16176
      this.pincode = pincode;
16104
      return this.logisticsLocationInfoList != null;
16177
    }
16105
    }
16178
 
16106
 
-
 
16107
    public void setLogisticsLocationInfoListIsSet(boolean value) {
16179
    public void unsetPincode() {
16108
      if (!value) {
16180
      this.pincode = null;
16109
        this.logisticsLocationInfoList = null;
-
 
16110
      }
16181
    }
16111
    }
16182
 
16112
 
16183
    /** Returns true if field pincode is set (has been assigned a value) and false otherwise */
-
 
16184
    public boolean isSetPincode() {
16113
    public boolean isRunCompleteUpdate() {
16185
      return this.pincode != null;
16114
      return this.runCompleteUpdate;
16186
    }
16115
    }
16187
 
16116
 
16188
    public void setPincodeIsSet(boolean value) {
16117
    public void setRunCompleteUpdate(boolean runCompleteUpdate) {
-
 
16118
      this.runCompleteUpdate = runCompleteUpdate;
16189
      if (!value) {
16119
      setRunCompleteUpdateIsSet(true);
-
 
16120
    }
-
 
16121
 
16190
        this.pincode = null;
16122
    public void unsetRunCompleteUpdate() {
-
 
16123
      __isset_bit_vector.clear(__RUNCOMPLETEUPDATE_ISSET_ID);
-
 
16124
    }
-
 
16125
 
-
 
16126
    /** Returns true if field runCompleteUpdate is set (has been assigned a value) and false otherwise */
-
 
16127
    public boolean isSetRunCompleteUpdate() {
-
 
16128
      return __isset_bit_vector.get(__RUNCOMPLETEUPDATE_ISSET_ID);
16191
      }
16129
    }
-
 
16130
 
-
 
16131
    public void setRunCompleteUpdateIsSet(boolean value) {
-
 
16132
      __isset_bit_vector.set(__RUNCOMPLETEUPDATE_ISSET_ID, value);
16192
    }
16133
    }
16193
 
16134
 
16194
    public void setFieldValue(_Fields field, Object value) {
16135
    public void setFieldValue(_Fields field, Object value) {
16195
      switch (field) {
16136
      switch (field) {
16196
      case PROVIDER_ID:
16137
      case LOGISTICS_LOCATION_INFO_LIST:
16197
        if (value == null) {
16138
        if (value == null) {
16198
          unsetProviderId();
16139
          unsetLogisticsLocationInfoList();
16199
        } else {
16140
        } else {
16200
          setProviderId((Long)value);
16141
          setLogisticsLocationInfoList((List<LogisticsLocationInfo>)value);
16201
        }
16142
        }
16202
        break;
16143
        break;
16203
 
16144
 
16204
      case PINCODE:
16145
      case RUN_COMPLETE_UPDATE:
16205
        if (value == null) {
16146
        if (value == null) {
16206
          unsetPincode();
16147
          unsetRunCompleteUpdate();
16207
        } else {
16148
        } else {
16208
          setPincode((String)value);
16149
          setRunCompleteUpdate((Boolean)value);
16209
        }
16150
        }
16210
        break;
16151
        break;
16211
 
16152
 
16212
      }
16153
      }
16213
    }
16154
    }
16214
 
16155
 
16215
    public Object getFieldValue(_Fields field) {
16156
    public Object getFieldValue(_Fields field) {
16216
      switch (field) {
16157
      switch (field) {
16217
      case PROVIDER_ID:
16158
      case LOGISTICS_LOCATION_INFO_LIST:
16218
        return Long.valueOf(getProviderId());
16159
        return getLogisticsLocationInfoList();
16219
 
16160
 
16220
      case PINCODE:
16161
      case RUN_COMPLETE_UPDATE:
16221
        return getPincode();
16162
        return Boolean.valueOf(isRunCompleteUpdate());
16222
 
16163
 
16223
      }
16164
      }
16224
      throw new IllegalStateException();
16165
      throw new IllegalStateException();
16225
    }
16166
    }
16226
 
16167
 
Line 16229... Line 16170...
16229
      if (field == null) {
16170
      if (field == null) {
16230
        throw new IllegalArgumentException();
16171
        throw new IllegalArgumentException();
16231
      }
16172
      }
16232
 
16173
 
16233
      switch (field) {
16174
      switch (field) {
16234
      case PROVIDER_ID:
16175
      case LOGISTICS_LOCATION_INFO_LIST:
16235
        return isSetProviderId();
16176
        return isSetLogisticsLocationInfoList();
16236
      case PINCODE:
16177
      case RUN_COMPLETE_UPDATE:
16237
        return isSetPincode();
16178
        return isSetRunCompleteUpdate();
16238
      }
16179
      }
16239
      throw new IllegalStateException();
16180
      throw new IllegalStateException();
16240
    }
16181
    }
16241
 
16182
 
16242
    @Override
16183
    @Override
16243
    public boolean equals(Object that) {
16184
    public boolean equals(Object that) {
16244
      if (that == null)
16185
      if (that == null)
16245
        return false;
16186
        return false;
16246
      if (that instanceof getServiceableLocationAsPerProviderIdAndPincode_args)
16187
      if (that instanceof runLogisticsLocationInfoUpdate_args)
16247
        return this.equals((getServiceableLocationAsPerProviderIdAndPincode_args)that);
16188
        return this.equals((runLogisticsLocationInfoUpdate_args)that);
16248
      return false;
16189
      return false;
16249
    }
16190
    }
16250
 
16191
 
16251
    public boolean equals(getServiceableLocationAsPerProviderIdAndPincode_args that) {
16192
    public boolean equals(runLogisticsLocationInfoUpdate_args that) {
16252
      if (that == null)
16193
      if (that == null)
16253
        return false;
16194
        return false;
16254
 
16195
 
16255
      boolean this_present_providerId = true;
16196
      boolean this_present_logisticsLocationInfoList = true && this.isSetLogisticsLocationInfoList();
16256
      boolean that_present_providerId = true;
16197
      boolean that_present_logisticsLocationInfoList = true && that.isSetLogisticsLocationInfoList();
16257
      if (this_present_providerId || that_present_providerId) {
16198
      if (this_present_logisticsLocationInfoList || that_present_logisticsLocationInfoList) {
16258
        if (!(this_present_providerId && that_present_providerId))
16199
        if (!(this_present_logisticsLocationInfoList && that_present_logisticsLocationInfoList))
16259
          return false;
16200
          return false;
16260
        if (this.providerId != that.providerId)
16201
        if (!this.logisticsLocationInfoList.equals(that.logisticsLocationInfoList))
16261
          return false;
16202
          return false;
16262
      }
16203
      }
16263
 
16204
 
16264
      boolean this_present_pincode = true && this.isSetPincode();
16205
      boolean this_present_runCompleteUpdate = true;
16265
      boolean that_present_pincode = true && that.isSetPincode();
16206
      boolean that_present_runCompleteUpdate = true;
16266
      if (this_present_pincode || that_present_pincode) {
16207
      if (this_present_runCompleteUpdate || that_present_runCompleteUpdate) {
16267
        if (!(this_present_pincode && that_present_pincode))
16208
        if (!(this_present_runCompleteUpdate && that_present_runCompleteUpdate))
16268
          return false;
16209
          return false;
16269
        if (!this.pincode.equals(that.pincode))
16210
        if (this.runCompleteUpdate != that.runCompleteUpdate)
16270
          return false;
16211
          return false;
16271
      }
16212
      }
16272
 
16213
 
16273
      return true;
16214
      return true;
16274
    }
16215
    }
Line 16276... Line 16217...
16276
    @Override
16217
    @Override
16277
    public int hashCode() {
16218
    public int hashCode() {
16278
      return 0;
16219
      return 0;
16279
    }
16220
    }
16280
 
16221
 
16281
    public int compareTo(getServiceableLocationAsPerProviderIdAndPincode_args other) {
16222
    public int compareTo(runLogisticsLocationInfoUpdate_args other) {
16282
      if (!getClass().equals(other.getClass())) {
16223
      if (!getClass().equals(other.getClass())) {
16283
        return getClass().getName().compareTo(other.getClass().getName());
16224
        return getClass().getName().compareTo(other.getClass().getName());
16284
      }
16225
      }
16285
 
16226
 
16286
      int lastComparison = 0;
16227
      int lastComparison = 0;
16287
      getServiceableLocationAsPerProviderIdAndPincode_args typedOther = (getServiceableLocationAsPerProviderIdAndPincode_args)other;
16228
      runLogisticsLocationInfoUpdate_args typedOther = (runLogisticsLocationInfoUpdate_args)other;
16288
 
16229
 
16289
      lastComparison = Boolean.valueOf(isSetProviderId()).compareTo(typedOther.isSetProviderId());
16230
      lastComparison = Boolean.valueOf(isSetLogisticsLocationInfoList()).compareTo(typedOther.isSetLogisticsLocationInfoList());
16290
      if (lastComparison != 0) {
16231
      if (lastComparison != 0) {
16291
        return lastComparison;
16232
        return lastComparison;
16292
      }
16233
      }
16293
      if (isSetProviderId()) {
16234
      if (isSetLogisticsLocationInfoList()) {
16294
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.providerId, typedOther.providerId);
16235
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.logisticsLocationInfoList, typedOther.logisticsLocationInfoList);
16295
        if (lastComparison != 0) {
16236
        if (lastComparison != 0) {
16296
          return lastComparison;
16237
          return lastComparison;
16297
        }
16238
        }
16298
      }
16239
      }
16299
      lastComparison = Boolean.valueOf(isSetPincode()).compareTo(typedOther.isSetPincode());
16240
      lastComparison = Boolean.valueOf(isSetRunCompleteUpdate()).compareTo(typedOther.isSetRunCompleteUpdate());
16300
      if (lastComparison != 0) {
16241
      if (lastComparison != 0) {
16301
        return lastComparison;
16242
        return lastComparison;
16302
      }
16243
      }
16303
      if (isSetPincode()) {
16244
      if (isSetRunCompleteUpdate()) {
16304
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pincode, typedOther.pincode);
16245
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.runCompleteUpdate, typedOther.runCompleteUpdate);
16305
        if (lastComparison != 0) {
16246
        if (lastComparison != 0) {
16306
          return lastComparison;
16247
          return lastComparison;
16307
        }
16248
        }
16308
      }
16249
      }
16309
      return 0;
16250
      return 0;
Line 16321... Line 16262...
16321
        field = iprot.readFieldBegin();
16262
        field = iprot.readFieldBegin();
16322
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
16263
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
16323
          break;
16264
          break;
16324
        }
16265
        }
16325
        switch (field.id) {
16266
        switch (field.id) {
16326
          case 1: // PROVIDER_ID
16267
          case 1: // LOGISTICS_LOCATION_INFO_LIST
16327
            if (field.type == org.apache.thrift.protocol.TType.I64) {
16268
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
16269
              {
-
 
16270
                org.apache.thrift.protocol.TList _list29 = iprot.readListBegin();
-
 
16271
                this.logisticsLocationInfoList = new ArrayList<LogisticsLocationInfo>(_list29.size);
-
 
16272
                for (int _i30 = 0; _i30 < _list29.size; ++_i30)
-
 
16273
                {
-
 
16274
                  LogisticsLocationInfo _elem31; // required
-
 
16275
                  _elem31 = new LogisticsLocationInfo();
16328
              this.providerId = iprot.readI64();
16276
                  _elem31.read(iprot);
-
 
16277
                  this.logisticsLocationInfoList.add(_elem31);
-
 
16278
                }
16329
              setProviderIdIsSet(true);
16279
                iprot.readListEnd();
-
 
16280
              }
16330
            } else { 
16281
            } else { 
16331
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
16282
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
16332
            }
16283
            }
16333
            break;
16284
            break;
16334
          case 2: // PINCODE
16285
          case 2: // RUN_COMPLETE_UPDATE
16335
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
16286
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
16336
              this.pincode = iprot.readString();
16287
              this.runCompleteUpdate = iprot.readBool();
-
 
16288
              setRunCompleteUpdateIsSet(true);
16337
            } else { 
16289
            } else { 
16338
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
16290
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
16339
            }
16291
            }
16340
            break;
16292
            break;
16341
          default:
16293
          default:
Line 16349... Line 16301...
16349
 
16301
 
16350
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
16302
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
16351
      validate();
16303
      validate();
16352
 
16304
 
16353
      oprot.writeStructBegin(STRUCT_DESC);
16305
      oprot.writeStructBegin(STRUCT_DESC);
-
 
16306
      if (this.logisticsLocationInfoList != null) {
16354
      oprot.writeFieldBegin(PROVIDER_ID_FIELD_DESC);
16307
        oprot.writeFieldBegin(LOGISTICS_LOCATION_INFO_LIST_FIELD_DESC);
-
 
16308
        {
-
 
16309
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.logisticsLocationInfoList.size()));
16355
      oprot.writeI64(this.providerId);
16310
          for (LogisticsLocationInfo _iter32 : this.logisticsLocationInfoList)
16356
      oprot.writeFieldEnd();
16311
          {
16357
      if (this.pincode != null) {
16312
            _iter32.write(oprot);
16358
        oprot.writeFieldBegin(PINCODE_FIELD_DESC);
16313
          }
16359
        oprot.writeString(this.pincode);
16314
          oprot.writeListEnd();
-
 
16315
        }
16360
        oprot.writeFieldEnd();
16316
        oprot.writeFieldEnd();
16361
      }
16317
      }
-
 
16318
      oprot.writeFieldBegin(RUN_COMPLETE_UPDATE_FIELD_DESC);
-
 
16319
      oprot.writeBool(this.runCompleteUpdate);
-
 
16320
      oprot.writeFieldEnd();
16362
      oprot.writeFieldStop();
16321
      oprot.writeFieldStop();
16363
      oprot.writeStructEnd();
16322
      oprot.writeStructEnd();
16364
    }
16323
    }
16365
 
16324
 
16366
    @Override
16325
    @Override
16367
    public String toString() {
16326
    public String toString() {
16368
      StringBuilder sb = new StringBuilder("getServiceableLocationAsPerProviderIdAndPincode_args(");
16327
      StringBuilder sb = new StringBuilder("runLogisticsLocationInfoUpdate_args(");
16369
      boolean first = true;
16328
      boolean first = true;
16370
 
16329
 
16371
      sb.append("providerId:");
-
 
16372
      sb.append(this.providerId);
-
 
16373
      first = false;
-
 
16374
      if (!first) sb.append(", ");
-
 
16375
      sb.append("pincode:");
16330
      sb.append("logisticsLocationInfoList:");
16376
      if (this.pincode == null) {
16331
      if (this.logisticsLocationInfoList == null) {
16377
        sb.append("null");
16332
        sb.append("null");
16378
      } else {
16333
      } else {
16379
        sb.append(this.pincode);
16334
        sb.append(this.logisticsLocationInfoList);
16380
      }
16335
      }
16381
      first = false;
16336
      first = false;
16382
      sb.append(")");
-
 
16383
      return sb.toString();
-
 
16384
    }
-
 
16385
 
-
 
16386
    public void validate() throws org.apache.thrift.TException {
-
 
16387
      // check for required fields
-
 
16388
    }
-
 
16389
 
-
 
16390
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
16391
      try {
-
 
16392
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
16393
      } catch (org.apache.thrift.TException te) {
-
 
16394
        throw new java.io.IOException(te);
-
 
16395
      }
-
 
16396
    }
-
 
16397
 
-
 
16398
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
16399
      try {
-
 
16400
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
16401
      } catch (org.apache.thrift.TException te) {
-
 
16402
        throw new java.io.IOException(te);
-
 
16403
      }
-
 
16404
    }
-
 
16405
 
-
 
16406
  }
-
 
16407
 
-
 
16408
  public static class getServiceableLocationAsPerProviderIdAndPincode_result implements org.apache.thrift.TBase<getServiceableLocationAsPerProviderIdAndPincode_result, getServiceableLocationAsPerProviderIdAndPincode_result._Fields>, java.io.Serializable, Cloneable   {
16337
      if (!first) sb.append(", ");
16409
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getServiceableLocationAsPerProviderIdAndPincode_result");
-
 
16410
 
-
 
16411
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
16412
 
-
 
16413
    private boolean success; // required
-
 
16414
 
-
 
16415
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
16416
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
16417
      SUCCESS((short)0, "success");
-
 
16418
 
-
 
16419
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
16420
 
-
 
16421
      static {
-
 
16422
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
16423
          byName.put(field.getFieldName(), field);
-
 
16424
        }
-
 
16425
      }
-
 
16426
 
-
 
16427
      /**
-
 
16428
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
16429
       */
-
 
16430
      public static _Fields findByThriftId(int fieldId) {
-
 
16431
        switch(fieldId) {
-
 
16432
          case 0: // SUCCESS
-
 
16433
            return SUCCESS;
-
 
16434
          default:
-
 
16435
            return null;
-
 
16436
        }
-
 
16437
      }
-
 
16438
 
-
 
16439
      /**
-
 
16440
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
16441
       * if it is not found.
-
 
16442
       */
-
 
16443
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
16444
        _Fields fields = findByThriftId(fieldId);
-
 
16445
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
16446
        return fields;
-
 
16447
      }
-
 
16448
 
-
 
16449
      /**
-
 
16450
       * Find the _Fields constant that matches name, or null if its not found.
-
 
16451
       */
-
 
16452
      public static _Fields findByName(String name) {
-
 
16453
        return byName.get(name);
-
 
16454
      }
-
 
16455
 
-
 
16456
      private final short _thriftId;
-
 
16457
      private final String _fieldName;
-
 
16458
 
-
 
16459
      _Fields(short thriftId, String fieldName) {
-
 
16460
        _thriftId = thriftId;
-
 
16461
        _fieldName = fieldName;
-
 
16462
      }
-
 
16463
 
-
 
16464
      public short getThriftFieldId() {
-
 
16465
        return _thriftId;
-
 
16466
      }
-
 
16467
 
-
 
16468
      public String getFieldName() {
-
 
16469
        return _fieldName;
-
 
16470
      }
-
 
16471
    }
-
 
16472
 
-
 
16473
    // isset id assignments
-
 
16474
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
16475
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
16476
 
-
 
16477
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
16478
    static {
-
 
16479
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
16480
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
16481
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
16482
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
16483
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getServiceableLocationAsPerProviderIdAndPincode_result.class, metaDataMap);
-
 
16484
    }
-
 
16485
 
-
 
16486
    public getServiceableLocationAsPerProviderIdAndPincode_result() {
-
 
16487
    }
-
 
16488
 
-
 
16489
    public getServiceableLocationAsPerProviderIdAndPincode_result(
-
 
16490
      boolean success)
-
 
16491
    {
-
 
16492
      this();
-
 
16493
      this.success = success;
-
 
16494
      setSuccessIsSet(true);
-
 
16495
    }
-
 
16496
 
-
 
16497
    /**
-
 
16498
     * Performs a deep copy on <i>other</i>.
-
 
16499
     */
-
 
16500
    public getServiceableLocationAsPerProviderIdAndPincode_result(getServiceableLocationAsPerProviderIdAndPincode_result other) {
-
 
16501
      __isset_bit_vector.clear();
-
 
16502
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
16503
      this.success = other.success;
-
 
16504
    }
-
 
16505
 
-
 
16506
    public getServiceableLocationAsPerProviderIdAndPincode_result deepCopy() {
-
 
16507
      return new getServiceableLocationAsPerProviderIdAndPincode_result(this);
-
 
16508
    }
-
 
16509
 
-
 
16510
    @Override
-
 
16511
    public void clear() {
-
 
16512
      setSuccessIsSet(false);
-
 
16513
      this.success = false;
-
 
16514
    }
-
 
16515
 
-
 
16516
    public boolean isSuccess() {
-
 
16517
      return this.success;
-
 
16518
    }
-
 
16519
 
-
 
16520
    public void setSuccess(boolean success) {
-
 
16521
      this.success = success;
-
 
16522
      setSuccessIsSet(true);
-
 
16523
    }
-
 
16524
 
-
 
16525
    public void unsetSuccess() {
-
 
16526
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
16527
    }
-
 
16528
 
-
 
16529
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
16530
    public boolean isSetSuccess() {
-
 
16531
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
16532
    }
-
 
16533
 
-
 
16534
    public void setSuccessIsSet(boolean value) {
-
 
16535
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
16536
    }
-
 
16537
 
-
 
16538
    public void setFieldValue(_Fields field, Object value) {
-
 
16539
      switch (field) {
-
 
16540
      case SUCCESS:
-
 
16541
        if (value == null) {
-
 
16542
          unsetSuccess();
-
 
16543
        } else {
-
 
16544
          setSuccess((Boolean)value);
-
 
16545
        }
-
 
16546
        break;
-
 
16547
 
-
 
16548
      }
-
 
16549
    }
-
 
16550
 
-
 
16551
    public Object getFieldValue(_Fields field) {
-
 
16552
      switch (field) {
-
 
16553
      case SUCCESS:
-
 
16554
        return Boolean.valueOf(isSuccess());
-
 
16555
 
-
 
16556
      }
-
 
16557
      throw new IllegalStateException();
-
 
16558
    }
-
 
16559
 
-
 
16560
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
16561
    public boolean isSet(_Fields field) {
-
 
16562
      if (field == null) {
-
 
16563
        throw new IllegalArgumentException();
-
 
16564
      }
-
 
16565
 
-
 
16566
      switch (field) {
-
 
16567
      case SUCCESS:
-
 
16568
        return isSetSuccess();
-
 
16569
      }
-
 
16570
      throw new IllegalStateException();
-
 
16571
    }
-
 
16572
 
-
 
16573
    @Override
-
 
16574
    public boolean equals(Object that) {
-
 
16575
      if (that == null)
-
 
16576
        return false;
-
 
16577
      if (that instanceof getServiceableLocationAsPerProviderIdAndPincode_result)
-
 
16578
        return this.equals((getServiceableLocationAsPerProviderIdAndPincode_result)that);
-
 
16579
      return false;
-
 
16580
    }
-
 
16581
 
-
 
16582
    public boolean equals(getServiceableLocationAsPerProviderIdAndPincode_result that) {
-
 
16583
      if (that == null)
-
 
16584
        return false;
-
 
16585
 
-
 
16586
      boolean this_present_success = true;
-
 
16587
      boolean that_present_success = true;
-
 
16588
      if (this_present_success || that_present_success) {
-
 
16589
        if (!(this_present_success && that_present_success))
-
 
16590
          return false;
-
 
16591
        if (this.success != that.success)
-
 
16592
          return false;
-
 
16593
      }
-
 
16594
 
-
 
16595
      return true;
-
 
16596
    }
-
 
16597
 
-
 
16598
    @Override
-
 
16599
    public int hashCode() {
-
 
16600
      return 0;
-
 
16601
    }
-
 
16602
 
-
 
16603
    public int compareTo(getServiceableLocationAsPerProviderIdAndPincode_result other) {
-
 
16604
      if (!getClass().equals(other.getClass())) {
-
 
16605
        return getClass().getName().compareTo(other.getClass().getName());
-
 
16606
      }
-
 
16607
 
-
 
16608
      int lastComparison = 0;
-
 
16609
      getServiceableLocationAsPerProviderIdAndPincode_result typedOther = (getServiceableLocationAsPerProviderIdAndPincode_result)other;
-
 
16610
 
-
 
16611
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
16612
      if (lastComparison != 0) {
-
 
16613
        return lastComparison;
-
 
16614
      }
-
 
16615
      if (isSetSuccess()) {
-
 
16616
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
16617
        if (lastComparison != 0) {
-
 
16618
          return lastComparison;
-
 
16619
        }
-
 
16620
      }
-
 
16621
      return 0;
-
 
16622
    }
-
 
16623
 
-
 
16624
    public _Fields fieldForId(int fieldId) {
-
 
16625
      return _Fields.findByThriftId(fieldId);
-
 
16626
    }
-
 
16627
 
-
 
16628
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
16629
      org.apache.thrift.protocol.TField field;
-
 
16630
      iprot.readStructBegin();
-
 
16631
      while (true)
-
 
16632
      {
-
 
16633
        field = iprot.readFieldBegin();
-
 
16634
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
16635
          break;
-
 
16636
        }
-
 
16637
        switch (field.id) {
-
 
16638
          case 0: // SUCCESS
-
 
16639
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
16640
              this.success = iprot.readBool();
-
 
16641
              setSuccessIsSet(true);
-
 
16642
            } else { 
-
 
16643
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
16644
            }
-
 
16645
            break;
-
 
16646
          default:
-
 
16647
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
16648
        }
-
 
16649
        iprot.readFieldEnd();
-
 
16650
      }
-
 
16651
      iprot.readStructEnd();
-
 
16652
      validate();
-
 
16653
    }
-
 
16654
 
-
 
16655
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
16656
      oprot.writeStructBegin(STRUCT_DESC);
-
 
16657
 
-
 
16658
      if (this.isSetSuccess()) {
-
 
16659
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
16660
        oprot.writeBool(this.success);
-
 
16661
        oprot.writeFieldEnd();
-
 
16662
      }
-
 
16663
      oprot.writeFieldStop();
-
 
16664
      oprot.writeStructEnd();
-
 
16665
    }
-
 
16666
 
-
 
16667
    @Override
-
 
16668
    public String toString() {
-
 
16669
      StringBuilder sb = new StringBuilder("getServiceableLocationAsPerProviderIdAndPincode_result(");
-
 
16670
      boolean first = true;
-
 
16671
 
-
 
16672
      sb.append("success:");
16338
      sb.append("runCompleteUpdate:");
16673
      sb.append(this.success);
16339
      sb.append(this.runCompleteUpdate);
16674
      first = false;
16340
      first = false;
16675
      sb.append(")");
16341
      sb.append(")");
16676
      return sb.toString();
16342
      return sb.toString();
16677
    }
16343
    }
16678
 
16344
 
Line 16688... Line 16354...
16688
      }
16354
      }
16689
    }
16355
    }
16690
 
16356
 
16691
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
16357
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
16692
      try {
16358
      try {
-
 
16359
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
16360
        __isset_bit_vector = new BitSet(1);
16693
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
16361
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
16694
      } catch (org.apache.thrift.TException te) {
16362
      } catch (org.apache.thrift.TException te) {
16695
        throw new java.io.IOException(te);
16363
        throw new java.io.IOException(te);
16696
      }
16364
      }
16697
    }
16365
    }
16698
 
16366
 
16699
  }
16367
  }
16700
 
16368
 
16701
  public static class runCompleteUpdateForPincode_args implements org.apache.thrift.TBase<runCompleteUpdateForPincode_args, runCompleteUpdateForPincode_args._Fields>, java.io.Serializable, Cloneable   {
-
 
16702
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("runCompleteUpdateForPincode_args");
-
 
16703
 
-
 
16704
 
-
 
16705
 
-
 
16706
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
16707
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
16708
;
-
 
16709
 
-
 
16710
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
16711
 
-
 
16712
      static {
-
 
16713
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
16714
          byName.put(field.getFieldName(), field);
-
 
16715
        }
-
 
16716
      }
-
 
16717
 
-
 
16718
      /**
-
 
16719
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
16720
       */
-
 
16721
      public static _Fields findByThriftId(int fieldId) {
-
 
16722
        switch(fieldId) {
-
 
16723
          default:
-
 
16724
            return null;
-
 
16725
        }
-
 
16726
      }
-
 
16727
 
-
 
16728
      /**
-
 
16729
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
16730
       * if it is not found.
-
 
16731
       */
-
 
16732
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
16733
        _Fields fields = findByThriftId(fieldId);
-
 
16734
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
16735
        return fields;
-
 
16736
      }
-
 
16737
 
-
 
16738
      /**
-
 
16739
       * Find the _Fields constant that matches name, or null if its not found.
-
 
16740
       */
-
 
16741
      public static _Fields findByName(String name) {
-
 
16742
        return byName.get(name);
-
 
16743
      }
-
 
16744
 
-
 
16745
      private final short _thriftId;
-
 
16746
      private final String _fieldName;
-
 
16747
 
-
 
16748
      _Fields(short thriftId, String fieldName) {
-
 
16749
        _thriftId = thriftId;
-
 
16750
        _fieldName = fieldName;
-
 
16751
      }
-
 
16752
 
-
 
16753
      public short getThriftFieldId() {
-
 
16754
        return _thriftId;
-
 
16755
      }
-
 
16756
 
-
 
16757
      public String getFieldName() {
-
 
16758
        return _fieldName;
-
 
16759
      }
-
 
16760
    }
-
 
16761
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
16762
    static {
-
 
16763
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
16764
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
16765
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(runCompleteUpdateForPincode_args.class, metaDataMap);
-
 
16766
    }
-
 
16767
 
-
 
16768
    public runCompleteUpdateForPincode_args() {
-
 
16769
    }
-
 
16770
 
-
 
16771
    /**
-
 
16772
     * Performs a deep copy on <i>other</i>.
-
 
16773
     */
-
 
16774
    public runCompleteUpdateForPincode_args(runCompleteUpdateForPincode_args other) {
-
 
16775
    }
-
 
16776
 
-
 
16777
    public runCompleteUpdateForPincode_args deepCopy() {
-
 
16778
      return new runCompleteUpdateForPincode_args(this);
-
 
16779
    }
-
 
16780
 
-
 
16781
    @Override
-
 
16782
    public void clear() {
-
 
16783
    }
-
 
16784
 
-
 
16785
    public void setFieldValue(_Fields field, Object value) {
-
 
16786
      switch (field) {
-
 
16787
      }
-
 
16788
    }
-
 
16789
 
-
 
16790
    public Object getFieldValue(_Fields field) {
-
 
16791
      switch (field) {
-
 
16792
      }
-
 
16793
      throw new IllegalStateException();
-
 
16794
    }
-
 
16795
 
-
 
16796
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
16797
    public boolean isSet(_Fields field) {
-
 
16798
      if (field == null) {
-
 
16799
        throw new IllegalArgumentException();
-
 
16800
      }
-
 
16801
 
-
 
16802
      switch (field) {
-
 
16803
      }
-
 
16804
      throw new IllegalStateException();
-
 
16805
    }
-
 
16806
 
-
 
16807
    @Override
-
 
16808
    public boolean equals(Object that) {
-
 
16809
      if (that == null)
-
 
16810
        return false;
-
 
16811
      if (that instanceof runCompleteUpdateForPincode_args)
-
 
16812
        return this.equals((runCompleteUpdateForPincode_args)that);
-
 
16813
      return false;
-
 
16814
    }
-
 
16815
 
-
 
16816
    public boolean equals(runCompleteUpdateForPincode_args that) {
-
 
16817
      if (that == null)
-
 
16818
        return false;
-
 
16819
 
-
 
16820
      return true;
-
 
16821
    }
-
 
16822
 
-
 
16823
    @Override
-
 
16824
    public int hashCode() {
-
 
16825
      return 0;
-
 
16826
    }
-
 
16827
 
-
 
16828
    public int compareTo(runCompleteUpdateForPincode_args other) {
-
 
16829
      if (!getClass().equals(other.getClass())) {
-
 
16830
        return getClass().getName().compareTo(other.getClass().getName());
-
 
16831
      }
-
 
16832
 
-
 
16833
      int lastComparison = 0;
-
 
16834
      runCompleteUpdateForPincode_args typedOther = (runCompleteUpdateForPincode_args)other;
-
 
16835
 
-
 
16836
      return 0;
-
 
16837
    }
-
 
16838
 
-
 
16839
    public _Fields fieldForId(int fieldId) {
-
 
16840
      return _Fields.findByThriftId(fieldId);
-
 
16841
    }
-
 
16842
 
-
 
16843
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
16844
      org.apache.thrift.protocol.TField field;
-
 
16845
      iprot.readStructBegin();
-
 
16846
      while (true)
-
 
16847
      {
-
 
16848
        field = iprot.readFieldBegin();
-
 
16849
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
16850
          break;
-
 
16851
        }
-
 
16852
        switch (field.id) {
-
 
16853
          default:
-
 
16854
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
16855
        }
-
 
16856
        iprot.readFieldEnd();
-
 
16857
      }
-
 
16858
      iprot.readStructEnd();
-
 
16859
      validate();
-
 
16860
    }
-
 
16861
 
-
 
16862
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
16863
      validate();
-
 
16864
 
-
 
16865
      oprot.writeStructBegin(STRUCT_DESC);
-
 
16866
      oprot.writeFieldStop();
-
 
16867
      oprot.writeStructEnd();
-
 
16868
    }
-
 
16869
 
-
 
16870
    @Override
-
 
16871
    public String toString() {
-
 
16872
      StringBuilder sb = new StringBuilder("runCompleteUpdateForPincode_args(");
-
 
16873
      boolean first = true;
-
 
16874
 
-
 
16875
      sb.append(")");
-
 
16876
      return sb.toString();
-
 
16877
    }
-
 
16878
 
-
 
16879
    public void validate() throws org.apache.thrift.TException {
-
 
16880
      // check for required fields
-
 
16881
    }
-
 
16882
 
-
 
16883
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
16884
      try {
-
 
16885
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
16886
      } catch (org.apache.thrift.TException te) {
-
 
16887
        throw new java.io.IOException(te);
-
 
16888
      }
-
 
16889
    }
-
 
16890
 
-
 
16891
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
16892
      try {
-
 
16893
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
16894
      } catch (org.apache.thrift.TException te) {
-
 
16895
        throw new java.io.IOException(te);
-
 
16896
      }
-
 
16897
    }
-
 
16898
 
-
 
16899
  }
-
 
16900
 
-
 
16901
  public static class runCompleteUpdateForPincode_result implements org.apache.thrift.TBase<runCompleteUpdateForPincode_result, runCompleteUpdateForPincode_result._Fields>, java.io.Serializable, Cloneable   {
16369
  public static class runLogisticsLocationInfoUpdate_result implements org.apache.thrift.TBase<runLogisticsLocationInfoUpdate_result, runLogisticsLocationInfoUpdate_result._Fields>, java.io.Serializable, Cloneable   {
16902
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("runCompleteUpdateForPincode_result");
16370
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("runLogisticsLocationInfoUpdate_result");
16903
 
16371
 
16904
 
16372
 
16905
 
16373
 
16906
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
16374
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
16907
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
16375
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
Line 16960... Line 16428...
16960
    }
16428
    }
16961
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
16429
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
16962
    static {
16430
    static {
16963
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
16431
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
16964
      metaDataMap = Collections.unmodifiableMap(tmpMap);
16432
      metaDataMap = Collections.unmodifiableMap(tmpMap);
16965
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(runCompleteUpdateForPincode_result.class, metaDataMap);
16433
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(runLogisticsLocationInfoUpdate_result.class, metaDataMap);
16966
    }
16434
    }
16967
 
16435
 
16968
    public runCompleteUpdateForPincode_result() {
16436
    public runLogisticsLocationInfoUpdate_result() {
16969
    }
16437
    }
16970
 
16438
 
16971
    /**
16439
    /**
16972
     * Performs a deep copy on <i>other</i>.
16440
     * Performs a deep copy on <i>other</i>.
16973
     */
16441
     */
16974
    public runCompleteUpdateForPincode_result(runCompleteUpdateForPincode_result other) {
16442
    public runLogisticsLocationInfoUpdate_result(runLogisticsLocationInfoUpdate_result other) {
16975
    }
16443
    }
16976
 
16444
 
16977
    public runCompleteUpdateForPincode_result deepCopy() {
16445
    public runLogisticsLocationInfoUpdate_result deepCopy() {
16978
      return new runCompleteUpdateForPincode_result(this);
16446
      return new runLogisticsLocationInfoUpdate_result(this);
16979
    }
16447
    }
16980
 
16448
 
16981
    @Override
16449
    @Override
16982
    public void clear() {
16450
    public void clear() {
16983
    }
16451
    }
Line 17006... Line 16474...
17006
 
16474
 
17007
    @Override
16475
    @Override
17008
    public boolean equals(Object that) {
16476
    public boolean equals(Object that) {
17009
      if (that == null)
16477
      if (that == null)
17010
        return false;
16478
        return false;
17011
      if (that instanceof runCompleteUpdateForPincode_result)
16479
      if (that instanceof runLogisticsLocationInfoUpdate_result)
17012
        return this.equals((runCompleteUpdateForPincode_result)that);
16480
        return this.equals((runLogisticsLocationInfoUpdate_result)that);
17013
      return false;
16481
      return false;
17014
    }
16482
    }
17015
 
16483
 
17016
    public boolean equals(runCompleteUpdateForPincode_result that) {
16484
    public boolean equals(runLogisticsLocationInfoUpdate_result that) {
17017
      if (that == null)
16485
      if (that == null)
17018
        return false;
16486
        return false;
17019
 
16487
 
17020
      return true;
16488
      return true;
17021
    }
16489
    }
Line 17023... Line 16491...
17023
    @Override
16491
    @Override
17024
    public int hashCode() {
16492
    public int hashCode() {
17025
      return 0;
16493
      return 0;
17026
    }
16494
    }
17027
 
16495
 
17028
    public int compareTo(runCompleteUpdateForPincode_result other) {
16496
    public int compareTo(runLogisticsLocationInfoUpdate_result other) {
17029
      if (!getClass().equals(other.getClass())) {
16497
      if (!getClass().equals(other.getClass())) {
17030
        return getClass().getName().compareTo(other.getClass().getName());
16498
        return getClass().getName().compareTo(other.getClass().getName());
17031
      }
16499
      }
17032
 
16500
 
17033
      int lastComparison = 0;
16501
      int lastComparison = 0;
17034
      runCompleteUpdateForPincode_result typedOther = (runCompleteUpdateForPincode_result)other;
16502
      runLogisticsLocationInfoUpdate_result typedOther = (runLogisticsLocationInfoUpdate_result)other;
17035
 
16503
 
17036
      return 0;
16504
      return 0;
17037
    }
16505
    }
17038
 
16506
 
17039
    public _Fields fieldForId(int fieldId) {
16507
    public _Fields fieldForId(int fieldId) {
Line 17066... Line 16534...
17066
      oprot.writeStructEnd();
16534
      oprot.writeStructEnd();
17067
    }
16535
    }
17068
 
16536
 
17069
    @Override
16537
    @Override
17070
    public String toString() {
16538
    public String toString() {
17071
      StringBuilder sb = new StringBuilder("runCompleteUpdateForPincode_result(");
16539
      StringBuilder sb = new StringBuilder("runLogisticsLocationInfoUpdate_result(");
17072
      boolean first = true;
16540
      boolean first = true;
17073
 
16541
 
17074
      sb.append(")");
16542
      sb.append(")");
17075
      return sb.toString();
16543
      return sb.toString();
17076
    }
16544
    }