Subversion Repositories SmartDukaan

Rev

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

Rev 6842 Rev 6849
Line 171... Line 171...
171
 
171
 
172
    public List<Long> getAllEntitiesByTagName(String displayName) throws org.apache.thrift.TException;
172
    public List<Long> getAllEntitiesByTagName(String displayName) throws org.apache.thrift.TException;
173
 
173
 
174
    public Map<Long,List<String>> getAllEntityTags() throws org.apache.thrift.TException;
174
    public Map<Long,List<String>> getAllEntityTags() throws org.apache.thrift.TException;
175
 
175
 
-
 
176
    public boolean addBannerMap(String bannerName, String mapLink, String coordinates) throws org.apache.thrift.TException;
-
 
177
 
-
 
178
    public boolean deleteBannerMap(String bannerName) throws org.apache.thrift.TException;
-
 
179
 
-
 
180
    public List<BannerMap> getBannerMapDetails(String bannerName) throws org.apache.thrift.TException;
-
 
181
 
176
    /**
182
    /**
177
     * Delete similar item.
183
     * Delete similar item.
178
     * 
184
     * 
179
     * @param itemId
185
     * @param itemId
180
     * @param catalogItemId
186
     * @param catalogItemId
Line 445... Line 451...
445
 
451
 
446
    public void getAllEntitiesByTagName(String displayName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEntitiesByTagName_call> resultHandler) throws org.apache.thrift.TException;
452
    public void getAllEntitiesByTagName(String displayName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEntitiesByTagName_call> resultHandler) throws org.apache.thrift.TException;
447
 
453
 
448
    public void getAllEntityTags(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEntityTags_call> resultHandler) throws org.apache.thrift.TException;
454
    public void getAllEntityTags(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEntityTags_call> resultHandler) throws org.apache.thrift.TException;
449
 
455
 
-
 
456
    public void addBannerMap(String bannerName, String mapLink, String coordinates, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addBannerMap_call> resultHandler) throws org.apache.thrift.TException;
-
 
457
 
-
 
458
    public void deleteBannerMap(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteBannerMap_call> resultHandler) throws org.apache.thrift.TException;
-
 
459
 
-
 
460
    public void getBannerMapDetails(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBannerMapDetails_call> resultHandler) throws org.apache.thrift.TException;
-
 
461
 
450
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
462
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
451
 
463
 
452
    public void checkSimilarItem(String brand, String modelNumber, String modelName, String color, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.checkSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
464
    public void checkSimilarItem(String brand, String modelNumber, String modelName, String color, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.checkSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
453
 
465
 
454
    public void validateRiskyStatus(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateRiskyStatus_call> resultHandler) throws org.apache.thrift.TException;
466
    public void validateRiskyStatus(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateRiskyStatus_call> resultHandler) throws org.apache.thrift.TException;
Line 1545... Line 1557...
1545
        return result.success;
1557
        return result.success;
1546
      }
1558
      }
1547
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllEntityTags failed: unknown result");
1559
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllEntityTags failed: unknown result");
1548
    }
1560
    }
1549
 
1561
 
-
 
1562
    public boolean addBannerMap(String bannerName, String mapLink, String coordinates) throws org.apache.thrift.TException
-
 
1563
    {
-
 
1564
      send_addBannerMap(bannerName, mapLink, coordinates);
-
 
1565
      return recv_addBannerMap();
-
 
1566
    }
-
 
1567
 
-
 
1568
    public void send_addBannerMap(String bannerName, String mapLink, String coordinates) throws org.apache.thrift.TException
-
 
1569
    {
-
 
1570
      addBannerMap_args args = new addBannerMap_args();
-
 
1571
      args.setBannerName(bannerName);
-
 
1572
      args.setMapLink(mapLink);
-
 
1573
      args.setCoordinates(coordinates);
-
 
1574
      sendBase("addBannerMap", args);
-
 
1575
    }
-
 
1576
 
-
 
1577
    public boolean recv_addBannerMap() throws org.apache.thrift.TException
-
 
1578
    {
-
 
1579
      addBannerMap_result result = new addBannerMap_result();
-
 
1580
      receiveBase(result, "addBannerMap");
-
 
1581
      if (result.isSetSuccess()) {
-
 
1582
        return result.success;
-
 
1583
      }
-
 
1584
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addBannerMap failed: unknown result");
-
 
1585
    }
-
 
1586
 
-
 
1587
    public boolean deleteBannerMap(String bannerName) throws org.apache.thrift.TException
-
 
1588
    {
-
 
1589
      send_deleteBannerMap(bannerName);
-
 
1590
      return recv_deleteBannerMap();
-
 
1591
    }
-
 
1592
 
-
 
1593
    public void send_deleteBannerMap(String bannerName) throws org.apache.thrift.TException
-
 
1594
    {
-
 
1595
      deleteBannerMap_args args = new deleteBannerMap_args();
-
 
1596
      args.setBannerName(bannerName);
-
 
1597
      sendBase("deleteBannerMap", args);
-
 
1598
    }
-
 
1599
 
-
 
1600
    public boolean recv_deleteBannerMap() throws org.apache.thrift.TException
-
 
1601
    {
-
 
1602
      deleteBannerMap_result result = new deleteBannerMap_result();
-
 
1603
      receiveBase(result, "deleteBannerMap");
-
 
1604
      if (result.isSetSuccess()) {
-
 
1605
        return result.success;
-
 
1606
      }
-
 
1607
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteBannerMap failed: unknown result");
-
 
1608
    }
-
 
1609
 
-
 
1610
    public List<BannerMap> getBannerMapDetails(String bannerName) throws org.apache.thrift.TException
-
 
1611
    {
-
 
1612
      send_getBannerMapDetails(bannerName);
-
 
1613
      return recv_getBannerMapDetails();
-
 
1614
    }
-
 
1615
 
-
 
1616
    public void send_getBannerMapDetails(String bannerName) throws org.apache.thrift.TException
-
 
1617
    {
-
 
1618
      getBannerMapDetails_args args = new getBannerMapDetails_args();
-
 
1619
      args.setBannerName(bannerName);
-
 
1620
      sendBase("getBannerMapDetails", args);
-
 
1621
    }
-
 
1622
 
-
 
1623
    public List<BannerMap> recv_getBannerMapDetails() throws org.apache.thrift.TException
-
 
1624
    {
-
 
1625
      getBannerMapDetails_result result = new getBannerMapDetails_result();
-
 
1626
      receiveBase(result, "getBannerMapDetails");
-
 
1627
      if (result.isSetSuccess()) {
-
 
1628
        return result.success;
-
 
1629
      }
-
 
1630
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBannerMapDetails failed: unknown result");
-
 
1631
    }
-
 
1632
 
1550
    public boolean deleteSimilarItem(long itemId, long catalogItemId) throws CatalogServiceException, org.apache.thrift.TException
1633
    public boolean deleteSimilarItem(long itemId, long catalogItemId) throws CatalogServiceException, org.apache.thrift.TException
1551
    {
1634
    {
1552
      send_deleteSimilarItem(itemId, catalogItemId);
1635
      send_deleteSimilarItem(itemId, catalogItemId);
1553
      return recv_deleteSimilarItem();
1636
      return recv_deleteSimilarItem();
1554
    }
1637
    }
Line 3705... Line 3788...
3705
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3788
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3706
        return (new Client(prot)).recv_getAllEntityTags();
3789
        return (new Client(prot)).recv_getAllEntityTags();
3707
      }
3790
      }
3708
    }
3791
    }
3709
 
3792
 
-
 
3793
    public void addBannerMap(String bannerName, String mapLink, String coordinates, org.apache.thrift.async.AsyncMethodCallback<addBannerMap_call> resultHandler) throws org.apache.thrift.TException {
-
 
3794
      checkReady();
-
 
3795
      addBannerMap_call method_call = new addBannerMap_call(bannerName, mapLink, coordinates, resultHandler, this, ___protocolFactory, ___transport);
-
 
3796
      this.___currentMethod = method_call;
-
 
3797
      ___manager.call(method_call);
-
 
3798
    }
-
 
3799
 
-
 
3800
    public static class addBannerMap_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
3801
      private String bannerName;
-
 
3802
      private String mapLink;
-
 
3803
      private String coordinates;
-
 
3804
      public addBannerMap_call(String bannerName, String mapLink, String coordinates, org.apache.thrift.async.AsyncMethodCallback<addBannerMap_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 {
-
 
3805
        super(client, protocolFactory, transport, resultHandler, false);
-
 
3806
        this.bannerName = bannerName;
-
 
3807
        this.mapLink = mapLink;
-
 
3808
        this.coordinates = coordinates;
-
 
3809
      }
-
 
3810
 
-
 
3811
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
3812
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addBannerMap", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
3813
        addBannerMap_args args = new addBannerMap_args();
-
 
3814
        args.setBannerName(bannerName);
-
 
3815
        args.setMapLink(mapLink);
-
 
3816
        args.setCoordinates(coordinates);
-
 
3817
        args.write(prot);
-
 
3818
        prot.writeMessageEnd();
-
 
3819
      }
-
 
3820
 
-
 
3821
      public boolean getResult() throws org.apache.thrift.TException {
-
 
3822
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
3823
          throw new IllegalStateException("Method call not finished!");
-
 
3824
        }
-
 
3825
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
3826
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
3827
        return (new Client(prot)).recv_addBannerMap();
-
 
3828
      }
-
 
3829
    }
-
 
3830
 
-
 
3831
    public void deleteBannerMap(String bannerName, org.apache.thrift.async.AsyncMethodCallback<deleteBannerMap_call> resultHandler) throws org.apache.thrift.TException {
-
 
3832
      checkReady();
-
 
3833
      deleteBannerMap_call method_call = new deleteBannerMap_call(bannerName, resultHandler, this, ___protocolFactory, ___transport);
-
 
3834
      this.___currentMethod = method_call;
-
 
3835
      ___manager.call(method_call);
-
 
3836
    }
-
 
3837
 
-
 
3838
    public static class deleteBannerMap_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
3839
      private String bannerName;
-
 
3840
      public deleteBannerMap_call(String bannerName, org.apache.thrift.async.AsyncMethodCallback<deleteBannerMap_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 {
-
 
3841
        super(client, protocolFactory, transport, resultHandler, false);
-
 
3842
        this.bannerName = bannerName;
-
 
3843
      }
-
 
3844
 
-
 
3845
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
3846
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteBannerMap", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
3847
        deleteBannerMap_args args = new deleteBannerMap_args();
-
 
3848
        args.setBannerName(bannerName);
-
 
3849
        args.write(prot);
-
 
3850
        prot.writeMessageEnd();
-
 
3851
      }
-
 
3852
 
-
 
3853
      public boolean getResult() throws org.apache.thrift.TException {
-
 
3854
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
3855
          throw new IllegalStateException("Method call not finished!");
-
 
3856
        }
-
 
3857
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
3858
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
3859
        return (new Client(prot)).recv_deleteBannerMap();
-
 
3860
      }
-
 
3861
    }
-
 
3862
 
-
 
3863
    public void getBannerMapDetails(String bannerName, org.apache.thrift.async.AsyncMethodCallback<getBannerMapDetails_call> resultHandler) throws org.apache.thrift.TException {
-
 
3864
      checkReady();
-
 
3865
      getBannerMapDetails_call method_call = new getBannerMapDetails_call(bannerName, resultHandler, this, ___protocolFactory, ___transport);
-
 
3866
      this.___currentMethod = method_call;
-
 
3867
      ___manager.call(method_call);
-
 
3868
    }
-
 
3869
 
-
 
3870
    public static class getBannerMapDetails_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
3871
      private String bannerName;
-
 
3872
      public getBannerMapDetails_call(String bannerName, org.apache.thrift.async.AsyncMethodCallback<getBannerMapDetails_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 {
-
 
3873
        super(client, protocolFactory, transport, resultHandler, false);
-
 
3874
        this.bannerName = bannerName;
-
 
3875
      }
-
 
3876
 
-
 
3877
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
3878
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getBannerMapDetails", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
3879
        getBannerMapDetails_args args = new getBannerMapDetails_args();
-
 
3880
        args.setBannerName(bannerName);
-
 
3881
        args.write(prot);
-
 
3882
        prot.writeMessageEnd();
-
 
3883
      }
-
 
3884
 
-
 
3885
      public List<BannerMap> getResult() throws org.apache.thrift.TException {
-
 
3886
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
3887
          throw new IllegalStateException("Method call not finished!");
-
 
3888
        }
-
 
3889
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
3890
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
3891
        return (new Client(prot)).recv_getBannerMapDetails();
-
 
3892
      }
-
 
3893
    }
-
 
3894
 
3710
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException {
3895
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException {
3711
      checkReady();
3896
      checkReady();
3712
      deleteSimilarItem_call method_call = new deleteSimilarItem_call(itemId, catalogItemId, resultHandler, this, ___protocolFactory, ___transport);
3897
      deleteSimilarItem_call method_call = new deleteSimilarItem_call(itemId, catalogItemId, resultHandler, this, ___protocolFactory, ___transport);
3713
      this.___currentMethod = method_call;
3898
      this.___currentMethod = method_call;
3714
      ___manager.call(method_call);
3899
      ___manager.call(method_call);
Line 4897... Line 5082...
4897
      processMap.put("deleteEntityTag", new deleteEntityTag());
5082
      processMap.put("deleteEntityTag", new deleteEntityTag());
4898
      processMap.put("deleteTag", new deleteTag());
5083
      processMap.put("deleteTag", new deleteTag());
4899
      processMap.put("getAllTags", new getAllTags());
5084
      processMap.put("getAllTags", new getAllTags());
4900
      processMap.put("getAllEntitiesByTagName", new getAllEntitiesByTagName());
5085
      processMap.put("getAllEntitiesByTagName", new getAllEntitiesByTagName());
4901
      processMap.put("getAllEntityTags", new getAllEntityTags());
5086
      processMap.put("getAllEntityTags", new getAllEntityTags());
-
 
5087
      processMap.put("addBannerMap", new addBannerMap());
-
 
5088
      processMap.put("deleteBannerMap", new deleteBannerMap());
-
 
5089
      processMap.put("getBannerMapDetails", new getBannerMapDetails());
4902
      processMap.put("deleteSimilarItem", new deleteSimilarItem());
5090
      processMap.put("deleteSimilarItem", new deleteSimilarItem());
4903
      processMap.put("checkSimilarItem", new checkSimilarItem());
5091
      processMap.put("checkSimilarItem", new checkSimilarItem());
4904
      processMap.put("validateRiskyStatus", new validateRiskyStatus());
5092
      processMap.put("validateRiskyStatus", new validateRiskyStatus());
4905
      processMap.put("changeItemRiskyFlag", new changeItemRiskyFlag());
5093
      processMap.put("changeItemRiskyFlag", new changeItemRiskyFlag());
4906
      processMap.put("getItemsByRiskyFlag", new getItemsByRiskyFlag());
5094
      processMap.put("getItemsByRiskyFlag", new getItemsByRiskyFlag());
Line 5699... Line 5887...
5699
        result.success = iface.getAllEntityTags();
5887
        result.success = iface.getAllEntityTags();
5700
        return result;
5888
        return result;
5701
      }
5889
      }
5702
    }
5890
    }
5703
 
5891
 
-
 
5892
    private static class addBannerMap<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addBannerMap_args> {
-
 
5893
      public addBannerMap() {
-
 
5894
        super("addBannerMap");
-
 
5895
      }
-
 
5896
 
-
 
5897
      protected addBannerMap_args getEmptyArgsInstance() {
-
 
5898
        return new addBannerMap_args();
-
 
5899
      }
-
 
5900
 
-
 
5901
      protected addBannerMap_result getResult(I iface, addBannerMap_args args) throws org.apache.thrift.TException {
-
 
5902
        addBannerMap_result result = new addBannerMap_result();
-
 
5903
        result.success = iface.addBannerMap(args.bannerName, args.mapLink, args.coordinates);
-
 
5904
        result.setSuccessIsSet(true);
-
 
5905
        return result;
-
 
5906
      }
-
 
5907
    }
-
 
5908
 
-
 
5909
    private static class deleteBannerMap<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteBannerMap_args> {
-
 
5910
      public deleteBannerMap() {
-
 
5911
        super("deleteBannerMap");
-
 
5912
      }
-
 
5913
 
-
 
5914
      protected deleteBannerMap_args getEmptyArgsInstance() {
-
 
5915
        return new deleteBannerMap_args();
-
 
5916
      }
-
 
5917
 
-
 
5918
      protected deleteBannerMap_result getResult(I iface, deleteBannerMap_args args) throws org.apache.thrift.TException {
-
 
5919
        deleteBannerMap_result result = new deleteBannerMap_result();
-
 
5920
        result.success = iface.deleteBannerMap(args.bannerName);
-
 
5921
        result.setSuccessIsSet(true);
-
 
5922
        return result;
-
 
5923
      }
-
 
5924
    }
-
 
5925
 
-
 
5926
    private static class getBannerMapDetails<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getBannerMapDetails_args> {
-
 
5927
      public getBannerMapDetails() {
-
 
5928
        super("getBannerMapDetails");
-
 
5929
      }
-
 
5930
 
-
 
5931
      protected getBannerMapDetails_args getEmptyArgsInstance() {
-
 
5932
        return new getBannerMapDetails_args();
-
 
5933
      }
-
 
5934
 
-
 
5935
      protected getBannerMapDetails_result getResult(I iface, getBannerMapDetails_args args) throws org.apache.thrift.TException {
-
 
5936
        getBannerMapDetails_result result = new getBannerMapDetails_result();
-
 
5937
        result.success = iface.getBannerMapDetails(args.bannerName);
-
 
5938
        return result;
-
 
5939
      }
-
 
5940
    }
-
 
5941
 
5704
    private static class deleteSimilarItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteSimilarItem_args> {
5942
    private static class deleteSimilarItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteSimilarItem_args> {
5705
      public deleteSimilarItem() {
5943
      public deleteSimilarItem() {
5706
        super("deleteSimilarItem");
5944
        super("deleteSimilarItem");
5707
      }
5945
      }
5708
 
5946
 
Line 33983... Line 34221...
33983
      }
34221
      }
33984
    }
34222
    }
33985
 
34223
 
33986
  }
34224
  }
33987
 
34225
 
-
 
34226
  public static class addBannerMap_args implements org.apache.thrift.TBase<addBannerMap_args, addBannerMap_args._Fields>, java.io.Serializable, Cloneable   {
-
 
34227
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addBannerMap_args");
-
 
34228
 
-
 
34229
    private static final org.apache.thrift.protocol.TField BANNER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("bannerName", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
34230
    private static final org.apache.thrift.protocol.TField MAP_LINK_FIELD_DESC = new org.apache.thrift.protocol.TField("mapLink", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
34231
    private static final org.apache.thrift.protocol.TField COORDINATES_FIELD_DESC = new org.apache.thrift.protocol.TField("coordinates", org.apache.thrift.protocol.TType.STRING, (short)3);
-
 
34232
 
-
 
34233
    private String bannerName; // required
-
 
34234
    private String mapLink; // required
-
 
34235
    private String coordinates; // required
-
 
34236
 
-
 
34237
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
34238
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
34239
      BANNER_NAME((short)1, "bannerName"),
-
 
34240
      MAP_LINK((short)2, "mapLink"),
-
 
34241
      COORDINATES((short)3, "coordinates");
-
 
34242
 
-
 
34243
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
34244
 
-
 
34245
      static {
-
 
34246
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
34247
          byName.put(field.getFieldName(), field);
-
 
34248
        }
-
 
34249
      }
-
 
34250
 
-
 
34251
      /**
-
 
34252
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
34253
       */
