Subversion Repositories SmartDukaan

Rev

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

Rev 9568 Rev 9621
Line 484... Line 484...
484
 
484
 
485
    public long getPrefferedInsurerForItem(long itemId, InsurerType insurerType) throws org.apache.thrift.TException;
485
    public long getPrefferedInsurerForItem(long itemId, InsurerType insurerType) throws org.apache.thrift.TException;
486
 
486
 
487
    public SnapdealItem getSnapdealItembySkuAtSnapdeal(String skuAtSnapdeal) throws org.apache.thrift.TException;
487
    public SnapdealItem getSnapdealItembySkuAtSnapdeal(String skuAtSnapdeal) throws org.apache.thrift.TException;
488
 
488
 
-
 
489
    public ProductFeedSubmit getProductFeedSubmit(long catalogItemId) throws CatalogServiceException, org.apache.thrift.TException;
-
 
490
 
-
 
491
    public boolean addProductFeedSubmit(ProductFeedSubmit productFeedSubmit) throws CatalogServiceException, org.apache.thrift.TException;
-
 
492
 
-
 
493
    public boolean updateProductFeedSubmit(ProductFeedSubmit productFeedSubmit) throws CatalogServiceException, org.apache.thrift.TException;
-
 
494
 
-
 
495
    public boolean deleteProductFeedSubmit(long catalogItemId) throws CatalogServiceException, org.apache.thrift.TException;
-
 
496
 
-
 
497
    public List<ProductFeedSubmit> getAllProductFeedSubmit() throws CatalogServiceException, org.apache.thrift.TException;
-
 
498
 
489
  }
499
  }
490
 
500
 
491
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
501
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
492
 
502
 
493
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
503
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
Line 752... Line 762...
752
 
762
 
753
    public void getPrefferedInsurerForItem(long itemId, InsurerType insurerType, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPrefferedInsurerForItem_call> resultHandler) throws org.apache.thrift.TException;
763
    public void getPrefferedInsurerForItem(long itemId, InsurerType insurerType, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPrefferedInsurerForItem_call> resultHandler) throws org.apache.thrift.TException;
754
 
764
 
755
    public void getSnapdealItembySkuAtSnapdeal(String skuAtSnapdeal, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSnapdealItembySkuAtSnapdeal_call> resultHandler) throws org.apache.thrift.TException;
765
    public void getSnapdealItembySkuAtSnapdeal(String skuAtSnapdeal, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSnapdealItembySkuAtSnapdeal_call> resultHandler) throws org.apache.thrift.TException;
756
 
766
 
-
 
767
    public void getProductFeedSubmit(long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getProductFeedSubmit_call> resultHandler) throws org.apache.thrift.TException;
-
 
768
 
-
 
769
    public void addProductFeedSubmit(ProductFeedSubmit productFeedSubmit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addProductFeedSubmit_call> resultHandler) throws org.apache.thrift.TException;
-
 
770
 
-
 
771
    public void updateProductFeedSubmit(ProductFeedSubmit productFeedSubmit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateProductFeedSubmit_call> resultHandler) throws org.apache.thrift.TException;
-
 
772
 
-
 
773
    public void deleteProductFeedSubmit(long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteProductFeedSubmit_call> resultHandler) throws org.apache.thrift.TException;
-
 
774
 
-
 
775
    public void getAllProductFeedSubmit(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllProductFeedSubmit_call> resultHandler) throws org.apache.thrift.TException;
-
 
776
 
757
  }
777
  }
758
 
778
 
759
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
779
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
760
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
780
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
761
      public Factory() {}
781
      public Factory() {}
Line 3900... Line 3920...
3900
        return result.success;
3920
        return result.success;
3901
      }
3921
      }
3902
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSnapdealItembySkuAtSnapdeal failed: unknown result");
3922
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSnapdealItembySkuAtSnapdeal failed: unknown result");
3903
    }
3923
    }
3904
 
3924
 
-
 
3925
    public ProductFeedSubmit getProductFeedSubmit(long catalogItemId) throws CatalogServiceException, org.apache.thrift.TException
-
 
3926
    {
-
 
3927
      send_getProductFeedSubmit(catalogItemId);
-
 
3928
      return recv_getProductFeedSubmit();
-
 
3929
    }
-
 
3930
 
-
 
3931
    public void send_getProductFeedSubmit(long catalogItemId) throws org.apache.thrift.TException
-
 
3932
    {
-
 
3933
      getProductFeedSubmit_args args = new getProductFeedSubmit_args();
-
 
3934
      args.setCatalogItemId(catalogItemId);
-
 
3935
      sendBase("getProductFeedSubmit", args);
-
 
3936
    }
-
 
3937
 
-
 
3938
    public ProductFeedSubmit recv_getProductFeedSubmit() throws CatalogServiceException, org.apache.thrift.TException
-
 
3939
    {
-
 
3940
      getProductFeedSubmit_result result = new getProductFeedSubmit_result();
-
 
3941
      receiveBase(result, "getProductFeedSubmit");
-
 
3942
      if (result.isSetSuccess()) {
-
 
3943
        return result.success;
-
 
3944
      }
-
 
3945
      if (result.cex != null) {
-
 
3946
        throw result.cex;
-
 
3947
      }
-
 
3948
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getProductFeedSubmit failed: unknown result");
-
 
3949
    }
-
 
3950
 
-
 
3951
    public boolean addProductFeedSubmit(ProductFeedSubmit productFeedSubmit) throws CatalogServiceException, org.apache.thrift.TException
-
 
3952
    {
-
 
3953
      send_addProductFeedSubmit(productFeedSubmit);
-
 
3954
      return recv_addProductFeedSubmit();
-
 
3955
    }
-
 
3956
 
-
 
3957
    public void send_addProductFeedSubmit(ProductFeedSubmit productFeedSubmit) throws org.apache.thrift.TException
-
 
3958
    {
-
 
3959
      addProductFeedSubmit_args args = new addProductFeedSubmit_args();
-
 
3960
      args.setProductFeedSubmit(productFeedSubmit);
-
 
3961
      sendBase("addProductFeedSubmit", args);
-
 
3962
    }
-
 
3963
 
-
 
3964
    public boolean recv_addProductFeedSubmit() throws CatalogServiceException, org.apache.thrift.TException
-
 
3965
    {
-
 
3966
      addProductFeedSubmit_result result = new addProductFeedSubmit_result();
-
 
3967
      receiveBase(result, "addProductFeedSubmit");
-
 
3968
      if (result.isSetSuccess()) {
-
 
3969
        return result.success;
-
 
3970
      }
-
 
3971
      if (result.cex != null) {
-
 
3972
        throw result.cex;
-
 
3973
      }
-
 
3974
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addProductFeedSubmit failed: unknown result");
-
 
3975
    }
-
 
3976
 
-
 
3977
    public boolean updateProductFeedSubmit(ProductFeedSubmit productFeedSubmit) throws CatalogServiceException, org.apache.thrift.TException
-
 
3978
    {
-
 
3979
      send_updateProductFeedSubmit(productFeedSubmit);
-
 
3980
      return recv_updateProductFeedSubmit();
-
 
3981
    }
-
 
3982
 
-
 
3983
    public void send_updateProductFeedSubmit(ProductFeedSubmit productFeedSubmit) throws org.apache.thrift.TException
-
 
3984
    {
-
 
3985
      updateProductFeedSubmit_args args = new updateProductFeedSubmit_args();
-
 
3986
      args.setProductFeedSubmit(productFeedSubmit);
-
 
3987
      sendBase("updateProductFeedSubmit", args);
-
 
3988
    }
-
 
3989
 
-
 
3990
    public boolean recv_updateProductFeedSubmit() throws CatalogServiceException, org.apache.thrift.TException
-
 
3991
    {
-
 
3992
      updateProductFeedSubmit_result result = new updateProductFeedSubmit_result();
-
 
3993
      receiveBase(result, "updateProductFeedSubmit");
-
 
3994
      if (result.isSetSuccess()) {
-
 
3995
        return result.success;
-
 
3996
      }
-
 
3997
      if (result.cex != null) {
-
 
3998
        throw result.cex;
-
 
3999
      }
-
 
4000
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateProductFeedSubmit failed: unknown result");
-
 
4001
    }
-
 
4002
 
-
 
4003
    public boolean deleteProductFeedSubmit(long catalogItemId) throws CatalogServiceException, org.apache.thrift.TException
-
 
4004
    {
-
 
4005
      send_deleteProductFeedSubmit(catalogItemId);
-
 
4006
      return recv_deleteProductFeedSubmit();
-
 
4007
    }
-
 
4008
 
-
 
4009
    public void send_deleteProductFeedSubmit(long catalogItemId) throws org.apache.thrift.TException
-
 
4010
    {
-
 
4011
      deleteProductFeedSubmit_args args = new deleteProductFeedSubmit_args();
-
 
4012
      args.setCatalogItemId(catalogItemId);
-
 
4013
      sendBase("deleteProductFeedSubmit", args);
-
 
4014
    }
-
 
4015
 
-
 
4016
    public boolean recv_deleteProductFeedSubmit() throws CatalogServiceException, org.apache.thrift.TException
-
 
4017
    {
-
 
4018
      deleteProductFeedSubmit_result result = new deleteProductFeedSubmit_result();
-
 
4019
      receiveBase(result, "deleteProductFeedSubmit");
-
 
4020
      if (result.isSetSuccess()) {
-
 
4021
        return result.success;
-
 
4022
      }
-
 
4023
      if (result.cex != null) {
-
 
4024
        throw result.cex;
-
 
4025
      }
-
 
4026
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteProductFeedSubmit failed: unknown result");
-
 
4027
    }
-
 
4028
 
-
 
4029
    public List<ProductFeedSubmit> getAllProductFeedSubmit() throws CatalogServiceException, org.apache.thrift.TException
-
 
4030
    {
-
 
4031
      send_getAllProductFeedSubmit();
-
 
4032
      return recv_getAllProductFeedSubmit();
-
 
4033
    }
-
 
4034
 
-
 
4035
    public void send_getAllProductFeedSubmit() throws org.apache.thrift.TException
-
 
4036
    {
-
 
4037
      getAllProductFeedSubmit_args args = new getAllProductFeedSubmit_args();
-
 
4038
      sendBase("getAllProductFeedSubmit", args);
-
 
4039
    }
-
 
4040
 
-
 
4041
    public List<ProductFeedSubmit> recv_getAllProductFeedSubmit() throws CatalogServiceException, org.apache.thrift.TException
-
 
4042
    {
-
 
4043
      getAllProductFeedSubmit_result result = new getAllProductFeedSubmit_result();
-
 
4044
      receiveBase(result, "getAllProductFeedSubmit");
-
 
4045
      if (result.isSetSuccess()) {
-
 
4046
        return result.success;
-
 
4047
      }
-
 
4048
      if (result.cex != null) {
-
 
4049
        throw result.cex;
-
 
4050
      }
-
 
4051
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllProductFeedSubmit failed: unknown result");
-
 
4052
    }
-
 
4053
 
3905
  }
4054
  }
3906
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
4055
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
3907
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
4056
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
3908
      private org.apache.thrift.async.TAsyncClientManager clientManager;
4057
      private org.apache.thrift.async.TAsyncClientManager clientManager;
3909
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
4058
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 8259... Line 8408...
8259
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8408
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8260
        return (new Client(prot)).recv_getSnapdealItembySkuAtSnapdeal();
8409
        return (new Client(prot)).recv_getSnapdealItembySkuAtSnapdeal();
8261
      }
8410
      }
8262
    }
8411
    }
8263
 
8412
 
-
 
8413
    public void getProductFeedSubmit(long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<getProductFeedSubmit_call> resultHandler) throws org.apache.thrift.TException {
-
 
8414
      checkReady();
-
 
8415
      getProductFeedSubmit_call method_call = new getProductFeedSubmit_call(catalogItemId, resultHandler, this, ___protocolFactory, ___transport);
-
 
8416
      this.___currentMethod = method_call;
-
 
8417
      ___manager.call(method_call);
-
 
8418
    }
-
 
8419
 
-
 
8420
    public static class getProductFeedSubmit_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8421
      private long catalogItemId;
-
 
8422
      public getProductFeedSubmit_call(long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<getProductFeedSubmit_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 {
-
 
8423
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8424
        this.catalogItemId = catalogItemId;
-
 
8425
      }
-
 
8426
 
-
 
8427
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
8428
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getProductFeedSubmit", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
8429
        getProductFeedSubmit_args args = new getProductFeedSubmit_args();
-
 
8430
        args.setCatalogItemId(catalogItemId);
-
 
8431
        args.write(prot);
-
 
8432
        prot.writeMessageEnd();
-
 
8433
      }
-
 
8434
 
-
 
8435
      public ProductFeedSubmit getResult() throws CatalogServiceException, org.apache.thrift.TException {
-
 
8436
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
8437
          throw new IllegalStateException("Method call not finished!");
-
 
8438
        }
-
 
8439
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
8440
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
8441
        return (new Client(prot)).recv_getProductFeedSubmit();
-
 
8442
      }
-
 
8443
    }
-
 
8444
 
-
 
8445
    public void addProductFeedSubmit(ProductFeedSubmit productFeedSubmit, org.apache.thrift.async.AsyncMethodCallback<addProductFeedSubmit_call> resultHandler) throws org.apache.thrift.TException {
-
 
8446
      checkReady();
-
 
8447
      addProductFeedSubmit_call method_call = new addProductFeedSubmit_call(productFeedSubmit, resultHandler, this, ___protocolFactory, ___transport);
-
 
8448
      this.___currentMethod = method_call;
-
 
8449
      ___manager.call(method_call);
-
 
8450
    }
-
 
8451
 
-
 
8452
    public static class addProductFeedSubmit_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8453
      private ProductFeedSubmit productFeedSubmit;
-
 
8454
      public addProductFeedSubmit_call(ProductFeedSubmit productFeedSubmit, org.apache.thrift.async.AsyncMethodCallback<addProductFeedSubmit_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 {
-
 
8455
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8456
        this.productFeedSubmit = productFeedSubmit;
-
 
8457
      }
-
 
8458
 
-
 
8459
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
8460
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addProductFeedSubmit", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
8461
        addProductFeedSubmit_args args = new addProductFeedSubmit_args();
-
 
8462
        args.setProductFeedSubmit(productFeedSubmit);
-
 
8463
        args.write(prot);
-
 
8464
        prot.writeMessageEnd();
-
 
8465
      }
-
 
8466
 
-
 
8467
      public boolean getResult() throws CatalogServiceException, org.apache.thrift.TException {
-
 
8468
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
8469
          throw new IllegalStateException("Method call not finished!");
-
 
8470
        }
-
 
8471
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
8472
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
8473
        return (new Client(prot)).recv_addProductFeedSubmit();
-
 
8474
      }
-
 
8475
    }
-
 
8476
 
-
 
8477
    public void updateProductFeedSubmit(ProductFeedSubmit productFeedSubmit, org.apache.thrift.async.AsyncMethodCallback<updateProductFeedSubmit_call> resultHandler) throws org.apache.thrift.TException {
-
 
8478
      checkReady();
-
 
8479
      updateProductFeedSubmit_call method_call = new updateProductFeedSubmit_call(productFeedSubmit, resultHandler, this, ___protocolFactory, ___transport);
-
 
8480
      this.___currentMethod = method_call;
-
 
8481
      ___manager.call(method_call);
-
 
8482
    }
-
 
8483
 
-
 
8484
    public static class updateProductFeedSubmit_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8485
      private ProductFeedSubmit productFeedSubmit;
-
 
8486
      public updateProductFeedSubmit_call(ProductFeedSubmit productFeedSubmit, org.apache.thrift.async.AsyncMethodCallback<updateProductFeedSubmit_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 {
-
 
8487
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8488
        this.productFeedSubmit = productFeedSubmit;
-
 
8489
      }
-
 
8490
 
-
 
8491
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
8492
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateProductFeedSubmit", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
8493
        updateProductFeedSubmit_args args = new updateProductFeedSubmit_args();
-
 
8494
        args.setProductFeedSubmit(productFeedSubmit);
-
 
8495
        args.write(prot);
-
 
8496
        prot.writeMessageEnd();
-
 
8497
      }
-
 
8498
 
-
 
8499
      public boolean getResult() throws CatalogServiceException, org.apache.thrift.TException {
-
 
8500
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
8501
          throw new IllegalStateException("Method call not finished!");
-
 
8502
        }
-
 
8503
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
8504
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
8505
        return (new Client(prot)).recv_updateProductFeedSubmit();
-
 
8506
      }
-
 
8507
    }
-
 
8508
 
-
 
8509
    public void deleteProductFeedSubmit(long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<deleteProductFeedSubmit_call> resultHandler) throws org.apache.thrift.TException {
-
 
8510
      checkReady();
-
 
8511
      deleteProductFeedSubmit_call method_call = new deleteProductFeedSubmit_call(catalogItemId, resultHandler, this, ___protocolFactory, ___transport);
-
 
8512
      this.___currentMethod = method_call;
-
 
8513
      ___manager.call(method_call);
-
 
8514
    }
-
 
8515
 
-
 
8516
    public static class deleteProductFeedSubmit_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8517
      private long catalogItemId;
-
 
8518
      public deleteProductFeedSubmit_call(long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<deleteProductFeedSubmit_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 {
-
 
8519
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8520
        this.catalogItemId = catalogItemId;
-
 
8521
      }
-
 
8522
 
-
 
8523
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
8524
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteProductFeedSubmit", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
8525
        deleteProductFeedSubmit_args args = new deleteProductFeedSubmit_args();
-
 
8526
        args.setCatalogItemId(catalogItemId);
-
 
8527
        args.write(prot);
-
 
8528
        prot.writeMessageEnd();
-
 
8529
      }
-
 
8530
 
-
 
8531
      public boolean getResult() throws CatalogServiceException, org.apache.thrift.TException {
-
 
8532
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
8533
          throw new IllegalStateException("Method call not finished!");
-
 
8534
        }
-
 
8535
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
8536
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
8537
        return (new Client(prot)).recv_deleteProductFeedSubmit();
-
 
8538
      }
-
 
8539
    }
-
 
8540
 
-
 
8541
    public void getAllProductFeedSubmit(org.apache.thrift.async.AsyncMethodCallback<getAllProductFeedSubmit_call> resultHandler) throws org.apache.thrift.TException {
-
 
8542
      checkReady();
-
 
8543
      getAllProductFeedSubmit_call method_call = new getAllProductFeedSubmit_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
8544
      this.___currentMethod = method_call;
-
 
8545
      ___manager.call(method_call);
-
 
8546
    }
-
 
8547
 
-
 
8548
    public static class getAllProductFeedSubmit_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8549
      public getAllProductFeedSubmit_call(org.apache.thrift.async.AsyncMethodCallback<getAllProductFeedSubmit_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 {
-
 
8550
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8551
      }
-
 
8552
 
-
 
8553
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
8554
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllProductFeedSubmit", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
8555
        getAllProductFeedSubmit_args args = new getAllProductFeedSubmit_args();
-
 
8556
        args.write(prot);
-
 
8557
        prot.writeMessageEnd();
-
 
8558
      }
-
 
8559
 
-
 
8560
      public List<ProductFeedSubmit> getResult() throws CatalogServiceException, org.apache.thrift.TException {
-
 
8561
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
8562
          throw new IllegalStateException("Method call not finished!");
-
 
8563
        }
-
 
