Subversion Repositories SmartDukaan

Rev

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

Rev 7567 Rev 7737
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;
-
 
150
 
-
 
151
    public void runCompleteUpdateForPincode() throws org.apache.thrift.TException;
-
 
152
 
143
  }
153
  }
144
 
154
 
145
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
155
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
146
 
156
 
147
    public void getProvider(long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getProvider_call> resultHandler) throws org.apache.thrift.TException;
157
    public void getProvider(long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getProvider_call> resultHandler) throws org.apache.thrift.TException;
Line 180... Line 190...
180
 
190
 
181
    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;
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;
182
 
192
 
183
    public void addNewAwbs(long providerId, boolean cod, List<String> awbs, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addNewAwbs_call> resultHandler) throws org.apache.thrift.TException;
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;
184
 
194
 
-
 
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;
-
 
198
 
185
  }
199
  }
186
 
200
 
187
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
201
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
188
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
202
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
189
      public Factory() {}
203
      public Factory() {}
Line 684... Line 698...
684
        return result.success;
698
        return result.success;
685
      }
699
      }
686
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addNewAwbs failed: unknown result");
700
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addNewAwbs failed: unknown result");
687
    }
701
    }
688
 
702
 
-
 
703
    public boolean getServiceableLocationAsPerProviderIdAndPincode(long providerId, String pincode) throws org.apache.thrift.TException
-
 
704
    {
-
 
705
      send_getServiceableLocationAsPerProviderIdAndPincode(providerId, pincode);
-
 
706
      return recv_getServiceableLocationAsPerProviderIdAndPincode();
-
 
707
    }
-
 
708
 
-
 
709
    public void send_getServiceableLocationAsPerProviderIdAndPincode(long providerId, String pincode) throws org.apache.thrift.TException
-
 
710
    {
-
 
711
      getServiceableLocationAsPerProviderIdAndPincode_args args = new getServiceableLocationAsPerProviderIdAndPincode_args();
-
 
712
      args.setProviderId(providerId);
-
 
713
      args.setPincode(pincode);
-
 
714
      sendBase("getServiceableLocationAsPerProviderIdAndPincode", args);
-
 
715
    }
-
 
716
 
-
 
717
    public boolean recv_getServiceableLocationAsPerProviderIdAndPincode() throws org.apache.thrift.TException
-
 
718
    {
-
 
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();
-
 
742
      receiveBase(result, "runCompleteUpdateForPincode");
-
 
743
      return;
-
 
744
    }
-
 
745
 
689
  }
746
  }
690
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
747
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
691
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
748
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
692
      private org.apache.thrift.async.TAsyncClientManager clientManager;
749
      private org.apache.thrift.async.TAsyncClientManager clientManager;
693
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
750
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 1382... Line 1439...
1382
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1439
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1383
        return (new Client(prot)).recv_addNewAwbs();
1440
        return (new Client(prot)).recv_addNewAwbs();
1384
      }
1441
      }
1385
    }
1442
    }
1386
 
1443
 
-
 
1444
    public void getServiceableLocationAsPerProviderIdAndPincode(long providerId, String pincode, org.apache.thrift.async.AsyncMethodCallback<getServiceableLocationAsPerProviderIdAndPincode_call> resultHandler) throws org.apache.thrift.TException {
-
 
1445
      checkReady();
-
 
1446
      getServiceableLocationAsPerProviderIdAndPincode_call method_call = new getServiceableLocationAsPerProviderIdAndPincode_call(providerId, pincode, resultHandler, this, ___protocolFactory, ___transport);
-
 
1447
      this.___currentMethod = method_call;
-
 
1448
      ___manager.call(method_call);
-
 
1449
    }
-
 
1450
 
-
 
1451
    public static class getServiceableLocationAsPerProviderIdAndPincode_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
1452
      private long providerId;
-
 
1453
      private String pincode;