-
 
34254
      public static _Fields findByThriftId(int fieldId) {
-
 
34255
        switch(fieldId) {
-
 
34256
          case 1: // BANNER_NAME
-
 
34257
            return BANNER_NAME;
-
 
34258
          case 2: // MAP_LINK
-
 
34259
            return MAP_LINK;
-
 
34260
          case 3: // COORDINATES
-
 
34261
            return COORDINATES;
-
 
34262
          default:
-
 
34263
            return null;
-
 
34264
        }
-
 
34265
      }
-
 
34266
 
-
 
34267
      /**
-
 
34268
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
34269
       * if it is not found.
-
 
34270
       */
-
 
34271
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
34272
        _Fields fields = findByThriftId(fieldId);
-
 
34273
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
34274
        return fields;
-
 
34275
      }
-
 
34276
 
-
 
34277
      /**
-
 
34278
       * Find the _Fields constant that matches name, or null if its not found.
-
 
34279
       */
-
 
34280
      public static _Fields findByName(String name) {
-
 
34281
        return byName.get(name);
-
 
34282
      }
-
 
34283
 
-
 
34284
      private final short _thriftId;
-
 
34285
      private final String _fieldName;
-
 
34286
 
-
 
34287
      _Fields(short thriftId, String fieldName) {
-
 
34288
        _thriftId = thriftId;
-
 
34289
        _fieldName = fieldName;
-
 
34290
      }
-
 
34291
 
-
 
34292
      public short getThriftFieldId() {
-
 
34293
        return _thriftId;
-
 
34294
      }
-
 
34295
 
-
 
34296
      public String getFieldName() {
-
 
34297
        return _fieldName;
-
 
34298
      }
-
 
34299
    }
-
 
34300
 
-
 
34301
    // isset id assignments
-
 
34302
 
-
 
34303
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
34304
    static {
-
 
34305
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
34306
      tmpMap.put(_Fields.BANNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("bannerName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
34307
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
34308
      tmpMap.put(_Fields.MAP_LINK, new org.apache.thrift.meta_data.FieldMetaData("mapLink", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
34309
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
34310
      tmpMap.put(_Fields.COORDINATES, new org.apache.thrift.meta_data.FieldMetaData("coordinates", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
34311
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
34312
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
34313
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBannerMap_args.class, metaDataMap);
-
 
34314
    }
-
 
34315
 
-
 
34316
    public addBannerMap_args() {
-
 
34317
    }
-
 
34318
 
-
 
34319
    public addBannerMap_args(
-
 
34320
      String bannerName,
-
 
34321
      String mapLink,
-
 
34322
      String coordinates)
-
 
34323
    {
-
 
34324
      this();
-
 
34325
      this.bannerName = bannerName;
-
 
34326
      this.mapLink = mapLink;
-
 
34327
      this.coordinates = coordinates;
-
 
34328
    }
-
 
34329
 
-
 
34330
    /**
-
 
34331
     * Performs a deep copy on <i>other</i>.
-
 
34332
     */
-
 
34333
    public addBannerMap_args(addBannerMap_args other) {
-
 
34334
      if (other.isSetBannerName()) {
-
 
34335
        this.bannerName = other.bannerName;
-
 
34336
      }
-
 
34337
      if (other.isSetMapLink()) {
-
 
34338
        this.mapLink = other.mapLink;
-
 
34339
      }
-
 
34340
      if (other.isSetCoordinates()) {
-
 
34341
        this.coordinates = other.coordinates;
-
 
34342
      }
-
 
34343
    }
-
 
34344
 
-
 
34345
    public addBannerMap_args deepCopy() {
-
 
34346
      return new addBannerMap_args(this);
-
 
34347
    }
-
 
34348
 
-
 
34349
    @Override
-
 
34350
    public void clear() {
-
 
34351
      this.bannerName = null;
-
 
34352
      this.mapLink = null;
-
 
34353
      this.coordinates = null;
-
 
34354
    }
-
 
34355
 
-
 
34356
    public String getBannerName() {
-
 
34357
      return this.bannerName;
-
 
34358
    }
-
 
34359
 
-
 
34360
    public void setBannerName(String bannerName) {
-
 
34361
      this.bannerName = bannerName;
-
 
34362
    }
-
 
34363
 
-
 
34364
    public void unsetBannerName() {
-
 
34365
      this.bannerName = null;
-
 
34366
    }
-
 
34367
 
-
 
34368
    /** Returns true if field bannerName is set (has been assigned a value) and false otherwise */
-
 
34369
    public boolean isSetBannerName() {
-
 
34370
      return this.bannerName != null;
-
 
34371
    }
-
 
34372
 
-
 
34373
    public void setBannerNameIsSet(boolean value) {
-
 
34374
      if (!value) {
-
 
34375
        this.bannerName = null;
-
 
34376
      }
-
 
34377
    }
-
 
34378
 
-
 
34379
    public String getMapLink() {
-
 
34380
      return this.mapLink;
-
 
34381
    }
-
 
34382
 
-
 
34383
    public void setMapLink(String mapLink) {
-
 
34384
      this.mapLink = mapLink;
-
 
34385
    }
-
 
34386
 
-
 
34387
    public void unsetMapLink() {
-
 
34388
      this.mapLink = null;
-
 
34389
    }
-
 
34390
 
-
 
34391
    /** Returns true if field mapLink is set (has been assigned a value) and false otherwise */
-
 
34392
    public boolean isSetMapLink() {
-
 
34393
      return this.mapLink != null;
-
 
34394
    }
-
 
34395
 
-
 
34396
    public void setMapLinkIsSet(boolean value) {
-
 
34397
      if (!value) {
-
 
34398
        this.mapLink = null;
-
 
34399
      }
-
 
34400
    }
-
 
34401
 
-
 
34402
    public String getCoordinates() {
-
 
34403
      return this.coordinates;
-
 
34404
    }
-
 
34405
 
-
 
34406
    public void setCoordinates(String coordinates) {
-
 
34407
      this.coordinates = coordinates;
-
 
34408
    }
-
 
34409
 
-
 
34410
    public void unsetCoordinates() {
-
 
34411
      this.coordinates = null;
-
 
34412
    }
-
 
34413
 
-
 
34414
    /** Returns true if field coordinates is set (has been assigned a value) and false otherwise */
-
 
34415
    public boolean isSetCoordinates() {
-
 
34416
      return this.coordinates != null;
-
 
34417
    }
-
 
34418
 
-
 
34419
    public void setCoordinatesIsSet(boolean value) {
-
 
34420
      if (!value) {
-
 
34421
        this.coordinates = null;
-
 
34422
      }
-
 
34423
    }
-
 
34424
 
-
 
34425
    public void setFieldValue(_Fields field, Object value) {
-
 
34426
      switch (field) {
-
 
34427
      case BANNER_NAME:
-
 
34428
        if (value == null) {
-
 
34429
          unsetBannerName();
-
 
34430
        } else {
-
 
34431
          setBannerName((String)value);
-
 
34432
        }
-
 
34433
        break;
-
 
34434
 
-
 
34435
      case MAP_LINK:
-
 
34436
        if (value == null) {
-
 
34437
          unsetMapLink();
-
 
34438
        } else {
-
 
34439
          setMapLink((String)value);
-
 
34440
        }
-
 
34441
        break;
-
 
34442
 
-
 
34443
      case COORDINATES:
-
 
34444
        if (value == null) {
-
 
34445
          unsetCoordinates();
-
 
34446
        } else {
-
 
34447
          setCoordinates((String)value);
-
 
34448
        }
-
 
34449
        break;
-
 
34450
 
-
 
34451
      }
-
 
34452
    }
-
 
34453
 
-
 
34454
    public Object getFieldValue(_Fields field) {
-
 
34455
      switch (field) {
-
 
34456
      case BANNER_NAME:
-
 
34457
        return getBannerName();
-
 
34458
 
-
 
34459
      case MAP_LINK:
-
 
34460
        return getMapLink();
-
 
34461
 
-
 
34462
      case COORDINATES:
-
 
34463
        return getCoordinates();
-
 
34464
 
-
 
34465
      }
-
 
34466
      throw new IllegalStateException();
-
 
34467
    }
-
 
34468
 
-
 
34469
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
34470
    public boolean isSet(_Fields field) {
-
 
34471
      if (field == null) {
-
 
34472
        throw new IllegalArgumentException();
-
 
34473
      }
-
 
34474
 
-
 
34475
      switch (field) {
-
 
34476
      case BANNER_NAME:
-
 
34477
        return isSetBannerName();
-
 
34478
      case MAP_LINK:
-
 
34479
        return isSetMapLink();
-
 
34480
      case COORDINATES:
-
 
34481
        return isSetCoordinates();
-
 
34482
      }
-
 
34483
      throw new IllegalStateException();
-
 
34484
    }
-
 
34485
 
-
 
34486
    @Override
-
 
34487
    public boolean equals(Object that) {
-
 
34488
      if (that == null)
-
 
34489
        return false;
-
 
34490
      if (that instanceof addBannerMap_args)
-
 
34491
        return this.equals((addBannerMap_args)that);
-
 
34492
      return false;
-
 
34493
    }
-
 
34494
 
-
 
34495
    public boolean equals(addBannerMap_args that) {
-
 
34496
      if (that == null)
-
 
34497
        return false;
-
 
34498
 
-
 
34499
      boolean this_present_bannerName = true && this.isSetBannerName();
-
 
34500
      boolean that_present_bannerName = true && that.isSetBannerName();
-
 
34501
      if (this_present_bannerName || that_present_bannerName) {
-
 
34502
        if (!(this_present_bannerName && that_present_bannerName))
-
 
34503
          return false;
-
 
34504
        if (!this.bannerName.equals(that.bannerName))
-
 
34505
          return false;
-
 
34506
      }
-
 
34507
 
-
 
34508
      boolean this_present_mapLink = true && this.isSetMapLink();
-
 
34509
      boolean that_present_mapLink = true && that.isSetMapLink();
-
 
34510
      if (this_present_mapLink || that_present_mapLink) {
-
 
34511
        if (!(this_present_mapLink && that_present_mapLink))
-
 
34512
          return false;
-
 
34513
        if (!this.mapLink.equals(that.mapLink))
-
 
34514
          return false;
-
 
34515
      }
-
 
34516
 
-
 
34517
      boolean this_present_coordinates = true && this.isSetCoordinates();
-
 
34518
      boolean that_present_coordinates = true && that.isSetCoordinates();
-
 
34519
      if (this_present_coordinates || that_present_coordinates) {
-
 
34520
        if (!(this_present_coordinates && that_present_coordinates))
-
 
34521
          return false;
-
 
34522
        if (!this.coordinates.equals(that.coordinates))
-
 
34523
          return false;
-
 
34524
      }
-
 
34525
 
-
 
34526
      return true;
-
 
34527
    }
-
 
34528
 
-
 
34529
    @Override
-
 
34530
    public int hashCode() {
-
 
34531
      return 0;
-
 
34532
    }
-
 
34533
 
-
 
34534
    public int compareTo(addBannerMap_args other) {
-
 
34535
      if (!getClass().equals(other.getClass())) {
-
 
34536
        return getClass().getName().compareTo(other.getClass().getName());
-
 
34537
      }
-
 
34538
 
-
 
34539
      int lastComparison = 0;
-
 
34540
      addBannerMap_args typedOther = (addBannerMap_args)other;
-
 
34541
 
-
 
34542
      lastComparison = Boolean.valueOf(isSetBannerName()).compareTo(typedOther.isSetBannerName());
-
 
34543
      if (lastComparison != 0) {
-
 
34544
        return lastComparison;
-
 
34545
      }
-
 
34546
      if (isSetBannerName()) {
-
 
34547
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerName, typedOther.bannerName);
-
 
34548
        if (lastComparison != 0) {
-
 
34549
          return lastComparison;
-
 
34550
        }
-
 
34551
      }
-
 
34552
      lastComparison = Boolean.valueOf(isSetMapLink()).compareTo(typedOther.isSetMapLink());
-
 
34553
      if (lastComparison != 0) {
-
 
34554
        return lastComparison;
-
 
34555
      }
-
 
34556
      if (isSetMapLink()) {
-
 
34557
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mapLink, typedOther.mapLink);
-
 
34558
        if (lastComparison != 0) {
-
 
34559
          return lastComparison;
-
 
34560
        }
-
 
34561
      }
-
 
34562
      lastComparison = Boolean.valueOf(isSetCoordinates()).compareTo(typedOther.isSetCoordinates());
-
 
34563
      if (lastComparison != 0) {
-
 
34564
        return lastComparison;
-
 
34565
      }
-
 
34566
      if (isSetCoordinates()) {
-
 
34567
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.coordinates, typedOther.coordinates);
-
 
34568
        if (lastComparison != 0) {
-
 
34569
          return lastComparison;
-
 
34570
        }
-
 
34571
      }
-
 
34572
      return 0;
-
 
34573
    }
-
 
34574
 
-
 
34575
    public _Fields fieldForId(int fieldId) {
-
 
34576
      return _Fields.findByThriftId(fieldId);
-
 
34577
    }
-
 
34578
 
-
 
34579
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
34580
      org.apache.thrift.protocol.TField field;
-
 
34581
      iprot.readStructBegin();
-
 
34582
      while (true)
-
 
34583
      {
-
 
34584
        field = iprot.readFieldBegin();
-
 
34585
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
34586
          break;
-
 
34587
        }
-
 
34588
        switch (field.id) {
-
 
34589
          case 1: // BANNER_NAME
-
 
34590
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
34591
              this.bannerName = iprot.readString();
-
 
34592
            } else { 
-
 
34593
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
34594
            }
-
 
34595
            break;
-
 
34596
          case 2: // MAP_LINK
-
 
34597
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
34598
              this.mapLink = iprot.readString();
-
 
34599
            } else { 
-
 
34600
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
34601
            }
-
 
34602
            break;
-
 
34603
          case 3: // COORDINATES
-
 
34604
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
34605
              this.coordinates = iprot.readString();
-
 
34606
            } else { 
-
 
34607
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
34608
            }