8564
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
8565
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
8566
        return (new Client(prot)).recv_getAllProductFeedSubmit();
-
 
8567
      }
-
 
8568
    }
-
 
8569
 
8264
  }
8570
  }
8265
 
8571
 
8266
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
8572
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
8267
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
8573
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
8268
    public Processor(I iface) {
8574
    public Processor(I iface) {
Line 8404... Line 8710...
8404
      processMap.put("searchSnapdealItems", new searchSnapdealItems());
8710
      processMap.put("searchSnapdealItems", new searchSnapdealItems());
8405
      processMap.put("getCountForSnapdealItems", new getCountForSnapdealItems());
8711
      processMap.put("getCountForSnapdealItems", new getCountForSnapdealItems());
8406
      processMap.put("getSnapdealSearchResultCount", new getSnapdealSearchResultCount());
8712
      processMap.put("getSnapdealSearchResultCount", new getSnapdealSearchResultCount());
8407
      processMap.put("getPrefferedInsurerForItem", new getPrefferedInsurerForItem());
8713
      processMap.put("getPrefferedInsurerForItem", new getPrefferedInsurerForItem());
8408
      processMap.put("getSnapdealItembySkuAtSnapdeal", new getSnapdealItembySkuAtSnapdeal());
8714
      processMap.put("getSnapdealItembySkuAtSnapdeal", new getSnapdealItembySkuAtSnapdeal());
-
 
8715
      processMap.put("getProductFeedSubmit", new getProductFeedSubmit());
-
 
8716
      processMap.put("addProductFeedSubmit", new addProductFeedSubmit());
-
 
8717
      processMap.put("updateProductFeedSubmit", new updateProductFeedSubmit());
-
 
8718
      processMap.put("deleteProductFeedSubmit", new deleteProductFeedSubmit());
-
 
8719
      processMap.put("getAllProductFeedSubmit", new getAllProductFeedSubmit());
8409
      return processMap;
8720
      return processMap;
8410
    }
8721
    }
8411
 
8722
 
8412
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
8723
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
8413
      public addItem() {
8724
      public addItem() {
Line 10712... Line 11023...
10712
        result.success = iface.getSnapdealItembySkuAtSnapdeal(args.skuAtSnapdeal);
11023
        result.success = iface.getSnapdealItembySkuAtSnapdeal(args.skuAtSnapdeal);
10713
        return result;
11024
        return result;
10714
      }
11025
      }
10715
    }
11026
    }
10716
 
11027
 
-
 
11028
    private static class getProductFeedSubmit<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getProductFeedSubmit_args> {
-
 
11029
      public getProductFeedSubmit() {
-
 
11030
        super("getProductFeedSubmit");
-
 
11031
      }
-
 
11032
 
-
 
11033
      protected getProductFeedSubmit_args getEmptyArgsInstance() {
-
 
11034
        return new getProductFeedSubmit_args();
-
 
11035
      }
-
 
11036
 
-
 
11037
      protected getProductFeedSubmit_result getResult(I iface, getProductFeedSubmit_args args) throws org.apache.thrift.TException {
-
 
11038
        getProductFeedSubmit_result result = new getProductFeedSubmit_result();
-
 
11039
        try {
-
 
11040
          result.success = iface.getProductFeedSubmit(args.catalogItemId);
-
 
11041
        } catch (CatalogServiceException cex) {
-
 
11042
          result.cex = cex;
-
 
11043
        }
-
 
11044
        return result;
-
 
11045
      }
-
 
11046
    }
-
 
11047
 
-
 
11048
    private static class addProductFeedSubmit<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addProductFeedSubmit_args> {
-
 
11049
      public addProductFeedSubmit() {
-
 
11050
        super("addProductFeedSubmit");
-
 
11051
      }
-
 
11052
 
-
 
11053
      protected addProductFeedSubmit_args getEmptyArgsInstance() {
-
 
11054
        return new addProductFeedSubmit_args();
-
 
11055
      }
-
 
11056
 
-
 
11057
      protected addProductFeedSubmit_result getResult(I iface, addProductFeedSubmit_args args) throws org.apache.thrift.TException {
-
 
11058
        addProductFeedSubmit_result result = new addProductFeedSubmit_result();
-
 
11059
        try {
-
 
11060
          result.success = iface.addProductFeedSubmit(args.productFeedSubmit);
-
 
11061
          result.setSuccessIsSet(true);
-
 
11062
        } catch (CatalogServiceException cex) {
-
 
11063
          result.cex = cex;
-
 
11064
        }
-
 
11065
        return result;
-
 
11066
      }
-
 
11067
    }
-
 
11068
 
-
 
11069
    private static class updateProductFeedSubmit<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateProductFeedSubmit_args> {
-
 
11070
      public updateProductFeedSubmit() {
-
 
11071
        super("updateProductFeedSubmit");
-
 
11072
      }
-
 
11073
 
-
 
11074
      protected updateProductFeedSubmit_args getEmptyArgsInstance() {
-
 
11075
        return new updateProductFeedSubmit_args();
-
 
11076
      }
-
 
11077
 
-
 
11078
      protected updateProductFeedSubmit_result getResult(I iface, updateProductFeedSubmit_args args) throws org.apache.thrift.TException {
-
 
11079
        updateProductFeedSubmit_result result = new updateProductFeedSubmit_result();
-
 
11080
        try {
-
 
11081
          result.success = iface.updateProductFeedSubmit(args.productFeedSubmit);
-
 
11082
          result.setSuccessIsSet(true);
-
 
11083
        } catch (CatalogServiceException cex) {
-
 
11084
          result.cex = cex;
-
 
11085
        }
-
 
11086
        return result;
-
 
11087
      }
-
 
11088
    }
-
 
11089
 
-
 
11090
    private static class deleteProductFeedSubmit<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteProductFeedSubmit_args> {
-
 
11091
      public deleteProductFeedSubmit() {
-
 
11092
        super("deleteProductFeedSubmit");
-
 
11093
      }
-
 
11094
 
-
 
11095
      protected deleteProductFeedSubmit_args getEmptyArgsInstance() {
-
 
11096
        return new deleteProductFeedSubmit_args();
-
 
11097
      }
-
 
11098
 
-
 
11099
      protected deleteProductFeedSubmit_result getResult(I iface, deleteProductFeedSubmit_args args) throws org.apache.thrift.TException {
-
 
11100
        deleteProductFeedSubmit_result result = new deleteProductFeedSubmit_result();
-
 
11101
        try {
-
 
11102
          result.success = iface.deleteProductFeedSubmit(args.catalogItemId);
-
 
11103
          result.setSuccessIsSet(true);
-
 
11104
        } catch (CatalogServiceException cex) {
-
 
11105
          result.cex = cex;
-
 
11106
        }
-
 
11107
        return result;
-
 
11108
      }
-
 
11109
    }
-
 
11110
 
-
 
11111
    private static class getAllProductFeedSubmit<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllProductFeedSubmit_args> {
-
 
11112
      public getAllProductFeedSubmit() {
-
 
11113
        super("getAllProductFeedSubmit");
-
 
11114
      }
-
 
11115
 
-
 
11116
      protected getAllProductFeedSubmit_args getEmptyArgsInstance() {
-
 
11117
        return new getAllProductFeedSubmit_args();
-
 
11118
      }
-
 
11119
 
-
 
11120
      protected getAllProductFeedSubmit_result getResult(I iface, getAllProductFeedSubmit_args args) throws org.apache.thrift.TException {
-
 
11121
        getAllProductFeedSubmit_result result = new getAllProductFeedSubmit_result();
-
 
11122
        try {
-
 
11123
          result.success = iface.getAllProductFeedSubmit();
-
 
11124
        } catch (CatalogServiceException cex) {
-
 
11125
          result.cex = cex;
-
 
11126
        }
-
 
11127
        return result;
-
 
11128
      }
-
 
11129
    }
-
 
11130
 
10717
  }
11131
  }
10718
 
11132
 
10719
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
11133
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
10720
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
11134
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
10721
 
11135
 
Line 33082... Line 33496...
33082
      }
33496
      }
33083
    }
33497
    }
33084
 
33498
 
33085
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
33499
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
33086
      try {
33500
      try {
33087
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
33088
        __isset_bit_vector = new BitSet(1);
-
 
33089
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
33501
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
33090
      } catch (org.apache.thrift.TException te) {
33502
      } catch (org.apache.thrift.TException te) {
33091
        throw new java.io.IOException(te);
33503
        throw new java.io.IOException(te);
33092
      }
33504
      }
33093
    }
33505
    }
Line 95437... Line 95849...
95437
      }
95849
      }
95438
      first = false;
95850
      first = false;
95439
      sb.append(")");
95851
      sb.append(")");
95440
      return sb.toString();
95852
      return sb.toString();
95441
    }
95853
    }
-
 
95854
 
-
 
95855
    public void validate() throws org.apache.thrift.TException {
-
 
95856
      // check for required fields
-
 
95857
    }
-
 
95858
 
-
 
95859
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
95860
      try {
-
 
95861
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
95862
      } catch (org.apache.thrift.TException te) {
-
 
95863
        throw new java.io.IOException(te);
-
 
95864
      }
-
 
95865
    }
-
 
95866
 
-
 
95867
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
95868
      try {
-
 
95869
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
95870
      } catch (org.apache.thrift.TException te) {
-
 
95871
        throw new java.io.IOException(te);
-
 
95872
      }
-
 
95873
    }
-
 
95874
 
-
 
95875
  }
-
 
95876
 
-
 
95877
  public static class getProductFeedSubmit_args implements org.apache.thrift.TBase<getProductFeedSubmit_args, getProductFeedSubmit_args._Fields>, java.io.Serializable, Cloneable   {
-
 
95878
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProductFeedSubmit_args");
-
 
95879
 
-
 
95880
    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)1);
-
 
95881
 
-
 
95882
    private long catalogItemId; // required
-
 
95883
 
-
 
95884
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
95885
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
95886
      CATALOG_ITEM_ID((short)1, "catalogItemId");
-
 
95887
 
-
 
95888
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
95889
 
-
 
95890
      static {
-
 
95891
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
95892
          byName.put(field.getFieldName(), field);
-
 
95893
        }
-
 
95894
      }
-
 
95895
 
-
 
95896
      /**
-
 
95897
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
95898
       */
-
 
95899
      public static _Fields findByThriftId(int fieldId) {
-
 
95900
        switch(fieldId) {
-
 
95901
          case 1: // CATALOG_ITEM_ID
-
 
95902
            return CATALOG_ITEM_ID;
-
 
95903
          default:
-
 
95904
            return null;
-
 
95905
        }
-
 
95906
      }
-
 
95907
 
-
 
95908
      /**
-
 
95909
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
95910
       * if it is not found.
-
 
95911
       */
-
 
95912
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
95913
        _Fields fields = findByThriftId(fieldId);
-
 
95914
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
95915
        return fields;
-
 
95916
      }
-
 
95917
 
-
 
95918
      /**
-
 
95919
       * Find the _Fields constant that matches name, or null if its not found.
-
 
95920
       */
-
 
95921
      public static _Fields findByName(String name) {
-
 
95922
        return byName.get(name);
-
 
95923
      }
-
 
95924
 
-
 
95925
      private final short _thriftId;
-
 
95926
      private final String _fieldName;
-
 
95927
 
-
 
95928
      _Fields(short thriftId, String fieldName) {
-
 
95929
        _thriftId = thriftId;
-
 
95930
        _fieldName = fieldName;
-
 
95931
      }
-
 
95932
 
-
 
95933
      public short getThriftFieldId() {
-
 
95934
        return _thriftId;
-
 
95935
      }
-
 
95936
 
-
 
95937
      public String getFieldName() {
-
 
95938
        return _fieldName;
-
 
95939
      }
-
 
95940
    }
-
 
95941
 
-
 
95942
    // isset id assignments
-
 
95943
    private static final int __CATALOGITEMID_ISSET_ID = 0;
-
 
95944
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
95945
 
-
 
95946
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
95947
    static {
-
 
95948
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
95949
      tmpMap.put(_Fields.CATALOG_ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("catalogItemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
95950
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
95951
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
95952
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getProductFeedSubmit_args.class, metaDataMap);
-
 
95953
    }
-
 
95954
 
-
 
95955
    public getProductFeedSubmit_args() {
-
 
95956
    }
-
 
95957
 
-
 
95958
    public getProductFeedSubmit_args(
-
 
95959
      long catalogItemId)
-
 
95960
    {
-
 
95961
      this();
-
 
95962
      this.catalogItemId = catalogItemId;
-
 
95963
      setCatalogItemIdIsSet(true);
-
 
95964
    }
-
 
95965
 
-
 
95966
    /**
-
 
95967
     * Performs a deep copy on <i>other</i>.
-
 
95968
     */
-
 
95969
    public getProductFeedSubmit_args(getProductFeedSubmit_args other) {
-
 
95970
      __isset_bit_vector.clear();
-
 
95971
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
95972
      this.catalogItemId = other.catalogItemId;
-
 
95973
    }
-
 
95974
 
-
 
95975
    public getProductFeedSubmit_args deepCopy() {
-
 
95976
      return new getProductFeedSubmit_args(this);
-
 
95977
    }
-
 
95978
 
-
 
95979
    @Override
-
 
95980
    public void clear() {
-
 
95981
      setCatalogItemIdIsSet(false);
-
 
95982
      this.catalogItemId = 0;
-
 
95983
    }
-
 
95984
 
-
 
95985
    public long getCatalogItemId() {
-
 
95986
      return this.catalogItemId;
-
 
95987
    }
-
 
95988
 
-
 
95989
    public void setCatalogItemId(long catalogItemId) {
-
 
95990
      this.catalogItemId = catalogItemId;
-
 
95991
      setCatalogItemIdIsSet(true);
-
 
95992
    }
-
 
95993
 
-
 
95994
    public void unsetCatalogItemId() {
-
 
95995
      __isset_bit_vector.clear(__CATALOGITEMID_ISSET_ID);
-
 
95996
    }
-
 
95997
 
-
 
95998
    /** Returns true if field catalogItemId is set (has been assigned a value) and false otherwise */
-
 
95999
    public boolean isSetCatalogItemId() {
-
 
96000
      return __isset_bit_vector.get(__CATALOGITEMID_ISSET_ID);
-
 
96001
    }
-
 
96002
 
-
 
96003
    public void setCatalogItemIdIsSet(boolean value) {
-
 
96004
      __isset_bit_vector.set(__CATALOGITEMID_ISSET_ID, value);
-
 
96005
    }
-
 
96006
 
-
 
96007
    public void setFieldValue(_Fields field, Object value) {
-
 
96008
      switch (field) {
-
 
96009
      case CATALOG_ITEM_ID:
-
 
96010
        if (value == null) {
-
 
96011
          unsetCatalogItemId();
-
 
96012
        } else {
-
 
96013
          setCatalogItemId((Long)value);
-
 
96014
        }
-
 
96015
        break;
-
 
96016
 
-
 
96017
      }
-
 
96018
    }
-
 
96019
 
-
 
96020
    public Object getFieldValue(_Fields field) {
-
 
96021
      switch (field) {
-
 
96022
      case CATALOG_ITEM_ID:
-
 
96023
        return Long.valueOf(getCatalogItemId());
-
 
96024
 
-
 
96025
      }
-
 
96026
      throw new IllegalStateException();
-
 
96027
    }
-
 
96028
 
-
 
96029
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
96030
    public boolean isSet(_Fields field) {
-
 
96031
      if (field == null) {
-
 
96032
        throw new IllegalArgumentException();
-
 
96033
      }
-
 
96034
 
-
 
96035
      switch (field) {
-
 
96036
      case CATALOG_ITEM_ID:
-
 
96037
        return isSetCatalogItemId();
-
 
96038
      }
-
 
96039
      throw new IllegalStateException();
-
 
96040
    }
-
 
96041
 
-
 
96042
    @Override
-
 
96043
    public boolean equals(Object that) {
-
 
96044
      if (that == null)
-
 
96045
        return false;
-
 
96046
      if (that instanceof getProductFeedSubmit_args)
-
 
96047
        return this.equals((getProductFeedSubmit_args)that);
-
 
96048
      return false;
-
 
96049
    }
-
 
96050
 
-
 
96051
    public boolean equals(getProductFeedSubmit_args that) {
-
 
96052
      if (that == null)
-
 
96053
        return false;
-
 
96054
 
-
 
96055
      boolean this_present_catalogItemId = true;
-
 
96056
      boolean that_present_catalogItemId = true;
-
 
96057
      if (this_present_catalogItemId || that_present_catalogItemId) {
-
 
96058
        if (!(this_present_catalogItemId && that_present_catalogItemId))
-
 
96059
          return false;
-
 
96060
        if (this.catalogItemId != that.catalogItemId)
-
 
96061
          return false;
-
 
96062
      }
-
 
96063
 
-
 
96064
      return true;
-
 
96065
    }
-
 
96066
 
-
 
96067
    @Override
-
 
96068
    public int hashCode() {
-
 
96069
      return 0;
-
 
96070
    }
-
 
96071
 
-
 
96072
    public int compareTo(getProductFeedSubmit_args other) {
-
 
96073
      if (!getClass().equals(other.getClass())) {
-
 
96074
        return getClass().getName().compareTo(other.getClass().getName());
-
 
96075
      }
-
 
96076
 
-
 
96077
      int lastComparison = 0;
-
 
96078
      getProductFeedSubmit_args typedOther = (getProductFeedSubmit_args)other;
-
 
96079
 
-
 
96080
      lastComparison = Boolean.valueOf(isSetCatalogItemId()).compareTo(typedOther.isSetCatalogItemId());
-
 
96081
      if (lastComparison != 0) {
-
 
96082
        return lastComparison;
-
 
96083
      }
-
 
96084
      if (isSetCatalogItemId()) {
-
 
96085
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogItemId, typedOther.catalogItemId);
-
 
96086
        if (lastComparison != 0) {
-
 
96087
          return lastComparison;
-
 
96088
        }
-
 
96089
      }
-
 
96090
      return 0;
-
 
96091
    }
-
 
96092
 
-
 
96093
    public _Fields fieldForId(int fieldId) {
-
 
96094
      return _Fields.findByThriftId(fieldId);
-
 
96095
    }
-
 
96096
 
-
 
96097
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
96098
      org.apache.thrift.protocol.TField field;
-
 
96099
      iprot.readStructBegin();
-
 
96100
      while (true)
-
 
96101
      {
-
 
96102
        field = iprot.readFieldBegin();
-
 
96103
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
96104
          break;
-
 
96105
        }
-
 
96106
        switch (field.id) {
-
 
96107
          case 1: // CATALOG_ITEM_ID
-
 
96108
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
96109
              this.catalogItemId = iprot.readI64();
-
 
96110
              setCatalogItemIdIsSet(true);
-
 
96111
            } else { 
-
 
96112
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
96113
            }
-
 
96114
            break;
-
 
96115
          default:
-
 
96116
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
96117
        }
-
 
96118
        iprot.readFieldEnd();
-
 
96119
      }
-
 
96120
      iprot.readStructEnd();
-
 
96121
      validate();
-
 
96122
    }
-
 
96123
 
-
 
96124
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
96125
      validate();
-
 
96126
 
-
 
96127
      oprot.writeStructBegin(STRUCT_DESC);
-
 
96128
      oprot.writeFieldBegin(CATALOG_ITEM_ID_FIELD_DESC);
-
 