-
 
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 {
-
 
1455
        super(client, protocolFactory, transport, resultHandler, false);
-
 
1456
        this.providerId = providerId;
-
 
1457
        this.pincode = pincode;
-
 
1458
      }
-
 
1459
 
-
 
1460
      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));
-
 
1462
        getServiceableLocationAsPerProviderIdAndPincode_args args = new getServiceableLocationAsPerProviderIdAndPincode_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 {
-
 
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();
-
 
1494
        args.write(prot);
-
 
1495
        prot.writeMessageEnd();
-
 
1496
      }
-
 
1497
 
-
 
1498
      public void getResult() throws org.apache.thrift.TException {
-
 
1499
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
1500
          throw new IllegalStateException("Method call not finished!");
-
 
1501
        }
-
 
1502
        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);
-
 
1504
        (new Client(prot)).recv_runCompleteUpdateForPincode();
-
 
1505
      }
-
 
1506
    }
-
 
1507
 
1387
  }
1508
  }
1388
 
1509
 
1389
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
1510
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
1390
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
1511
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
1391
    public Processor(I iface) {
1512
    public Processor(I iface) {
Line 1414... Line 1535...
1414
      processMap.put("getPickupStore", new getPickupStore());
1535
      processMap.put("getPickupStore", new getPickupStore());
1415
      processMap.put("getPickupStoreByHotspotId", new getPickupStoreByHotspotId());
1536
      processMap.put("getPickupStoreByHotspotId", new getPickupStoreByHotspotId());
1416
      processMap.put("addPincode", new addPincode());
1537
      processMap.put("addPincode", new addPincode());
1417
      processMap.put("updatePincode", new updatePincode());
1538
      processMap.put("updatePincode", new updatePincode());
1418
      processMap.put("addNewAwbs", new addNewAwbs());
1539
      processMap.put("addNewAwbs", new addNewAwbs());
-
 
1540
      processMap.put("getServiceableLocationAsPerProviderIdAndPincode", new getServiceableLocationAsPerProviderIdAndPincode());
-
 
1541
      processMap.put("runCompleteUpdateForPincode", new runCompleteUpdateForPincode());
1419
      return processMap;
1542
      return processMap;
1420
    }
1543
    }
1421
 
1544
 
1422
    private static class getProvider<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getProvider_args> {
1545
    private static class getProvider<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getProvider_args> {
1423
      public getProvider() {
1546
      public getProvider() {
Line 1764... Line 1887...
1764
        result.setSuccessIsSet(true);
1887
        result.setSuccessIsSet(true);
1765
        return result;
1888
        return result;
1766
      }
1889
      }
1767
    }
1890
    }
1768
 
1891
 
-
 
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> {
-
 
1910
      public runCompleteUpdateForPincode() {
-
 
1911
        super("runCompleteUpdateForPincode");
-
 
1912
      }
-
 
1913
 
-
 
1914
      protected runCompleteUpdateForPincode_args getEmptyArgsInstance() {
-
 
1915
        return new runCompleteUpdateForPincode_args();
-
 
1916
      }
-
 
1917
 
-
 
1918
      protected runCompleteUpdateForPincode_result getResult(I iface, runCompleteUpdateForPincode_args args) throws org.apache.thrift.TException {
-
 
1919
        runCompleteUpdateForPincode_result result = new runCompleteUpdateForPincode_result();
-
 
1920
        iface.runCompleteUpdateForPincode();
-
 
1921
        return result;
-
 
1922
      }
-
 
1923
    }
-
 
1924
 
1769
  }
1925
  }
1770
 
1926
 
1771
  public static class getProvider_args implements org.apache.thrift.TBase<getProvider_args, getProvider_args._Fields>, java.io.Serializable, Cloneable   {
1927
  public static class getProvider_args implements org.apache.thrift.TBase<getProvider_args, getProvider_args._Fields>, java.io.Serializable, Cloneable   {
1772
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProvider_args");
1928
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProvider_args");
1773
 
1929
 
Line 15846... Line 16002...
15846
      sb.append(")");
16002
      sb.append(")");
15847
      return sb.toString();
16003
      return sb.toString();
15848
    }
16004
    }