-
 
34609
            break;
-
 
34610
          default:
-
 
34611
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
34612
        }
-
 
34613
        iprot.readFieldEnd();
-
 
34614
      }
-
 
34615
      iprot.readStructEnd();
-
 
34616
      validate();
-
 
34617
    }
-
 
34618
 
-
 
34619
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
34620
      validate();
-
 
34621
 
-
 
34622
      oprot.writeStructBegin(STRUCT_DESC);
-
 
34623
      if (this.bannerName != null) {
-
 
34624
        oprot.writeFieldBegin(BANNER_NAME_FIELD_DESC);
-
 
34625
        oprot.writeString(this.bannerName);
-
 
34626
        oprot.writeFieldEnd();
-
 
34627
      }
-
 
34628
      if (this.mapLink != null) {
-
 
34629
        oprot.writeFieldBegin(MAP_LINK_FIELD_DESC);
-
 
34630
        oprot.writeString(this.mapLink);
-
 
34631
        oprot.writeFieldEnd();
-
 
34632
      }
-
 
34633
      if (this.coordinates != null) {
-
 
34634
        oprot.writeFieldBegin(COORDINATES_FIELD_DESC);
-
 
34635
        oprot.writeString(this.coordinates);
-
 
34636
        oprot.writeFieldEnd();
-
 
34637
      }
-
 
34638
      oprot.writeFieldStop();
-
 
34639
      oprot.writeStructEnd();
-
 
34640
    }
-
 
34641
 
-
 
34642
    @Override
-
 
34643
    public String toString() {
-
 
34644
      StringBuilder sb = new StringBuilder("addBannerMap_args(");
-
 
34645
      boolean first = true;
-
 
34646
 
-
 
34647
      sb.append("bannerName:");
-
 
34648
      if (this.bannerName == null) {
-
 
34649
        sb.append("null");
-
 
34650
      } else {
-
 
34651
        sb.append(this.bannerName);
-
 
34652
      }
-
 
34653
      first = false;
-
 
34654
      if (!first) sb.append(", ");
-
 
34655
      sb.append("mapLink:");
-
 
34656
      if (this.mapLink == null) {
-
 
34657
        sb.append("null");
-
 
34658
      } else {
-
 
34659
        sb.append(this.mapLink);
-
 
34660
      }
-
 
34661
      first = false;
-
 
34662
      if (!first) sb.append(", ");
-
 
34663
      sb.append("coordinates:");
-
 
34664
      if (this.coordinates == null) {
-
 
34665
        sb.append("null");
-
 
34666
      } else {
-
 
34667
        sb.append(this.coordinates);
-
 
34668
      }
-
 
34669
      first = false;
-
 
34670
      sb.append(")");
-
 
34671
      return sb.toString();
-
 
34672
    }
-
 
34673
 
-
 
34674
    public void validate() throws org.apache.thrift.TException {
-
 
34675
      // check for required fields
-
 
34676
    }
-
 
34677
 
-
 
34678
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
34679
      try {
-
 
34680
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
34681
      } catch (org.apache.thrift.TException te) {
-
 
34682
        throw new java.io.IOException(te);
-
 
34683
      }
-
 
34684
    }
-
 
34685
 
-
 
34686
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
34687
      try {
-
 
34688
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
34689
      } catch (org.apache.thrift.TException te) {
-
 
34690
        throw new java.io.IOException(te);
-
 
34691
      }
-
 
34692
    }
-
 
34693
 
-
 
34694
  }
-
 
34695
 
-
 
34696
  public static class addBannerMap_result implements org.apache.thrift.TBase<addBannerMap_result, addBannerMap_result._Fields>, java.io.Serializable, Cloneable   {
-
 
34697
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addBannerMap_result");
-
 
34698
 
-
 
34699
    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);
-
 
34700
 
-
 
34701
    private boolean success; // required
-
 
34702
 
-
 
34703
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
34704
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
34705
      SUCCESS((short)0, "success");
-
 
34706
 
-
 
34707
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
34708
 
-
 
34709
      static {
-
 
34710
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
34711
          byName.put(field.getFieldName(), field);
-
 
34712
        }
-
 
34713
      }
-
 
34714
 
-
 
34715
      /**
-
 
34716
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
34717
       */
-
 
34718
      public static _Fields findByThriftId(int fieldId) {
-
 
34719
        switch(fieldId) {
-
 
34720
          case 0: // SUCCESS
-
 
34721
            return SUCCESS;
-
 
34722
          default:
-
 
34723
            return null;
-
 
34724
        }
-
 
34725
      }
-
 
34726
 
-
 
34727
      /**
-
 
34728
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
34729
       * if it is not found.
-
 
34730
       */
-
 
34731
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
34732
        _Fields fields = findByThriftId(fieldId);
-
 
34733
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
34734
        return fields;
-
 
34735
      }
-
 
34736
 
-
 
34737
      /**
-
 
34738
       * Find the _Fields constant that matches name, or null if its not found.
-
 
34739
       */
-
 
34740
      public static _Fields findByName(String name) {
-
 
34741
        return byName.get(name);
-
 
34742
      }
-
 
34743
 
-
 
34744
      private final short _thriftId;
-
 
34745
      private final String _fieldName;
-
 
34746
 
-
 
34747
      _Fields(short thriftId, String fieldName) {
-
 
34748
        _thriftId = thriftId;
-
 
34749
        _fieldName = fieldName;
-
 
34750
      }
-
 
34751
 
-
 
34752
      public short getThriftFieldId() {
-
 
34753
        return _thriftId;
-
 
34754
      }
-
 
34755
 
-
 
34756
      public String getFieldName() {
-
 
34757
        return _fieldName;
-
 
34758
      }
-
 
34759
    }
-
 
34760
 
-
 
34761
    // isset id assignments
-
 
34762
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
34763
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
34764
 
-
 
34765
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
34766
    static {
-
 
34767
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
34768
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
34769
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
34770
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
34771
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBannerMap_result.class, metaDataMap);
-
 
34772
    }
-
 
34773
 
-
 
34774
    public addBannerMap_result() {
-
 
34775
    }
-
 
34776
 
-
 
34777
    public addBannerMap_result(
-
 
34778
      boolean success)
-
 
34779
    {
-
 
34780
      this();
-
 
34781
      this.success = success;
-
 
34782
      setSuccessIsSet(true);
-
 
34783
    }
-
 
34784
 
-
 
34785
    /**
-
 
34786
     * Performs a deep copy on <i>other</i>.
-
 
34787
     */
-
 
34788
    public addBannerMap_result(addBannerMap_result other) {
-
 
34789
      __isset_bit_vector.clear();
-
 
34790
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
34791
      this.success = other.success;
-
 
34792
    }
-
 
34793
 
-
 
34794
    public addBannerMap_result deepCopy() {
-
 
34795
      return new addBannerMap_result(this);
-
 
34796
    }
-
 
34797
 
-
 
34798
    @Override
-
 
34799
    public void clear() {
-
 
34800
      setSuccessIsSet(false);
-
 
34801
      this.success = false;
-
 
34802
    }
-
 
34803
 
-
 
34804
    public boolean isSuccess() {
-
 
34805
      return this.success;
-
 
34806
    }
-
 
34807
 
-
 
34808
    public void setSuccess(boolean success) {
-
 
34809
      this.success = success;
-
 
34810
      setSuccessIsSet(true);
-
 
34811
    }
-
 
34812
 
-
 
34813
    public void unsetSuccess() {
-
 
34814
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
34815
    }
-
 
34816
 
-
 
34817
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
34818
    public boolean isSetSuccess() {
-
 
34819
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
34820
    }
-
 
34821
 
-
 
34822
    public void setSuccessIsSet(boolean value) {
-
 
34823
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
34824
    }
-
 
34825
 
-
 
34826
    public void setFieldValue(_Fields field, Object value) {
-
 
34827
      switch (field) {
-
 
34828
      case SUCCESS:
-
 
34829
        if (value == null) {
-
 
34830
          unsetSuccess();
-
 
34831
        } else {
-
 
34832
          setSuccess((Boolean)value);
-
 
34833
        }
-
 
34834
        break;
-
 
34835
 
-
 
34836
      }
-
 
34837
    }
-
 
34838
 
-
 
34839
    public Object getFieldValue(_Fields field) {
-
 
34840
      switch (field) {
-
 
34841
      case SUCCESS:
-
 
34842
        return Boolean.valueOf(isSuccess());
-
 
34843
 
-
 
34844
      }
-
 
34845
      throw new IllegalStateException();
-
 
34846
    }
-
 
34847
 
-
 
34848
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
34849
    public boolean isSet(_Fields field) {
-
 
34850
      if (field == null) {
-
 
34851
        throw new IllegalArgumentException();
-
 
34852
      }
-
 
34853
 
-
 
34854
      switch (field) {
-
 
34855
      case SUCCESS:
-
 
34856
        return isSetSuccess();
-
 
34857
      }
-
 
34858
      throw new IllegalStateException();
-
 
34859
    }
-
 
34860
 
-
 
34861
    @Override
-
 
34862
    public boolean equals(Object that) {
-
 
34863
      if (that == null)
-
 
34864
        return false;
-
 
34865
      if (that instanceof addBannerMap_result)
-
 
34866
        return this.equals((addBannerMap_result)that);
-
 
34867
      return false;
-
 
34868
    }
-
 
34869
 
-
 
34870
    public boolean equals(addBannerMap_result that) {
-
 
34871
      if (that == null)
-
 
34872
        return false;
-
 
34873
 
-
 
34874
      boolean this_present_success = true;
-
 
34875
      boolean that_present_success = true;
-
 
34876
      if (this_present_success || that_present_success) {
-
 
34877
        if (!(this_present_success && that_present_success))
-
 
34878
          return false;
-
 
34879
        if (this.success != that.success)
-
 
34880
          return false;
-
 
34881
      }
-
 
34882
 
-
 
34883
      return true;
-
 
34884
    }
-
 
34885
 
-
 
34886
    @Override
-
 
34887
    public int hashCode() {
-
 
34888
      return 0;
-
 
34889
    }
-
 
34890
 
-
 
34891
    public int compareTo(addBannerMap_result other) {
-
 
34892
      if (!getClass().equals(other.getClass())) {
-
 
34893
        return getClass().getName().compareTo(other.getClass().getName());
-
 
34894
      }
-
 
34895
 
-
 
34896
      int lastComparison = 0;
-
 
34897
      addBannerMap_result typedOther = (addBannerMap_result)other;
-
 
34898
 
-
 
34899
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
34900
      if (lastComparison != 0) {
-
 
34901
        return lastComparison;
-
 
34902
      }
-
 
34903
      if (isSetSuccess()) {
-
 
34904
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
34905
        if (lastComparison != 0) {
-
 
34906
          return lastComparison;
-
 
34907
        }
-
 
34908
      }
-
 
34909
      return 0;
-
 
34910
    }
-
 
34911
 
-
 
34912
    public _Fields fieldForId(int fieldId) {
-
 
34913
      return _Fields.findByThriftId(fieldId);
-
 
34914
    }
-
 
34915
 
-
 
34916
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
34917
      org.apache.thrift.protocol.TField field;
-
 
34918
      iprot.readStructBegin();
-
 
34919
      while (true)
-
 
34920
      {
-
 
34921
        field = iprot.readFieldBegin();
-
 
34922
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
34923
          break;
-
 
34924
        }
-
 
34925
        switch (field.id) {
-
 
34926
          case 0: // SUCCESS
-
 
34927
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
34928
              this.success = iprot.readBool();
-
 
34929
              setSuccessIsSet(true);
-
 
34930
            } else { 
-
 
34931
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
34932
            }
-
 
34933
            break;
-
 
34934
          default:
-
 
34935
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
34936
        }
-
 
34937
        iprot.readFieldEnd();
-
 
34938
      }
-
 
34939
      iprot.readStructEnd();
-
 
34940
      validate();
-
 
34941
    }
-
 
34942
 
-
 
34943
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
34944
      oprot.writeStructBegin(STRUCT_DESC);
-
 
34945
 
-
 
34946
      if (this.isSetSuccess()) {
-
 
34947
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
34948
        oprot.writeBool(this.success);
-
 
34949
        oprot.writeFieldEnd();
-
 
34950
      }
-
 
34951
      oprot.writeFieldStop();
-
 
34952
      oprot.writeStructEnd();
-
 
34953
    }
-
 
34954
 
-
 
34955
    @Override
-
 
34956
    public String toString() {
-
 
34957
      StringBuilder sb = new StringBuilder("addBannerMap_result(");
-
 
34958
      boolean first = true;
-
 
34959
 
-
 
34960
      sb.append("success:");
-
 
34961
      sb.append(this.success);
-
 
34962
      first = false;
-
 
34963
      sb.append(")");
-
 
34964
      return sb.toString();
-
 
34965
    }
-
 
34966
 
-
 
34967
    public void validate() throws org.apache.thrift.TException {
-
 
34968
      // check for required fields
-
 
34969
    }
-
 
34970
 
-
 
34971
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
34972
      try {
-
 
34973
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
34974
      } catch (org.apache.thrift.TException te) {
-
 
34975
        throw new java.io.IOException(te);
-
 
34976
      }
-
 
34977
    }
-
 
34978
 
-
 
34979
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
34980
      try {
-
 
34981
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
34982
      } catch (org.apache.thrift.TException te) {
-
 
34983
        throw new java.io.IOException(te);
-
 
34984
      }
-
 
34985
    }
-
 
34986
 
-
 
34987
  }
-
 
34988
 
-
 