96129
      oprot.writeI64(this.catalogItemId);
-
 
96130
      oprot.writeFieldEnd();
-
 
96131
      oprot.writeFieldStop();
-
 
96132
      oprot.writeStructEnd();
-
 
96133
    }
-
 
96134
 
-
 
96135
    @Override
-
 
96136
    public String toString() {
-
 
96137
      StringBuilder sb = new StringBuilder("getProductFeedSubmit_args(");
-
 
96138
      boolean first = true;
-
 
96139
 
-
 
96140
      sb.append("catalogItemId:");
-
 
96141
      sb.append(this.catalogItemId);
-
 
96142
      first = false;
-
 
96143
      sb.append(")");
-
 
96144
      return sb.toString();
-
 
96145
    }
-
 
96146
 
-
 
96147
    public void validate() throws org.apache.thrift.TException {
-
 
96148
      // check for required fields
-
 
96149
    }
-
 
96150
 
-
 
96151
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
96152
      try {
-
 
96153
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
96154
      } catch (org.apache.thrift.TException te) {
-
 
96155
        throw new java.io.IOException(te);
-
 
96156
      }
-
 
96157
    }
-
 
96158
 
-
 
96159
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
96160
      try {
-
 
96161
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
96162
        __isset_bit_vector = new BitSet(1);
-
 
96163
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
96164
      } catch (org.apache.thrift.TException te) {
-
 
96165
        throw new java.io.IOException(te);
-
 
96166
      }
-
 
96167
    }
-
 
96168
 
-
 
96169
  }
-
 
96170
 
-
 
96171
  public static class getProductFeedSubmit_result implements org.apache.thrift.TBase<getProductFeedSubmit_result, getProductFeedSubmit_result._Fields>, java.io.Serializable, Cloneable   {
-
 
96172
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProductFeedSubmit_result");
-
 
96173
 
-
 
96174
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
-
 
96175
    private static final org.apache.thrift.protocol.TField CEX_FIELD_DESC = new org.apache.thrift.protocol.TField("cex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
96176
 
-
 
96177
    private ProductFeedSubmit success; // required
-
 
96178
    private CatalogServiceException cex; // required
-
 
96179
 
-
 
96180
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
96181
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
96182
      SUCCESS((short)0, "success"),
-
 
96183
      CEX((short)1, "cex");
-
 
96184
 
-
 
96185
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
96186
 
-
 
96187
      static {
-
 
96188
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
96189
          byName.put(field.getFieldName(), field);
-
 
96190
        }
-
 
96191
      }
-
 
96192
 
-
 
96193
      /**
-
 
96194
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
96195
       */
-
 
96196
      public static _Fields findByThriftId(int fieldId) {
-
 
96197
        switch(fieldId) {
-
 
96198
          case 0: // SUCCESS
-
 
96199
            return SUCCESS;
-
 
96200
          case 1: // CEX
-
 
96201
            return CEX;
-
 
96202
          default:
-
 
96203
            return null;
-
 
96204
        }
-
 
96205
      }
-
 
96206
 
-
 
96207
      /**
-
 
96208
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
96209
       * if it is not found.
-
 
96210
       */
-
 
96211
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
96212
        _Fields fields = findByThriftId(fieldId);
-
 
96213
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
96214
        return fields;
-
 
96215
      }
-
 
96216
 
-
 
96217
      /**
-
 
96218
       * Find the _Fields constant that matches name, or null if its not found.
-
 
96219
       */
-
 
96220
      public static _Fields findByName(String name) {
-
 
96221
        return byName.get(name);
-
 
96222
      }
-
 
96223
 
-
 
96224
      private final short _thriftId;
-
 
96225
      private final String _fieldName;
-
 
96226
 
-
 
96227
      _Fields(short thriftId, String fieldName) {
-
 
96228
        _thriftId = thriftId;
-
 
96229
        _fieldName = fieldName;
-
 
96230
      }
-
 
96231
 
-
 
96232
      public short getThriftFieldId() {
-
 
96233
        return _thriftId;
-
 
96234
      }
-
 
96235
 
-
 
96236
      public String getFieldName() {
-
 
96237
        return _fieldName;
-
 
96238
      }
-
 
96239
    }
-
 
96240
 
-
 
96241
    // isset id assignments
-
 
96242
 
-
 
96243
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
96244
    static {
-
 
96245
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
96246
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
96247
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ProductFeedSubmit.class)));
-
 
96248
      tmpMap.put(_Fields.CEX, new org.apache.thrift.meta_data.FieldMetaData("cex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
96249
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
96250
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
96251
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getProductFeedSubmit_result.class, metaDataMap);
-
 
96252
    }
-
 
96253
 
-
 
96254
    public getProductFeedSubmit_result() {
-
 
96255
    }
-
 
96256
 
-
 
96257
    public getProductFeedSubmit_result(
-
 
96258
      ProductFeedSubmit success,
-
 
96259
      CatalogServiceException cex)
-
 
96260
    {
-
 
96261
      this();
-
 
96262
      this.success = success;
-
 
96263
      this.cex = cex;
-
 
96264
    }
-
 
96265
 
-
 
96266
    /**
-
 
96267
     * Performs a deep copy on <i>other</i>.
-
 
96268
     */
-
 
96269
    public getProductFeedSubmit_result(getProductFeedSubmit_result other) {
-
 
96270
      if (other.isSetSuccess()) {
-
 
96271
        this.success = new ProductFeedSubmit(other.success);
-
 
96272
      }
-
 
96273
      if (other.isSetCex()) {
-
 
96274
        this.cex = new CatalogServiceException(other.cex);
-
 
96275
      }
-
 
96276
    }
-
 
96277
 
-
 
96278
    public getProductFeedSubmit_result deepCopy() {
-
 
96279
      return new getProductFeedSubmit_result(this);
-
 
96280
    }
-
 
96281
 
-
 
96282
    @Override
-
 
96283
    public void clear() {
-
 
96284
      this.success = null;
-
 
96285
      this.cex = null;
-
 
96286
    }
-
 
96287
 
-
 
96288
    public ProductFeedSubmit getSuccess() {
-
 
96289
      return this.success;
-
 
96290
    }
-
 
96291
 
-
 
96292
    public void setSuccess(ProductFeedSubmit success) {
-
 
96293
      this.success = success;
-
 
96294
    }
-
 
96295
 
-
 
96296
    public void unsetSuccess() {
-
 
96297
      this.success = null;
-
 
96298
    }
-
 
96299
 
-
 
96300
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
96301
    public boolean isSetSuccess() {
-
 
96302
      return this.success != null;
-
 
96303
    }
-
 
96304
 
-
 
96305
    public void setSuccessIsSet(boolean value) {
-
 
96306
      if (!value) {
-
 
96307
        this.success = null;
-
 
96308
      }
-
 
96309
    }
-
 
96310
 
-
 
96311
    public CatalogServiceException getCex() {
-
 
96312
      return this.cex;
-
 
96313
    }
-
 
96314
 
-
 
96315
    public void setCex(CatalogServiceException cex) {
-
 
96316
      this.cex = cex;
-
 
96317
    }
-
 
96318
 
-
 
96319
    public void unsetCex() {
-
 
96320
      this.cex = null;
-
 
96321
    }
-
 
96322
 
-
 
96323
    /** Returns true if field cex is set (has been assigned a value) and false otherwise */
-
 
96324
    public boolean isSetCex() {
-
 
96325
      return this.cex != null;
-
 
96326
    }
-
 
96327
 
-
 
96328
    public void setCexIsSet(boolean value) {
-
 
96329
      if (!value) {
-
 
96330
        this.cex = null;
-
 
96331
      }
-
 
96332
    }
-
 
96333
 
-
 
96334
    public void setFieldValue(_Fields field, Object value) {
-
 
96335
      switch (field) {
-
 
96336
      case SUCCESS:
-
 
96337
        if (value == null) {
-
 
96338
          unsetSuccess();
-
 
96339
        } else {
-
 
96340
          setSuccess((ProductFeedSubmit)value);
-
 
96341
        }
-
 
96342
        break;
-
 
96343
 
-
 
96344
      case CEX:
-
 
96345
        if (value == null) {
-
 
96346
          unsetCex();
-
 
96347
        } else {
-
 
96348
          setCex((CatalogServiceException)value);
-
 
96349
        }
-
 
96350
        break;
-
 
96351
 
-
 
96352
      }
-
 
96353
    }
-
 
96354
 
-
 
96355
    public Object getFieldValue(_Fields field) {
-
 
96356
      switch (field) {
-
 
96357
      case SUCCESS:
-
 
96358
        return getSuccess();
-
 
96359
 
-
 
96360
      case CEX:
-
 
96361
        return getCex();
-
 
96362
 
-
 
96363
      }
-
 
96364
      throw new IllegalStateException();
-
 
96365
    }
-
 
96366
 
-
 
96367
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
96368
    public boolean isSet(_Fields field) {
-
 
96369
      if (field == null) {
-
 
96370
        throw new IllegalArgumentException();
-
 
96371
      }
-
 
96372
 
-
 
96373
      switch (field) {
-
 
96374
      case SUCCESS:
-
 
96375
        return isSetSuccess();
-
 
96376
      case CEX:
-
 
96377
        return isSetCex();
-
 
96378
      }
-
 
96379
      throw new IllegalStateException();
-
 
96380
    }
-
 
96381
 
-
 
96382
    @Override
-
 
96383
    public boolean equals(Object that) {
-
 
96384
      if (that == null)
-
 
96385
        return false;
-
 
96386
      if (that instanceof getProductFeedSubmit_result)
-
 
96387
        return this.equals((getProductFeedSubmit_result)that);
-
 
96388
      return false;
-
 
96389
    }
-
 
96390
 
-
 
96391
    public boolean equals(getProductFeedSubmit_result that) {
-
 
96392
      if (that == null)
-
 
96393
        return false;
-
 
96394
 
-
 
96395
      boolean this_present_success = true && this.isSetSuccess();
-
 
96396
      boolean that_present_success = true && that.isSetSuccess();
-
 
96397
      if (this_present_success || that_present_success) {
-
 
96398
        if (!(this_present_success && that_present_success))
-
 
96399
          return false;
-
 
96400
        if (!this.success.equals(that.success))
-
 
96401
          return false;
-
 
96402
      }
-
 
96403
 
-
 
96404
      boolean this_present_cex = true && this.isSetCex();
-
 
96405
      boolean that_present_cex = true && that.isSetCex();
-
 
96406
      if (this_present_cex || that_present_cex) {
-
 
96407
        if (!(this_present_cex && that_present_cex))
-
 
96408
          return false;
-
 
96409
        if (!this.cex.equals(that.cex))
-
 
96410
          return false;
-
 
96411
      }
-
 
96412
 
-
 
96413
      return true;
-
 
96414
    }
-
 
96415
 
-
 
96416
    @Override
-
 
96417
    public int hashCode() {
-
 
96418
      return 0;
-
 
96419
    }
-
 
96420
 
-
 
96421
    public int compareTo(getProductFeedSubmit_result other) {
-
 
96422
      if (!getClass().equals(other.getClass())) {
-
 
96423
        return getClass().getName().compareTo(other.getClass().getName());
-
 
96424
      }
-
 
96425
 
-
 
96426
      int lastComparison = 0;
-
 
96427
      getProductFeedSubmit_result typedOther = (getProductFeedSubmit_result)other;
-
 
96428
 
-
 
96429
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
96430
      if (lastComparison != 0) {
-
 
96431
        return lastComparison;
-
 
96432
      }
-
 
96433
      if (isSetSuccess()) {
-
 
96434
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
96435
        if (lastComparison != 0) {
-
 
96436
          return lastComparison;
-
 
96437
        }
-
 
96438
      }
-
 
96439
      lastComparison = Boolean.valueOf(isSetCex()).compareTo(typedOther.isSetCex());
-
 
96440
      if (lastComparison != 0) {
-
 
96441
        return lastComparison;
-
 
96442
      }
-
 
96443
      if (isSetCex()) {
-
 
96444
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cex, typedOther.cex);
-
 
96445
        if (lastComparison != 0) {
-
 
96446
          return lastComparison;
-
 
96447
        }
-
 
96448
      }
-
 
96449
      return 0;
-
 
96450
    }
-
 
96451
 
-
 
96452
    public _Fields fieldForId(int fieldId) {
-
 
96453
      return _Fields.findByThriftId(fieldId);
-
 
96454
    }
-
 
96455
 
-
 
96456
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
96457
      org.apache.thrift.protocol.TField field;
-
 
96458
      iprot.readStructBegin();
-
 
96459
      while (true)
-
 
96460
      {
-
 
96461
        field = iprot.readFieldBegin();
-
 
96462
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
96463
          break;
-
 
96464
        }
-
 
96465
        switch (field.id) {
-
 
96466
          case 0: // SUCCESS
-
 
96467
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
96468
              this.success = new ProductFeedSubmit();
-
 
96469
              this.success.read(iprot);
-
 
96470
            } else { 
-
 
96471
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
96472
            }
-
 
96473
            break;
-
 
96474
          case 1: // CEX
-
 
96475
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
96476
              this.cex = new CatalogServiceException();
-
 
96477
              this.cex.read(iprot);
-
 
96478
            } else { 
-
 
96479
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
96480
            }
-
 
96481
            break;
-
 
96482
          default:
-
 
96483
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
96484
        }
-
 
96485
        iprot.readFieldEnd();
-
 
96486
      }
-
 
96487
      iprot.readStructEnd();
-
 
96488
      validate();
-
 
96489
    }
-
 
96490
 
-
 
96491
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
96492
      oprot.writeStructBegin(STRUCT_DESC);
-
 
96493
 
-
 
96494
      if (this.isSetSuccess()) {
-
 
96495
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
96496
        this.success.write(oprot);
-
 
96497
        oprot.writeFieldEnd();
-
 
96498
      } else if (this.isSetCex()) {
-
 
96499
        oprot.writeFieldBegin(CEX_FIELD_DESC);
-
 
96500
        this.cex.write(oprot);
-
 
96501
        oprot.writeFieldEnd();
-
 
96502
      }
-
 
96503
      oprot.writeFieldStop();
-
 
96504
      oprot.writeStructEnd();
-
 
96505
    }
-
 
96506
 
-
 
96507
    @Override
-
 
96508
    public String toString() {
-
 
96509
      StringBuilder sb = new StringBuilder("getProductFeedSubmit_result(");
-
 
96510
      boolean first = true;
-
 
96511
 
-
 
96512
      sb.append("success:");
-
 
96513
      if (this.success == null) {
-
 
96514
        sb.append("null");
-
 
96515
      } else {
-
 
96516
        sb.append(this.success);
-
 
96517
      }
-
 
96518
      first = false;
-
 
96519
      if (!first) sb.append(", ");
-
 
96520
      sb.append("cex:");
-
 
96521
      if (this.cex == null) {
-
 
96522
        sb.append("null");
-
 
96523
      } else {
-
 
96524
        sb.append(this.cex);
-
 
96525
      }
-
 
96526
      first = false;
-
 
96527
      sb.append(")");
-
 
96528
      return sb.toString();
-
 
96529
    }
-
 
96530
 
-
 
96531
    public void validate() throws org.apache.thrift.TException {
-
 
96532
      // check for required fields
-
 
96533
    }
-
 
96534
 
-
 
96535
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
96536
      try {
-
 
96537
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
96538
      } catch (org.apache.thrift.TException te) {
-
 
96539
        throw new java.io.IOException(te);
-
 
96540
      }
-
 
96541
    }
-
 
96542
 
-
 
96543
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
96544
      try {
-
 
96545
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
96546
      } catch (org.apache.thrift.TException te) {
-
 
96547
        throw new java.io.IOException(te);
-
 
96548
      }
-
 
96549
    }
-
 
96550
 
-
 
96551
  }
-
 
96552
 
-
 
96553
  public static class addProductFeedSubmit_args implements org.apache.thrift.TBase<addProductFeedSubmit_args, addProductFeedSubmit_args._Fields>, java.io.Serializable, Cloneable   {
-
 
96554
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addProductFeedSubmit_args");
-
 
96555
 
-
 
96556
    private static final org.apache.thrift.protocol.TField PRODUCT_FEED_SUBMIT_FIELD_DESC = new org.apache.thrift.protocol.TField("productFeedSubmit", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
96557
 
-
 
96558
    private ProductFeedSubmit productFeedSubmit; // required
-
 
96559
 
-
 
96560
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
96561
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
96562
      PRODUCT_FEED_SUBMIT((short)1, "productFeedSubmit");
-
 
96563
 
-
 
96564
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
96565
 
-
 
96566
      static {
-
 
96567
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
96568
          byName.put(field.getFieldName(), field);
-
 
96569
        }
-
 
96570
      }
-
 
96571
 
-
 
96572
      /**
-
 
96573
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
96574
       */
-
 
96575
      public static _Fields findByThriftId(int fieldId) {
-
 
96576
        switch(fieldId) {
-
 
96577
          case 1: // PRODUCT_FEED_SUBMIT
-
 
96578
            return PRODUCT_FEED_SUBMIT;
-
 
96579
          default:
-
 
96580
            return null;
-
 
96581
        }
-
 
96582
      }
-
 
96583
 
-
 
96584
      /**
-
 
96585
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
96586
       * if it is not found.
-
 
96587
       */
-
 
96588
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
96589
        _Fields fields = findByThriftId(fieldId);
-
 
96590
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
96591
        return fields;
-
 
96592
      }
-
 
96593
 
-
 
96594
      /**
-
 
96595
       * Find the _Fields constant that matches name, or null if its not found.
-
 
96596
       */
-
 
96597
      public static _Fields findByName(String name) {
-
 
96598
        return byName.get(name);
-
 
96599
      }
-
 
96600
 
-
 
96601
      private final short _thriftId;
-
 
96602
      private final String _fieldName;
-
 
96603
 
-
 
96604
      _Fields(short thriftId, String fieldName) {
-
 
96605
        _thriftId = thriftId;
-
 
96606
        _fieldName = fieldName;
-
 
96607
      }
-
 
96608
 
-
 
96609
      public short getThriftFieldId() {
-
 
96610
        return _thriftId;
-
 
96611
      }
-
 
96612
 
-
 
96613
      public String getFieldName() {
-
 
96614
        return _fieldName;
-
 
96615
      }
-
 
96616
    }
-
 
96617
 
-
 
96618
    // isset id assignments
-
 
96619
 
-
 
96620
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
96621
    static {
-
 
96622
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
96623
      tmpMap.put(_Fields.PRODUCT_FEED_SUBMIT, new org.apache.thrift.meta_data.FieldMetaData("productFeedSubmit", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
96624
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ProductFeedSubmit.class)));
-
 
96625
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
96626
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addProductFeedSubmit_args.class, metaDataMap);
-
 
96627
    }
-
 
96628
 
-
 
96629
    public addProductFeedSubmit_args() {
-
 
96630
    }
-
 
96631
 
-
 
96632
    public addProductFeedSubmit_args(
-
 
96633
      ProductFeedSubmit productFeedSubmit)
-
 
96634
    {
-
 
96635
      this();
-
 
96636
      this.productFeedSubmit = productFeedSubmit;
-
 
96637
    }
-
 
96638
 
-
 
96639
    /**
-
 
96640
     * Performs a deep copy on <i>other</i>.
-
 
96641
     */
-
 