15849
 
16005
 
15850
    public void validate() throws org.apache.thrift.TException {
16006
    public void validate() throws org.apache.thrift.TException {
-
 
16007
      // check for required fields
-
 
16008
    }
-
 
16009
 
-
 
16010
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
16011
      try {
-
 
16012
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
16013
      } catch (org.apache.thrift.TException te) {
-
 
16014
        throw new java.io.IOException(te);
-
 
16015
      }
-
 
16016
    }
-
 
16017
 
-
 
16018
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
16019
      try {
-
 
16020
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
16021
      } catch (org.apache.thrift.TException te) {
-
 
16022
        throw new java.io.IOException(te);
-
 
16023
      }
-
 
16024
    }
-
 
16025
 
-
 
16026
  }
-
 
16027
 
-
 
16028
  public static class getServiceableLocationAsPerProviderIdAndPincode_args implements org.apache.thrift.TBase<getServiceableLocationAsPerProviderIdAndPincode_args, getServiceableLocationAsPerProviderIdAndPincode_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");
-
 
16030
 
-
 
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);
-
 
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);
-
 
16033
 
-
 
16034
    private long providerId; // required
-
 
16035
    private String pincode; // required
-
 
16036
 
-
 
16037
    /** 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 {
-
 
16039
      PROVIDER_ID((short)1, "providerId"),
-
 
16040
      PINCODE((short)2, "pincode");
-
 
16041
 
-
 
16042
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
16043
 
-
 
16044
      static {
-
 
16045
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
16046
          byName.put(field.getFieldName(), field);
-
 
16047
        }
-
 
16048
      }
-
 
16049
 
-
 
16050
      /**
-
 
16051
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
16052
       */
-
 
16053
      public static _Fields findByThriftId(int fieldId) {
-
 
16054
        switch(fieldId) {
-
 
16055
          case 1: // PROVIDER_ID
-
 
16056
            return PROVIDER_ID;
-
 
16057
          case 2: // PINCODE
-
 
16058
            return PINCODE;
-
 
16059
          default:
-
 
16060
            return null;
-
 
16061
        }
-
 
16062
      }
-
 
16063
 
-
 
16064
      /**
-
 
16065
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
16066
       * if it is not found.
-
 
16067
       */
-
 
16068
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
16069
        _Fields fields = findByThriftId(fieldId);
-
 
16070
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
16071
        return fields;
-
 
16072
      }
-
 
16073
 
-
 
16074
      /**
-
 
16075
       * Find the _Fields constant that matches name, or null if its not found.
-
 
16076
       */
-
 
16077
      public static _Fields findByName(String name) {
-
 
16078
        return byName.get(name);
-
 
16079
      }
-
 
16080
 
-
 
16081
      private final short _thriftId;
-
 
16082
      private final String _fieldName;
-
 
16083
 
-
 
16084
      _Fields(short thriftId, String fieldName) {
-
 
16085
        _thriftId = thriftId;
-
 
16086
        _fieldName = fieldName;
-
 
16087
      }
-
 
16088
 
-
 
16089
      public short getThriftFieldId() {
-
 
16090
        return _thriftId;
-
 
16091
      }
-
 
16092
 
-
 
16093
      public String getFieldName() {
-
 
16094
        return _fieldName;
-
 
16095
      }
-
 
16096
    }
-
 
16097
 
-
 
16098
    // isset id assignments
-
 
16099
    private static final int __PROVIDERID_ISSET_ID = 0;
-
 
16100
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
16101
 
-
 