34989
  public static class deleteBannerMap_args implements org.apache.thrift.TBase<deleteBannerMap_args, deleteBannerMap_args._Fields>, java.io.Serializable, Cloneable   {
-
 
34990
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteBannerMap_args");
-
 
34991
 
-
 
34992
    private static final org.apache.thrift.protocol.TField BANNER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("bannerName", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
34993
 
-
 
34994
    private String bannerName; // required
-
 
34995
 
-
 
34996
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
34997
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
34998
      BANNER_NAME((short)1, "bannerName");
-
 
34999
 
-
 
35000
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
35001
 
-
 
35002
      static {
-
 
35003
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
35004
          byName.put(field.getFieldName(), field);
-
 
35005
        }
-
 
35006
      }
-
 
35007
 
-
 
35008
      /**
-
 
35009
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
35010
       */
-
 
35011
      public static _Fields findByThriftId(int fieldId) {
-
 
35012
        switch(fieldId) {
-
 
35013
          case 1: // BANNER_NAME
-
 
35014
            return BANNER_NAME;
-
 
35015
          default:
-
 
35016
            return null;
-
 
35017
        }
-
 
35018
      }
-
 
35019
 
-
 
35020
      /**
-
 
35021
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
35022
       * if it is not found.
-
 
35023
       */
-
 
35024
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
35025
        _Fields fields = findByThriftId(fieldId);
-
 
35026
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
35027
        return fields;
-
 
35028
      }
-
 
35029
 
-
 
35030
      /**
-
 
35031
       * Find the _Fields constant that matches name, or null if its not found.
-
 
35032
       */
-
 
35033
      public static _Fields findByName(String name) {
-
 
35034
        return byName.get(name);
-
 
35035
      }
-
 
35036
 
-
 
35037
      private final short _thriftId;
-
 
35038
      private final String _fieldName;
-
 
35039
 
-
 
35040
      _Fields(short thriftId, String fieldName) {
-
 
35041
        _thriftId = thriftId;
-
 
35042
        _fieldName = fieldName;
-
 
35043
      }
-
 
35044
 
-
 
35045
      public short getThriftFieldId() {
-
 
35046
        return _thriftId;
-
 
35047
      }
-
 
35048
 
-
 
35049
      public String getFieldName() {
-
 
35050
        return _fieldName;
-
 
35051
      }
-
 
35052
    }
-
 
35053
 
-
 
35054
    // isset id assignments
-
 
35055
 
-
 
35056
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
35057
    static {
-
 
35058
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
35059
      tmpMap.put(_Fields.BANNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("bannerName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
35060
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
35061
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
35062
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteBannerMap_args.class, metaDataMap);
-
 
35063
    }
-
 
35064
 
-
 
35065
    public deleteBannerMap_args() {
-
 
35066
    }
-
 
35067
 
-
 
35068
    public deleteBannerMap_args(
-
 
35069
      String bannerName)
-
 
35070
    {
-
 
35071
      this();
-
 
35072
      this.bannerName = bannerName;
-
 
35073
    }
-
 
35074
 
-
 
35075
    /**
-
 
35076
     * Performs a deep copy on <i>other</i>.
-
 
35077
     */
-
 
35078
    public deleteBannerMap_args(deleteBannerMap_args other) {
-
 
35079
      if (other.isSetBannerName()) {
-
 
35080
        this.bannerName = other.bannerName;
-
 
35081
      }
-
 
35082
    }
-
 
35083
 
-
 
35084
    public deleteBannerMap_args deepCopy() {
-
 
35085
      return new deleteBannerMap_args(this);
-
 
35086
    }
-
 
35087
 
-
 
35088
    @Override
-
 
35089
    public void clear() {
-
 
35090
      this.bannerName = null;
-
 
35091
    }
-
 
35092
 
-
 
35093
    public String getBannerName() {
-
 
35094
      return this.bannerName;
-
 
35095
    }
-
 
35096
 
-
 
35097
    public void setBannerName(String bannerName) {
-
 
35098
      this.bannerName = bannerName;
-
 
35099
    }
-
 
35100
 
-
 
35101
    public void unsetBannerName() {
-
 
35102
      this.bannerName = null;
-
 
35103
    }
-
 
35104
 
-
 
35105
    /** Returns true if field bannerName is set (has been assigned a value) and false otherwise */
-
 
35106
    public boolean isSetBannerName() {
-
 
35107
      return this.bannerName != null;
-
 
35108
    }
-
 
35109
 
-
 
35110
    public void setBannerNameIsSet(boolean value) {
-
 
35111
      if (!value) {
-
 
35112
        this.bannerName = null;
-
 
35113
      }
-
 
35114
    }
-
 
35115
 
-
 
35116
    public void setFieldValue(_Fields field, Object value) {
-
 
35117
      switch (field) {
-
 
35118
      case BANNER_NAME:
-
 
35119
        if (value == null) {
-
 
35120
          unsetBannerName();
-
 
35121
        } else {
-
 
35122
          setBannerName((String)value);
-
 
35123
        }
-
 
35124
        break;
-
 
35125
 
-
 
35126
      }
-
 
35127
    }
-
 
35128
 
-
 
35129
    public Object getFieldValue(_Fields field) {
-
 
35130
      switch (field) {
-
 
35131
      case BANNER_NAME:
-
 
35132
        return getBannerName();
-
 
35133
 
-
 
35134
      }
-
 
35135
      throw new IllegalStateException();
-
 
35136
    }
-
 
35137
 
-
 
35138
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
35139
    public boolean isSet(_Fields field) {
-
 
35140
      if (field == null) {
-
 
35141
        throw new IllegalArgumentException();
-
 
35142
      }
-
 
35143
 
-
 
35144
      switch (field) {
-
 
35145
      case BANNER_NAME:
-
 
35146
        return isSetBannerName();
-
 
35147
      }
-
 
35148
      throw new IllegalStateException();
-
 
35149
    }
-
 
35150
 
-
 
35151
    @Override
-
 
35152
    public boolean equals(Object that) {
-
 
35153
      if (that == null)
-
 
35154
        return false;
-
 
35155
      if (that instanceof deleteBannerMap_args)
-
 
35156
        return this.equals((deleteBannerMap_args)that);
-
 
35157
      return false;
-
 
35158
    }
-
 
35159
 
-
 
35160
    public boolean equals(deleteBannerMap_args that) {
-
 
35161
      if (that == null)
-
 
35162
        return false;
-
 
35163
 
-
 
35164
      boolean this_present_bannerName = true && this.isSetBannerName();
-
 
35165
      boolean that_present_bannerName = true && that.isSetBannerName();
-
 
35166
      if (this_present_bannerName || that_present_bannerName) {
-
 
35167
        if (!(this_present_bannerName && that_present_bannerName))
-
 
35168
          return false;
-
 
35169
        if (!this.bannerName.equals(that.bannerName))
-
 
35170
          return false;
-
 
35171
      }
-
 
35172
 
-
 
35173
      return true;
-
 
35174
    }
-
 
35175
 
-
 
35176
    @Override
-
 
35177
    public int hashCode() {
-
 
35178
      return 0;
-
 
35179
    }
-
 
35180
 
-
 
35181
    public int compareTo(deleteBannerMap_args other) {
-
 
35182
      if (!getClass().equals(other.getClass())) {
-
 
35183
        return getClass().getName().compareTo(other.getClass().getName());
-
 
35184
      }
-
 
35185
 
-
 
35186
      int lastComparison = 0;
-
 
35187
      deleteBannerMap_args typedOther = (deleteBannerMap_args)other;
-
 
35188
 
-
 
35189
      lastComparison = Boolean.valueOf(isSetBannerName()).compareTo(typedOther.isSetBannerName());
-
 
35190
      if (lastComparison != 0) {
-
 
35191
        return lastComparison;
-
 
35192
      }
-
 
35193
      if (isSetBannerName()) {
-
 
35194
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerName, typedOther.bannerName);
-
 
35195
        if (lastComparison != 0) {
-
 
35196
          return lastComparison;
-
 
35197
        }
-
 
35198
      }
-
 
35199
      return 0;
-
 
35200
    }
-
 
35201
 
-
 
35202
    public _Fields fieldForId(int fieldId) {
-
 
35203
      return _Fields.findByThriftId(fieldId);
-
 
35204
    }
-
 
35205
 
-
 
35206
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
35207
      org.apache.thrift.protocol.TField field;
-
 
35208
      iprot.readStructBegin();
-
 
35209
      while (true)
-
 
35210
      {
-
 
35211
        field = iprot.readFieldBegin();
-
 
35212
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
35213
          break;
-
 
35214
        }
-
 
35215
        switch (field.id) {
-
 
35216
          case 1: // BANNER_NAME
-
 
35217
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
35218
              this.bannerName = iprot.readString();
-
 
35219
            } else { 
-
 
35220
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35221
            }
-
 
35222
            break;
-
 
35223
          default:
-
 
35224
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35225
        }
-
 
35226
        iprot.readFieldEnd();
-
 
35227
      }
-
 
35228
      iprot.readStructEnd();
-
 
35229
      validate();
-
 
35230
    }
-
 
35231
 
-
 
35232
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
35233
      validate();
-
 
35234
 
-
 
35235
      oprot.writeStructBegin(STRUCT_DESC);
-
 
35236
      if (this.bannerName != null) {
-
 
35237
        oprot.writeFieldBegin(BANNER_NAME_FIELD_DESC);
-
 
35238
        oprot.writeString(this.bannerName);
-
 
35239
        oprot.writeFieldEnd();
-
 
35240
      }
-
 
35241
      oprot.writeFieldStop();
-
 
35242
      oprot.writeStructEnd();
-
 
35243
    }
-
 
35244
 
-
 
35245
    @Override
-
 
35246
    public String toString() {
-
 
35247
      StringBuilder sb = new StringBuilder("deleteBannerMap_args(");
-
 
35248
      boolean first = true;
-
 
35249
 
-
 
35250
      sb.append("bannerName:");
-
 
35251
      if (this.bannerName == null) {
-
 
35252
        sb.append("null");
-
 
35253
      } else {
-
 
35254
        sb.append(this.bannerName);
-
 
35255
      }
-
 
35256
      first = false;
-
 
35257
      sb.append(")");
-
 
35258
      return sb.toString();
-
 
35259
    }
-
 
35260
 
-
 
35261
    public void validate() throws org.apache.thrift.TException {
-
 
35262
      // check for required fields
-
 
35263
    }
-
 
35264
 
-
 
35265
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
35266
      try {
-
 
35267
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
35268
      } catch (org.apache.thrift.TException te) {
-
 
35269
        throw new java.io.IOException(te);
-
 
35270
      }
-
 
35271
    }
-
 
35272
 
-
 
35273
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
35274
      try {
-
 
35275
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
35276
      } catch (org.apache.thrift.TException te) {
-
 
35277
        throw new java.io.IOException(te);
-
 
35278
      }
-
 
35279
    }
-
 
35280
 
-
 
35281
  }
-
 
35282
 
-
 
35283
  public static class deleteBannerMap_result implements org.apache.thrift.TBase<deleteBannerMap_result, deleteBannerMap_result._Fields>, java.io.Serializable, Cloneable   {
-
 
35284
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteBannerMap_result");
-
 
35285
 
-
 
35286
    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);
-
 
35287
 
-
 
35288
    private boolean success; // required
-
 
35289
 
-
 
35290
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
35291
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
35292
      SUCCESS((short)0, "success");
-
 
35293
 
-
 
35294
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
35295
 
-
 
35296
      static {
-
 
35297
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
35298
          byName.put(field.getFieldName(), field);
-
 
35299
        }
-
 
35300
      }
-
 
35301
 
-
 
35302
      /**
-
 
35303
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
35304
       */
-
 
35305
      public static _Fields findByThriftId(int fieldId) {
-
 
35306
        switch(fieldId) {
-
 
35307
          case 0: // SUCCESS
-
 
35308
            return SUCCESS;
-
 
35309
          default:
-
 
35310
            return null;
-
 
35311
        }
-
 
35312
      }
-
 
35313
 
-
 
35314
      /**
-
 
35315
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
35316
       * if it is not found.
-
 
35317
       */
-
 
35318
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
35319
        _Fields fields = findByThriftId(fieldId);
-
 
35320
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
35321
        return fields;
-
 
35322
      }
-
 
35323
 
-
 
35324
      /**
-
 
35325
       * Find the _Fields constant that matches name, or null if its not found.
-
 
35326
       */
-
 
35327
      public static _Fields findByName(String name) {
-
 
35328
        return byName.get(name);
-
 
35329
      }
-
 
35330
 
-
 
35331
      private final short _thriftId;
-
 
35332
      private final String _fieldName;
-
 
35333
 
-
 
35334
      _Fields(short thriftId, String fieldName) {
-
 
35335
        _thriftId = thriftId;
-
 
35336
        _fieldName = fieldName;
-
 
35337
      }
-
 
35338
 
-
 
35339
      public short getThriftFieldId() {
-
 
35340
        return _thriftId;
-
 
35341
      }
-
 
35342
 
-
 
35343
      public String getFieldName() {
-
 
35344
        return _fieldName;
-
 
35345
      }
-
 
35346
    }
-
 
35347
 
-
 
35348
    // isset id assignments
-
 
35349
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
35350
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
35351
 
-
 
35352
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
35353
    static {
-
 
35354
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
35355
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
35356
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
35357
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
35358
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteBannerMap_result.class, metaDataMap);
-
 
35359
    }
-
 
35360
 
-
 
35361
    public deleteBannerMap_result() {
-
 
35362
    }
-
 
35363
 
-
 
35364
    public deleteBannerMap_result(
-
 
35365
      boolean success)
-
 
35366
    {
-
 
35367
      this();
-
 
35368
      this.success = success;
-
 
35369
      setSuccessIsSet(true);
-
 
35370
    }
-
 
35371
 
-
 
35372
    /**
-
 
35373
     * Performs a deep copy on <i>other</i>.
-
 
35374
     */
-
 
35375
    public deleteBannerMap_result(deleteBannerMap_result other) {
-
 
35376
      __isset_bit_vector.clear();
-
 
35377
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
35378
      this.success = other.success;
-
 
35379
    }
-
 
35380
 
-
 
35381
    public deleteBannerMap_result deepCopy() {
-
 
35382
      return new deleteBannerMap_result(this);
-
 
35383
    }
-
 
35384
 
-
 
35385
    @Override
-
 
35386
    public void clear() {
-
 
35387
      setSuccessIsSet(false);
-
 
35388
      this.success = false;
-
 
35389
    }
-
 
35390
 
-
 
35391
    public boolean isSuccess() {
-
 
35392
      return this.success;
-
 
35393
    }
-
 
35394
 
-
 
35395
    public void setSuccess(boolean success) {
-
 
35396
      this.success = success;
-
 
35397
      setSuccessIsSet(true);
-
 
35398
    }
-
 
35399
 
-
 
35400
    public void unsetSuccess() {
-
 
35401
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
35402
    }
-
 
35403
 
-
 
35404
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
35405
    public boolean isSetSuccess() {
-
 
35406
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
35407
    }
-
 
35408
 
-
 
35409
    public void setSuccessIsSet(boolean value) {
-
 
35410
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
35411
    }
-
 
35412
 
-
 
35413
    public void setFieldValue(_Fields field, Object value) {
-
 
35414
      switch (field) {
-
 
35415
      case SUCCESS:
-
 
35416
        if (value == null) {
-
 
35417
          unsetSuccess();
-
 
35418
        } else {
-
 
35419
          setSuccess((Boolean)value);
-
 
35420
        }
-
 
35421
        break;
-
 
35422
 
-
 
35423
      }
-
 
35424
    }
-
 
35425
 
-
 
35426
    public Object getFieldValue(_Fields field) {
-
 
35427
      switch (field) {
-
 
35428
      case SUCCESS:
-
 
35429
        return Boolean.valueOf(isSuccess());
-
 
35430
 
-
 
35431
      }
-
 
35432
      throw new IllegalStateException();
-
 
35433
    }
-
 
35434
 
-
 
35435
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
35436
    public boolean isSet(_Fields field) {
-
 
35437
      if (field == null) {
-
 
35438
        throw new IllegalArgumentException();
-
 
35439
      }
-
 
35440
 
-
 
35441
      switch (field) {
-
 
35442
      case SUCCESS:
-
 
35443
        return isSetSuccess();
-
 
35444
      }
-
 
35445
      throw new IllegalStateException();
-
 
35446
    }