96642
    public addProductFeedSubmit_args(addProductFeedSubmit_args other) {
-
 
96643
      if (other.isSetProductFeedSubmit()) {
-
 
96644
        this.productFeedSubmit = new ProductFeedSubmit(other.productFeedSubmit);
-
 
96645
      }
-
 
96646
    }
-
 
96647
 
-
 
96648
    public addProductFeedSubmit_args deepCopy() {
-
 
96649
      return new addProductFeedSubmit_args(this);
-
 
96650
    }
-
 
96651
 
-
 
96652
    @Override
-
 
96653
    public void clear() {
-
 
96654
      this.productFeedSubmit = null;
-
 
96655
    }
-
 
96656
 
-
 
96657
    public ProductFeedSubmit getProductFeedSubmit() {
-
 
96658
      return this.productFeedSubmit;
-
 
96659
    }
-
 
96660
 
-
 
96661
    public void setProductFeedSubmit(ProductFeedSubmit productFeedSubmit) {
-
 
96662
      this.productFeedSubmit = productFeedSubmit;
-
 
96663
    }
-
 
96664
 
-
 
96665
    public void unsetProductFeedSubmit() {
-
 
96666
      this.productFeedSubmit = null;
-
 
96667
    }
-
 
96668
 
-
 
96669
    /** Returns true if field productFeedSubmit is set (has been assigned a value) and false otherwise */
-
 
96670
    public boolean isSetProductFeedSubmit() {
-
 
96671
      return this.productFeedSubmit != null;
-
 
96672
    }
-
 
96673
 
-
 
96674
    public void setProductFeedSubmitIsSet(boolean value) {
-
 
96675
      if (!value) {
-
 
96676
        this.productFeedSubmit = null;
-
 
96677
      }
-
 
96678
    }
-
 
96679
 
-
 
96680
    public void setFieldValue(_Fields field, Object value) {
-
 
96681
      switch (field) {
-
 
96682
      case PRODUCT_FEED_SUBMIT:
-
 
96683
        if (value == null) {
-
 
96684
          unsetProductFeedSubmit();
-
 
96685
        } else {
-
 
96686
          setProductFeedSubmit((ProductFeedSubmit)value);
-
 
96687
        }
-
 
96688
        break;
-
 
96689
 
-
 
96690
      }
-
 
96691
    }
-
 
96692
 
-
 
96693
    public Object getFieldValue(_Fields field) {
-
 
96694
      switch (field) {
-
 
96695
      case PRODUCT_FEED_SUBMIT:
-
 
96696
        return getProductFeedSubmit();
-
 
96697
 
-
 
96698
      }
-
 
96699
      throw new IllegalStateException();
-
 
96700
    }
-
 
96701
 
-
 
96702
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
96703
    public boolean isSet(_Fields field) {
-
 
96704
      if (field == null) {
-
 
96705
        throw new IllegalArgumentException();
-
 
96706
      }
-
 
96707
 
-
 
96708
      switch (field) {
-
 
96709
      case PRODUCT_FEED_SUBMIT:
-
 
96710
        return isSetProductFeedSubmit();
-
 
96711
      }
-
 
96712
      throw new IllegalStateException();
-
 
96713
    }
-
 
96714
 
-
 
96715
    @Override
-
 
96716
    public boolean equals(Object that) {
-
 
96717
      if (that == null)
-
 
96718
        return false;
-
 
96719
      if (that instanceof addProductFeedSubmit_args)
-
 
96720
        return this.equals((addProductFeedSubmit_args)that);
-
 
96721
      return false;
-
 
96722
    }
-
 
96723
 
-
 
96724
    public boolean equals(addProductFeedSubmit_args that) {
-
 
96725
      if (that == null)
-
 
96726
        return false;
-
 
96727
 
-
 
96728
      boolean this_present_productFeedSubmit = true && this.isSetProductFeedSubmit();
-
 
96729
      boolean that_present_productFeedSubmit = true && that.isSetProductFeedSubmit();
-
 
96730
      if (this_present_productFeedSubmit || that_present_productFeedSubmit) {
-
 
96731
        if (!(this_present_productFeedSubmit && that_present_productFeedSubmit))
-
 
96732
          return false;
-
 
96733
        if (!this.productFeedSubmit.equals(that.productFeedSubmit))
-
 
96734
          return false;
-
 
96735
      }
-
 
96736
 
-
 
96737
      return true;
-
 
96738
    }
-
 
96739
 
-
 
96740
    @Override
-
 
96741
    public int hashCode() {
-
 
96742
      return 0;
-
 
96743
    }
-
 
96744
 
-
 
96745
    public int compareTo(addProductFeedSubmit_args other) {
-
 
96746
      if (!getClass().equals(other.getClass())) {
-
 
96747
        return getClass().getName().compareTo(other.getClass().getName());
-
 
96748
      }
-
 
96749
 
-
 
96750
      int lastComparison = 0;
-
 
96751
      addProductFeedSubmit_args typedOther = (addProductFeedSubmit_args)other;
-
 
96752
 
-
 
96753
      lastComparison = Boolean.valueOf(isSetProductFeedSubmit()).compareTo(typedOther.isSetProductFeedSubmit());
-
 
96754
      if (lastComparison != 0) {
-
 
96755
        return lastComparison;
-
 
96756
      }
-
 
96757
      if (isSetProductFeedSubmit()) {
-
 
96758
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.productFeedSubmit, typedOther.productFeedSubmit);
-
 
96759
        if (lastComparison != 0) {
-
 
96760
          return lastComparison;
-
 
96761
        }
-
 
96762
      }
-
 
96763
      return 0;
-
 
96764
    }
-
 
96765
 
-
 
96766
    public _Fields fieldForId(int fieldId) {
-
 
96767
      return _Fields.findByThriftId(fieldId);
-
 
96768
    }
-
 
96769
 
-
 
96770
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
96771
      org.apache.thrift.protocol.TField field;
-
 
96772
      iprot.readStructBegin();
-
 
96773
      while (true)
-
 
96774
      {
-
 
96775
        field = iprot.readFieldBegin();
-
 
96776
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
96777
          break;
-
 
96778
        }
-
 
96779
        switch (field.id) {
-
 
96780
          case 1: // PRODUCT_FEED_SUBMIT
-
 
96781
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
96782
              this.productFeedSubmit = new ProductFeedSubmit();
-
 
96783
              this.productFeedSubmit.read(iprot);
-
 
96784
            } else { 
-
 
96785
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
96786
            }
-
 
96787
            break;
-
 
96788
          default:
-
 
96789
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
96790
        }
-
 
96791
        iprot.readFieldEnd();
-
 
96792
      }
-
 
96793
      iprot.readStructEnd();
-
 
96794
      validate();
-
 
96795
    }
-
 
96796
 
-
 
96797
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
96798
      validate();
-
 
96799
 
-
 
96800
      oprot.writeStructBegin(STRUCT_DESC);
-
 
96801
      if (this.productFeedSubmit != null) {
-
 
96802
        oprot.writeFieldBegin(PRODUCT_FEED_SUBMIT_FIELD_DESC);
-
 
96803
        this.productFeedSubmit.write(oprot);
-
 
96804
        oprot.writeFieldEnd();
-
 
96805
      }
-
 
96806
      oprot.writeFieldStop();
-
 
96807
      oprot.writeStructEnd();
-
 
96808
    }
-
 
96809
 
-
 
96810
    @Override
-
 
96811
    public String toString() {
-
 
96812
      StringBuilder sb = new StringBuilder("addProductFeedSubmit_args(");
-
 
96813
      boolean first = true;
-
 
96814
 
-
 
96815
      sb.append("productFeedSubmit:");
-
 
96816
      if (this.productFeedSubmit == null) {
-
 
96817
        sb.append("null");
-
 
96818
      } else {
-
 
96819
        sb.append(this.productFeedSubmit);
-
 
96820
      }
-
 
96821
      first = false;
-
 
96822
      sb.append(")");
-
 
96823
      return sb.toString();
-
 
96824
    }
-
 
96825
 
-
 
96826
    public void validate() throws org.apache.thrift.TException {
-
 
96827
      // check for required fields
-
 
96828
    }
-
 
96829
 
-
 
96830
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
96831
      try {
-
 
96832
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
96833
      } catch (org.apache.thrift.TException te) {
-
 
96834
        throw new java.io.IOException(te);
-
 
96835
      }
-
 
96836
    }
-
 
96837
 
-
 
96838
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
96839
      try {
-
 
96840
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
96841
      } catch (org.apache.thrift.TException te) {
-
 
96842
        throw new java.io.IOException(te);
-
 
96843
      }
-
 
96844
    }
-
 
96845
 
-
 
96846
  }
-
 
96847
 
-
 
96848
  public static class addProductFeedSubmit_result implements org.apache.thrift.TBase<addProductFeedSubmit_result, addProductFeedSubmit_result._Fields>, java.io.Serializable, Cloneable   {
-
 
96849
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addProductFeedSubmit_result");
-
 
96850
 
-
 
96851
    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);
-
 
96852
    private static final org.apache.thrift.protocol.TField CEX_FIELD_DESC = new org.apache.thrift.protocol.TField("cex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
96853
 
-
 
96854
    private boolean success; // required
-
 
96855
    private CatalogServiceException cex; // required
-
 
96856
 
-
 
96857
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
96858
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
96859
      SUCCESS((short)0, "success"),
-
 
96860
      CEX((short)1, "cex");
-
 
96861
 
-
 
96862
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
96863
 
-
 
96864
      static {
-
 
96865
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
96866
          byName.put(field.getFieldName(), field);
-
 
96867
        }
-
 
96868
      }
-
 
96869
 
-
 
96870
      /**
-
 
96871
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
96872
       */
-
 
96873
      public static _Fields findByThriftId(int fieldId) {
-
 
96874
        switch(fieldId) {
-
 
96875
          case 0: // SUCCESS
-
 
96876
            return SUCCESS;
-
 
96877
          case 1: // CEX
-
 
96878
            return CEX;
-
 
96879
          default:
-
 
96880
            return null;
-
 
96881
        }
-
 
96882
      }
-
 
96883
 
-
 
96884
      /**
-
 
96885
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
96886
       * if it is not found.
-
 
96887
       */
-
 
96888
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
96889
        _Fields fields = findByThriftId(fieldId);
-
 
96890
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
96891
        return fields;
-
 
96892
      }
-
 
96893
 
-
 
96894
      /**
-
 
96895
       * Find the _Fields constant that matches name, or null if its not found.
-
 
96896
       */
-
 
96897
      public static _Fields findByName(String name) {
-
 
96898
        return byName.get(name);
-
 
96899
      }
-
 
96900
 
-
 
96901
      private final short _thriftId;
-
 
96902
      private final String _fieldName;
-
 
96903
 
-
 
96904
      _Fields(short thriftId, String fieldName) {
-
 
96905
        _thriftId = thriftId;
-
 
96906
        _fieldName = fieldName;
-
 
96907
      }
-
 
96908
 
-
 
96909
      public short getThriftFieldId() {
-
 
96910
        return _thriftId;
-
 
96911
      }
-
 
96912
 
-
 
96913
      public String getFieldName() {
-
 
96914
        return _fieldName;
-
 
96915
      }
-
 
96916
    }
-
 
96917
 
-
 
96918
    // isset id assignments
-
 
96919
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
96920
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
96921
 
-
 
96922
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
96923
    static {
-
 
96924
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
96925
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
96926
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
96927
      tmpMap.put(_Fields.CEX, new org.apache.thrift.meta_data.FieldMetaData("cex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
96928
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
96929
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
96930
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addProductFeedSubmit_result.class, metaDataMap);
-
 
96931
    }
-
 
96932
 
-
 
96933
    public addProductFeedSubmit_result() {
-
 
96934
    }
-
 
96935
 
-
 
96936
    public addProductFeedSubmit_result(
-
 
96937
      boolean success,
-
 
96938
      CatalogServiceException cex)
-
 
96939
    {
-
 
96940
      this();
-
 
96941
      this.success = success;
-
 
96942
      setSuccessIsSet(true);
-
 
96943
      this.cex = cex;
-
 
96944
    }
-
 
96945
 
-
 
96946
    /**
-
 
96947
     * Performs a deep copy on <i>other</i>.
-
 
96948
     */
-
 
96949
    public addProductFeedSubmit_result(addProductFeedSubmit_result other) {
-
 
96950
      __isset_bit_vector.clear();
-
 
96951
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
96952
      this.success = other.success;
-
 
96953
      if (other.isSetCex()) {
-
 
96954
        this.cex = new CatalogServiceException(other.cex);
-
 
96955
      }
-
 
96956
    }
-
 
96957
 
-
 
96958
    public addProductFeedSubmit_result deepCopy() {
-
 
96959
      return new addProductFeedSubmit_result(this);
-
 
96960
    }
-
 
96961
 
-
 
96962
    @Override
-
 
96963
    public void clear() {
-
 
96964
      setSuccessIsSet(false);
-
 
96965
      this.success = false;
-
 
96966
      this.cex = null;
-
 
96967
    }
-
 
96968
 
-
 
96969
    public boolean isSuccess() {
-
 
96970
      return this.success;
-
 
96971
    }
-
 
96972
 
-
 
96973
    public void setSuccess(boolean success) {
-
 
96974
      this.success = success;
-
 
96975
      setSuccessIsSet(true);
-
 
96976
    }
-
 
96977
 
-
 
96978
    public void unsetSuccess() {
-
 
96979
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
96980
    }
-
 
96981
 
-
 
96982
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
96983
    public boolean isSetSuccess() {
-
 
96984
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
96985
    }
-
 
96986
 
-
 
96987
    public void setSuccessIsSet(boolean value) {
-
 
96988
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
96989
    }
-
 
96990
 
-
 
96991
    public CatalogServiceException getCex() {
-
 
96992
      return this.cex;
-
 
96993
    }
-
 
96994
 
-
 
96995
    public void setCex(CatalogServiceException cex) {
-
 
96996
      this.cex = cex;
-
 
96997
    }
-
 
96998
 
-
 
96999
    public void unsetCex() {
-
 
97000
      this.cex = null;
-
 
97001
    }
-
 
97002
 
-
 
97003
    /** Returns true if field cex is set (has been assigned a value) and false otherwise */
-
 
97004
    public boolean isSetCex() {
-
 
97005
      return this.cex != null;
-
 
97006
    }
-
 
97007
 
-
 
97008
    public void setCexIsSet(boolean value) {
-
 
97009
      if (!value) {
-
 
97010
        this.cex = null;
-
 
97011
      }
-
 
97012
    }
-
 
97013
 
-
 
97014
    public void setFieldValue(_Fields field, Object value) {
-
 
97015
      switch (field) {
-
 
97016
      case SUCCESS:
-
 
97017
        if (value == null) {
-
 
97018
          unsetSuccess();
-
 
97019
        } else {
-
 
97020
          setSuccess((Boolean)value);
-
 
97021
        }
-
 
97022
        break;
-
 
97023
 
-
 
97024
      case CEX:
-
 
97025
        if (value == null) {
-
 
97026
          unsetCex();
-
 
97027
        } else {
-
 
97028
          setCex((CatalogServiceException)value);
-
 
97029
        }
-
 
97030
        break;
-
 
97031
 
-
 
97032
      }
-
 
97033
    }
-
 
97034
 
-
 
97035
    public Object getFieldValue(_Fields field) {
-
 
97036
      switch (field) {
-
 
97037
      case SUCCESS:
-
 
97038
        return Boolean.valueOf(isSuccess());
-
 
97039
 
-
 
97040
      case CEX:
-
 
97041
        return getCex();
-
 
97042
 
-
 
97043
      }
-
 
97044
      throw new IllegalStateException();
-
 
97045
    }
-
 
97046
 
-
 
97047
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
97048
    public boolean isSet(_Fields field) {
-
 
97049
      if (field == null) {
-
 
97050
        throw new IllegalArgumentException();
-
 
97051
      }
-
 
97052
 
-
 
97053
      switch (field) {
-
 
97054
      case SUCCESS:
-
 
97055
        return isSetSuccess();
-
 
97056
      case CEX:
-
 
97057
        return isSetCex();
-
 
97058
      }
-
 
97059
      throw new IllegalStateException();
-
 
97060
    }
-
 
97061
 
-
 
97062
    @Override
-
 
97063
    public boolean equals(Object that) {
-
 
97064
      if (that == null)
-
 
97065
        return false;
-
 
97066
      if (that instanceof addProductFeedSubmit_result)
-
 
97067
        return this.equals((addProductFeedSubmit_result)that);
-
 
97068
      return false;
-
 
97069
    }
-
 
97070
 
-
 
97071
    public boolean equals(addProductFeedSubmit_result that) {
-
 
97072
      if (that == null)
-
 
97073
        return false;
-
 
97074
 
-
 
97075
      boolean this_present_success = true;
-
 
97076
      boolean that_present_success = true;
-
 
97077
      if (this_present_success || that_present_success) {
-
 
97078
        if (!(this_present_success && that_present_success))
-
 
97079
          return false;
-
 
97080
        if (this.success != that.success)
-
 
97081
          return false;
-
 
97082
      }
-
 
97083
 
-
 
97084
      boolean this_present_cex = true && this.isSetCex();
-
 
97085
      boolean that_present_cex = true && that.isSetCex();
-
 
97086
      if (this_present_cex || that_present_cex) {
-
 
97087
        if (!(this_present_cex && that_present_cex))
-
 
97088
          return false;
-
 
97089
        if (!this.cex.equals(that.cex))
-
 
97090
          return false;
-
 
97091
      }
-
 
97092
 
-
 
97093
      return true;
-
 
97094
    }
-
 
97095
 
-
 
97096
    @Override
-
 
97097
    public int hashCode() {
-
 
97098
      return 0;
-
 
97099
    }
-
 
97100
 
-
 
97101
    public int compareTo(addProductFeedSubmit_result other) {
-
 
97102
      if (!getClass().equals(other.getClass())) {
-
 
97103
        return getClass().getName().compareTo(other.getClass().getName());
-
 
97104
      }
-
 
97105
 
-
 
97106
      int lastComparison = 0;
-
 
97107
      addProductFeedSubmit_result typedOther = (addProductFeedSubmit_result)other;
-
 
97108
 
-
 
97109
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
97110
      if (lastComparison != 0) {
-
 
97111
        return lastComparison;
-
 
97112
      }
-
 
97113
      if (isSetSuccess()) {
-
 
97114
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
97115
        if (lastComparison != 0) {
-
 
97116
          return lastComparison;
-
 
97117
        }
-
 
97118
      }
-
 
97119
      lastComparison = Boolean.valueOf(isSetCex()).compareTo(typedOther.isSetCex());
-
 
97120
      if (lastComparison != 0) {
-
 
97121
        return lastComparison;
-
 
97122
      }
-
 
97123
      if (isSetCex()) {
-
 
97124
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cex, typedOther.cex);
-
 
97125
        if (lastComparison != 0) {
-
 
97126
          return lastComparison;
-
 
97127
        }
-
 
97128
      }
-
 
97129
      return 0;
-
 
97130
    }
-
 
97131
 
-
 
97132
    public _Fields fieldForId(int fieldId) {
-
 
97133
      return _Fields.findByThriftId(fieldId);
-
 
97134
    }
-
 
97135
 
-
 
97136
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
97137
      org.apache.thrift.protocol.TField field;
-
 
97138
      iprot.readStructBegin();
-
 
97139
      while (true)
-
 
97140
      {
-
 
97141
        field = iprot.readFieldBegin();
-
 
97142
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
97143
          break;
-
 
97144
        }