16102
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
16103
    static {
-
 
16104
      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, 
-
 
16106
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
16107
      tmpMap.put(_Fields.PINCODE, new org.apache.thrift.meta_data.FieldMetaData("pincode", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
16108
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
16109
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
16110
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getServiceableLocationAsPerProviderIdAndPincode_args.class, metaDataMap);
-
 
16111
    }
-
 
16112
 
-
 
16113
    public getServiceableLocationAsPerProviderIdAndPincode_args() {
-
 
16114
    }
-
 
16115
 
-
 
16116
    public getServiceableLocationAsPerProviderIdAndPincode_args(
-
 
16117
      long providerId,
-
 
16118
      String pincode)
-
 
16119
    {
-
 
16120
      this();
-
 
16121
      this.providerId = providerId;
-
 
16122
      setProviderIdIsSet(true);
-
 
16123
      this.pincode = pincode;
-
 
16124
    }
-
 
16125
 
-
 
16126
    /**
-
 
16127
     * Performs a deep copy on <i>other</i>.
-
 
16128
     */
-
 
16129
    public getServiceableLocationAsPerProviderIdAndPincode_args(getServiceableLocationAsPerProviderIdAndPincode_args other) {
-
 
16130
      __isset_bit_vector.clear();
-
 
16131
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
16132
      this.providerId = other.providerId;
-
 
16133
      if (other.isSetPincode()) {
-
 
16134
        this.pincode = other.pincode;
-
 
16135
      }
-
 
16136
    }
-
 
16137
 
-
 
16138
    public getServiceableLocationAsPerProviderIdAndPincode_args deepCopy() {
-
 
16139
      return new getServiceableLocationAsPerProviderIdAndPincode_args(this);
-
 
16140
    }
-
 
16141
 
-
 
16142
    @Override
-
 
16143
    public void clear() {
-
 
16144
      setProviderIdIsSet(false);
-
 
16145
      this.providerId = 0;
-
 
16146
      this.pincode = null;
-
 
16147
    }
-
 
16148
 
-
 
16149
    public long getProviderId() {
-
 
16150
      return this.providerId;
-
 
16151
    }
-
 
16152
 
-
 
16153
    public void setProviderId(long providerId) {
-
 
16154
      this.providerId = providerId;
-
 
16155
      setProviderIdIsSet(true);
-
 
16156
    }
-
 
16157
 
-
 
16158
    public void unsetProviderId() {
-
 
16159
      __isset_bit_vector.clear(__PROVIDERID_ISSET_ID);
-
 
16160
    }
-
 
16161
 
-
 
16162
    /** Returns true if field providerId is set (has been assigned a value) and false otherwise */
-
 
16163
    public boolean isSetProviderId() {
-
 
16164
      return __isset_bit_vector.get(__PROVIDERID_ISSET_ID);
-
 
16165
    }
-
 
16166
 
-
 
16167
    public void setProviderIdIsSet(boolean value) {
-
 
16168
      __isset_bit_vector.set(__PROVIDERID_ISSET_ID, value);
-
 
16169
    }
-
 
16170
 
-
 
16171
    public String getPincode() {
-
 
16172
      return this.pincode;
-
 
16173
    }
-
 
16174
 
-
 
16175
    public void setPincode(String pincode) {
-
 
16176
      this.pincode = pincode;
-
 
16177
    }
-
 
16178
 
-
 
16179
    public void unsetPincode() {
-
 
16180
      this.pincode = null;
-
 
16181
    }
-
 
16182
 
-
 
16183
    /** Returns true if field pincode is set (has been assigned a value) and false otherwise */
-
 
16184
    public boolean isSetPincode() {
-
 
16185
      return this.pincode != null;
-
 
16186
    }
-
 
16187
 
-
 
16188
    public void setPincodeIsSet(boolean value) {
-
 
16189
      if (!value) {
-
 
16190
        this.pincode = null;
-
 
16191
      }
-
 
16192
    }
-
 
16193
 
-
 
16194
    public void setFieldValue(_Fields field, Object value) {
-
 
16195
      switch (field) {
-
 
16196
      case PROVIDER_ID:
-
 
16197
        if (value == null) {
-
 
16198
          unsetProviderId();
-
 
16199
        } else {
-
 
16200
          setProviderId((Long)value);
-
 
16201
        }
-
 
16202
        break;
-
 
16203
 
-
 
16204
      case PINCODE:
-
 
16205
        if (value == null) {
-
 
16206
          unsetPincode();
-
 
16207
        } else {
-
 
16208
          setPincode((String)value);
-
 
16209
        }
-
 
16210
        break;
-
 
16211
 
-
 
16212
      }
-
 
16213
    }
-
 
16214
 
-
 
16215
    public Object getFieldValue(_Fields field) {
-
 
16216
      switch (field) {
-
 
16217
      case PROVIDER_ID:
-
 
16218
        return Long.valueOf(getProviderId());
-
 
16219
 
-
 
16220
      case PINCODE:
-
 
16221
        return getPincode();
-
 
16222
 
-
 
16223
      }
-
 
16224
      throw new IllegalStateException();
-
 
16225
    }
-
 
16226
 
-
 
16227
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
16228
    public boolean isSet(_Fields field) {
-
 
16229
      if (field == null) {
-
 
16230
        throw new IllegalArgumentException();
-
 
16231
      }
-
 
16232
 
-
 
16233
      switch (field) {
-
 
16234
      case PROVIDER_ID:
-
 
16235
        return isSetProviderId();
-
 
16236
      case PINCODE:
-
 
16237
        return isSetPincode();
-
 
16238
      }
-
 
16239
      throw new IllegalStateException();
-
 
16240
    }
-
 
16241
 
-
 
16242
    @Override
-
 
16243
    public boolean equals(Object that) {
-
 
16244
      if (that == null)
-
 
16245
        return false;
-
 
16246
      if (that instanceof getServiceableLocationAsPerProviderIdAndPincode_args)
-
 
16247
        return this.equals((getServiceableLocationAsPerProviderIdAndPincode_args)that);
-
 
16248
      return false;
-
 
16249
    }
-
 
16250
 
-
 
16251
    public boolean equals(getServiceableLocationAsPerProviderIdAndPincode_args that) {
-
 
16252
      if (that == null)
-
 
16253
        return false;
-
 
16254
 
-
 
16255
      boolean this_present_providerId = true;
-
 
16256
      boolean that_present_providerId = true;
-
 
16257
      if (this_present_providerId || that_present_providerId) {
-
 
16258
        if (!(this_present_providerId && that_present_providerId))
-
 
16259
          return false;
-
 
16260
        if (this.providerId != that.providerId)
-
 
16261
          return false;
-
 
16262
      }
-
 
16263
 
-
 
16264
      boolean this_present_pincode = true && this.isSetPincode();
-
 
16265
      boolean that_present_pincode = true && that.isSetPincode();
-
 
16266
      if (this_present_pincode || that_present_pincode) {
-
 
16267
        if (!(this_present_pincode && that_present_pincode))
-
 
16268
          return false;
-
 
16269
        if (!this.pincode.equals(that.pincode))
-
 
16270
          return false;
-
 
16271
      }
-
 
16272
 
-
 
16273
      return true;
-
 
16274
    }
-
 
16275
 
-
 
16276
    @Override
-
 
16277
    public int hashCode() {
-
 
16278
      return 0;
-
 
16279
    }
-
 
16280
 
-
 
16281
    public int compareTo(getServiceableLocationAsPerProviderIdAndPincode_args other) {
-
 
16282
      if (!getClass().equals(other.getClass())) {
-
 
16283
        return getClass().getName().compareTo(other.getClass().getName());
-
 
16284
      }
-
 
16285
 
-
 
16286
      int lastComparison = 0;
-
 
16287
      getServiceableLocationAsPerProviderIdAndPincode_args typedOther = (getServiceableLocationAsPerProviderIdAndPincode_args)other;
-
 
16288
 
-
 
16289
      lastComparison = Boolean.valueOf(isSetProviderId()).compareTo(typedOther.isSetProviderId());
-
 
16290
      if (lastComparison != 0) {
-
 
16291
        return lastComparison;
-
 
16292
      }
-
 
16293
      if (isSetProviderId()) {
-
 
16294
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.providerId, typedOther.providerId);
-
 
16295
        if (lastComparison != 0) {
-
 
16296
          return lastComparison;
-
 
16297
        }
-
 
16298
      }
-
 
16299
      lastComparison = Boolean.valueOf(isSetPincode()).compareTo(typedOther.isSetPincode());
-
 
16300
      if (lastComparison != 0) {
-
 
16301
        return lastComparison;
-
 
16302
      }
-
 
16303
      if (isSetPincode()) {
-
 
16304
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pincode, typedOther.pincode);
-
 
16305
        if (lastComparison != 0) {
-
 
16306
          return lastComparison;
-
 
16307
        }
-
 
16308
      }