-
 
35447
 
-
 
35448
    @Override
-
 
35449
    public boolean equals(Object that) {
-
 
35450
      if (that == null)
-
 
35451
        return false;
-
 
35452
      if (that instanceof deleteBannerMap_result)
-
 
35453
        return this.equals((deleteBannerMap_result)that);
-
 
35454
      return false;
-
 
35455
    }
-
 
35456
 
-
 
35457
    public boolean equals(deleteBannerMap_result that) {
-
 
35458
      if (that == null)
-
 
35459
        return false;
-
 
35460
 
-
 
35461
      boolean this_present_success = true;
-
 
35462
      boolean that_present_success = true;
-
 
35463
      if (this_present_success || that_present_success) {
-
 
35464
        if (!(this_present_success && that_present_success))
-
 
35465
          return false;
-
 
35466
        if (this.success != that.success)
-
 
35467
          return false;
-
 
35468
      }
-
 
35469
 
-
 
35470
      return true;
-
 
35471
    }
-
 
35472
 
-
 
35473
    @Override
-
 
35474
    public int hashCode() {
-
 
35475
      return 0;
-
 
35476
    }
-
 
35477
 
-
 
35478
    public int compareTo(deleteBannerMap_result other) {
-
 
35479
      if (!getClass().equals(other.getClass())) {
-
 
35480
        return getClass().getName().compareTo(other.getClass().getName());
-
 
35481
      }
-
 
35482
 
-
 
35483
      int lastComparison = 0;
-
 
35484
      deleteBannerMap_result typedOther = (deleteBannerMap_result)other;
-
 
35485
 
-
 
35486
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
35487
      if (lastComparison != 0) {
-
 
35488
        return lastComparison;
-
 
35489
      }
-
 
35490
      if (isSetSuccess()) {
-
 
35491
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
35492
        if (lastComparison != 0) {
-
 
35493
          return lastComparison;
-
 
35494
        }
-
 
35495
      }
-
 
35496
      return 0;
-
 
35497
    }
-
 
35498
 
-
 
35499
    public _Fields fieldForId(int fieldId) {
-
 
35500
      return _Fields.findByThriftId(fieldId);
-
 
35501
    }
-
 
35502
 
-
 
35503
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
35504
      org.apache.thrift.protocol.TField field;
-
 
35505
      iprot.readStructBegin();
-
 
35506
      while (true)
-
 
35507
      {
-
 
35508
        field = iprot.readFieldBegin();
-
 
35509
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
35510
          break;
-
 
35511
        }
-
 
35512
        switch (field.id) {
-
 
35513
          case 0: // SUCCESS
-
 
35514
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
35515
              this.success = iprot.readBool();
-
 
35516
              setSuccessIsSet(true);
-
 
35517
            } else { 
-
 
35518
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35519
            }
-
 
35520
            break;
-
 
35521
          default:
-
 
35522
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35523
        }
-
 
35524
        iprot.readFieldEnd();
-
 
35525
      }
-
 
35526
      iprot.readStructEnd();
-
 
35527
      validate();
-
 
35528
    }
-
 
35529
 
-
 
35530
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
35531
      oprot.writeStructBegin(STRUCT_DESC);
-
 
35532
 
-
 
35533
      if (this.isSetSuccess()) {
-
 
35534
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
35535
        oprot.writeBool(this.success);
-
 
35536
        oprot.writeFieldEnd();
-
 
35537
      }
-
 
35538
      oprot.writeFieldStop();
-
 
35539
      oprot.writeStructEnd();
-
 
35540
    }
-
 
35541
 
-
 
35542
    @Override
-
 
35543
    public String toString() {
-
 
35544
      StringBuilder sb = new StringBuilder("deleteBannerMap_result(");
-
 
35545
      boolean first = true;
-
 
35546
 
-
 
35547
      sb.append("success:");
-
 
35548
      sb.append(this.success);
-
 
35549
      first = false;
-
 
35550
      sb.append(")");
-
 
35551
      return sb.toString();
-
 
35552
    }
-
 
35553
 
-
 
35554
    public void validate() throws org.apache.thrift.TException {
-
 
35555
      // check for required fields
-
 
35556
    }
-
 
35557
 
-
 
35558
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
35559
      try {
-
 
35560
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
35561
      } catch (org.apache.thrift.TException te) {
-
 
35562
        throw new java.io.IOException(te);
-
 
35563
      }
-
 
35564
    }
-
 
35565
 
-
 
35566
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
35567
      try {
-
 
35568
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
35569
      } catch (org.apache.thrift.TException te) {
-
 
35570
        throw new java.io.IOException(te);
-
 
35571
      }
-
 
35572
    }
-
 
35573
 
-
 
35574
  }
-
 
35575
 
-
 
35576
  public static class getBannerMapDetails_args implements org.apache.thrift.TBase<getBannerMapDetails_args, getBannerMapDetails_args._Fields>, java.io.Serializable, Cloneable   {
-
 
35577
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getBannerMapDetails_args");
-
 
35578
 
-
 
35579
    private static final org.apache.thrift.protocol.TField BANNER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("bannerName", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
35580
 
-
 
35581
    private String bannerName; // required
-
 
35582
 
-
 
35583
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
35584
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
35585
      BANNER_NAME((short)1, "bannerName");
-
 
35586
 
-
 
35587
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
35588
 
-
 
35589
      static {
-
 
35590
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
35591
          byName.put(field.getFieldName(), field);
-
 
35592
        }
-
 
35593
      }
-
 
35594
 
-
 
35595
      /**
-
 
35596
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
35597
       */
-
 
35598
      public static _Fields findByThriftId(int fieldId) {
-
 
35599
        switch(fieldId) {
-
 
35600
          case 1: // BANNER_NAME
-
 
35601
            return BANNER_NAME;
-
 
35602
          default:
-
 
35603
            return null;
-
 
35604
        }
-
 
35605
      }
-
 
35606
 
-
 
35607
      /**
-
 
35608
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
35609
       * if it is not found.
-
 
35610
       */
-
 
35611
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
35612
        _Fields fields = findByThriftId(fieldId);
-
 
35613
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
35614
        return fields;
-
 
35615
      }
-
 
35616
 
-
 
35617
      /**
-
 
35618
       * Find the _Fields constant that matches name, or null if its not found.
-
 
35619
       */
-
 
35620
      public static _Fields findByName(String name) {
-
 
35621
        return byName.get(name);
-
 
35622
      }
-
 
35623
 
-
 
35624
      private final short _thriftId;
-
 
35625
      private final String _fieldName;
-
 
35626
 
-
 
35627
      _Fields(short thriftId, String fieldName) {
-
 
35628
        _thriftId = thriftId;
-
 
35629
        _fieldName = fieldName;
-
 
35630
      }
-
 
35631
 
-
 
35632
      public short getThriftFieldId() {
-
 
35633
        return _thriftId;
-
 
35634
      }
-
 
35635
 
-
 
35636
      public String getFieldName() {
-
 
35637
        return _fieldName;
-
 
35638
      }
-
 
35639
    }
-
 
35640
 
-
 
35641
    // isset id assignments
-
 
35642
 
-
 
35643
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
35644
    static {
-
 
35645
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
35646
      tmpMap.put(_Fields.BANNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("bannerName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
35647
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
35648
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
35649
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getBannerMapDetails_args.class, metaDataMap);
-
 
35650
    }
-
 
35651
 
-
 
35652
    public getBannerMapDetails_args() {
-
 
35653
    }
-
 
35654
 
-
 
35655
    public getBannerMapDetails_args(
-
 
35656
      String bannerName)
-
 
35657
    {
-
 
35658
      this();
-
 
35659
      this.bannerName = bannerName;
-
 
35660
    }
-
 
35661
 
-
 
35662
    /**
-
 
35663
     * Performs a deep copy on <i>other</i>.
-
 
35664
     */
-
 
35665
    public getBannerMapDetails_args(getBannerMapDetails_args other) {
-
 
35666
      if (other.isSetBannerName()) {
-
 
35667
        this.bannerName = other.bannerName;
-
 
35668
      }
-
 
35669
    }
-
 
35670
 
-
 
35671
    public getBannerMapDetails_args deepCopy() {
-
 
35672
      return new getBannerMapDetails_args(this);
-
 
35673
    }
-
 
35674
 
-
 
35675
    @Override
-
 
35676
    public void clear() {
-
 
35677
      this.bannerName = null;
-
 
35678
    }
-
 
35679
 
-
 
35680
    public String getBannerName() {
-
 
35681
      return this.bannerName;
-
 
35682
    }
-
 
35683
 
-
 
35684
    public void setBannerName(String bannerName) {
-
 
35685
      this.bannerName = bannerName;
-
 
35686
    }
-
 
35687
 
-
 
35688
    public void unsetBannerName() {
-
 
35689
      this.bannerName = null;
-
 
35690
    }
-
 
35691
 
-
 
35692
    /** Returns true if field bannerName is set (has been assigned a value) and false otherwise */
-
 
35693
    public boolean isSetBannerName() {
-
 
35694
      return this.bannerName != null;
-
 
35695
    }
-
 
35696
 
-
 
35697
    public void setBannerNameIsSet(boolean value) {
-
 
35698
      if (!value) {
-
 
35699
        this.bannerName = null;
-
 
35700
      }
-
 
35701
    }
-
 
35702
 
-
 
35703
    public void setFieldValue(_Fields field, Object value) {
-
 
35704
      switch (field) {
-
 
35705
      case BANNER_NAME:
-
 
35706
        if (value == null) {
-
 
35707
          unsetBannerName();
-
 
35708
        } else {
-
 
35709
          setBannerName((String)value);
-
 
35710
        }
-
 
35711
        break;
-
 
35712
 
-
 
35713
      }
-
 
35714
    }
-
 
35715
 
-
 
35716
    public Object getFieldValue(_Fields field) {
-
 
35717
      switch (field) {
-
 
35718
      case BANNER_NAME:
-
 
35719
        return getBannerName();
-
 
35720
 
-
 
35721
      }
-
 
35722
      throw new IllegalStateException();
-
 
35723
    }
-
 
35724
 
-
 
35725
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
35726
    public boolean isSet(_Fields field) {
-
 
35727
      if (field == null) {
-
 
35728
        throw new IllegalArgumentException();
-
 
35729
      }
-
 
35730
 
-
 
35731
      switch (field) {
-
 
35732
      case BANNER_NAME:
-
 
35733
        return isSetBannerName();
-
 
35734
      }
-
 
35735
      throw new IllegalStateException();
-
 
35736
    }
-
 
35737
 
-
 
35738
    @Override
-
 
35739
    public boolean equals(Object that) {
-
 
35740
      if (that == null)
-
 
35741
        return false;
-
 
35742
      if (that instanceof getBannerMapDetails_args)
-
 
35743
        return this.equals((getBannerMapDetails_args)that);
-
 
35744
      return false;
-
 
35745
    }
-
 
35746
 
-
 
35747
    public boolean equals(getBannerMapDetails_args that) {
-
 
35748
      if (that == null)
-
 
35749
        return false;
-
 
35750
 
-
 
35751
      boolean this_present_bannerName = true && this.isSetBannerName();
-
 
35752
      boolean that_present_bannerName = true && that.isSetBannerName();
-
 
35753
      if (this_present_bannerName || that_present_bannerName) {
-
 
35754
        if (!(this_present_bannerName && that_present_bannerName))
-
 
35755
          return false;
-
 
35756
        if (!this.bannerName.equals(that.bannerName))
-
 
35757
          return false;
-
 
35758
      }
-
 
35759
 
-
 
35760
      return true;
-
 
35761
    }
-
 
35762
 
-
 
35763
    @Override
-
 
35764
    public int hashCode() {
-
 
35765
      return 0;
-
 
35766
    }
-
 
35767
 
-
 
35768
    public int compareTo(getBannerMapDetails_args other) {
-
 
35769
      if (!getClass().equals(other.getClass())) {
-
 
35770
        return getClass().getName().compareTo(other.getClass().getName());
-
 
35771
      }
-
 
35772
 
-
 
35773
      int lastComparison = 0;
-
 
35774
      getBannerMapDetails_args typedOther = (getBannerMapDetails_args)other;
-
 
35775
 
-
 
35776
      lastComparison = Boolean.valueOf(isSetBannerName()).compareTo(typedOther.isSetBannerName());
-
 
35777
      if (lastComparison != 0) {
-
 
35778
        return lastComparison;
-
 
35779
      }
-
 
35780
      if (isSetBannerName()) {
-
 
35781
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerName, typedOther.bannerName);
-
 
35782
        if (lastComparison != 0) {
-
 
35783
          return lastComparison;
-
 
35784
        }
-
 
35785
      }
-
 
35786
      return 0;
-
 
35787
    }
-
 
35788
 
-
 
35789
    public _Fields fieldForId(int fieldId) {
-
 
35790
      return _Fields.findByThriftId(fieldId);
-
 
35791
    }
-
 
35792
 
-
 
35793
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
35794
      org.apache.thrift.protocol.TField field;
-
 
35795
      iprot.readStructBegin();
-
 
35796
      while (true)
-
 
35797
      {
-
 
35798
        field = iprot.readFieldBegin();
-
 
35799
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
35800
          break;
-
 
35801
        }
-
 
35802
        switch (field.id) {
-
 
35803
          case 1: // BANNER_NAME
-
 
35804
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
35805
              this.bannerName = iprot.readString();
-
 
35806
            } else { 
-
 
35807
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35808
            }
-
 
35809
            break;
-
 
35810
          default:
-
 
35811
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35812
        }
-
 
35813
        iprot.readFieldEnd();
-
 
35814
      }
-
 
35815
      iprot.readStructEnd();
-
 
35816
      validate();
-
 
35817
    }
-
 
35818
 
-
 
35819
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
35820
      validate();
-
 
35821
 
-
 
35822
      oprot.writeStructBegin(STRUCT_DESC);
-
 
35823
      if (this.bannerName != null) {
-
 
35824
        oprot.writeFieldBegin(BANNER_NAME_FIELD_DESC);
-
 
35825
        oprot.writeString(this.bannerName);
-
 
35826
        oprot.writeFieldEnd();
-
 
35827
      }
-
 
35828
      oprot.writeFieldStop();
-
 
35829
      oprot.writeStructEnd();
-
 
35830
    }
-
 
35831
 
-
 
35832
    @Override
-
 
35833
    public String toString() {
-
 
35834
      StringBuilder sb = new StringBuilder("getBannerMapDetails_args(");
-
 
35835
      boolean first = true;
-
 
35836
 
-
 
35837
      sb.append("bannerName:");
-
 
35838
      if (this.bannerName == null) {
-
 
35839
        sb.append("null");
-
 
35840
      } else {
-
 
35841
        sb.append(this.bannerName);
-
 
35842
      }
-
 
35843
      first = false;
-
 
35844
      sb.append(")");
-
 
35845
      return sb.toString();
-
 
35846
    }
-
 
35847
 
-
 
35848
    public void validate() throws org.apache.thrift.TException {
-
 
35849
      // check for required fields
-
 
35850
    }
-
 
35851
 
-
 
35852
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
35853
      try {
-
 
35854
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
35855
      } catch (org.apache.thrift.TException te) {
-
 
35856
        throw new java.io.IOException(te);
-
 
35857
      }
-
 
35858
    }
-
 
35859
 
-
 
35860
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
35861
      try {
-
 
35862
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
35863
      } catch (org.apache.thrift.TException te) {
-
 
35864
        throw new java.io.IOException(te);
-
 
35865
      }
-
 
35866
    }
-
 
35867
 
-
 
35868
  }
-
 
35869
 
-
 