-
 
97145
        switch (field.id) {
-
 
97146
          case 0: // SUCCESS
-
 
97147
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
97148
              this.success = iprot.readBool();
-
 
97149
              setSuccessIsSet(true);
-
 
97150
            } else { 
-
 
97151
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
97152
            }
-
 
97153
            break;
-
 
97154
          case 1: // CEX
-
 
97155
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
97156
              this.cex = new CatalogServiceException();
-
 
97157
              this.cex.read(iprot);
-
 
97158
            } else { 
-
 
97159
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
97160
            }
-
 
97161
            break;
-
 
97162
          default:
-
 
97163
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
97164
        }
-
 
97165
        iprot.readFieldEnd();
-
 
97166
      }
-
 
97167
      iprot.readStructEnd();
-
 
97168
      validate();
-
 
97169
    }
-
 
97170
 
-
 
97171
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
97172
      oprot.writeStructBegin(STRUCT_DESC);
-
 
97173
 
-
 
97174
      if (this.isSetSuccess()) {
-
 
97175
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
97176
        oprot.writeBool(this.success);
-
 
97177
        oprot.writeFieldEnd();
-
 
97178
      } else if (this.isSetCex()) {
-
 
97179
        oprot.writeFieldBegin(CEX_FIELD_DESC);
-
 
97180
        this.cex.write(oprot);
-
 
97181
        oprot.writeFieldEnd();
-
 
97182
      }
-
 
97183
      oprot.writeFieldStop();
-
 
97184
      oprot.writeStructEnd();
-
 
97185
    }
-
 
97186
 
-
 
97187
    @Override
-
 
97188
    public String toString() {
-
 
97189
      StringBuilder sb = new StringBuilder("addProductFeedSubmit_result(");
-
 
97190
      boolean first = true;
-
 
97191
 
-
 
97192
      sb.append("success:");
-
 
97193
      sb.append(this.success);
-
 
97194
      first = false;
-
 
97195
      if (!first) sb.append(", ");
-
 
97196
      sb.append("cex:");
-
 
97197
      if (this.cex == null) {
-
 
97198
        sb.append("null");
-
 
97199
      } else {
-
 
97200
        sb.append(this.cex);
-
 
97201
      }
-
 
97202
      first = false;
-
 
97203
      sb.append(")");
-
 
97204
      return sb.toString();
-
 
97205
    }
-
 
97206
 
-
 
97207
    public void validate() throws org.apache.thrift.TException {
-
 
97208
      // check for required fields
-
 
97209
    }
-
 
97210
 
-
 
97211
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
97212
      try {
-
 
97213
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
97214
      } catch (org.apache.thrift.TException te) {
-
 
97215
        throw new java.io.IOException(te);
-
 
97216
      }
-
 
97217
    }
-
 
97218
 
-
 
97219
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
97220
      try {
-
 
97221
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
97222
      } catch (org.apache.thrift.TException te) {
-
 
97223
        throw new java.io.IOException(te);
-
 
97224
      }
-
 
97225
    }
-
 
97226
 
-
 
97227
  }
-
 
97228
 
-
 
97229
  public static class updateProductFeedSubmit_args implements org.apache.thrift.TBase<updateProductFeedSubmit_args, updateProductFeedSubmit_args._Fields>, java.io.Serializable, Cloneable   {
-
 
97230
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateProductFeedSubmit_args");
-
 
97231
 
-
 
97232
    private static final org.apache.thrift.protocol.TField PRODUCT_FEED_SUBMIT_FIELD_DESC = new org.apache.thrift.protocol.TField("productFeedSubmit", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
97233
 
-
 
97234
    private ProductFeedSubmit productFeedSubmit; // required
-
 
97235
 
-
 
97236
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
97237
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
97238
      PRODUCT_FEED_SUBMIT((short)1, "productFeedSubmit");
-
 
97239
 
-
 
97240
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
97241
 
-
 
97242
      static {
-
 
97243
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
97244
          byName.put(field.getFieldName(), field);
-
 
97245
        }
-
 
97246
      }
-
 
97247
 
-
 
97248
      /**
-
 
97249
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
97250
       */
-
 
97251
      public static _Fields findByThriftId(int fieldId) {
-
 
97252
        switch(fieldId) {
-
 
97253
          case 1: // PRODUCT_FEED_SUBMIT
-
 
97254
            return PRODUCT_FEED_SUBMIT;
-
 
97255
          default:
-
 
97256
            return null;
-
 
97257
        }
-
 
97258
      }
-
 
97259
 
-
 
97260
      /**
-
 
97261
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
97262
       * if it is not found.
-
 
97263
       */
-
 
97264
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
97265
        _Fields fields = findByThriftId(fieldId);
-
 
97266
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
97267
        return fields;
-
 
97268
      }
-
 
97269
 
-
 
97270
      /**
-
 
97271
       * Find the _Fields constant that matches name, or null if its not found.
-
 
97272
       */
-
 
97273
      public static _Fields findByName(String name) {
-
 
97274
        return byName.get(name);
-
 
97275
      }
-
 
97276
 
-
 
97277
      private final short _thriftId;
-
 
97278
      private final String _fieldName;
-
 
97279
 
-
 
97280
      _Fields(short thriftId, String fieldName) {
-
 
97281
        _thriftId = thriftId;
-
 
97282
        _fieldName = fieldName;
-
 
97283
      }
-
 
97284
 
-
 
97285
      public short getThriftFieldId() {
-
 
97286
        return _thriftId;
-
 
97287
      }
-
 
97288
 
-
 
97289
      public String getFieldName() {
-
 
97290
        return _fieldName;
-
 
97291
      }
-
 
97292
    }
-
 
97293
 
-
 
97294
    // isset id assignments
-
 
97295
 
-
 
97296
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
97297
    static {
-
 
97298
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
97299
      tmpMap.put(_Fields.PRODUCT_FEED_SUBMIT, new org.apache.thrift.meta_data.FieldMetaData("productFeedSubmit", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
97300
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ProductFeedSubmit.class)));
-
 
97301
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
97302
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateProductFeedSubmit_args.class, metaDataMap);
-
 
97303
    }
-
 
97304
 
-
 
97305
    public updateProductFeedSubmit_args() {
-
 
97306
    }
-
 
97307
 
-
 
97308
    public updateProductFeedSubmit_args(
-
 
97309
      ProductFeedSubmit productFeedSubmit)
-
 
97310
    {
-
 
97311
      this();
-
 
97312
      this.productFeedSubmit = productFeedSubmit;
-
 
97313
    }
-
 
97314
 
-
 
97315
    /**
-
 
97316
     * Performs a deep copy on <i>other</i>.
-
 
97317
     */
-
 
97318
    public updateProductFeedSubmit_args(updateProductFeedSubmit_args other) {
-
 
97319
      if (other.isSetProductFeedSubmit()) {
-
 
97320
        this.productFeedSubmit = new ProductFeedSubmit(other.productFeedSubmit);
-
 
97321
      }
-
 
97322
    }
-
 
97323
 
-
 
97324
    public updateProductFeedSubmit_args deepCopy() {
-
 
97325
      return new updateProductFeedSubmit_args(this);
-
 
97326
    }
-
 
97327
 
-
 
97328
    @Override
-
 
97329
    public void clear() {
-
 
97330
      this.productFeedSubmit = null;
-
 
97331
    }
-
 
97332
 
-
 
97333
    public ProductFeedSubmit getProductFeedSubmit() {
-
 
97334
      return this.productFeedSubmit;
-
 
97335
    }
-
 
97336
 
-
 
97337
    public void setProductFeedSubmit(ProductFeedSubmit productFeedSubmit) {
-
 
97338
      this.productFeedSubmit = productFeedSubmit;
-
 
97339
    }
-
 
97340
 
-
 
97341
    public void unsetProductFeedSubmit() {
-
 
97342
      this.productFeedSubmit = null;
-
 
97343
    }
-
 
97344
 
-
 
97345
    /** Returns true if field productFeedSubmit is set (has been assigned a value) and false otherwise */
-
 
97346
    public boolean isSetProductFeedSubmit() {
-
 
97347
      return this.productFeedSubmit != null;
-
 
97348
    }
-
 
97349
 
-
 
97350
    public void setProductFeedSubmitIsSet(boolean value) {
-
 
97351
      if (!value) {
-
 
97352
        this.productFeedSubmit = null;
-
 
97353
      }
-
 
97354
    }
-
 
97355
 
-
 
97356
    public void setFieldValue(_Fields field, Object value) {
-
 
97357
      switch (field) {
-
 
97358
      case PRODUCT_FEED_SUBMIT:
-
 
97359
        if (value == null) {
-
 
97360
          unsetProductFeedSubmit();
-
 
97361
        } else {
-
 
97362
          setProductFeedSubmit((ProductFeedSubmit)value);
-
 
97363
        }
-
 
97364
        break;
-
 
97365
 
-
 
97366
      }
-
 
97367
    }
-
 
97368
 
-
 
97369
    public Object getFieldValue(_Fields field) {
-
 
97370
      switch (field) {
-
 
97371
      case PRODUCT_FEED_SUBMIT:
-
 
97372
        return getProductFeedSubmit();
-
 
97373
 
-
 
97374
      }
-
 
97375
      throw new IllegalStateException();
-
 
97376
    }
-
 
97377
 
-
 
97378
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
97379
    public boolean isSet(_Fields field) {
-
 
97380
      if (field == null) {
-
 
97381
        throw new IllegalArgumentException();
-
 
97382
      }
-
 
97383
 
-
 
97384
      switch (field) {
-
 
97385
      case PRODUCT_FEED_SUBMIT:
-
 
97386
        return isSetProductFeedSubmit();
-
 
97387
      }
-
 
97388
      throw new IllegalStateException();
-
 
97389
    }
-
 
97390
 
-
 
97391
    @Override
-
 
97392
    public boolean equals(Object that) {
-
 
97393
      if (that == null)
-
 
97394
        return false;
-
 
97395
      if (that instanceof updateProductFeedSubmit_args)
-
 
97396
        return this.equals((updateProductFeedSubmit_args)that);
-
 
97397
      return false;
-
 
97398
    }
-
 
97399
 
-
 
97400
    public boolean equals(updateProductFeedSubmit_args that) {
-
 
97401
      if (that == null)
-
 
97402
        return false;
-
 
97403
 
-
 
97404
      boolean this_present_productFeedSubmit = true && this.isSetProductFeedSubmit();
-
 
97405
      boolean that_present_productFeedSubmit = true && that.isSetProductFeedSubmit();
-
 
97406
      if (this_present_productFeedSubmit || that_present_productFeedSubmit) {
-
 
97407
        if (!(this_present_productFeedSubmit && that_present_productFeedSubmit))
-
 
97408
          return false;
-
 
97409
        if (!this.productFeedSubmit.equals(that.productFeedSubmit))
-
 
97410
          return false;
-
 
97411
      }
-
 
97412
 
-
 
97413
      return true;
-
 
97414
    }
-
 
97415
 
-
 
97416
    @Override
-
 
97417
    public int hashCode() {
-
 
97418
      return 0;
-
 
97419
    }
-
 
97420
 
-
 
97421
    public int compareTo(updateProductFeedSubmit_args other) {
-
 
97422
      if (!getClass().equals(other.getClass())) {
-
 
97423
        return getClass().getName().compareTo(other.getClass().getName());
-
 
97424
      }
-
 
97425
 
-
 
97426
      int lastComparison = 0;
-
 
97427
      updateProductFeedSubmit_args typedOther = (updateProductFeedSubmit_args)other;
-
 
97428
 
-
 
97429
      lastComparison = Boolean.valueOf(isSetProductFeedSubmit()).compareTo(typedOther.isSetProductFeedSubmit());
-
 
97430
      if (lastComparison != 0) {
-
 
97431
        return lastComparison;
-
 
97432
      }
-
 
97433
      if (isSetProductFeedSubmit()) {
-
 
97434
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.productFeedSubmit, typedOther.productFeedSubmit);
-
 
97435
        if (lastComparison != 0) {
-
 
97436
          return lastComparison;
-
 
97437
        }
-
 
97438
      }
-
 
97439
      return 0;
-
 
97440
    }
-
 
97441
 
-
 
97442
    public _Fields fieldForId(int fieldId) {
-
 
97443
      return _Fields.findByThriftId(fieldId);
-
 
97444
    }
-
 
97445
 
-
 
97446
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
97447
      org.apache.thrift.protocol.TField field;
-
 
97448
      iprot.readStructBegin();
-
 
97449
      while (true)
-
 
97450
      {
-
 
97451
        field = iprot.readFieldBegin();
-
 
97452
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
97453
          break;
-
 
97454
        }
-
 
97455
        switch (field.id) {
-
 
97456
          case 1: // PRODUCT_FEED_SUBMIT
-
 
97457
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
97458
              this.productFeedSubmit = new ProductFeedSubmit();
-
 
97459
              this.productFeedSubmit.read(iprot);
-
 
97460
            } else { 
-
 
97461
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
97462
            }
-
 
97463
            break;
-
 
97464
          default:
-
 
97465
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
97466
        }
-
 
97467
        iprot.readFieldEnd();
-
 
97468
      }
-
 
97469
      iprot.readStructEnd();
-
 
97470
      validate();
-
 
97471
    }
-
 
97472
 
-
 
97473
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
97474
      validate();
-
 
97475
 
-
 
97476
      oprot.writeStructBegin(STRUCT_DESC);
-
 
97477
      if (this.productFeedSubmit != null) {
-
 
97478
        oprot.writeFieldBegin(PRODUCT_FEED_SUBMIT_FIELD_DESC);
-
 
97479
        this.productFeedSubmit.write(oprot);
-
 
97480
        oprot.writeFieldEnd();
-
 
97481
      }
-
 
97482
      oprot.writeFieldStop();
-
 
97483
      oprot.writeStructEnd();
-
 
97484
    }
-
 
97485
 
-
 
97486
    @Override
-
 
97487
    public String toString() {
-
 
97488
      StringBuilder sb = new StringBuilder("updateProductFeedSubmit_args(");
-
 
97489
      boolean first = true;
-
 
97490
 
-
 
97491
      sb.append("productFeedSubmit:");
-
 
97492
      if (this.productFeedSubmit == null) {
-
 
97493
        sb.append("null");
-
 
97494
      } else {
-
 
97495
        sb.append(this.productFeedSubmit);
-
 
97496
      }
-
 
97497
      first = false;
-
 
97498
      sb.append(")");
-
 
97499
      return sb.toString();
-
 
97500
    }
-
 
97501
 
-
 
97502
    public void validate() throws org.apache.thrift.TException {
-
 
97503
      // check for required fields
-
 
97504
    }
-
 
97505
 
-
 
97506
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
97507
      try {
-
 
97508
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
97509
      } catch (org.apache.thrift.TException te) {
-
 
97510
        throw new java.io.IOException(te);
-
 
97511
      }
-
 
97512
    }
-
 
97513
 
-
 
97514
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
97515
      try {
-
 
97516
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
97517
      } catch (org.apache.thrift.TException te) {
-
 
97518
        throw new java.io.IOException(te);
-
 
97519
      }
-
 
97520
    }
-
 
97521
 
-
 
97522
  }
-
 
97523
 
-
 
97524
  public static class updateProductFeedSubmit_result implements org.apache.thrift.TBase<updateProductFeedSubmit_result, updateProductFeedSubmit_result._Fields>, java.io.Serializable, Cloneable   {
-
 
97525
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateProductFeedSubmit_result");
-
 
97526
 
-
 
97527
    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);
-
 
97528
    private static final org.apache.thrift.protocol.TField CEX_FIELD_DESC = new org.apache.thrift.protocol.TField("cex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
97529
 
-
 
97530
    private boolean success; // required
-
 
97531
    private CatalogServiceException cex; // required
-
 
97532
 
-
 
97533
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
97534
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
97535
      SUCCESS((short)0, "success"),
-
 
97536
      CEX((short)1, "cex");
-
 
97537
 
-
 
97538
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
97539
 
-
 
97540
      static {
-
 
97541
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
97542
          byName.put(field.getFieldName(), field);
-
 
97543
        }
-
 
97544
      }
-
 
97545
 
-
 
97546
      /**
-
 
97547
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
97548
       */
-
 
97549
      public static _Fields findByThriftId(int fieldId) {
-
 
97550
        switch(fieldId) {
-
 
97551
          case 0: // SUCCESS
-
 
97552
            return SUCCESS;
-
 
97553
          case 1: // CEX
-
 
97554
            return CEX;
-
 
97555
          default:
-
 
97556
            return null;
-
 
97557
        }
-
 
97558
      }
-
 
97559
 
-
 
97560
      /**
-
 
97561
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
97562
       * if it is not found.
-
 
97563
       */
-
 
97564
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
97565
        _Fields fields = findByThriftId(fieldId);
-
 
97566
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
97567
        return fields;
-
 
97568
      }
-
 
97569
 
-
 
97570
      /**
-
 
97571
       * Find the _Fields constant that matches name, or null if its not found.
-
 
97572
       */
-
 
97573
      public static _Fields findByName(String name) {
-
 
97574
        return byName.get(name);
-
 
97575
      }
-
 
97576
 
-
 
97577
      private final short _thriftId;
-
 
97578
      private final String _fieldName;
-
 
97579
 
-
 
97580
      _Fields(short thriftId, String fieldName) {
-
 
97581
        _thriftId = thriftId;
-
 
97582
        _fieldName = fieldName;
-
 
97583
      }
-
 
97584
 
-
 
97585
      public short getThriftFieldId() {
-
 
97586
        return _thriftId;
-
 
97587
      }
-
 
97588
 
-
 
97589
      public String getFieldName() {
-
 
97590
        return _fieldName;
-
 
97591
      }
-
 
97592
    }
-
 
97593
 
-
 
97594
    // isset id assignments
-
 
97595
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
97596
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
97597
 
-
 