-
 
16309
      return 0;
-
 
16310
    }
-
 
16311
 
-
 
16312
    public _Fields fieldForId(int fieldId) {
-
 
16313
      return _Fields.findByThriftId(fieldId);
-
 
16314
    }
-
 
16315
 
-
 
16316
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
16317
      org.apache.thrift.protocol.TField field;
-
 
16318
      iprot.readStructBegin();
-
 
16319
      while (true)
-
 
16320
      {
-
 
16321
        field = iprot.readFieldBegin();
-
 
16322
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
16323
          break;
-
 
16324
        }
-
 
16325
        switch (field.id) {
-
 
16326
          case 1: // PROVIDER_ID
-
 
16327
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
16328
              this.providerId = iprot.readI64();
-
 
16329
              setProviderIdIsSet(true);
-
 
16330
            } else { 
-
 
16331
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
16332
            }
-
 
16333
            break;
-
 
16334
          case 2: // PINCODE
-
 
16335
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
16336
              this.pincode = iprot.readString();
-
 
16337
            } else { 
-
 
16338
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
16339
            }
-
 
16340
            break;
-
 
16341
          default:
-
 
16342
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
16343
        }
-
 
16344
        iprot.readFieldEnd();
-
 
16345
      }
-
 
16346
      iprot.readStructEnd();