35870
  public static class getBannerMapDetails_result implements org.apache.thrift.TBase<getBannerMapDetails_result, getBannerMapDetails_result._Fields>, java.io.Serializable, Cloneable   {
-
 
35871
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getBannerMapDetails_result");
-
 
35872
 
-
 
35873
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
35874
 
-
 
35875
    private List<BannerMap> success; // required
-
 
35876
 
-
 
35877
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
35878
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
35879
      SUCCESS((short)0, "success");
-
 
35880
 
-
 
35881
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
35882
 
-
 
35883
      static {
-
 
35884
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
35885
          byName.put(field.getFieldName(), field);
-
 
35886
        }
-
 
35887
      }
-
 
35888
 
-
 
35889
      /**
-
 
35890
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
35891
       */
-
 
35892
      public static _Fields findByThriftId(int fieldId) {
-
 
35893
        switch(fieldId) {
-
 
35894
          case 0: // SUCCESS
-
 
35895
            return SUCCESS;
-
 
35896
          default:
-
 
35897
            return null;
-
 
35898
        }
-
 
35899
      }
-
 
35900
 
-
 
35901
      /**
-
 
35902
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
35903
       * if it is not found.
-
 
35904
       */
-
 
35905
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
35906
        _Fields fields = findByThriftId(fieldId);
-
 
35907
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
35908
        return fields;
-
 
35909
      }
-
 
35910
 
-
 
35911
      /**
-
 
35912
       * Find the _Fields constant that matches name, or null if its not found.
-
 
35913
       */
-
 
35914
      public static _Fields findByName(String name) {
-
 
35915
        return byName.get(name);
-
 
35916
      }
-
 
35917
 
-
 
35918
      private final short _thriftId;
-
 
35919
      private final String _fieldName;
-
 
35920
 
-
 
35921
      _Fields(short thriftId, String fieldName) {
-
 
35922
        _thriftId = thriftId;
-
 
35923
        _fieldName = fieldName;
-
 
35924
      }
-
 
35925
 
-
 
35926
      public short getThriftFieldId() {
-
 
35927
        return _thriftId;
-
 
35928
      }
-
 
35929
 
-
 
35930
      public String getFieldName() {
-
 
35931
        return _fieldName;
-
 
35932
      }
-
 
35933
    }
-
 
35934
 
-
 
35935
    // isset id assignments
-
 
35936
 
-
 
35937
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
35938
    static {
-
 
35939
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
35940
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
35941
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
35942
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, BannerMap.class))));
-
 
35943
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
35944
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getBannerMapDetails_result.class, metaDataMap);
-
 
35945
    }
-
 
35946
 
-
 
35947
    public getBannerMapDetails_result() {
-
 
35948
    }
-
 
35949
 
-
 
35950
    public getBannerMapDetails_result(
-
 
35951
      List<BannerMap> success)
-
 
35952
    {
-
 
35953
      this();
-
 
35954
      this.success = success;
-
 
35955
    }
-
 
35956
 
-
 
35957
    /**
-
 
35958
     * Performs a deep copy on <i>other</i>.
-
 
35959
     */
-
 
35960
    public getBannerMapDetails_result(getBannerMapDetails_result other) {
-
 
35961
      if (other.isSetSuccess()) {
-
 
35962
        List<BannerMap> __this__success = new ArrayList<BannerMap>();
-
 
35963
        for (BannerMap other_element : other.success) {
-
 
35964
          __this__success.add(new BannerMap(other_element));
-
 
35965
        }
-
 
35966
        this.success = __this__success;
-
 
35967
      }
-
 
35968
    }
-
 
35969
 
-
 
35970
    public getBannerMapDetails_result deepCopy() {
-
 
35971
      return new getBannerMapDetails_result(this);
-
 
35972
    }
-
 
35973
 
-
 
35974
    @Override
-
 
35975
    public void clear() {
-
 
35976
      this.success = null;
-
 
35977
    }
-
 
35978
 
-
 
35979
    public int getSuccessSize() {
-
 
35980
      return (this.success == null) ? 0 : this.success.size();
-
 
35981
    }
-
 
35982
 
-
 
35983
    public java.util.Iterator<BannerMap> getSuccessIterator() {
-
 
35984
      return (this.success == null) ? null : this.success.iterator();
-
 
35985
    }
-
 
35986
 
-
 
35987
    public void addToSuccess(BannerMap elem) {
-
 
35988
      if (this.success == null) {
-
 
35989
        this.success = new ArrayList<BannerMap>();
-
 
35990
      }
-
 
35991
      this.success.add(elem);
-
 
35992
    }
-
 
35993
 
-
 
35994
    public List<BannerMap> getSuccess() {
-
 
35995
      return this.success;
-
 
35996
    }
-
 
35997
 
-
 
35998
    public void setSuccess(List<BannerMap> success) {
-
 
35999
      this.success = success;
-
 
36000
    }
-
 
36001
 
-
 
36002
    public void unsetSuccess() {
-
 
36003
      this.success = null;
-
 
36004
    }
-
 
36005
 
-
 
36006
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
36007
    public boolean isSetSuccess() {
-
 
36008
      return this.success != null;
-
 
36009
    }
-
 
36010
 
-
 
36011
    public void setSuccessIsSet(boolean value) {
-
 
36012
      if (!value) {
-
 
36013
        this.success = null;
-
 
36014
      }
-
 
36015
    }
-
 
36016
 
-
 
36017
    public void setFieldValue(_Fields field, Object value) {
-
 
36018
      switch (field) {
-
 
36019
      case SUCCESS:
-
 
36020
        if (value == null) {
-
 
36021
          unsetSuccess();
-
 
36022
        } else {
-
 
36023
          setSuccess((List<BannerMap>)value);
-
 
36024
        }
-
 
36025
        break;
-
 
36026
 
-
 
36027
      }
-
 
36028
    }
-
 
36029
 
-
 
36030
    public Object getFieldValue(_Fields field) {
-
 
36031
      switch (field) {
-
 
36032
      case SUCCESS:
-
 
36033
        return getSuccess();
-
 
36034
 
-
 
36035
      }
-
 
36036
      throw new IllegalStateException();
-
 
36037
    }
-
 
36038
 
-
 
36039
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
36040
    public boolean isSet(_Fields field) {
-
 
36041
      if (field == null) {
-
 
36042
        throw new IllegalArgumentException();
-
 
36043
      }
-
 
36044
 
-
 
36045
      switch (field) {
-
 
36046
      case SUCCESS:
-
 
36047
        return isSetSuccess();
-
 
36048
      }
-
 
36049
      throw new IllegalStateException();
-
 
36050
    }
-
 
36051
 
-
 
36052
    @Override
-
 
36053
    public boolean equals(Object that) {
-
 
36054
      if (that == null)
-
 
36055
        return false;
-
 
36056
      if (that instanceof getBannerMapDetails_result)
-
 
36057
        return this.equals((getBannerMapDetails_result)that);
-
 
36058
      return false;
-
 
36059
    }
-
 
36060
 
-
 
36061
    public boolean equals(getBannerMapDetails_result that) {
-
 
36062
      if (that == null)
-
 
36063
        return false;
-
 
36064
 
-
 
36065
      boolean this_present_success = true && this.isSetSuccess();
-
 
36066
      boolean that_present_success = true && that.isSetSuccess();
-
 
36067
      if (this_present_success || that_present_success) {
-
 
36068
        if (!(this_present_success && that_present_success))
-
 
36069
          return false;
-
 
36070
        if (!this.success.equals(that.success))
-
 
36071
          return false;
-
 
36072
      }
-
 
36073
 
-
 
36074
      return true;
-
 
36075
    }
-
 
36076
 
-
 
36077
    @Override
-
 
36078
    public int hashCode() {
-
 
36079
      return 0;
-
 
36080
    }
-
 
36081
 
-
 
36082
    public int compareTo(getBannerMapDetails_result other) {
-
 
36083
      if (!getClass().equals(other.getClass())) {
-
 
36084
        return getClass().getName().compareTo(other.getClass().getName());
-
 
36085
      }
-
 
36086
 
-
 
36087
      int lastComparison = 0;
-
 
36088
      getBannerMapDetails_result typedOther = (getBannerMapDetails_result)other;
-
 
36089
 
-
 
36090
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
36091
      if (lastComparison != 0) {
-
 
36092
        return lastComparison;
-
 
36093
      }
-
 
36094
      if (isSetSuccess()) {
-
 
36095
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
36096
        if (lastComparison != 0) {
-
 
36097
          return lastComparison;
-
 
36098
        }
-
 
36099
      }
-
 
36100
      return 0;
-
 
36101
    }
-
 
36102
 
-
 
36103
    public _Fields fieldForId(int fieldId) {
-
 
36104
      return _Fields.findByThriftId(fieldId);
-
 
36105
    }
-
 
36106
 
-
 
36107
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
36108
      org.apache.thrift.protocol.TField field;
-
 
36109
      iprot.readStructBegin();
-
 
36110
      while (true)
-
 
36111
      {
-
 
36112
        field = iprot.readFieldBegin();
-
 
36113
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
36114
          break;
-
 
36115
        }
-
 
36116
        switch (field.id) {
-
 
36117
          case 0: // SUCCESS
-
 
36118
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
36119
              {
-
 
36120
                org.apache.thrift.protocol.TList _list94 = iprot.readListBegin();
-
 
36121
                this.success = new ArrayList<BannerMap>(_list94.size);
-
 
36122
                for (int _i95 = 0; _i95 < _list94.size; ++_i95)
-
 
36123
                {
-
 
36124
                  BannerMap _elem96; // required
-
 
36125
                  _elem96 = new BannerMap();
-
 
36126
                  _elem96.read(iprot);
-
 
36127
                  this.success.add(_elem96);
-
 
36128
                }
-
 
36129
                iprot.readListEnd();
-
 
36130
              }
-
 
36131
            } else { 
-
 
36132
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
36133
            }
-
 
36134
            break;
-
 
36135
          default:
-
 
36136
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
36137
        }
-
 
36138
        iprot.readFieldEnd();
-
 
36139
      }
-
 
36140
      iprot.readStructEnd();
-
 
36141
      validate();
-
 
36142
    }
-
 
36143
 
-
 
36144
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
36145
      oprot.writeStructBegin(STRUCT_DESC);
-
 
36146
 
-
 
36147
      if (this.isSetSuccess()) {
-
 
36148
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
36149
        {
-
 
36150
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
36151
          for (BannerMap _iter97 : this.success)
-
 
36152
          {
-
 
36153
            _iter97.write(oprot);
-
 
36154
          }
-
 
36155
          oprot.writeListEnd();
-
 
36156
        }
-
 
36157
        oprot.writeFieldEnd();
-
 
36158
      }
-
 
36159
      oprot.writeFieldStop();
-
 
36160
      oprot.writeStructEnd();
-
 
36161
    }
-
 
36162
 
-
 
36163
    @Override
-
 
36164
    public String toString() {
-
 
36165
      StringBuilder sb = new StringBuilder("getBannerMapDetails_result(");
-
 
36166
      boolean first = true;
-
 
36167
 
-
 
36168
      sb.append("success:");
-
 
36169
      if (this.success == null) {
-
 
36170
        sb.append("null");
-
 
36171
      } else {
-
 
36172
        sb.append(this.success);
-
 
36173
      }
-
 
36174
      first = false;
-
 
36175
      sb.append(")");
-
 
36176
      return sb.toString();
-
 
36177
    }
-
 
36178
 
-
 
36179
    public void validate() throws org.apache.thrift.TException {
-
 
36180
      // check for required fields
-
 
36181
    }
-
 
36182
 
-
 
36183
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
36184
      try {
-
 
36185
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
36186
      } catch (org.apache.thrift.TException te) {
-
 
36187
        throw new java.io.IOException(te);
-
 
36188
      }
-
 
36189
    }
-
 
36190
 
-
 
36191
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
36192
      try {
-
 
36193
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
36194
      } catch (org.apache.thrift.TException te) {
-
 
36195
        throw new java.io.IOException(te);
-
 
36196
      }
-
 
36197
    }
-
 
36198
 
-
 
36199
  }
-
 
36200
 
33988
  public static class deleteSimilarItem_args implements org.apache.thrift.TBase<deleteSimilarItem_args, deleteSimilarItem_args._Fields>, java.io.Serializable, Cloneable   {
36201
  public static class deleteSimilarItem_args implements org.apache.thrift.TBase<deleteSimilarItem_args, deleteSimilarItem_args._Fields>, java.io.Serializable, Cloneable   {
33989
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteSimilarItem_args");
36202
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteSimilarItem_args");
33990
 
36203
 
33991
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
36204
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
33992
    private static final org.apache.thrift.protocol.TField CATALOG_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("catalogItemId", org.apache.thrift.protocol.TType.I64, (short)2);
36205
    private static final org.apache.thrift.protocol.TField CATALOG_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("catalogItemId", org.apache.thrift.protocol.TType.I64, (short)2);
Line 37109... Line 39322...
37109
        }
39322
        }
37110
        switch (field.id) {
39323
        switch (field.id) {
37111
          case 0: // SUCCESS
39324
          case 0: // SUCCESS
37112
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39325
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37113
              {
39326
              {
37114
                org.apache.thrift.protocol.TList _list94 = iprot.readListBegin();
39327
                org.apache.thrift.protocol.TList _list98 = iprot.readListBegin();
37115
                this.success = new ArrayList<Item>(_list94.size);
39328
                this.success = new ArrayList<Item>(_list98.size);
37116
                for (int _i95 = 0; _i95 < _list94.size; ++_i95)
39329
                for (int _i99 = 0; _i99 < _list98.size; ++_i99)
37117
                {
39330
                {
37118
                  Item _elem96; // required
39331
                  Item _elem100; // required
37119
                  _elem96 = new Item();
39332
                  _elem100 = new Item();
37120
                  _elem96.read(iprot);
39333
                  _elem100.read(iprot);
37121
                  this.success.add(_elem96);
39334
                  this.success.add(_elem100);
37122
                }
39335
                }
37123
                iprot.readListEnd();
39336
                iprot.readListEnd();
37124
              }
39337
              }
37125
            } else { 
39338
            } else { 
37126
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
39339
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 37140... Line 39353...
37140
 
39353
 
37141
      if (this.isSetSuccess()) {
39354
      if (this.isSetSuccess()) {
37142
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
39355
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
37143
        {
39356
        {
37144
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
39357
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
37145
          for (Item _iter97 : this.success)
39358
          for (Item _iter101 : this.success)
37146
          {
39359
          {
37147
            _iter97.write(oprot);
39360
            _iter101.write(oprot);
37148
          }
39361
          }
37149
          oprot.writeListEnd();
39362
          oprot.writeListEnd();
37150
        }
39363
        }
37151
        oprot.writeFieldEnd();
39364
        oprot.writeFieldEnd();
37152
      }
39365
      }
Line 37822... Line 40035...
37822
        }
40035
        }
37823
        switch (field.id) {
40036
        switch (field.id) {
37824
          case 0: // SUCCESS
40037
          case 0: // SUCCESS
37825
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40038
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37826
              {
40039
              {
37827
                org.apache.thrift.protocol.TList _list98 = iprot.readListBegin();
40040
                org.apache.thrift.protocol.TList _list102 = iprot.readListBegin();
37828
                this.success = new ArrayList<Item>(_list98.size);
40041
                this.success = new ArrayList<Item>(_list102.size);
37829
                for (int _i99 = 0; _i99 < _list98.size; ++_i99)
40042
                for (int _i103 = 0; _i103 < _list102.size; ++_i103)
37830
                {
40043
                {
37831
                  Item _elem100; // required
40044
                  Item _elem104; // required
37832
                  _elem100 = new Item();
40045
                  _elem104 = new Item();
37833
                  _elem100.read(iprot);
40046
                  _elem104.read(iprot);
37834
                  this.success.add(_elem100);
40047
                  this.success.add(_elem104);
37835
                }
40048
                }
37836
                iprot.readListEnd();
40049
                iprot.readListEnd();
37837
              }
40050
              }
37838
            } else { 
40051
            } else { 
37839
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40052
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 37853... Line 40066...
37853
 
40066
 
37854
      if (this.isSetSuccess()) {
40067
      if (this.isSetSuccess()) {
37855
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40068
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
37856
        {
40069
        {
37857
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
40070
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
37858
          for (Item _iter101 : this.success)
40071
          for (Item _iter105 : this.success)
37859
          {
40072
          {
37860
            _iter101.write(oprot);
40073
            _iter105.write(oprot);
37861
          }
40074
          }
37862
          oprot.writeListEnd();
40075
          oprot.writeListEnd();
37863
        }
40076
        }
37864
        oprot.writeFieldEnd();
40077
        oprot.writeFieldEnd();
37865
      }
40078
      }
Line 38611... Line 40824...
38611
        }
40824
        }