97598
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
97599
    static {
-
 
97600
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
97601
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
97602
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
97603
      tmpMap.put(_Fields.CEX, new org.apache.thrift.meta_data.FieldMetaData("cex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
97604
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
97605
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
97606
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateProductFeedSubmit_result.class, metaDataMap);
-
 
97607
    }
-
 
97608
 
-
 
97609
    public updateProductFeedSubmit_result() {
-
 
97610
    }
-
 
97611
 
-
 
97612
    public updateProductFeedSubmit_result(
-
 
97613
      boolean success,
-
 
97614
      CatalogServiceException cex)
-
 
97615
    {
-
 
97616
      this();
-
 
97617
      this.success = success;
-
 
97618
      setSuccessIsSet(true);
-
 
97619
      this.cex = cex;
-
 
97620
    }
-
 
97621
 
-
 
97622
    /**
-
 
97623
     * Performs a deep copy on <i>other</i>.
-
 
97624
     */
-
 
97625
    public updateProductFeedSubmit_result(updateProductFeedSubmit_result other) {
-
 
97626
      __isset_bit_vector.clear();
-
 
97627
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
97628
      this.success = other.success;
-
 
97629
      if (other.isSetCex()) {
-
 
97630
        this.cex = new CatalogServiceException(other.cex);
-
 
97631
      }
-
 
97632
    }
-
 
97633
 
-
 
97634
    public updateProductFeedSubmit_result deepCopy() {
-
 
97635
      return new updateProductFeedSubmit_result(this);
-
 
97636
    }
-
 
97637
 
-
 
97638
    @Override
-
 
97639
    public void clear() {
-
 
97640
      setSuccessIsSet(false);
-
 
97641
      this.success = false;
-
 
97642
      this.cex = null;
-
 
97643
    }
-
 
97644
 
-
 
97645
    public boolean isSuccess() {
-
 
97646
      return this.success;
-
 
97647
    }
-
 
97648
 
-
 
97649
    public void setSuccess(boolean success) {
-
 
97650
      this.success = success;
-
 
97651
      setSuccessIsSet(true);
-
 
97652
    }
-
 
97653
 
-
 
97654
    public void unsetSuccess() {
-
 
97655
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
97656
    }
-
 
97657
 
-
 
97658
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
97659
    public boolean isSetSuccess() {
-
 
97660
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
97661
    }
-
 
97662
 
-
 
97663
    public void setSuccessIsSet(boolean value) {
-
 
97664
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
97665
    }
-
 
97666
 
-
 
97667
    public CatalogServiceException getCex() {
-
 
97668
      return this.cex;
-
 
97669
    }
-
 
97670
 
-
 
97671
    public void setCex(CatalogServiceException cex) {
-
 
97672
      this.cex = cex;
-
 
97673
    }
-
 
97674
 
-
 
97675
    public void unsetCex() {
-
 
97676
      this.cex = null;
-
 
97677
    }
-
 
97678
 
-
 
97679
    /** Returns true if field cex is set (has been assigned a value) and false otherwise */
-
 
97680
    public boolean isSetCex() {
-
 
97681
      return this.cex != null;
-
 
97682
    }
-
 
97683
 
-
 
97684
    public void setCexIsSet(boolean value) {
-
 
97685
      if (!value) {
-
 
97686
        this.cex = null;
-
 
97687
      }
-
 
97688
    }
-
 
97689
 
-
 
97690
    public void setFieldValue(_Fields field, Object value) {
-
 
97691
      switch (field) {
-
 
97692
      case SUCCESS:
-
 
97693
        if (value == null) {
-
 
97694
          unsetSuccess();
-
 
97695
        } else {
-
 
97696
          setSuccess((Boolean)value);
-
 
97697
        }
-
 
97698
        break;
-
 
97699
 
-
 
97700
      case CEX:
-
 
97701
        if (value == null) {
-
 
97702
          unsetCex();
-
 
97703
        } else {
-
 
97704
          setCex((CatalogServiceException)value);
-
 
97705
        }
-
 
97706
        break;
-
 
97707
 
-
 
97708
      }
-
 
97709
    }
-
 
97710
 
-
 
97711
    public Object getFieldValue(_Fields field) {
-
 
97712
      switch (field) {
-
 
97713
      case SUCCESS:
-
 
97714
        return Boolean.valueOf(isSuccess());
-
 
97715
 
-
 
97716
      case CEX:
-
 
97717
        return getCex();
-
 
97718
 
-
 
97719
      }
-
 
97720
      throw new IllegalStateException();
-
 
97721
    }
-
 
97722
 
-
 
97723
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
97724
    public boolean isSet(_Fields field) {
-
 
97725
      if (field == null) {
-
 
97726
        throw new IllegalArgumentException();
-
 
97727
      }
-
 
97728
 
-
 
97729
      switch (field) {
-
 
97730
      case SUCCESS:
-
 
97731
        return isSetSuccess();
-
 
97732
      case CEX:
-
 
97733
        return isSetCex();
-
 
97734
      }
-
 
97735
      throw new IllegalStateException();
-
 
97736
    }
-
 
97737
 
-
 
97738
    @Override
-
 
97739
    public boolean equals(Object that) {
-
 
97740
      if (that == null)
-
 
97741
        return false;
-
 
97742
      if (that instanceof updateProductFeedSubmit_result)
-
 
97743
        return this.equals((updateProductFeedSubmit_result)that);
-
 
97744
      return false;
-
 
97745
    }
-
 
97746
 
-
 
97747
    public boolean equals(updateProductFeedSubmit_result that) {
-
 
97748
      if (that == null)
-
 
97749
        return false;
-
 
97750
 
-
 
97751
      boolean this_present_success = true;
-
 
97752
      boolean that_present_success = true;
-
 
97753
      if (this_present_success || that_present_success) {
-
 
97754
        if (!(this_present_success && that_present_success))
-
 
97755
          return false;
-
 
97756
        if (this.success != that.success)
-
 
97757
          return false;
-
 
97758
      }
-
 
97759
 
-
 
97760
      boolean this_present_cex = true && this.isSetCex();
-
 
97761
      boolean that_present_cex = true && that.isSetCex();
-
 
97762
      if (this_present_cex || that_present_cex) {
-
 
97763
        if (!(this_present_cex && that_present_cex))
-
 
97764
          return false;
-
 
97765
        if (!this.cex.equals(that.cex))
-
 
97766
          return false;
-
 
97767
      }
-
 
97768
 
-
 
97769
      return true;
-
 
97770
    }
-
 
97771
 
-
 
97772
    @Override
-
 
97773
    public int hashCode() {
-
 
97774
      return 0;
-
 
97775
    }
-
 
97776
 
-
 
97777
    public int compareTo(updateProductFeedSubmit_result other) {
-
 
97778
      if (!getClass().equals(other.getClass())) {
-
 
97779
        return getClass().getName().compareTo(other.getClass().getName());
-
 
97780
      }
-
 
97781
 
-
 
97782
      int lastComparison = 0;
-
 
97783
      updateProductFeedSubmit_result typedOther = (updateProductFeedSubmit_result)other;
-
 
97784
 
-
 
97785
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
97786
      if (lastComparison != 0) {
-
 
97787
        return lastComparison;
-
 
97788
      }
-
 
97789
      if (isSetSuccess()) {
-
 
97790
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
97791
        if (lastComparison != 0) {
-
 
97792
          return lastComparison;
-
 
97793
        }
-
 
97794
      }
-
 
97795
      lastComparison = Boolean.valueOf(isSetCex()).compareTo(typedOther.isSetCex());
-
 
97796
      if (lastComparison != 0) {
-
 
97797
        return lastComparison;
-
 
97798
      }
-
 
97799
      if (isSetCex()) {
-
 
97800
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cex, typedOther.cex);
-
 
97801
        if (lastComparison != 0) {
-
 
97802
          return lastComparison;
-
 
97803
        }
-
 
97804
      }
-
 
97805
      return 0;
-
 
97806
    }
-
 
97807
 
-
 
97808
    public _Fields fieldForId(int fieldId) {
-
 
97809
      return _Fields.findByThriftId(fieldId);
-
 
97810
    }
-
 
97811
 
-
 
97812
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
97813
      org.apache.thrift.protocol.TField field;
-
 
97814
      iprot.readStructBegin();
-
 
97815
      while (true)
-
 
97816
      {
-
 
97817
        field = iprot.readFieldBegin();
-
 
97818
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
97819
          break;
-
 
97820
        }
-
 
97821
        switch (field.id) {
-
 
97822
          case 0: // SUCCESS
-
 
97823
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
97824
              this.success = iprot.readBool();
-
 
97825
              setSuccessIsSet(true);
-
 
97826
            } else { 
-
 
97827
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
97828
            }
-
 
97829
            break;
-
 
97830
          case 1: // CEX
-
 
97831
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
97832
              this.cex = new CatalogServiceException();
-
 
97833
              this.cex.read(iprot);
-
 
97834
            } else { 
-
 
97835
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
97836
            }
-
 
97837
            break;
-
 
97838
          default:
-
 
97839
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
97840
        }
-
 
97841
        iprot.readFieldEnd();
-
 
97842
      }
-
 
97843
      iprot.readStructEnd();
-
 
97844
      validate();
-
 
97845
    }
-
 
97846
 
-
 
97847
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
97848
      oprot.writeStructBegin(STRUCT_DESC);
-
 
97849
 
-
 
97850
      if (this.isSetSuccess()) {
-
 
97851
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
97852
        oprot.writeBool(this.success);
-
 
97853
        oprot.writeFieldEnd();
-
 
97854
      } else if (this.isSetCex()) {
-
 
97855
        oprot.writeFieldBegin(CEX_FIELD_DESC);
-
 
97856
        this.cex.write(oprot);
-
 
97857
        oprot.writeFieldEnd();
-
 
97858
      }
-
 
97859
      oprot.writeFieldStop();
-
 
97860
      oprot.writeStructEnd();
-
 
97861
    }
-
 
97862
 
-
 
97863
    @Override
-
 
97864
    public String toString() {
-
 
97865
      StringBuilder sb = new StringBuilder("updateProductFeedSubmit_result(");
-
 
97866
      boolean first = true;
-
 
97867
 
-
 
97868
      sb.append("success:");
-
 
97869
      sb.append(this.success);
-
 
97870
      first = false;
-
 
97871
      if (!first) sb.append(", ");
-
 
97872
      sb.append("cex:");
-
 
97873
      if (this.cex == null) {
-
 
97874
        sb.append("null");
-
 
97875
      } else {
-
 
97876
        sb.append(this.cex);
-
 
97877
      }
-
 
97878
      first = false;
-
 
97879
      sb.append(")");
-
 
97880
      return sb.toString();
-
 
97881
    }
-
 
97882
 
-
 
97883
    public void validate() throws org.apache.thrift.TException {
-
 
97884
      // check for required fields
-
 
97885
    }
-
 
97886
 
-
 
97887
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
97888
      try {
-
 
97889
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
97890
      } catch (org.apache.thrift.TException te) {
-
 
97891
        throw new java.io.IOException(te);
-
 
97892
      }
-
 
97893
    }
-
 
97894
 
-
 
97895
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
97896
      try {
-
 
97897
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
97898
      } catch (org.apache.thrift.TException te) {
-
 
97899
        throw new java.io.IOException(te);
-
 
97900
      }
-
 
97901
    }
-
 
97902
 
-
 
97903
  }
-
 
97904
 
-
 
97905
  public static class deleteProductFeedSubmit_args implements org.apache.thrift.TBase<deleteProductFeedSubmit_args, deleteProductFeedSubmit_args._Fields>, java.io.Serializable, Cloneable   {
-
 
97906
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteProductFeedSubmit_args");
-
 
97907
 
-
 
97908
    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)1);
-
 
97909
 
-
 
97910
    private long catalogItemId; // required
-
 
97911
 
-
 
97912
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
97913
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
97914
      CATALOG_ITEM_ID((short)1, "catalogItemId");
-
 
97915
 
-
 
97916
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
97917
 
-
 
97918
      static {
-
 
97919
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
97920
          byName.put(field.getFieldName(), field);
-
 
97921
        }
-
 
97922
      }
-
 
97923
 
-
 
97924
      /**
-
 
97925
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
97926
       */
-
 
97927
      public static _Fields findByThriftId(int fieldId) {
-
 
97928
        switch(fieldId) {
-
 
97929
          case 1: // CATALOG_ITEM_ID
-
 
97930
            return CATALOG_ITEM_ID;
-
 
97931
          default:
-
 
97932
            return null;
-
 
97933
        }
-
 
97934
      }
-
 
97935
 
-
 
97936
      /**
-
 
97937
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
97938
       * if it is not found.
-
 
97939
       */
-
 
97940
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
97941
        _Fields fields = findByThriftId(fieldId);
-
 
97942
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
97943
        return fields;
-
 
97944
      }
-
 
97945
 
-
 
97946
      /**
-
 
97947
       * Find the _Fields constant that matches name, or null if its not found.
-
 
97948
       */
-
 
97949
      public static _Fields findByName(String name) {
-
 
97950
        return byName.get(name);
-
 
97951
      }
-
 
97952
 
-
 
97953
      private final short _thriftId;
-
 
97954
      private final String _fieldName;
-
 
97955
 
-
 
97956
      _Fields(short thriftId, String fieldName) {
-
 
97957
        _thriftId = thriftId;
-
 
97958
        _fieldName = fieldName;
-
 
97959
      }
-
 
97960
 
-
 
97961
      public short getThriftFieldId() {
-
 
97962
        return _thriftId;
-
 
97963
      }
-
 
97964
 
-
 
97965
      public String getFieldName() {
-
 
97966
        return _fieldName;
-
 
97967
      }
-
 
97968
    }
-
 
97969
 
-
 
97970
    // isset id assignments
-
 
97971
    private static final int __CATALOGITEMID_ISSET_ID = 0;
-
 
97972
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
97973
 
-
 
97974
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
97975
    static {
-
 
97976
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
97977
      tmpMap.put(_Fields.CATALOG_ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("catalogItemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
97978
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
97979
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
97980
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteProductFeedSubmit_args.class, metaDataMap);
-
 
97981
    }
-
 
97982
 
-
 
97983
    public deleteProductFeedSubmit_args() {
-
 
97984
    }
-
 
97985
 
-
 
97986
    public deleteProductFeedSubmit_args(
-
 
97987
      long catalogItemId)
-
 
97988
    {
-
 
97989
      this();
-
 
97990
      this.catalogItemId = catalogItemId;
-
 
97991
      setCatalogItemIdIsSet(true);
-
 
97992
    }
-
 
97993
 
-
 
97994
    /**
-
 
97995
     * Performs a deep copy on <i>other</i>.
-
 
97996
     */
-
 
97997
    public deleteProductFeedSubmit_args(deleteProductFeedSubmit_args other) {
-
 
97998
      __isset_bit_vector.clear();
-
 
97999
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
98000
      this.catalogItemId = other.catalogItemId;
-
 
98001
    }
-
 
98002
 
-
 
98003
    public deleteProductFeedSubmit_args deepCopy() {
-
 
98004
      return new deleteProductFeedSubmit_args(this);
-
 
98005
    }
-
 
98006
 
-
 
98007
    @Override
-
 
98008
    public void clear() {
-
 
98009
      setCatalogItemIdIsSet(false);
-
 
98010
      this.catalogItemId = 0;
-
 
98011
    }
-
 
98012
 
-
 
98013
    public long getCatalogItemId() {
-
 
98014
      return this.catalogItemId;
-
 
98015
    }
-
 
98016
 
-
 
98017
    public void setCatalogItemId(long catalogItemId) {
-
 
98018
      this.catalogItemId = catalogItemId;
-
 
98019
      setCatalogItemIdIsSet(true);
-
 
98020
    }
-
 
98021
 
-
 
98022
    public void unsetCatalogItemId() {
-
 
98023
      __isset_bit_vector.clear(__CATALOGITEMID_ISSET_ID);
-
 
98024
    }
-
 
98025
 
-
 
98026
    /** Returns true if field catalogItemId is set (has been assigned a value) and false otherwise */
-
 
98027
    public boolean isSetCatalogItemId() {
-
 
98028
      return __isset_bit_vector.get(__CATALOGITEMID_ISSET_ID);
-
 
98029
    }
-
 
98030
 
-
 
98031
    public void setCatalogItemIdIsSet(boolean value) {
-
 
98032
      __isset_bit_vector.set(__CATALOGITEMID_ISSET_ID, value);
-
 
98033
    }
-
 
98034
 
-
 
98035
    public void setFieldValue(_Fields field, Object value) {
-
 
98036
      switch (field) {
-
 
98037
      case CATALOG_ITEM_ID:
-
 
98038
        if (value == null) {
-
 
98039
          unsetCatalogItemId();
-
 
98040
        } else {
-
 
98041
          setCatalogItemId((Long)value);
-
 
98042
        }
-
 
98043
        break;
-
 
98044
 
-
 
98045
      }
-
 
98046
    }
-
 
98047
 
-
 
98048
    public Object getFieldValue(_Fields field) {
-
 
98049
      switch (field) {
-
 
98050
      case CATALOG_ITEM_ID:
-
 
98051
        return Long.valueOf(getCatalogItemId());
-
 
98052
 
-
 
98053
      }
-
 
98054
      throw new IllegalStateException();
-
 
98055
    }
-
 
98056
 
-
 
98057
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
98058
    public boolean isSet(_Fields field) {
-
 
98059
      if (field == null) {
-
 
98060
        throw new IllegalArgumentException();
-
 
98061
      }
-
 
98062
 
-
 
98063
      switch (field) {
-
 
98064
      case CATALOG_ITEM_ID:
-
 
98065
        return isSetCatalogItemId();
-
 
98066
      }
-
 
98067
      throw new IllegalStateException();
-
 
98068
    }
-
 
98069
 
-
 
98070
    @Override
-
 
98071
    public boolean equals(Object that) {
-
 
98072
      if (that == null)
-
 
98073
        return false;
-
 
98074
      if (that instanceof deleteProductFeedSubmit_args)
-
 
98075
        return this.equals((deleteProductFeedSubmit_args)that);
-
 
98076
      return false;
-
 
98077
    }
-
 
98078
 
-
 
98079
    public boolean equals(deleteProductFeedSubmit_args that) {
-
 
98080
      if (that == null)
-
 
98081
        return false;
-
 
98082
 
-
 
98083
      boolean this_present_catalogItemId = true;
-
 
98084
      boolean that_present_catalogItemId = true;
-
 
98085
      if (this_present_catalogItemId || that_present_catalogItemId) {
-
 
98086
        if (!(this_present_catalogItemId && that_present_catalogItemId))
-
 
98087
          return false;
-
 
98088
        if (this.catalogItemId != that.catalogItemId)
-
 
98089
          return false;
-
 
98090
      }
-
 
98091
 
-
 
98092
      return true;
-
 
98093
    }
-
 
98094
 
-
 
98095
    @Override
-
 
98096
    public int hashCode() {
-
 
98097
      return 0;
-
 
98098
    }
-
 
98099
 
-
 
98100
    public int compareTo(deleteProductFeedSubmit_args other) {
-
 
98101
      if (!getClass().equals(other.getClass())) {
-
 
98102
        return getClass().getName().compareTo(other.getClass().getName());
-
 
98103
      }
-
 
98104
 
-
 
98105
      int lastComparison = 0;
-
 
98106
      deleteProductFeedSubmit_args typedOther = (deleteProductFeedSubmit_args)other;
-
 
98107
 
-
 
98108
      lastComparison = Boolean.valueOf(isSetCatalogItemId()).compareTo(typedOther.isSetCatalogItemId());
-
 
98109
      if (lastComparison != 0) {
-
 
98110
        return lastComparison;
-
 
98111
      }
-
 
98112
      if (isSetCatalogItemId()) {
-
 
98113
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogItemId, typedOther.catalogItemId);
-
 
98114
        if (lastComparison != 0) {
-
 
98115
          return lastComparison;
-
 
98116
        }
-
 
98117
      }
-
 
98118
      return 0;
-
 
98119
    }
-
 
98120
 
-
 
98121
    public _Fields fieldForId(int fieldId) {
-
 
98122
      return _Fields.findByThriftId(fieldId);
-
 
98123
    }
-
 
98124
 
-
 
98125
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
98126
      org.apache.thrift.protocol.TField field;
-
 
98127
      iprot.readStructBegin();
-
 
98128
      while (true)
-
 
98129
      {
-
 
98130
        field = iprot.readFieldBegin();
-
 
98131
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
98132
          break;
-
 
98133
        }
-
 
98134
        switch (field.id) {
-
 
98135
          case 1: // CATALOG_ITEM_ID
-
 
98136
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
98137
              this.catalogItemId = iprot.readI64();
-
 
98138
              setCatalogItemIdIsSet(true);
-
 
98139
            } else { 
-
 
98140
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
98141
            }
-
 
98142
            break;
-
 
98143
          default:
-
 
98144
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
98145
        }
-
 
98146
        iprot.readFieldEnd();
-
 
98147
      }
-
 
98148
      iprot.readStructEnd();
-
 
98149
      validate();
-
 
98150
    }
-
 
98151
 
-
 
98152
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
98153
      validate();
-
 
98154
 
-
 
98155
      oprot.writeStructBegin(STRUCT_DESC);
-
 
98156
      oprot.writeFieldBegin(CATALOG_ITEM_ID_FIELD_DESC);
-
 
98157
      oprot.writeI64(this.catalogItemId);
-
 
98158
      oprot.writeFieldEnd();
-
 
98159
      oprot.writeFieldStop();
-
 
98160
      oprot.writeStructEnd();
-
 
98161
    }
-
 
98162
 
-
 
98163
    @Override
-
 
98164
    public String toString() {
-
 
98165
      StringBuilder sb = new StringBuilder("deleteProductFeedSubmit_args(");
-
 
98166
      boolean first = true;
-
 
98167
 
-
 
98168
      sb.append("catalogItemId:");
-
 
98169
      sb.append(this.catalogItemId);
-
 
98170
      first = false;
-
 
98171
      sb.append(")");
-
 
98172
      return sb.toString();
-
 
98173
    }
-
 
98174
 
-
 
98175
    public void validate() throws org.apache.thrift.TException {
-
 
98176
      // check for required fields
-
 
98177
    }
-
 
98178
 
-
 
98179
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
98180
      try {
-
 
98181
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
98182
      } catch (org.apache.thrift.TException te) {
-
 
98183
        throw new java.io.IOException(te);
-
 
98184
      }
-
 
98185
    }
-
 
98186
 
-
 
98187
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
98188
      try {
-
 
98189
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
98190
        __isset_bit_vector = new BitSet(1);
-
 
98191
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
98192
      } catch (org.apache.thrift.TException te) {
-
 
98193
        throw new java.io.IOException(te);
-
 
98194
      }
-
 
98195
    }
-
 
98196
 
-
 
98197
  }
-
 
98198
 
-
 
98199
  public static class deleteProductFeedSubmit_result implements org.apache.thrift.TBase<deleteProductFeedSubmit_result, deleteProductFeedSubmit_result._Fields>, java.io.Serializable, Cloneable   {
-
 
98200
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteProductFeedSubmit_result");
-
 
98201
 
-
 
98202
    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);
-
 
98203
    private static final org.apache.thrift.protocol.TField CEX_FIELD_DESC = new org.apache.thrift.protocol.TField("cex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
98204
 
-
 
98205
    private boolean success; // required
-
 
98206
    private CatalogServiceException cex; // required
-
 
98207
 
-
 
98208
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
98209
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
98210
      SUCCESS((short)0, "success"),
-
 
98211
      CEX((short)1, "cex");
-
 
98212
 
-
 
98213
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
98214
 
-
 
98215
      static {
-
 
98216
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
98217
          byName.put(field.getFieldName(), field);
-
 
98218
        }
-
 
98219
      }
-
 
98220
 
-
 
98221
      /**
-
 
98222
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
98223
       */
-
 
98224
      public static _Fields findByThriftId(int fieldId) {
-
 
98225
        switch(fieldId) {
-
 
98226
          case 0: // SUCCESS
-
 
98227
            return SUCCESS;
-
 
98228
          case 1: // CEX
-
 
98229
            return CEX;
-
 
98230
          default:
-
 
98231
            return null;
-
 
98232
        }
-
 
98233
      }
-
 
98234
 
-
 
98235
      /**
-
 
98236
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
98237
       * if it is not found.
-
 
98238
       */
-
 
98239
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
98240
        _Fields fields = findByThriftId(fieldId);
-
 
98241
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
98242
        return fields;
-
 
98243
      }
-
 
98244
 
-
 
98245
      /**
-
 
98246
       * Find the _Fields constant that matches name, or null if its not found.
-
 
98247
       */
-
 
98248
      public static _Fields findByName(String name) {
-
 
98249
        return byName.get(name);
-
 
98250
      }
-
 
98251
 
-
 
98252
      private final short _thriftId;
-
 
98253
      private final String _fieldName;
-
 
98254
 
-
 
98255
      _Fields(short thriftId, String fieldName) {
-
 
98256
        _thriftId = thriftId;
-
 
98257
        _fieldName = fieldName;
-
 
98258
      }
-
 
98259
 
-
 
98260
      public short getThriftFieldId() {
-
 
98261
        return _thriftId;
-
 
98262
      }
-
 
98263
 
-
 
98264
      public String getFieldName() {
-
 
98265
        return _fieldName;
-
 
98266
      }
-
 
98267
    }
-
 
98268
 
-
 
98269
    // isset id assignments
-
 
98270
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
98271
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
98272
 
-
 
98273
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
98274
    static {
-
 
98275
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
98276
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
98277
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
98278
      tmpMap.put(_Fields.CEX, new org.apache.thrift.meta_data.FieldMetaData("cex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
98279
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
98280
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
98281
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteProductFeedSubmit_result.class, metaDataMap);
-
 
98282
    }
-
 
98283
 
-
 
98284
    public deleteProductFeedSubmit_result() {
-
 
98285
    }
-
 
98286
 
-
 
98287
    public deleteProductFeedSubmit_result(
-
 
98288
      boolean success,
-
 
98289
      CatalogServiceException cex)
-
 
98290
    {
-
 
98291
      this();
-
 
98292
      this.success = success;
-
 
98293
      setSuccessIsSet(true);
-
 
98294
      this.cex = cex;
-
 
98295
    }
-
 
98296
 
-
 
98297
    /**
-
 
98298
     * Performs a deep copy on <i>other</i>.
-
 
98299
     */
-
 
98300
    public deleteProductFeedSubmit_result(deleteProductFeedSubmit_result other) {
-
 
98301
      __isset_bit_vector.clear();
-
 
98302
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
98303
      this.success = other.success;
-
 
98304
      if (other.isSetCex()) {
-
 
98305
        this.cex = new CatalogServiceException(other.cex);
-
 
98306
      }
-
 
98307
    }
-
 
98308
 
-
 
98309
    public deleteProductFeedSubmit_result deepCopy() {
-
 
98310
      return new deleteProductFeedSubmit_result(this);
-
 
98311
    }
-
 
98312
 
-
 
98313
    @Override
-
 
98314
    public void clear() {
-
 
98315
      setSuccessIsSet(false);
-
 
98316
      this.success = false;
-
 
98317
      this.cex = null;
-
 
98318
    }
-
 
98319
 
-
 
98320
    public boolean isSuccess() {
-
 
98321
      return this.success;
-
 
98322
    }
-
 
98323
 
-
 
98324
    public void setSuccess(boolean success) {
-
 
98325
      this.success = success;
-
 
98326
      setSuccessIsSet(true);
-
 
98327
    }
-
 
98328
 
-
 
98329
    public void unsetSuccess() {
-
 
98330
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
98331
    }
-
 
98332
 
-
 
98333
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
98334
    public boolean isSetSuccess() {
-
 
98335
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
98336
    }
-
 
98337
 
-
 
98338
    public void setSuccessIsSet(boolean value) {
-
 
98339
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
98340
    }
-
 
98341
 
-
 
98342
    public CatalogServiceException getCex() {
-
 
98343
      return this.cex;
-
 
98344
    }
-
 
98345
 
-
 
98346
    public void setCex(CatalogServiceException cex) {
-
 
98347
      this.cex = cex;
-
 
98348
    }
-
 
98349
 
-
 
98350
    public void unsetCex() {
-
 
98351
      this.cex = null;
-
 
98352
    }
-
 
98353
 
-
 
98354
    /** Returns true if field cex is set (has been assigned a value) and false otherwise */
-
 
98355
    public boolean isSetCex() {
-
 
98356
      return this.cex != null;
-
 
98357
    }
-
 
98358
 
-
 
98359
    public void setCexIsSet(boolean value) {
-
 
98360
      if (!value) {
-
 
98361
        this.cex = null;
-
 
98362
      }
-
 
98363
    }
-
 
98364
 
-
 
98365
    public void setFieldValue(_Fields field, Object value) {
-
 
98366
      switch (field) {
-
 
98367
      case SUCCESS:
-
 
98368
        if (value == null) {
-
 
98369
          unsetSuccess();
-
 
98370
        } else {
-
 
98371
          setSuccess((Boolean)value);
-
 
98372
        }
-
 
98373
        break;
-
 
98374
 
-
 
98375
      case CEX:
-
 
98376
        if (value == null) {
-
 
98377
          unsetCex();
-
 
98378
        } else {
-
 
98379
          setCex((CatalogServiceException)value);
-
 
98380
        }
-
 
98381
        break;
-
 
98382
 
-
 
98383
      }
-
 
98384
    }
-
 
98385
 
-
 
98386
    public Object getFieldValue(_Fields field) {
-
 
98387
      switch (field) {
-
 
98388
      case SUCCESS:
-
 
98389
        return Boolean.valueOf(isSuccess());
-
 
98390
 
-
 
98391
      case CEX:
-
 
98392
        return getCex();
-
 
98393
 
-
 
98394
      }
-
 
98395
      throw new IllegalStateException();
-
 
98396
    }
-
 
98397
 
-
 
98398
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
98399
    public boolean isSet(_Fields field) {
-
 
98400
      if (field == null) {
-
 
98401
        throw new IllegalArgumentException();
-
 
98402
      }
-
 
98403
 
-
 
98404
      switch (field) {
-
 
98405
      case SUCCESS:
-
 
98406
        return isSetSuccess();
-
 
98407
      case CEX:
-
 
98408
        return isSetCex();
-
 
98409
      }
-
 
98410
      throw new IllegalStateException();
-
 
98411
    }
-
 
98412
 
-
 
98413
    @Override
-
 
98414
    public boolean equals(Object that) {
-
 
98415
      if (that == null)
-
 
98416
        return false;
-
 
98417
      if (that instanceof deleteProductFeedSubmit_result)
-
 
98418
        return this.equals((deleteProductFeedSubmit_result)that);
-
 
98419
      return false;
-
 
98420
    }
-
 
98421
 
-
 
98422
    public boolean equals(deleteProductFeedSubmit_result that) {
-
 
98423
      if (that == null)
-
 
98424
        return false;
-
 
98425
 
-
 
98426
      boolean this_present_success = true;
-
 
98427
      boolean that_present_success = true;
-
 
98428
      if (this_present_success || that_present_success) {
-
 
98429
        if (!(this_present_success && that_present_success))
-
 
98430
          return false;
-
 
98431
        if (this.success != that.success)
-
 
98432
          return false;
-
 
98433
      }
-
 
98434
 
-
 
98435
      boolean this_present_cex = true && this.isSetCex();
-
 
98436
      boolean that_present_cex = true && that.isSetCex();
-
 
98437
      if (this_present_cex || that_present_cex) {
-
 
98438
        if (!(this_present_cex && that_present_cex))
-
 
98439
          return false;
-
 
98440
        if (!this.cex.equals(that.cex))
-
 
98441
          return false;
-
 
98442
      }
-
 
98443
 
-
 
98444
      return true;
-
 
98445
    }
-
 
98446
 
-
 
98447
    @Override
-
 
98448
    public int hashCode() {
-
 
98449
      return 0;
-
 
98450
    }
-
 
98451
 
-
 
98452
    public int compareTo(deleteProductFeedSubmit_result other) {
-
 
98453
      if (!getClass().equals(other.getClass())) {
-
 
98454
        return getClass().getName().compareTo(other.getClass().getName());
-
 
98455
      }
-
 
98456
 
-
 
98457
      int lastComparison = 0;
-
 
98458
      deleteProductFeedSubmit_result typedOther = (deleteProductFeedSubmit_result)other;
-
 
98459
 
-
 
98460
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
98461
      if (lastComparison != 0) {
-
 
98462
        return lastComparison;
-
 
98463
      }
-
 
98464
      if (isSetSuccess()) {
-
 
98465
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
98466
        if (lastComparison != 0) {
-
 
98467
          return lastComparison;
-
 
98468
        }
-
 
98469
      }
-
 
98470
      lastComparison = Boolean.valueOf(isSetCex()).compareTo(typedOther.isSetCex());
-
 
98471
      if (lastComparison != 0) {
-
 
98472
        return lastComparison;
-
 
98473
      }
-
 
98474
      if (isSetCex()) {
-
 
98475
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cex, typedOther.cex);
-
 
98476
        if (lastComparison != 0) {
-
 
98477
          return lastComparison;
-
 
98478
        }
-
 
98479
      }
-
 
98480
      return 0;
-
 
98481
    }
-
 
98482
 
-
 
98483
    public _Fields fieldForId(int fieldId) {
-
 
98484
      return _Fields.findByThriftId(fieldId);
-
 
98485
    }
-
 
98486
 
-
 
98487
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
98488
      org.apache.thrift.protocol.TField field;
-
 
98489
      iprot.readStructBegin();
-
 
98490
      while (true)
-
 
98491
      {
-
 
98492
        field = iprot.readFieldBegin();
-
 
98493
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
98494
          break;
-
 
98495
        }
-
 
98496
        switch (field.id) {
-
 
98497
          case 0: // SUCCESS
-
 
98498
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
98499
              this.success = iprot.readBool();
-
 
98500
              setSuccessIsSet(true);
-
 
98501
            } else { 
-
 
98502
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
98503
            }
-
 
98504
            break;
-
 
98505
          case 1: // CEX
-
 
98506
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
98507
              this.cex = new CatalogServiceException();
-
 
98508
              this.cex.read(iprot);
-
 
98509
            } else { 
-
 
98510
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
98511
            }
-
 
98512
            break;
-
 
98513
          default:
-
 
98514
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
98515
        }
-
 
98516
        iprot.readFieldEnd();
-
 
98517
      }
-
 
98518
      iprot.readStructEnd();
-
 
98519
      validate();
-
 
98520
    }
-
 
98521
 
-
 
98522
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
98523
      oprot.writeStructBegin(STRUCT_DESC);
-
 
98524
 
-
 
98525
      if (this.isSetSuccess()) {
-
 
98526
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
98527
        oprot.writeBool(this.success);
-
 
98528
        oprot.writeFieldEnd();
-
 
98529
      } else if (this.isSetCex()) {
-
 
98530
        oprot.writeFieldBegin(CEX_FIELD_DESC);
-
 
98531
        this.cex.write(oprot);
-
 
98532
        oprot.writeFieldEnd();
-
 
98533
      }
-
 
98534
      oprot.writeFieldStop();
-
 
98535
      oprot.writeStructEnd();
-
 
98536
    }
-
 
98537
 
-
 
98538
    @Override
-
 
98539
    public String toString() {
-
 
98540
      StringBuilder sb = new StringBuilder("deleteProductFeedSubmit_result(");
-
 
98541
      boolean first = true;
-
 
98542
 
-
 
98543
      sb.append("success:");
-
 
98544
      sb.append(this.success);
-
 
98545
      first = false;
-
 
98546
      if (!first) sb.append(", ");
-
 
98547
      sb.append("cex:");
-
 
98548
      if (this.cex == null) {
-
 
98549
        sb.append("null");
-
 
98550
      } else {
-
 
98551
        sb.append(this.cex);
-
 
98552
      }
-
 
98553
      first = false;
-
 
98554
      sb.append(")");
-
 
98555
      return sb.toString();
-
 
98556
    }
-
 
98557
 
-
 
98558
    public void validate() throws org.apache.thrift.TException {
-
 
98559
      // check for required fields
-
 
98560
    }
-
 
98561
 
-
 
98562
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
98563
      try {
-
 
98564
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
98565
      } catch (org.apache.thrift.TException te) {
-
 
98566
        throw new java.io.IOException(te);
-
 
98567
      }
-
 
98568
    }
-
 
98569
 
-
 
98570
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
98571
      try {
-
 
98572
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
98573
      } catch (org.apache.thrift.TException te) {
-
 
98574
        throw new java.io.IOException(te);
-
 
98575
      }
-
 
98576
    }
-
 
98577
 
-
 
98578
  }
-
 
98579
 
-
 
98580
  public static class getAllProductFeedSubmit_args implements org.apache.thrift.TBase<getAllProductFeedSubmit_args, getAllProductFeedSubmit_args._Fields>, java.io.Serializable, Cloneable   {
-
 
98581
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllProductFeedSubmit_args");
-
 
98582
 
-
 
98583
 
-
 
98584
 
-
 
98585
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
98586
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
98587
;
-
 
98588
 
-
 
98589
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
98590
 
-
 
98591
      static {
-
 
98592
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
98593
          byName.put(field.getFieldName(), field);
-
 
98594
        }
-
 
98595
      }
-
 
98596
 
-
 
98597
      /**
-
 
98598
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
98599
       */
-
 
98600
      public static _Fields findByThriftId(int fieldId) {
-
 
98601
        switch(fieldId) {
-
 
98602
          default:
-
 
98603
            return null;
-
 
98604
        }
-
 
98605
      }
-
 
98606
 
-
 
98607
      /**
-
 
98608
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
98609
       * if it is not found.
-
 
98610
       */
-
 
98611
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
98612
        _Fields fields = findByThriftId(fieldId);
-
 
98613
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
98614
        return fields;
-
 
98615
      }
-
 
98616
 
-
 
98617
      /**
-
 
98618
       * Find the _Fields constant that matches name, or null if its not found.
-
 
98619
       */
-
 
98620
      public static _Fields findByName(String name) {
-
 
98621
        return byName.get(name);
-
 
98622
      }
-
 
98623
 
-
 
98624
      private final short _thriftId;
-
 
98625
      private final String _fieldName;
-
 
98626
 
-
 
98627
      _Fields(short thriftId, String fieldName) {
-
 
98628
        _thriftId = thriftId;
-
 
98629
        _fieldName = fieldName;
-
 
98630
      }
-
 
98631
 
-
 
98632
      public short getThriftFieldId() {
-
 
98633
        return _thriftId;
-
 
98634
      }
-
 
98635
 
-
 
98636
      public String getFieldName() {
-
 
98637
        return _fieldName;
-
 
98638
      }
-
 
98639
    }
-
 
98640
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
98641
    static {
-
 
98642
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
98643
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
98644
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllProductFeedSubmit_args.class, metaDataMap);
-
 
98645
    }
-
 
98646
 
-
 
98647
    public getAllProductFeedSubmit_args() {
-
 
98648
    }
-
 
98649
 
-
 
98650
    /**
-
 
98651
     * Performs a deep copy on <i>other</i>.
-
 
98652
     */
-
 
98653
    public getAllProductFeedSubmit_args(getAllProductFeedSubmit_args other) {
-
 
98654
    }
-
 
98655
 
-
 
98656
    public getAllProductFeedSubmit_args deepCopy() {
-
 
98657
      return new getAllProductFeedSubmit_args(this);
-
 
98658
    }
-
 
98659
 
-
 
98660
    @Override
-
 
98661
    public void clear() {
-
 
98662
    }
-
 
98663
 
-
 
98664
    public void setFieldValue(_Fields field, Object value) {
-
 
98665
      switch (field) {
-
 
98666
      }
-
 
98667
    }
-
 
98668
 
-
 
98669
    public Object getFieldValue(_Fields field) {
-
 
98670
      switch (field) {
-
 
98671
      }
-
 
98672
      throw new IllegalStateException();
-
 
98673
    }
-
 
98674
 
-
 