-
 
16347
      validate();
-
 
16348
    }
-
 
16349
 
-
 
16350
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
16351
      validate();
-
 
16352
 
-
 
16353
      oprot.writeStructBegin(STRUCT_DESC);
-
 
16354
      oprot.writeFieldBegin(PROVIDER_ID_FIELD_DESC);
-
 
16355
      oprot.writeI64(this.providerId);
-
 
16356
      oprot.writeFieldEnd();
-
 
16357
      if (this.pincode != null) {
-
 
16358
        oprot.writeFieldBegin(PINCODE_FIELD_DESC);
-
 
16359
        oprot.writeString(this.pincode);
-
 
16360
        oprot.writeFieldEnd();
-
 
16361
      }
-
 
16362
      oprot.writeFieldStop();
-
 
16363
      oprot.writeStructEnd();
-
 
16364
    }
-
 
16365
 
-
 
16366
    @Override
-
 
16367
    public String toString() {
-
 
16368
      StringBuilder sb = new StringBuilder("getServiceableLocationAsPerProviderIdAndPincode_args(");
-
 
16369
      boolean first = true;
-
 
16370
 
-
 
16371
      sb.append("providerId:");
-
 
16372
      sb.append(this.providerId);
-
 
16373
      first = false;
-
 
16374
      if (!first) sb.append(", ");
-
 
16375
      sb.append("pincode:");
-
 
16376
      if (this.pincode == null) {
-
 
16377
        sb.append("null");
-
 
16378
      } else {
-
 
16379
        sb.append(this.pincode);
-
 
16380
      }
-
 
16381
      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   {
-
 
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:");
-
 
16673
      sb.append(this.success);
-
 
16674
      first = false;
-
 
16675
      sb.append(")");
-
 
16676
      return sb.toString();
-
 
16677
    }
-
 
16678
 
-
 
16679
    public void validate() throws org.apache.thrift.TException {
-
 
16680
      // check for required fields
-
 
16681
    }
-
 
16682
 
-
 
16683
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
16684
      try {
-
 
16685
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
16686
      } catch (org.apache.thrift.TException te) {
-
 
16687
        throw new java.io.IOException(te);
-
 
16688
      }
-
 
16689
    }