38612
        switch (field.id) {
40825
        switch (field.id) {
38613
          case 0: // SUCCESS
40826
          case 0: // SUCCESS
38614
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40827
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38615
              {
40828
              {
38616
                org.apache.thrift.protocol.TList _list102 = iprot.readListBegin();
40829
                org.apache.thrift.protocol.TList _list106 = iprot.readListBegin();
38617
                this.success = new ArrayList<Long>(_list102.size);
40830
                this.success = new ArrayList<Long>(_list106.size);
38618
                for (int _i103 = 0; _i103 < _list102.size; ++_i103)
40831
                for (int _i107 = 0; _i107 < _list106.size; ++_i107)
38619
                {
40832
                {
38620
                  long _elem104; // required
40833
                  long _elem108; // required
38621
                  _elem104 = iprot.readI64();
40834
                  _elem108 = iprot.readI64();
38622
                  this.success.add(_elem104);
40835
                  this.success.add(_elem108);
38623
                }
40836
                }
38624
                iprot.readListEnd();
40837
                iprot.readListEnd();
38625
              }
40838
              }
38626
            } else { 
40839
            } else { 
38627
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40840
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 38641... Line 40854...
38641
 
40854
 
38642
      if (this.isSetSuccess()) {
40855
      if (this.isSetSuccess()) {
38643
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40856
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
38644
        {
40857
        {
38645
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
40858
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
38646
          for (long _iter105 : this.success)
40859
          for (long _iter109 : this.success)
38647
          {
40860
          {
38648
            oprot.writeI64(_iter105);
40861
            oprot.writeI64(_iter109);
38649
          }
40862
          }
38650
          oprot.writeListEnd();
40863
          oprot.writeListEnd();
38651
        }
40864
        }
38652
        oprot.writeFieldEnd();
40865
        oprot.writeFieldEnd();
38653
      }
40866
      }
Line 40403... Line 42616...
40403
        }
42616
        }
40404
        switch (field.id) {
42617
        switch (field.id) {
40405
          case 0: // SUCCESS
42618
          case 0: // SUCCESS
40406
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42619
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40407
              {
42620
              {
40408
                org.apache.thrift.protocol.TList _list106 = iprot.readListBegin();
42621
                org.apache.thrift.protocol.TList _list110 = iprot.readListBegin();
40409
                this.success = new ArrayList<String>(_list106.size);
42622
                this.success = new ArrayList<String>(_list110.size);
40410
                for (int _i107 = 0; _i107 < _list106.size; ++_i107)
42623
                for (int _i111 = 0; _i111 < _list110.size; ++_i111)
40411
                {
42624
                {
40412
                  String _elem108; // required
42625
                  String _elem112; // required
40413
                  _elem108 = iprot.readString();
42626
                  _elem112 = iprot.readString();
40414
                  this.success.add(_elem108);
42627
                  this.success.add(_elem112);
40415
                }
42628
                }
40416
                iprot.readListEnd();
42629
                iprot.readListEnd();
40417
              }
42630
              }
40418
            } else { 
42631
            } else { 
40419
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42632
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 40433... Line 42646...
40433
 
42646
 
40434
      if (this.isSetSuccess()) {
42647
      if (this.isSetSuccess()) {
40435
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42648
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40436
        {
42649
        {
40437
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
42650
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
40438
          for (String _iter109 : this.success)
42651
          for (String _iter113 : this.success)
40439
          {
42652
          {
40440
            oprot.writeString(_iter109);
42653
            oprot.writeString(_iter113);
40441
          }
42654
          }
40442
          oprot.writeListEnd();
42655
          oprot.writeListEnd();
40443
        }
42656
        }
40444
        oprot.writeFieldEnd();
42657
        oprot.writeFieldEnd();
40445
      }
42658
      }
Line 40933... Line 43146...
40933
        }
43146
        }
40934
        switch (field.id) {
43147
        switch (field.id) {
40935
          case 0: // SUCCESS
43148
          case 0: // SUCCESS
40936
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43149
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40937
              {
43150
              {
40938
                org.apache.thrift.protocol.TList _list110 = iprot.readListBegin();
43151
                org.apache.thrift.protocol.TList _list114 = iprot.readListBegin();
40939
                this.success = new ArrayList<String>(_list110.size);
43152
                this.success = new ArrayList<String>(_list114.size);
40940
                for (int _i111 = 0; _i111 < _list110.size; ++_i111)
43153
                for (int _i115 = 0; _i115 < _list114.size; ++_i115)
40941
                {
43154
                {
40942
                  String _elem112; // required
43155
                  String _elem116; // required
40943
                  _elem112 = iprot.readString();
43156
                  _elem116 = iprot.readString();
40944
                  this.success.add(_elem112);
43157
                  this.success.add(_elem116);
40945
                }
43158
                }
40946
                iprot.readListEnd();
43159
                iprot.readListEnd();
40947
              }
43160
              }
40948
            } else { 
43161
            } else { 
40949
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43162
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 40963... Line 43176...
40963
 
43176
 
40964
      if (this.isSetSuccess()) {
43177
      if (this.isSetSuccess()) {
40965
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43178
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40966
        {
43179
        {
40967
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
43180
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
40968
          for (String _iter113 : this.success)
43181
          for (String _iter117 : this.success)
40969
          {
43182
          {
40970
            oprot.writeString(_iter113);
43183
            oprot.writeString(_iter117);
40971
          }
43184
          }
40972
          oprot.writeListEnd();
43185
          oprot.writeListEnd();
40973
        }
43186
        }
40974
        oprot.writeFieldEnd();
43187
        oprot.writeFieldEnd();
40975
      }
43188
      }
Line 41463... Line 43676...
41463
        }
43676
        }
41464
        switch (field.id) {
43677
        switch (field.id) {
41465
          case 0: // SUCCESS
43678
          case 0: // SUCCESS
41466
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43679
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41467
              {
43680
              {
41468
                org.apache.thrift.protocol.TList _list114 = iprot.readListBegin();
43681
                org.apache.thrift.protocol.TList _list118 = iprot.readListBegin();
41469
                this.success = new ArrayList<Source>(_list114.size);
43682
                this.success = new ArrayList<Source>(_list118.size);
41470
                for (int _i115 = 0; _i115 < _list114.size; ++_i115)
43683
                for (int _i119 = 0; _i119 < _list118.size; ++_i119)
41471
                {
43684
                {
41472
                  Source _elem116; // required
43685
                  Source _elem120; // required
41473
                  _elem116 = new Source();
43686
                  _elem120 = new Source();
41474
                  _elem116.read(iprot);
43687
                  _elem120.read(iprot);
41475
                  this.success.add(_elem116);
43688
                  this.success.add(_elem120);
41476
                }
43689
                }
41477
                iprot.readListEnd();
43690
                iprot.readListEnd();
41478
              }
43691
              }
41479
            } else { 
43692
            } else { 
41480
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43693
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41494... Line 43707...
41494
 
43707
 
41495
      if (this.isSetSuccess()) {
43708
      if (this.isSetSuccess()) {
41496
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43709
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41497
        {
43710
        {
41498
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
43711
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41499
          for (Source _iter117 : this.success)
43712
          for (Source _iter121 : this.success)
41500
          {
43713
          {
41501
            _iter117.write(oprot);
43714
            _iter121.write(oprot);
41502
          }
43715
          }
41503
          oprot.writeListEnd();
43716
          oprot.writeListEnd();
41504
        }
43717
        }
41505
        oprot.writeFieldEnd();
43718
        oprot.writeFieldEnd();
41506
      }
43719
      }
Line 43500... Line 45713...
43500
        }
45713
        }
43501
        switch (field.id) {
45714
        switch (field.id) {
43502
          case 0: // SUCCESS
45715
          case 0: // SUCCESS
43503
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45716
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43504
              {
45717
              {
43505
                org.apache.thrift.protocol.TList _list118 = iprot.readListBegin();
45718
                org.apache.thrift.protocol.TList _list122 = iprot.readListBegin();
43506
                this.success = new ArrayList<SourceItemPricing>(_list118.size);
45719
                this.success = new ArrayList<SourceItemPricing>(_list122.size);
43507
                for (int _i119 = 0; _i119 < _list118.size; ++_i119)
45720
                for (int _i123 = 0; _i123 < _list122.size; ++_i123)
43508
                {
45721
                {
43509
                  SourceItemPricing _elem120; // required
45722
                  SourceItemPricing _elem124; // required
43510
                  _elem120 = new SourceItemPricing();
45723
                  _elem124 = new SourceItemPricing();
43511
                  _elem120.read(iprot);
45724
                  _elem124.read(iprot);
43512
                  this.success.add(_elem120);
45725
                  this.success.add(_elem124);
43513
                }
45726
                }
43514
                iprot.readListEnd();
45727
                iprot.readListEnd();
43515
              }
45728
              }
43516
            } else { 
45729
            } else { 
43517
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45730
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 43539... Line 45752...
43539
 
45752
 
43540
      if (this.isSetSuccess()) {
45753
      if (this.isSetSuccess()) {
43541
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
45754
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43542
        {
45755
        {
43543
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
45756
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
43544
          for (SourceItemPricing _iter121 : this.success)
45757
          for (SourceItemPricing _iter125 : this.success)
43545
          {
45758
          {
43546
            _iter121.write(oprot);
45759
            _iter125.write(oprot);
43547
          }
45760
          }
43548
          oprot.writeListEnd();
45761
          oprot.writeListEnd();
43549
        }
45762
        }
43550
        oprot.writeFieldEnd();
45763
        oprot.writeFieldEnd();
43551
      } else if (this.isSetCex()) {
45764
      } else if (this.isSetCex()) {
Line 44747... Line 46960...
44747
        }
46960
        }
44748
        switch (field.id) {
46961
        switch (field.id) {
44749
          case 1: // SEARCH_TERMS
46962
          case 1: // SEARCH_TERMS
44750
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46963
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44751
              {
46964
              {
44752
                org.apache.thrift.protocol.TList _list122 = iprot.readListBegin();
46965
                org.apache.thrift.protocol.TList _list126 = iprot.readListBegin();
44753
                this.searchTerms = new ArrayList<String>(_list122.size);
46966
                this.searchTerms = new ArrayList<String>(_list126.size);
44754
                for (int _i123 = 0; _i123 < _list122.size; ++_i123)
46967
                for (int _i127 = 0; _i127 < _list126.size; ++_i127)
44755
                {
46968
                {
44756
                  String _elem124; // required
46969
                  String _elem128; // required
44757
                  _elem124 = iprot.readString();
46970
                  _elem128 = iprot.readString();
44758
                  this.searchTerms.add(_elem124);
46971
                  this.searchTerms.add(_elem128);
44759
                }
46972
                }
44760
                iprot.readListEnd();
46973
                iprot.readListEnd();
44761
              }
46974
              }
44762
            } else { 
46975
            } else { 
44763
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
46976
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 44794... Line 47007...
44794
      oprot.writeStructBegin(STRUCT_DESC);
47007
      oprot.writeStructBegin(STRUCT_DESC);
44795
      if (this.searchTerms != null) {
47008
      if (this.searchTerms != null) {
44796
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
47009
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
44797
        {
47010
        {
44798
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
47011
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
44799
          for (String _iter125 : this.searchTerms)
47012
          for (String _iter129 : this.searchTerms)
44800
          {
47013
          {
44801
            oprot.writeString(_iter125);
47014
            oprot.writeString(_iter129);
44802
          }
47015
          }
44803
          oprot.writeListEnd();
47016
          oprot.writeListEnd();
44804
        }
47017
        }
44805
        oprot.writeFieldEnd();
47018
        oprot.writeFieldEnd();
44806
      }
47019
      }
Line 45108... Line 47321...
45108
        }
47321
        }
45109
        switch (field.id) {
47322
        switch (field.id) {
45110
          case 0: // SUCCESS
47323
          case 0: // SUCCESS
45111
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47324
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45112
              {
47325
              {
45113
                org.apache.thrift.protocol.TList _list126 = iprot.readListBegin();
47326
                org.apache.thrift.protocol.TList _list130 = iprot.readListBegin();
45114
                this.success = new ArrayList<Item>(_list126.size);
47327
                this.success = new ArrayList<Item>(_list130.size);
45115
                for (int _i127 = 0; _i127 < _list126.size; ++_i127)
47328
                for (int _i131 = 0; _i131 < _list130.size; ++_i131)
45116
                {
47329
                {
45117
                  Item _elem128; // required
47330
                  Item _elem132; // required
45118
                  _elem128 = new Item();
47331
                  _elem132 = new Item();
45119
                  _elem128.read(iprot);
47332
                  _elem132.read(iprot);
45120
                  this.success.add(_elem128);
47333
                  this.success.add(_elem132);
45121
                }
47334
                }
45122
                iprot.readListEnd();
47335
                iprot.readListEnd();
45123
              }
47336
              }
45124
            } else { 
47337
            } else { 
45125
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47338
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 45139... Line 47352...
45139
 
47352
 
45140
      if (this.isSetSuccess()) {
47353
      if (this.isSetSuccess()) {
45141
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47354
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
45142
        {
47355
        {
45143
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47356
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
45144
          for (Item _iter129 : this.success)
47357
          for (Item _iter133 : this.success)
45145
          {
47358
          {
45146
            _iter129.write(oprot);
47359
            _iter133.write(oprot);
45147
          }
47360
          }
45148
          oprot.writeListEnd();
47361
          oprot.writeListEnd();
45149
        }
47362
        }
45150
        oprot.writeFieldEnd();
47363
        oprot.writeFieldEnd();
45151
      }
47364
      }
Line 45439... Line 47652...
45439
        }
47652
        }
45440
        switch (field.id) {
47653
        switch (field.id) {
45441
          case 1: // SEARCH_TERMS
47654
          case 1: // SEARCH_TERMS
45442
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47655
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45443
              {
47656
              {
45444
                org.apache.thrift.protocol.TList _list130 = iprot.readListBegin();
47657
                org.apache.thrift.protocol.TList _list134 = iprot.readListBegin();
45445
                this.searchTerms = new ArrayList<String>(_list130.size);
47658
                this.searchTerms = new ArrayList<String>(_list134.size);
45446
                for (int _i131 = 0; _i131 < _list130.size; ++_i131)
47659
                for (int _i135 = 0; _i135 < _list134.size; ++_i135)
45447
                {
47660
                {
45448
                  String _elem132; // required
47661
                  String _elem136; // required
45449
                  _elem132 = iprot.readString();
47662
                  _elem136 = iprot.readString();
45450
                  this.searchTerms.add(_elem132);
47663
                  this.searchTerms.add(_elem136);
45451
                }
47664
                }
45452
                iprot.readListEnd();
47665
                iprot.readListEnd();
45453
              }
47666
              }
45454
            } else { 
47667
            } else { 
45455
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47668
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 45470... Line 47683...
45470
      oprot.writeStructBegin(STRUCT_DESC);
47683
      oprot.writeStructBegin(STRUCT_DESC);
45471
      if (this.searchTerms != null) {
47684
      if (this.searchTerms != null) {
45472
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
47685
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
45473
        {
47686
        {
45474
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
47687
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
45475
          for (String _iter133 : this.searchTerms)
47688
          for (String _iter137 : this.searchTerms)
45476
          {
47689
          {
45477
            oprot.writeString(_iter133);
47690
            oprot.writeString(_iter137);
45478
          }
47691
          }
45479
          oprot.writeListEnd();
47692
          oprot.writeListEnd();
45480
        }
47693
        }
45481
        oprot.writeFieldEnd();
47694
        oprot.writeFieldEnd();
45482
      }
47695
      }
Line 46357... Line 48570...
46357
        }
48570
        }
46358
        switch (field.id) {
48571
        switch (field.id) {
46359
          case 0: // SUCCESS
48572
          case 0: // SUCCESS
46360
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48573
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46361
              {
48574
              {
46362
                org.apache.thrift.protocol.TList _list134 = iprot.readListBegin();
48575
                org.apache.thrift.protocol.TList _list138 = iprot.readListBegin();
46363
                this.success = new ArrayList<ProductNotificationRequest>(_list134.size);
48576
                this.success = new ArrayList<ProductNotificationRequest>(_list138.size);
46364
                for (int _i135 = 0; _i135 < _list134.size; ++_i135)
48577
                for (int _i139 = 0; _i139 < _list138.size; ++_i139)
46365
                {
48578
                {
46366
                  ProductNotificationRequest _elem136; // required
48579
                  ProductNotificationRequest _elem140; // required
46367
                  _elem136 = new ProductNotificationRequest();
48580
                  _elem140 = new ProductNotificationRequest();
46368
                  _elem136.read(iprot);
48581
                  _elem140.read(iprot);
46369
                  this.success.add(_elem136);
48582
                  this.success.add(_elem140);
46370
                }
48583
                }
46371
                iprot.readListEnd();
48584
                iprot.readListEnd();
46372
              }
48585
              }
46373
            } else { 
48586
            } else { 
46374
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48587
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46388... Line 48601...
46388
 
48601
 
46389
      if (this.isSetSuccess()) {
48602
      if (this.isSetSuccess()) {
46390
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48603
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46391
        {
48604
        {
46392
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
48605
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
46393
          for (ProductNotificationRequest _iter137 : this.success)
48606
          for (ProductNotificationRequest _iter141 : this.success)
46394
          {
48607
          {
46395
            _iter137.write(oprot);
48608
            _iter141.write(oprot);
46396
          }
48609
          }
46397
          oprot.writeListEnd();
48610
          oprot.writeListEnd();
46398
        }
48611
        }
46399
        oprot.writeFieldEnd();
48612
        oprot.writeFieldEnd();
46400
      }
48613
      }
Line 46982... Line 49195...
46982
        }
49195
        }
46983
        switch (field.id) {
49196
        switch (field.id) {
46984
          case 0: // SUCCESS
49197
          case 0: // SUCCESS
46985
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49198
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46986
              {
49199
              {
46987
                org.apache.thrift.protocol.TList _list138 = iprot.readListBegin();
49200
                org.apache.thrift.protocol.TList _list142 = iprot.readListBegin();
46988
                this.success = new ArrayList<ProductNotificationRequestCount>(_list138.size);
49201
                this.success = new ArrayList<ProductNotificationRequestCount>(_list142.size);
46989
                for (int _i139 = 0; _i139 < _list138.size; ++_i139)
49202
                for (int _i143 = 0; _i143 < _list142.size; ++_i143)
46990
                {
49203
                {
46991
                  ProductNotificationRequestCount _elem140; // required
49204
                  ProductNotificationRequestCount _elem144; // required
46992
                  _elem140 = new ProductNotificationRequestCount();
49205
                  _elem144 = new ProductNotificationRequestCount();
46993
                  _elem140.read(iprot);
49206
                  _elem144.read(iprot);
46994
                  this.success.add(_elem140);
49207
                  this.success.add(_elem144);
46995
                }
49208
                }
46996
                iprot.readListEnd();
49209
                iprot.readListEnd();
46997
              }
49210
              }
46998
            } else { 
49211
            } else { 
46999
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
49212
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 47013... Line 49226...
47013
 
49226
 
47014
      if (this.isSetSuccess()) {
49227
      if (this.isSetSuccess()) {
47015
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49228
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47016
        {
49229
        {
47017
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
49230
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47018
          for (ProductNotificationRequestCount _iter141 : this.success)
49231
          for (ProductNotificationRequestCount _iter145 : this.success)
47019
          {
49232
          {
47020
            _iter141.write(oprot);
49233
            _iter145.write(oprot);
47021
          }
49234
          }
47022
          oprot.writeListEnd();
49235
          oprot.writeListEnd();
47023
        }
49236
        }
47024
        oprot.writeFieldEnd();
49237
        oprot.writeFieldEnd();
47025
      }
49238
      }
Line 48432... Line 50645...
48432
        }
50645
        }
48433
        switch (field.id) {
50646
        switch (field.id) {
48434
          case 0: // SUCCESS
50647
          case 0: // SUCCESS
48435
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50648
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48436
              {
50649
              {
48437
                org.apache.thrift.protocol.TList _list142 = iprot.readListBegin();
50650
                org.apache.thrift.protocol.TList _list146 = iprot.readListBegin();
48438
                this.success = new ArrayList<Long>(_list142.size);
50651
                this.success = new ArrayList<Long>(_list146.size);
48439
                for (int _i143 = 0; _i143 < _list142.size; ++_i143)
50652
                for (int _i147 = 0; _i147 < _list146.size; ++_i147)
48440
                {
50653
                {
48441
                  long _elem144; // required
50654
                  long _elem148; // required
48442
                  _elem144 = iprot.readI64();
50655
                  _elem148 = iprot.readI64();
48443
                  this.success.add(_elem144);
50656
                  this.success.add(_elem148);
48444
                }
50657
                }
48445
                iprot.readListEnd();
50658
                iprot.readListEnd();
48446
              }
50659
              }
48447
            } else { 
50660
            } else { 
48448
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
50661
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 48470... Line 50683...
48470
 
50683
 
48471
      if (this.isSetSuccess()) {
50684
      if (this.isSetSuccess()) {
48472
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50685
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48473
        {
50686
        {
48474
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
50687
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
48475
          for (long _iter145 : this.success)
50688
          for (long _iter149 : this.success)
48476
          {
50689
          {
48477
            oprot.writeI64(_iter145);
50690
            oprot.writeI64(_iter149);
48478
          }
50691
          }
48479
          oprot.writeListEnd();
50692
          oprot.writeListEnd();
48480
        }
50693
        }
48481
        oprot.writeFieldEnd();
50694
        oprot.writeFieldEnd();
48482
      } else if (this.isSetCex()) {
50695
      } else if (this.isSetCex()) {
Line 48982... Line 51195...
48982
      }
51195
      }
48983
    }
51196
    }
48984
 
51197
 
48985
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
51198
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
48986
      try {
51199
      try {
48987
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
48988
        __isset_bit_vector = new BitSet(1);
-
 
48989
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
51200
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
48990
      } catch (org.apache.thrift.TException te) {
51201
      } catch (org.apache.thrift.TException te) {
48991
        throw new java.io.IOException(te);
51202
        throw new java.io.IOException(te);
48992
      }
51203
      }
48993
    }
51204
    }