98675
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
98676
    public boolean isSet(_Fields field) {
-
 
98677
      if (field == null) {
-
 
98678
        throw new IllegalArgumentException();
-
 
98679
      }
-
 
98680
 
-
 
98681
      switch (field) {
-
 
98682
      }
-
 
98683
      throw new IllegalStateException();
-
 
98684
    }
-
 
98685
 
-
 
98686
    @Override
-
 
98687
    public boolean equals(Object that) {
-
 
98688
      if (that == null)
-
 
98689
        return false;
-
 
98690
      if (that instanceof getAllProductFeedSubmit_args)
-
 
98691
        return this.equals((getAllProductFeedSubmit_args)that);
-
 
98692
      return false;
-
 
98693
    }
-
 
98694
 
-
 
98695
    public boolean equals(getAllProductFeedSubmit_args that) {
-
 
98696
      if (that == null)
-
 
98697
        return false;
-
 
98698
 
-
 
98699
      return true;
-
 
98700
    }
-
 
98701
 
-
 
98702
    @Override
-
 
98703
    public int hashCode() {
-
 
98704
      return 0;
-
 
98705
    }
-
 
98706
 
-
 
98707
    public int compareTo(getAllProductFeedSubmit_args other) {
-
 
98708
      if (!getClass().equals(other.getClass())) {
-
 
98709
        return getClass().getName().compareTo(other.getClass().getName());
-
 
98710
      }
-
 
98711
 
-
 
98712
      int lastComparison = 0;
-
 
98713
      getAllProductFeedSubmit_args typedOther = (getAllProductFeedSubmit_args)other;
-
 
98714
 
-
 
98715
      return 0;
-
 
98716
    }
-
 
98717
 
-
 
98718
    public _Fields fieldForId(int fieldId) {
-
 
98719
      return _Fields.findByThriftId(fieldId);
-
 
98720
    }
-
 
98721
 
-
 
98722
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
98723
      org.apache.thrift.protocol.TField field;
-
 
98724
      iprot.readStructBegin();
-
 
98725
      while (true)
-
 
98726
      {
-
 
98727
        field = iprot.readFieldBegin();
-
 
98728
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
98729
          break;
-
 
98730
        }
-
 
98731
        switch (field.id) {
-
 
98732
          default:
-
 
98733
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
98734
        }
-
 
98735
        iprot.readFieldEnd();
-
 
98736
      }
-
 
98737
      iprot.readStructEnd();
-
 
98738
      validate();
-
 
98739
    }
-
 
98740
 
-
 
98741
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
98742
      validate();
-
 
98743
 
-
 
98744
      oprot.writeStructBegin(STRUCT_DESC);
-
 
98745
      oprot.writeFieldStop();
-
 
98746
      oprot.writeStructEnd();
-
 
98747
    }
-
 
98748
 
-
 
98749
    @Override
-
 
98750
    public String toString() {
-
 
98751
      StringBuilder sb = new StringBuilder("getAllProductFeedSubmit_args(");
-
 
98752
      boolean first = true;
-
 
98753
 
-
 
98754
      sb.append(")");
-
 
98755
      return sb.toString();
-
 
98756
    }
-
 
98757
 
-
 
98758
    public void validate() throws org.apache.thrift.TException {
-
 
98759
      // check for required fields
-
 
98760
    }
-
 
98761
 
-
 
98762
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
98763
      try {
-
 
98764
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
98765
      } catch (org.apache.thrift.TException te) {
-
 
98766
        throw new java.io.IOException(te);
-
 
98767
      }
-
 
98768
    }
-
 
98769
 
-
 
98770
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
98771
      try {
-
 
98772
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
98773
      } catch (org.apache.thrift.TException te) {
-
 
98774
        throw new java.io.IOException(te);
-
 
98775
      }
-
 
98776
    }
-
 
98777
 
-
 
98778
  }
-
 
98779
 
-
 
98780
  public static class getAllProductFeedSubmit_result implements org.apache.thrift.TBase<getAllProductFeedSubmit_result, getAllProductFeedSubmit_result._Fields>, java.io.Serializable, Cloneable   {
-
 
98781
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllProductFeedSubmit_result");
-
 
98782
 
-
 
98783
    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);
-
 
98784
    private static final org.apache.thrift.protocol.TField CEX_FIELD_DESC = new org.apache.thrift.protocol.TField("cex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
98785
 
-
 
98786
    private List<ProductFeedSubmit> success; // required
-
 
98787
    private CatalogServiceException cex; // required
-
 
98788
 
-
 
98789
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
98790
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
98791
      SUCCESS((short)0, "success"),
-
 
98792
      CEX((short)1, "cex");
-
 
98793
 
-
 
98794
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
98795
 
-
 
98796
      static {
-
 
98797
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
98798
          byName.put(field.getFieldName(), field);
-
 
98799
        }
-
 
98800
      }
-
 
98801
 
-
 
98802
      /**
-
 
98803
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
98804
       */
-
 
98805
      public static _Fields findByThriftId(int fieldId) {
-
 
98806
        switch(fieldId) {
-
 
98807
          case 0: // SUCCESS
-
 
98808
            return SUCCESS;
-
 
98809
          case 1: // CEX
-
 
98810
            return CEX;
-
 
98811
          default:
-
 
98812
            return null;
-
 
98813
        }
-
 
98814
      }
-
 
98815
 
-
 
98816
      /**
-
 
98817
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
98818
       * if it is not found.
-
 
98819
       */
-
 
98820
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
98821
        _Fields fields = findByThriftId(fieldId);
-
 
98822
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
98823
        return fields;
-
 
98824
      }
-
 
98825
 
-
 
98826
      /**
-
 
98827
       * Find the _Fields constant that matches name, or null if its not found.
-
 
98828
       */
-
 
98829
      public static _Fields findByName(String name) {
-
 
98830
        return byName.get(name);
-
 
98831
      }
-
 
98832
 
-
 
98833
      private final short _thriftId;
-
 
98834
      private final String _fieldName;
-
 
98835
 
-
 
98836
      _Fields(short thriftId, String fieldName) {
-
 
98837
        _thriftId = thriftId;
-
 
98838
        _fieldName = fieldName;
-
 
98839
      }
-
 
98840
 
-
 
98841
      public short getThriftFieldId() {
-
 
98842
        return _thriftId;
-
 
98843
      }
-
 
98844
 
-
 
98845
      public String getFieldName() {
-
 
98846
        return _fieldName;
-
 
98847
      }
-
 
98848
    }
-
 
98849
 
-
 
98850
    // isset id assignments
-
 
98851
 
-
 
98852
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
98853
    static {
-
 
98854
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
98855
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
98856
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
98857
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ProductFeedSubmit.class))));
-
 
98858
      tmpMap.put(_Fields.CEX, new org.apache.thrift.meta_data.FieldMetaData("cex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
98859
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
98860
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
98861
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllProductFeedSubmit_result.class, metaDataMap);
-
 
98862
    }
-
 
98863
 
-
 
98864
    public getAllProductFeedSubmit_result() {
-
 
98865
    }
-
 
98866
 
-
 
98867
    public getAllProductFeedSubmit_result(
-
 
98868
      List<ProductFeedSubmit> success,
-
 
98869
      CatalogServiceException cex)
-
 
98870
    {
-
 
98871
      this();
-
 
98872
      this.success = success;
-
 
98873
      this.cex = cex;
-
 
98874
    }
-
 
98875
 
-
 
98876
    /**
-
 
98877
     * Performs a deep copy on <i>other</i>.
-
 
98878
     */
-
 
98879
    public getAllProductFeedSubmit_result(getAllProductFeedSubmit_result other) {
-
 
98880
      if (other.isSetSuccess()) {
-
 
98881
        List<ProductFeedSubmit> __this__success = new ArrayList<ProductFeedSubmit>();
-
 
98882
        for (ProductFeedSubmit other_element : other.success) {
-
 
98883
          __this__success.add(new ProductFeedSubmit(other_element));
-
 
98884
        }
-
 
98885
        this.success = __this__success;
-
 
98886
      }
-
 
98887
      if (other.isSetCex()) {
-
 
98888
        this.cex = new CatalogServiceException(other.cex);
-
 
98889
      }
-
 
98890
    }
-
 
98891
 
-
 
98892
    public getAllProductFeedSubmit_result deepCopy() {
-
 
98893
      return new getAllProductFeedSubmit_result(this);
-
 
98894
    }
-
 
98895
 
-
 
98896
    @Override
-
 
98897
    public void clear() {
-
 
98898
      this.success = null;
-
 
98899
      this.cex = null;
-
 
98900
    }
-
 
98901
 
-
 
98902
    public int getSuccessSize() {
-
 
98903
      return (this.success == null) ? 0 : this.success.size();
-
 
98904
    }
-
 
98905
 
-
 
98906
    public java.util.Iterator<ProductFeedSubmit> getSuccessIterator() {
-
 
98907
      return (this.success == null) ? null : this.success.iterator();
-
 
98908
    }
-
 
98909
 
-
 
98910
    public void addToSuccess(ProductFeedSubmit elem) {
-
 
98911
      if (this.success == null) {
-
 
98912
        this.success = new ArrayList<ProductFeedSubmit>();
-
 
98913
      }
-
 
98914
      this.success.add(elem);
-
 
98915
    }
-
 
98916
 
-
 
98917
    public List<ProductFeedSubmit> getSuccess() {
-
 
98918
      return this.success;
-
 
98919
    }
-
 
98920
 
-
 
98921
    public void setSuccess(List<ProductFeedSubmit> success) {
-
 
98922
      this.success = success;
-
 
98923
    }
-
 
98924
 
-
 
98925
    public void unsetSuccess() {
-
 
98926
      this.success = null;
-
 
98927
    }
-
 
98928
 
-
 
98929
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
98930
    public boolean isSetSuccess() {
-
 
98931
      return this.success != null;
-
 
98932
    }
-
 
98933
 
-
 
98934
    public void setSuccessIsSet(boolean value) {
-
 
98935
      if (!value) {
-
 
98936
        this.success = null;
-
 
98937
      }
-
 
98938
    }
-
 
98939
 
-
 
98940
    public CatalogServiceException getCex() {
-
 
98941
      return this.cex;
-
 
98942
    }
-
 
98943
 
-
 
98944
    public void setCex(CatalogServiceException cex) {
-
 
98945
      this.cex = cex;
-
 
98946
    }
-
 
98947
 
-
 
98948
    public void unsetCex() {
-
 
98949
      this.cex = null;
-
 
98950
    }
-
 
98951
 
-
 
98952
    /** Returns true if field cex is set (has been assigned a value) and false otherwise */
-
 
98953
    public boolean isSetCex() {
-
 
98954
      return this.cex != null;
-
 
98955
    }
-
 
98956
 
-
 
98957
    public void setCexIsSet(boolean value) {
-
 
98958
      if (!value) {
-
 
98959
        this.cex = null;
-
 
98960
      }
-
 
98961
    }
-
 
98962
 
-
 
98963
    public void setFieldValue(_Fields field, Object value) {
-
 
98964
      switch (field) {
-
 
98965
      case SUCCESS:
-
 
98966
        if (value == null) {
-
 
98967
          unsetSuccess();
-
 
98968
        } else {
-
 
98969
          setSuccess((List<ProductFeedSubmit>)value);
-
 
98970
        }
-
 
98971
        break;
-
 
98972
 
-
 
98973
      case CEX:
-
 
98974
        if (value == null) {
-
 
98975
          unsetCex();
-
 
98976
        } else {
-
 
98977
          setCex((CatalogServiceException)value);
-
 
98978
        }
-
 
98979
        break;
-
 
98980
 
-
 
98981
      }
-
 
98982
    }
-
 
98983
 
-
 
98984
    public Object getFieldValue(_Fields field) {
-
 
98985
      switch (field) {
-
 
98986
      case SUCCESS:
-
 
98987
        return getSuccess();
-
 
98988
 
-
 
98989
      case CEX:
-
 
98990
        return getCex();
-
 
98991
 
-
 
98992
      }
-
 
98993
      throw new IllegalStateException();
-
 
98994
    }
-
 
98995
 
-
 
98996
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
98997
    public boolean isSet(_Fields field) {
-
 
98998
      if (field == null) {
-
 
98999
        throw new IllegalArgumentException();
-
 
99000
      }
-
 
99001
 
-
 
99002
      switch (field) {
-
 
99003
      case SUCCESS:
-
 
99004
        return isSetSuccess();
-
 
99005
      case CEX:
-
 
99006
        return isSetCex();
-
 
99007
      }
-
 
99008
      throw new IllegalStateException();
-
 
99009
    }
-
 
99010
 
-
 
99011
    @Override
-
 
99012
    public boolean equals(Object that) {
-
 
99013
      if (that == null)
-
 
99014
        return false;
-
 
99015
      if (that instanceof getAllProductFeedSubmit_result)
-
 
99016
        return this.equals((getAllProductFeedSubmit_result)that);
-
 
99017
      return false;
-
 
99018
    }
-
 
99019
 
-
 
99020
    public boolean equals(getAllProductFeedSubmit_result that) {
-
 
99021
      if (that == null)
-
 
99022
        return false;
-
 
99023
 
-
 
99024
      boolean this_present_success = true && this.isSetSuccess();
-
 
99025
      boolean that_present_success = true && that.isSetSuccess();
-
 
99026
      if (this_present_success || that_present_success) {
-
 
99027
        if (!(this_present_success && that_present_success))
-
 
99028
          return false;
-
 
99029
        if (!this.success.equals(that.success))
-
 
99030
          return false;
-
 
99031
      }
-
 
99032
 
-
 
99033
      boolean this_present_cex = true && this.isSetCex();
-
 
99034
      boolean that_present_cex = true && that.isSetCex();
-
 
99035
      if (this_present_cex || that_present_cex) {
-
 
99036
        if (!(this_present_cex && that_present_cex))
-
 
99037
          return false;
-
 
99038
        if (!this.cex.equals(that.cex))
-
 
99039
          return false;
-
 
99040
      }
-
 
99041
 
-
 
99042
      return true;
-
 
99043
    }
-
 
99044
 
-
 
99045
    @Override
-
 
99046
    public int hashCode() {
-
 
99047
      return 0;
-
 
99048
    }
-
 
99049
 
-
 
99050
    public int compareTo(getAllProductFeedSubmit_result other) {
-
 
99051
      if (!getClass().equals(other.getClass())) {
-
 
99052
        return getClass().getName().compareTo(other.getClass().getName());
-
 
99053
      }
-
 
99054
 
-
 
99055
      int lastComparison = 0;
-
 
99056
      getAllProductFeedSubmit_result typedOther = (getAllProductFeedSubmit_result)other;
-
 
99057
 
-
 
99058
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
99059
      if (lastComparison != 0) {
-
 
99060
        return lastComparison;
-
 
99061
      }
-
 
99062
      if (isSetSuccess()) {
-
 
99063
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
99064
        if (lastComparison != 0) {
-
 
99065
          return lastComparison;
-
 
99066
        }
-
 
99067
      }
-
 
99068
      lastComparison = Boolean.valueOf(isSetCex()).compareTo(typedOther.isSetCex());
-
 
99069
      if (lastComparison != 0) {
-
 
99070
        return lastComparison;
-
 
99071
      }
-
 
99072
      if (isSetCex()) {
-
 
99073
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cex, typedOther.cex);
-
 
99074
        if (lastComparison != 0) {
-
 
99075
          return lastComparison;
-
 
99076
        }
-
 
99077
      }
-
 
99078
      return 0;
-
 
99079
    }
-
 
99080
 
-
 
99081
    public _Fields fieldForId(int fieldId) {
-
 
99082
      return _Fields.findByThriftId(fieldId);
-
 
99083
    }
-
 
99084
 
-
 
99085
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
99086
      org.apache.thrift.protocol.TField field;
-
 
99087
      iprot.readStructBegin();
-
 
99088
      while (true)
-
 
99089
      {
-
 
99090
        field = iprot.readFieldBegin();
-
 
99091
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
99092
          break;
-
 
99093
        }
-
 
99094
        switch (field.id) {
-
 
99095
          case 0: // SUCCESS
-
 
99096
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
99097
              {
-
 
99098
                org.apache.thrift.protocol.TList _list312 = iprot.readListBegin();
-
 
99099
                this.success = new ArrayList<ProductFeedSubmit>(_list312.size);
-
 
99100
                for (int _i313 = 0; _i313 < _list312.size; ++_i313)
-
 
99101
                {
-
 
99102
                  ProductFeedSubmit _elem314; // required
-
 
99103
                  _elem314 = new ProductFeedSubmit();
-
 
99104
                  _elem314.read(iprot);
-
 
99105
                  this.success.add(_elem314);
-
 
99106
                }
-
 
99107
                iprot.readListEnd();
-
 
99108
              }
-
 
99109
            } else { 
-
 
99110
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
99111
            }
-
 
99112
            break;
-
 
99113
          case 1: // CEX
-
 
99114
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
99115
              this.cex = new CatalogServiceException();
-
 
99116
              this.cex.read(iprot);
-
 
99117
            } else { 
-
 
99118
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
99119
            }
-
 
99120
            break;
-
 
99121
          default:
-
 
99122
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
99123
        }
-
 
99124
        iprot.readFieldEnd();
-
 
99125
      }
-
 
99126
      iprot.readStructEnd();
-
 
99127
      validate();
-
 
99128
    }
-
 
99129
 
-
 
99130
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
99131
      oprot.writeStructBegin(STRUCT_DESC);
-
 
99132
 
-
 
99133
      if (this.isSetSuccess()) {
-
 
99134
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
99135
        {
-
 
99136
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
99137
          for (ProductFeedSubmit _iter315 : this.success)
-
 
99138
          {
-
 
99139
            _iter315.write(oprot);
-
 
99140
          }
-
 
99141
          oprot.writeListEnd();
-
 
99142
        }
-
 
99143
        oprot.writeFieldEnd();
-
 
99144
      } else if (this.isSetCex()) {
-
 
99145
        oprot.writeFieldBegin(CEX_FIELD_DESC);
-
 
99146
        this.cex.write(oprot);
-
 
99147
        oprot.writeFieldEnd();
-
 
99148
      }
-
 
99149
      oprot.writeFieldStop();
-
 
99150
      oprot.writeStructEnd();
-
 
99151
    }
-
 
99152
 
-
 
99153
    @Override
-
 
99154
    public String toString() {
-
 
99155
      StringBuilder sb = new StringBuilder("getAllProductFeedSubmit_result(");
-
 
99156
      boolean first = true;
-
 
99157
 
-
 
99158
      sb.append("success:");
-
 
99159
      if (this.success == null) {
-
 
99160
        sb.append("null");
-
 
99161
      } else {
-
 
99162
        sb.append(this.success);
-
 
99163
      }
-
 
99164
      first = false;
-
 
99165
      if (!first) sb.append(", ");
-
 
99166
      sb.append("cex:");
-
 
99167
      if (this.cex == null) {
-
 
99168
        sb.append("null");
-
 
99169
      } else {
-
 
99170
        sb.append(this.cex);
-
 
99171
      }
-
 
99172
      first = false;
-
 
99173
      sb.append(")");
-
 
99174
      return sb.toString();
-
 
99175
    }
95442
 
99176
 
95443
    public void validate() throws org.apache.thrift.TException {
99177
    public void validate() throws org.apache.thrift.TException {
95444
      // check for required fields
99178
      // check for required fields
95445
    }
99179
    }
95446
 
99180