-
 
16690
 
-
 
16691
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
16692
      try {
-
 
16693
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
16694
      } catch (org.apache.thrift.TException te) {
-
 
16695
        throw new java.io.IOException(te);
-
 
16696
      }
-
 
16697
    }
-
 
16698
 
-
 
16699
  }
-
 
16700
 
-
 
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   {
-
 
16902
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("runCompleteUpdateForPincode_result");
-
 
16903
 
-
 
16904
 
-
 
16905
 
-
 
16906
    /** 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 {
-
 
16908
;
-
 
16909
 
-
 
16910
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
16911
 
-
 
16912
      static {
-
 
16913
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
16914
          byName.put(field.getFieldName(), field);
-
 
16915
        }
-
 
16916
      }
-
 
16917
 
-
 
16918
      /**
-
 
16919
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
16920
       */
-
 
16921
      public static _Fields findByThriftId(int fieldId) {
-
 
16922
        switch(fieldId) {
-
 
16923
          default:
-
 
16924
            return null;
-
 
16925
        }
-
 
16926
      }
-
 
16927
 
-
 
16928
      /**
-
 
16929
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
16930
       * if it is not found.
-
 
16931
       */
-
 
16932
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
16933
        _Fields fields = findByThriftId(fieldId);
-
 
16934
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
16935
        return fields;
-
 
16936
      }
-
 
16937
 
-
 
16938
      /**
-
 
16939
       * Find the _Fields constant that matches name, or null if its not found.
-
 
16940
       */
-
 
16941
      public static _Fields findByName(String name) {
-
 
16942
        return byName.get(name);
-
 
16943
      }
-
 
16944
 
-
 
16945
      private final short _thriftId;
-
 
16946
      private final String _fieldName;
-
 
16947
 
-
 
16948
      _Fields(short thriftId, String fieldName) {
-
 
16949
        _thriftId = thriftId;
-
 
16950
        _fieldName = fieldName;
-
 
16951
      }
-
 
16952
 
-
 
16953
      public short getThriftFieldId() {
-
 
16954
        return _thriftId;
-
 
16955
      }
-
 
16956
 
-
 
16957
      public String getFieldName() {
-
 
16958
        return _fieldName;
-
 
16959
      }
-
 
16960
    }
-
 
16961
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
16962
    static {
-
 
16963
      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);
-
 
16965
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(runCompleteUpdateForPincode_result.class, metaDataMap);
-
 
16966
    }
-
 
16967
 
-
 
16968
    public runCompleteUpdateForPincode_result() {
-
 
16969
    }
-
 
16970
 
-
 
16971
    /**
-
 
16972
     * Performs a deep copy on <i>other</i>.
-
 
16973
     */
-
 
16974
    public runCompleteUpdateForPincode_result(runCompleteUpdateForPincode_result other) {
-
 
16975
    }
-
 
16976
 
-
 
16977
    public runCompleteUpdateForPincode_result deepCopy() {
-
 
16978
      return new runCompleteUpdateForPincode_result(this);
-
 
16979
    }
-
 
16980
 
-
 
16981
    @Override
-
 