Line 51085... Line 53296...
51085
      }
53296
      }
51086
    }
53297
    }
51087
 
53298
 
51088
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
53299
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
51089
      try {
53300
      try {
-
 
53301
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
53302
        __isset_bit_vector = new BitSet(1);
51090
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
53303
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
51091
      } catch (org.apache.thrift.TException te) {
53304
      } catch (org.apache.thrift.TException te) {
51092
        throw new java.io.IOException(te);
53305
        throw new java.io.IOException(te);
51093
      }
53306
      }
51094
    }
53307
    }
Line 51343... Line 53556...
51343
        }
53556
        }
51344
        switch (field.id) {
53557
        switch (field.id) {
51345
          case 0: // SUCCESS
53558
          case 0: // SUCCESS
51346
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53559
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
51347
              {
53560
              {
51348
                org.apache.thrift.protocol.TList _list146 = iprot.readListBegin();
53561
                org.apache.thrift.protocol.TList _list150 = iprot.readListBegin();
51349
                this.success = new ArrayList<VoucherItemMapping>(_list146.size);
53562
                this.success = new ArrayList<VoucherItemMapping>(_list150.size);
51350
                for (int _i147 = 0; _i147 < _list146.size; ++_i147)
53563
                for (int _i151 = 0; _i151 < _list150.size; ++_i151)
51351
                {
53564
                {
51352
                  VoucherItemMapping _elem148; // required
53565
                  VoucherItemMapping _elem152; // required
51353
                  _elem148 = new VoucherItemMapping();
53566
                  _elem152 = new VoucherItemMapping();
51354
                  _elem148.read(iprot);
53567
                  _elem152.read(iprot);
51355
                  this.success.add(_elem148);
53568
                  this.success.add(_elem152);
51356
                }
53569
                }
51357
                iprot.readListEnd();
53570
                iprot.readListEnd();
51358
              }
53571
              }
51359
            } else { 
53572
            } else { 
51360
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
53573
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 51374... Line 53587...
51374
 
53587
 
51375
      if (this.isSetSuccess()) {
53588
      if (this.isSetSuccess()) {
51376
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53589
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
51377
        {
53590
        {
51378
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
53591
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
51379
          for (VoucherItemMapping _iter149 : this.success)
53592
          for (VoucherItemMapping _iter153 : this.success)
51380
          {
53593
          {
51381
            _iter149.write(oprot);
53594
            _iter153.write(oprot);
51382
          }
53595
          }
51383
          oprot.writeListEnd();
53596
          oprot.writeListEnd();
51384
        }
53597
        }
51385
        oprot.writeFieldEnd();
53598
        oprot.writeFieldEnd();
51386
      }
53599
      }
Line 51708... Line 53921...
51708
      }
53921
      }
51709
    }
53922
    }
51710
 
53923
 
51711
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
53924
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
51712
      try {
53925
      try {
-
 
53926
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
53927
        __isset_bit_vector = new BitSet(1);
51713
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
53928
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
51714
      } catch (org.apache.thrift.TException te) {
53929
      } catch (org.apache.thrift.TException te) {
51715
        throw new java.io.IOException(te);
53930
        throw new java.io.IOException(te);
51716
      }
53931
      }
51717
    }
53932
    }
Line 53976... Line 56191...
53976
        }
56191
        }
53977
        switch (field.id) {
56192
        switch (field.id) {
53978
          case 0: // SUCCESS
56193
          case 0: // SUCCESS
53979
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56194
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53980
              {
56195
              {
53981
                org.apache.thrift.protocol.TList _list150 = iprot.readListBegin();
56196
                org.apache.thrift.protocol.TList _list154 = iprot.readListBegin();
53982
                this.success = new ArrayList<Item>(_list150.size);
56197
                this.success = new ArrayList<Item>(_list154.size);
53983
                for (int _i151 = 0; _i151 < _list150.size; ++_i151)
56198
                for (int _i155 = 0; _i155 < _list154.size; ++_i155)
53984
                {
56199
                {
53985
                  Item _elem152; // required
56200
                  Item _elem156; // required
53986
                  _elem152 = new Item();
56201
                  _elem156 = new Item();
53987
                  _elem152.read(iprot);
56202
                  _elem156.read(iprot);
53988
                  this.success.add(_elem152);
56203
                  this.success.add(_elem156);
53989
                }
56204
                }
53990
                iprot.readListEnd();
56205
                iprot.readListEnd();
53991
              }
56206
              }
53992
            } else { 
56207
            } else { 
53993
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
56208
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 54007... Line 56222...
54007
 
56222
 
54008
      if (this.isSetSuccess()) {
56223
      if (this.isSetSuccess()) {
54009
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
56224
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54010
        {
56225
        {
54011
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
56226
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
54012
          for (Item _iter153 : this.success)
56227
          for (Item _iter157 : this.success)
54013
          {
56228
          {
54014
            _iter153.write(oprot);
56229
            _iter157.write(oprot);
54015
          }
56230
          }
54016
          oprot.writeListEnd();
56231
          oprot.writeListEnd();
54017
        }
56232
        }
54018
        oprot.writeFieldEnd();
56233
        oprot.writeFieldEnd();
54019
      }
56234
      }
Line 54507... Line 56722...
54507
        }
56722
        }
54508
        switch (field.id) {
56723
        switch (field.id) {
54509
          case 0: // SUCCESS
56724
          case 0: // SUCCESS
54510
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56725
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54511
              {
56726
              {
54512
                org.apache.thrift.protocol.TList _list154 = iprot.readListBegin();
56727
                org.apache.thrift.protocol.TList _list158 = iprot.readListBegin();
54513
                this.success = new ArrayList<Item>(_list154.size);
56728
                this.success = new ArrayList<Item>(_list158.size);
54514
                for (int _i155 = 0; _i155 < _list154.size; ++_i155)
56729
                for (int _i159 = 0; _i159 < _list158.size; ++_i159)
54515
                {
56730
                {
54516
                  Item _elem156; // required
56731
                  Item _elem160; // required
54517
                  _elem156 = new Item();
56732
                  _elem160 = new Item();
54518
                  _elem156.read(iprot);
56733
                  _elem160.read(iprot);
54519
                  this.success.add(_elem156);
56734
                  this.success.add(_elem160);
54520
                }
56735
                }
54521
                iprot.readListEnd();
56736
                iprot.readListEnd();
54522
              }
56737
              }
54523
            } else { 
56738
            } else { 
54524
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
56739
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 54538... Line 56753...
54538
 
56753
 
54539
      if (this.isSetSuccess()) {
56754
      if (this.isSetSuccess()) {
54540
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
56755
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54541
        {
56756
        {
54542
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
56757
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
54543
          for (Item _iter157 : this.success)
56758
          for (Item _iter161 : this.success)
54544
          {
56759
          {
54545
            _iter157.write(oprot);
56760
            _iter161.write(oprot);
54546
          }
56761
          }
54547
          oprot.writeListEnd();
56762
          oprot.writeListEnd();
54548
        }
56763
        }
54549
        oprot.writeFieldEnd();
56764
        oprot.writeFieldEnd();
54550
      }
56765
      }
Line 56377... Line 58592...
56377
        }
58592
        }
56378
        switch (field.id) {
58593
        switch (field.id) {
56379
          case 0: // SUCCESS
58594
          case 0: // SUCCESS
56380
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58595
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56381
              {
58596
              {
56382
                org.apache.thrift.protocol.TList _list149 = iprot.readListBegin();
58597
                org.apache.thrift.protocol.TList _list162 = iprot.readListBegin();
56383
                this.success = new ArrayList<Insurer>(_list149.size);
58598
                this.success = new ArrayList<Insurer>(_list162.size);
56384
                for (int _i150 = 0; _i150 < _list149.size; ++_i150)
58599
                for (int _i163 = 0; _i163 < _list162.size; ++_i163)
56385
                {
58600
                {
56386
                  Insurer _elem151; // required
58601
                  Insurer _elem164; // required
56387
                  _elem151 = new Insurer();
58602
                  _elem164 = new Insurer();
56388
                  _elem151.read(iprot);
58603
                  _elem164.read(iprot);
56389
                  this.success.add(_elem151);
58604
                  this.success.add(_elem164);
56390
                }
58605
                }
56391
                iprot.readListEnd();
58606
                iprot.readListEnd();
56392
              }
58607
              }
56393
            } else { 
58608
            } else { 
56394
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58609
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 56408... Line 58623...
56408
 
58623
 
56409
      if (this.isSetSuccess()) {
58624
      if (this.isSetSuccess()) {
56410
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58625
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
56411
        {
58626
        {
56412
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
58627
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
56413
          for (Insurer _iter152 : this.success)
58628
          for (Insurer _iter165 : this.success)
56414
          {
58629
          {
56415
            _iter152.write(oprot);
58630
            _iter165.write(oprot);
56416
          }
58631
          }
56417
          oprot.writeListEnd();
58632
          oprot.writeListEnd();
56418
        }
58633
        }
56419
        oprot.writeFieldEnd();
58634
        oprot.writeFieldEnd();
56420
      }
58635
      }