16982
    public void clear() {
-
 
16983
    }
-
 
16984
 
-
 
16985
    public void setFieldValue(_Fields field, Object value) {
-
 
16986
      switch (field) {
-
 
16987
      }
-
 
16988
    }
-
 
16989
 
-
 
16990
    public Object getFieldValue(_Fields field) {
-
 
16991
      switch (field) {
-
 
16992
      }
-
 
16993
      throw new IllegalStateException();
-
 
16994
    }
-
 
16995
 
-
 
16996
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
16997
    public boolean isSet(_Fields field) {
-
 
16998
      if (field == null) {
-
 
16999
        throw new IllegalArgumentException();
-
 
17000
      }
-
 
17001
 
-
 
17002
      switch (field) {
-
 
17003
      }
-
 
17004
      throw new IllegalStateException();
-
 
17005
    }
-
 
17006
 
-
 
17007
    @Override
-
 
17008
    public boolean equals(Object that) {
-
 
17009
      if (that == null)
-
 
17010
        return false;
-
 
17011
      if (that instanceof runCompleteUpdateForPincode_result)
-
 
17012
        return this.equals((runCompleteUpdateForPincode_result)that);
-
 
17013
      return false;
-
 
17014
    }
-
 
17015
 
-
 
17016
    public boolean equals(runCompleteUpdateForPincode_result that) {
-
 
17017
      if (that == null)
-
 
17018
        return false;
-
 
17019
 
-
 
17020
      return true;
-
 
17021
    }
-
 
17022
 
-
 
17023
    @Override
-
 
17024
    public int hashCode() {
-
 
17025
      return 0;
-
 
17026
    }
-
 
17027
 
-
 
17028
    public int compareTo(runCompleteUpdateForPincode_result other) {
-
 
17029
      if (!getClass().equals(other.getClass())) {
-
 
17030
        return getClass().getName().compareTo(other.getClass().getName());
-
 
17031
      }
-
 
17032
 
-
 
17033
      int lastComparison = 0;
-
 
17034
      runCompleteUpdateForPincode_result typedOther = (runCompleteUpdateForPincode_result)other;
-
 
17035
 
-
 
17036
      return 0;
-
 
17037
    }
-
 
17038
 
-
 
17039
    public _Fields fieldForId(int fieldId) {
-
 
17040
      return _Fields.findByThriftId(fieldId);
-
 
17041
    }
-
 
17042
 
-
 
17043
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
17044
      org.apache.thrift.protocol.TField field;
-
 
17045
      iprot.readStructBegin();
-
 
17046
      while (true)
-
 
17047
      {
-
 
17048
        field = iprot.readFieldBegin();
-
 
17049
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
17050
          break;
-
 
17051
        }
-
 
17052
        switch (field.id) {
-
 
17053
          default:
-
 
17054
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
17055
        }
-
 
17056
        iprot.readFieldEnd();
-
 
17057
      }
-
 
17058
      iprot.readStructEnd();
-
 
17059
      validate();
-
 
17060
    }
-
 
17061
 
-
 
17062
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
17063
      oprot.writeStructBegin(STRUCT_DESC);
-
 
17064
 
-
 
17065
      oprot.writeFieldStop();
-
 
17066
      oprot.writeStructEnd();
-
 
17067
    }
-
 
17068
 
-
 
17069
    @Override
-
 
17070
    public String toString() {
-
 
17071
      StringBuilder sb = new StringBuilder("runCompleteUpdateForPincode_result(");
-
 
17072
      boolean first = true;
-
 
17073
 
-
 
17074
      sb.append(")");
-
 
17075
      return sb.toString();
-
 
17076
    }
-
 
17077
 
-
 
17078
    public void validate() throws org.apache.thrift.TException {
15851
      // check for required fields
17079
      // check for required fields
15852
    }
17080
    }
15853
 
17081
 
15854
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
17082
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
15855
      try {
17083
      try {