Subversion Repositories SmartDukaan

Rev

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

Rev 7461 Rev 7770
Line 410... Line 410...
410
 
410
 
411
    public List<Amazonlisted> getAllNonFbaListedItems() throws org.apache.thrift.TException;
411
    public List<Amazonlisted> getAllNonFbaListedItems() throws org.apache.thrift.TException;
412
 
412
 
413
    public boolean updateItemInventory(long itemId, long holdInventory, long defaultInventory) throws org.apache.thrift.TException;
413
    public boolean updateItemInventory(long itemId, long holdInventory, long defaultInventory) throws org.apache.thrift.TException;
414
 
414
 
-
 
415
    public boolean updateTimestampForAmazonFeeds(String type, List<Long> sku, long timestamp) throws org.apache.thrift.TException;
-
 
416
 
415
  }
417
  }
416
 
418
 
417
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
419
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
418
 
420
 
419
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
421
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
Line 610... Line 612...
610
 
612
 
611
    public void getAllNonFbaListedItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllNonFbaListedItems_call> resultHandler) throws org.apache.thrift.TException;
613
    public void getAllNonFbaListedItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllNonFbaListedItems_call> resultHandler) throws org.apache.thrift.TException;
612
 
614
 
613
    public void updateItemInventory(long itemId, long holdInventory, long defaultInventory, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateItemInventory_call> resultHandler) throws org.apache.thrift.TException;
615
    public void updateItemInventory(long itemId, long holdInventory, long defaultInventory, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateItemInventory_call> resultHandler) throws org.apache.thrift.TException;
614
 
616
 
-
 
617
    public void updateTimestampForAmazonFeeds(String type, List<Long> sku, long timestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateTimestampForAmazonFeeds_call> resultHandler) throws org.apache.thrift.TException;
-
 
618
 
615
  }
619
  }
616
 
620
 
617
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
621
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
618
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
622
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
619
      public Factory() {}
623
      public Factory() {}
Line 3010... Line 3014...
3010
        return result.success;
3014
        return result.success;
3011
      }
3015
      }
3012
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateItemInventory failed: unknown result");
3016
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateItemInventory failed: unknown result");
3013
    }
3017
    }
3014
 
3018
 
-
 
3019
    public boolean updateTimestampForAmazonFeeds(String type, List<Long> sku, long timestamp) throws org.apache.thrift.TException
-
 
3020
    {
-
 
3021
      send_updateTimestampForAmazonFeeds(type, sku, timestamp);
-
 
3022
      return recv_updateTimestampForAmazonFeeds();
-
 
3023
    }
-
 
3024
 
-
 
3025
    public void send_updateTimestampForAmazonFeeds(String type, List<Long> sku, long timestamp) throws org.apache.thrift.TException
-
 
3026
    {
-
 
3027
      updateTimestampForAmazonFeeds_args args = new updateTimestampForAmazonFeeds_args();
-
 
3028
      args.setType(type);
-
 
3029
      args.setSku(sku);
-
 
3030
      args.setTimestamp(timestamp);
-
 
3031
      sendBase("updateTimestampForAmazonFeeds", args);
-
 
3032
    }
-
 
3033
 
-
 
3034
    public boolean recv_updateTimestampForAmazonFeeds() throws org.apache.thrift.TException
-
 
3035
    {
-
 
3036
      updateTimestampForAmazonFeeds_result result = new updateTimestampForAmazonFeeds_result();
-
 
3037
      receiveBase(result, "updateTimestampForAmazonFeeds");
-
 
3038
      if (result.isSetSuccess()) {
-
 
3039
        return result.success;
-
 
3040
      }
-
 
3041
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateTimestampForAmazonFeeds failed: unknown result");
-
 
3042
    }
-
 
3043
 
3015
  }
3044
  }
3016
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
3045
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
3017
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
3046
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
3018
      private org.apache.thrift.async.TAsyncClientManager clientManager;
3047
      private org.apache.thrift.async.TAsyncClientManager clientManager;
3019
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
3048
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 6302... Line 6331...
6302
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6331
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6303
        return (new Client(prot)).recv_updateItemInventory();
6332
        return (new Client(prot)).recv_updateItemInventory();
6304
      }
6333
      }
6305
    }
6334
    }
6306
 
6335
 
-
 
6336
    public void updateTimestampForAmazonFeeds(String type, List<Long> sku, long timestamp, org.apache.thrift.async.AsyncMethodCallback<updateTimestampForAmazonFeeds_call> resultHandler) throws org.apache.thrift.TException {
-
 
6337
      checkReady();
-
 
6338
      updateTimestampForAmazonFeeds_call method_call = new updateTimestampForAmazonFeeds_call(type, sku, timestamp, resultHandler, this, ___protocolFactory, ___transport);
-
 
6339
      this.___currentMethod = method_call;
-
 
6340
      ___manager.call(method_call);
-
 
6341
    }
-
 
6342
 
-
 
6343
    public static class updateTimestampForAmazonFeeds_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6344
      private String type;
-
 
6345
      private List<Long> sku;
-
 
6346
      private long timestamp;
-
 
6347
      public updateTimestampForAmazonFeeds_call(String type, List<Long> sku, long timestamp, org.apache.thrift.async.AsyncMethodCallback<updateTimestampForAmazonFeeds_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 {
-
 
6348
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6349
        this.type = type;
-
 
6350
        this.sku = sku;
-
 
6351
        this.timestamp = timestamp;
-
 
6352
      }
-
 
6353
 
-
 
6354
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6355
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateTimestampForAmazonFeeds", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6356
        updateTimestampForAmazonFeeds_args args = new updateTimestampForAmazonFeeds_args();
-
 
6357
        args.setType(type);
-
 
6358
        args.setSku(sku);
-
 
6359
        args.setTimestamp(timestamp);
-
 
6360
        args.write(prot);
-
 
6361
        prot.writeMessageEnd();
-
 
6362
      }
-
 
6363
 
-
 
6364
      public boolean getResult() throws org.apache.thrift.TException {
-
 
6365
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6366
          throw new IllegalStateException("Method call not finished!");
-
 
6367
        }
-
 
6368
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6369
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6370
        return (new Client(prot)).recv_updateTimestampForAmazonFeeds();
-
 
6371
      }
-
 
6372
    }
-
 
6373
 
6307
  }
6374
  }
6308
 
6375
 
6309
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
6376
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
6310
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
6377
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
6311
    public Processor(I iface) {
6378
    public Processor(I iface) {
Line 6413... Line 6480...
6413
      processMap.put("addAmazonItem", new addAmazonItem());
6480
      processMap.put("addAmazonItem", new addAmazonItem());
6414
      processMap.put("getAsinItems", new getAsinItems());
6481
      processMap.put("getAsinItems", new getAsinItems());
6415
      processMap.put("getAllFbaListedItems", new getAllFbaListedItems());
6482
      processMap.put("getAllFbaListedItems", new getAllFbaListedItems());
6416
      processMap.put("getAllNonFbaListedItems", new getAllNonFbaListedItems());
6483
      processMap.put("getAllNonFbaListedItems", new getAllNonFbaListedItems());
6417
      processMap.put("updateItemInventory", new updateItemInventory());
6484
      processMap.put("updateItemInventory", new updateItemInventory());
-
 
6485
      processMap.put("updateTimestampForAmazonFeeds", new updateTimestampForAmazonFeeds());
6418
      return processMap;
6486
      return processMap;
6419
    }
6487
    }
6420
 
6488
 
6421
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
6489
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
6422
      public addItem() {
6490
      public addItem() {
Line 8168... Line 8236...
8168
        result.setSuccessIsSet(true);
8236
        result.setSuccessIsSet(true);
8169
        return result;
8237
        return result;
8170
      }
8238
      }
8171
    }
8239
    }
8172
 
8240
 
-
 
8241
    private static class updateTimestampForAmazonFeeds<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateTimestampForAmazonFeeds_args> {
-
 
8242
      public updateTimestampForAmazonFeeds() {
-
 
8243
        super("updateTimestampForAmazonFeeds");
-
 
8244
      }
-
 
8245
 
-
 
8246
      protected updateTimestampForAmazonFeeds_args getEmptyArgsInstance() {
-
 
8247
        return new updateTimestampForAmazonFeeds_args();
-
 
8248
      }
-
 
8249
 
-
 
8250
      protected updateTimestampForAmazonFeeds_result getResult(I iface, updateTimestampForAmazonFeeds_args args) throws org.apache.thrift.TException {
-
 
8251
        updateTimestampForAmazonFeeds_result result = new updateTimestampForAmazonFeeds_result();
-
 
8252
        result.success = iface.updateTimestampForAmazonFeeds(args.type, args.sku, args.timestamp);
-
 
8253
        result.setSuccessIsSet(true);
-
 
8254
        return result;
-
 
8255
      }
-
 
8256
    }
-
 
8257
 
8173
  }
8258
  }
8174
 
8259
 
8175
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
8260
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
8176
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
8261
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
8177
 
8262
 
Line 73488... Line 73573...
73488
      boolean first = true;
73573
      boolean first = true;
73489
 
73574
 
73490
      sb.append("success:");
73575
      sb.append("success:");
73491
      sb.append(this.success);
73576
      sb.append(this.success);
73492
      first = false;
73577
      first = false;
-
 
73578
      sb.append(")");
-
 
73579
      return sb.toString();
-
 
73580
    }
-
 
73581
 
-
 
73582
    public void validate() throws org.apache.thrift.TException {
-
 
73583
      // check for required fields
-
 
73584
    }
-
 
73585
 
-
 
73586
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
73587
      try {
-
 
73588
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
73589
      } catch (org.apache.thrift.TException te) {
-
 
73590
        throw new java.io.IOException(te);
-
 
73591
      }
-
 
73592
    }
-
 
73593
 
-
 
73594
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
73595
      try {
-
 
73596
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
73597
      } catch (org.apache.thrift.TException te) {
-
 
73598
        throw new java.io.IOException(te);
-
 
73599
      }
-
 
73600
    }
-
 
73601
 
-
 
73602
  }
-
 
73603
 
-
 
73604
  public static class updateTimestampForAmazonFeeds_args implements org.apache.thrift.TBase<updateTimestampForAmazonFeeds_args, updateTimestampForAmazonFeeds_args._Fields>, java.io.Serializable, Cloneable   {
-
 
73605
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateTimestampForAmazonFeeds_args");
-
 
73606
 
-
 
73607
    private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
73608
    private static final org.apache.thrift.protocol.TField SKU_FIELD_DESC = new org.apache.thrift.protocol.TField("sku", org.apache.thrift.protocol.TType.LIST, (short)2);
-
 
73609
    private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)3);
-
 
73610
 
-
 
73611
    private String type; // required
-
 
73612
    private List<Long> sku; // required
-
 
73613
    private long timestamp; // required
-
 
73614
 
-
 
73615
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
73616
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
73617
      TYPE((short)1, "type"),
-
 
73618
      SKU((short)2, "sku"),
-
 
73619
      TIMESTAMP((short)3, "timestamp");
-
 
73620
 
-
 
73621
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
73622
 
-
 
73623
      static {
-
 
73624
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
73625
          byName.put(field.getFieldName(), field);
-
 
73626
        }
-
 
73627
      }
-
 
73628
 
-
 
73629
      /**
-
 
73630
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
73631
       */
-
 
73632
      public static _Fields findByThriftId(int fieldId) {
-
 
73633
        switch(fieldId) {
-
 
73634
          case 1: // TYPE
-
 
73635
            return TYPE;
-
 
73636
          case 2: // SKU
-
 
73637
            return SKU;
-
 
73638
          case 3: // TIMESTAMP
-
 
73639
            return TIMESTAMP;
-
 
73640
          default:
-
 
73641
            return null;
-
 
73642
        }
-
 
73643
      }
-
 
73644
 
-
 
73645
      /**
-
 
73646
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
73647
       * if it is not found.
-
 
73648
       */
-
 
73649
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
73650
        _Fields fields = findByThriftId(fieldId);
-
 
73651
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
73652
        return fields;
-
 
73653
      }
-
 
73654
 
-
 
73655
      /**
-
 
73656
       * Find the _Fields constant that matches name, or null if its not found.
-
 
73657
       */
-
 
73658
      public static _Fields findByName(String name) {
-
 
73659
        return byName.get(name);
-
 
73660
      }
-
 
73661
 
-
 
73662
      private final short _thriftId;
-
 
73663
      private final String _fieldName;
-
 
73664
 
-
 
73665
      _Fields(short thriftId, String fieldName) {
-
 
73666
        _thriftId = thriftId;
-
 
73667
        _fieldName = fieldName;
-
 
73668
      }
-
 
73669
 
-
 
73670
      public short getThriftFieldId() {
-
 
73671
        return _thriftId;
-
 
73672
      }
-
 
73673
 
-
 
73674
      public String getFieldName() {
-
 
73675
        return _fieldName;
-
 
73676
      }
-
 
73677
    }
-
 
73678
 
-
 
73679
    // isset id assignments
-
 
73680
    private static final int __TIMESTAMP_ISSET_ID = 0;
-
 
73681
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
73682
 
-
 
73683
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
73684
    static {
-
 
73685
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
73686
      tmpMap.put(_Fields.TYPE, new org.apache.thrift.meta_data.FieldMetaData("type", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
73687
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
73688
      tmpMap.put(_Fields.SKU, new org.apache.thrift.meta_data.FieldMetaData("sku", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
73689
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
73690
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
73691
      tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
73692
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
73693
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
73694
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateTimestampForAmazonFeeds_args.class, metaDataMap);
-
 
73695
    }
-
 
73696
 
-
 
73697
    public updateTimestampForAmazonFeeds_args() {
-
 
73698
    }
-
 
73699
 
-
 
73700
    public updateTimestampForAmazonFeeds_args(
-
 
73701
      String type,
-
 
73702
      List<Long> sku,
-
 
73703
      long timestamp)
-
 
73704
    {
-
 
73705
      this();
-
 
73706
      this.type = type;
-
 
73707
      this.sku = sku;
-
 
73708
      this.timestamp = timestamp;
-
 
73709
      setTimestampIsSet(true);
-
 
73710
    }
-
 
73711
 
-
 
73712
    /**
-
 
73713
     * Performs a deep copy on <i>other</i>.
-
 
73714
     */
-
 
73715
    public updateTimestampForAmazonFeeds_args(updateTimestampForAmazonFeeds_args other) {
-
 
73716
      __isset_bit_vector.clear();
-
 
73717
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
73718
      if (other.isSetType()) {
-
 
73719
        this.type = other.type;
-
 
73720
      }
-
 
73721
      if (other.isSetSku()) {
-
 
73722
        List<Long> __this__sku = new ArrayList<Long>();
-
 
73723
        for (Long other_element : other.sku) {
-
 
73724
          __this__sku.add(other_element);
-
 
73725
        }
-
 
73726
        this.sku = __this__sku;
-
 
73727
      }
-
 
73728
      this.timestamp = other.timestamp;
-
 
73729
    }
-
 
73730
 
-
 
73731
    public updateTimestampForAmazonFeeds_args deepCopy() {
-
 
73732
      return new updateTimestampForAmazonFeeds_args(this);
-
 
73733
    }
-
 
73734
 
-
 
73735
    @Override
-
 
73736
    public void clear() {
-
 
73737
      this.type = null;
-
 
73738
      this.sku = null;
-
 
73739
      setTimestampIsSet(false);
-
 
73740
      this.timestamp = 0;
-
 
73741
    }
-
 
73742
 
-
 
73743
    public String getType() {
-
 
73744
      return this.type;
-
 
73745
    }
-
 
73746
 
-
 
73747
    public void setType(String type) {
-
 
73748
      this.type = type;
-
 
73749
    }
-
 
73750
 
-
 
73751
    public void unsetType() {
-
 
73752
      this.type = null;
-
 
73753
    }
-
 
73754
 
-
 
73755
    /** Returns true if field type is set (has been assigned a value) and false otherwise */
-
 
73756
    public boolean isSetType() {
-
 
73757
      return this.type != null;
-
 
73758
    }
-
 
73759
 
-
 
73760
    public void setTypeIsSet(boolean value) {
-
 
73761
      if (!value) {
-
 
73762
        this.type = null;
-
 
73763
      }
-
 
73764
    }
-
 
73765
 
-
 
73766
    public int getSkuSize() {
-
 
73767
      return (this.sku == null) ? 0 : this.sku.size();
-
 
73768
    }
-
 
73769
 
-
 
73770
    public java.util.Iterator<Long> getSkuIterator() {
-
 
73771
      return (this.sku == null) ? null : this.sku.iterator();
-
 
73772
    }
-
 
73773
 
-
 
73774
    public void addToSku(long elem) {
-
 
73775
      if (this.sku == null) {
-
 
73776
        this.sku = new ArrayList<Long>();
-
 
73777
      }
-
 
73778
      this.sku.add(elem);
-
 
73779
    }
-
 
73780
 
-
 
73781
    public List<Long> getSku() {
-
 
73782
      return this.sku;
-
 
73783
    }
-
 
73784
 
-
 
73785
    public void setSku(List<Long> sku) {
-
 
73786
      this.sku = sku;
-
 
73787
    }
-
 
73788
 
-
 
73789
    public void unsetSku() {
-
 
73790
      this.sku = null;
-
 
73791
    }
-
 
73792
 
-
 
73793
    /** Returns true if field sku is set (has been assigned a value) and false otherwise */
-
 
73794
    public boolean isSetSku() {
-
 
73795
      return this.sku != null;
-
 
73796
    }
-
 
73797
 
-
 
73798
    public void setSkuIsSet(boolean value) {
-
 
73799
      if (!value) {
-
 
73800
        this.sku = null;
-
 
73801
      }
-
 
73802
    }
-
 
73803
 
-
 
73804
    public long getTimestamp() {
-
 
73805
      return this.timestamp;
-
 
73806
    }
-
 
73807
 
-
 
73808
    public void setTimestamp(long timestamp) {
-
 
73809
      this.timestamp = timestamp;
-
 
73810
      setTimestampIsSet(true);
-
 
73811
    }
-
 
73812
 
-
 
73813
    public void unsetTimestamp() {
-
 
73814
      __isset_bit_vector.clear(__TIMESTAMP_ISSET_ID);
-
 
73815
    }
-
 
73816
 
-
 
73817
    /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */
-
 
73818
    public boolean isSetTimestamp() {
-
 
73819
      return __isset_bit_vector.get(__TIMESTAMP_ISSET_ID);
-
 
73820
    }
-
 
73821
 
-
 
73822
    public void setTimestampIsSet(boolean value) {
-
 
73823
      __isset_bit_vector.set(__TIMESTAMP_ISSET_ID, value);
-
 
73824
    }
-
 
73825
 
-
 
73826
    public void setFieldValue(_Fields field, Object value) {
-
 
73827
      switch (field) {
-
 
73828
      case TYPE:
-
 
73829
        if (value == null) {
-
 
73830
          unsetType();
-
 
73831
        } else {
-
 
73832
          setType((String)value);
-
 
73833
        }
-
 
73834
        break;
-
 
73835
 
-
 
73836
      case SKU:
-
 
73837
        if (value == null) {
-
 
73838
          unsetSku();
-
 
73839
        } else {
-
 
73840
          setSku((List<Long>)value);
-
 
73841
        }
-
 
73842
        break;
-
 
73843
 
-
 
73844
      case TIMESTAMP:
-
 
73845
        if (value == null) {
-
 
73846
          unsetTimestamp();
-
 
73847
        } else {
-
 
73848
          setTimestamp((Long)value);
-
 
73849
        }
-
 
73850
        break;
-
 
73851
 
-
 
73852
      }
-
 
73853
    }
-
 
73854
 
-
 
73855
    public Object getFieldValue(_Fields field) {
-
 
73856
      switch (field) {
-
 
73857
      case TYPE:
-
 
73858
        return getType();
-
 
73859
 
-
 
73860
      case SKU:
-
 
73861
        return getSku();
-
 
73862
 
-
 
73863
      case TIMESTAMP:
-
 
73864
        return Long.valueOf(getTimestamp());
-
 
73865
 
-
 
73866
      }
-
 
73867
      throw new IllegalStateException();
-
 
73868
    }
-
 
73869
 
-
 
73870
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
73871
    public boolean isSet(_Fields field) {
-
 
73872
      if (field == null) {
-
 
73873
        throw new IllegalArgumentException();
-
 
73874
      }
-
 
73875
 
-
 
73876
      switch (field) {
-
 
73877
      case TYPE:
-
 
73878
        return isSetType();
-
 
73879
      case SKU:
-
 
73880
        return isSetSku();
-
 
73881
      case TIMESTAMP:
-
 
73882
        return isSetTimestamp();
-
 
73883
      }
-
 
73884
      throw new IllegalStateException();
-
 
73885
    }
-
 
73886
 
-
 
73887
    @Override
-
 
73888
    public boolean equals(Object that) {
-
 
73889
      if (that == null)
-
 
73890
        return false;
-
 
73891
      if (that instanceof updateTimestampForAmazonFeeds_args)
-
 
73892
        return this.equals((updateTimestampForAmazonFeeds_args)that);
-
 
73893
      return false;
-
 
73894
    }
-
 
73895
 
-
 
73896
    public boolean equals(updateTimestampForAmazonFeeds_args that) {
-
 
73897
      if (that == null)
-
 
73898
        return false;
-
 
73899
 
-
 
73900
      boolean this_present_type = true && this.isSetType();
-
 
73901
      boolean that_present_type = true && that.isSetType();
-
 
73902
      if (this_present_type || that_present_type) {
-
 
73903
        if (!(this_present_type && that_present_type))
-
 
73904
          return false;
-
 
73905
        if (!this.type.equals(that.type))
-
 
73906
          return false;
-
 
73907
      }
-
 
73908
 
-
 
73909
      boolean this_present_sku = true && this.isSetSku();
-
 
73910
      boolean that_present_sku = true && that.isSetSku();
-
 
73911
      if (this_present_sku || that_present_sku) {
-
 
73912
        if (!(this_present_sku && that_present_sku))
-
 
73913
          return false;
-
 
73914
        if (!this.sku.equals(that.sku))
-
 
73915
          return false;
-
 
73916
      }
-
 
73917
 
-
 
73918
      boolean this_present_timestamp = true;
-
 
73919
      boolean that_present_timestamp = true;
-
 
73920
      if (this_present_timestamp || that_present_timestamp) {
-
 
73921
        if (!(this_present_timestamp && that_present_timestamp))
-
 
73922
          return false;
-
 
73923
        if (this.timestamp != that.timestamp)
-
 
73924
          return false;
-
 
73925
      }
-
 
73926
 
-
 
73927
      return true;
-
 
73928
    }
-
 
73929
 
-
 
73930
    @Override
-
 
73931
    public int hashCode() {
-
 
73932
      return 0;
-
 
73933
    }
-
 
73934
 
-
 
73935
    public int compareTo(updateTimestampForAmazonFeeds_args other) {
-
 
73936
      if (!getClass().equals(other.getClass())) {
-
 
73937
        return getClass().getName().compareTo(other.getClass().getName());
-
 
73938
      }
-
 
73939
 
-
 
73940
      int lastComparison = 0;
-
 
73941
      updateTimestampForAmazonFeeds_args typedOther = (updateTimestampForAmazonFeeds_args)other;
-
 
73942
 
-
 
73943
      lastComparison = Boolean.valueOf(isSetType()).compareTo(typedOther.isSetType());
-
 
73944
      if (lastComparison != 0) {
-
 
73945
        return lastComparison;
-
 
73946
      }
-
 
73947
      if (isSetType()) {
-
 
73948
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type);
-
 
73949
        if (lastComparison != 0) {
-
 
73950
          return lastComparison;
-
 
73951
        }
-
 
73952
      }
-
 
73953
      lastComparison = Boolean.valueOf(isSetSku()).compareTo(typedOther.isSetSku());
-
 
73954
      if (lastComparison != 0) {
-
 
73955
        return lastComparison;
-
 
73956
      }
-
 
73957
      if (isSetSku()) {
-
 
73958
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sku, typedOther.sku);
-
 
73959
        if (lastComparison != 0) {
-
 
73960
          return lastComparison;
-
 
73961
        }
-
 
73962
      }
-
 
73963
      lastComparison = Boolean.valueOf(isSetTimestamp()).compareTo(typedOther.isSetTimestamp());
-
 
73964
      if (lastComparison != 0) {
-
 
73965
        return lastComparison;
-
 
73966
      }
-
 
73967
      if (isSetTimestamp()) {
-
 
73968
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, typedOther.timestamp);
-
 
73969
        if (lastComparison != 0) {
-
 
73970
          return lastComparison;
-
 
73971
        }
-
 
73972
      }
-
 
73973
      return 0;
-
 
73974
    }
-
 
73975
 
-
 
73976
    public _Fields fieldForId(int fieldId) {
-
 
73977
      return _Fields.findByThriftId(fieldId);
-
 
73978
    }
-
 
73979
 
-
 
73980
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
73981
      org.apache.thrift.protocol.TField field;
-
 
73982
      iprot.readStructBegin();
-
 
73983
      while (true)
-
 
73984
      {
-
 
73985
        field = iprot.readFieldBegin();
-
 
73986
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
73987
          break;
-
 
73988
        }
-
 
73989
        switch (field.id) {
-
 
73990
          case 1: // TYPE
-
 
73991
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
73992
              this.type = iprot.readString();
-
 
73993
            } else { 
-
 
73994
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73995
            }
-
 
73996
            break;
-
 
73997
          case 2: // SKU
-
 
73998
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
73999
              {
-
 
74000
                org.apache.thrift.protocol.TList _list208 = iprot.readListBegin();
-
 
74001
                this.sku = new ArrayList<Long>(_list208.size);
-
 
74002
                for (int _i209 = 0; _i209 < _list208.size; ++_i209)
-
 
74003
                {
-
 
74004
                  long _elem210; // required
-
 
74005
                  _elem210 = iprot.readI64();
-
 
74006
                  this.sku.add(_elem210);
-
 
74007
                }
-
 
74008
                iprot.readListEnd();
-
 
74009
              }
-
 
74010
            } else { 
-
 
74011
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
74012
            }
-
 
74013
            break;
-
 
74014
          case 3: // TIMESTAMP
-
 
74015
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
74016
              this.timestamp = iprot.readI64();
-
 
74017
              setTimestampIsSet(true);
-
 
74018
            } else { 
-
 
74019
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
74020
            }
-
 
74021
            break;
-
 
74022
          default:
-
 
74023
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
74024
        }
-
 
74025
        iprot.readFieldEnd();
-
 
74026
      }
-
 
74027
      iprot.readStructEnd();
-
 
74028
      validate();
-
 
74029
    }
-
 
74030
 
-
 
74031
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
74032
      validate();
-
 
74033
 
-
 
74034
      oprot.writeStructBegin(STRUCT_DESC);
-
 
74035
      if (this.type != null) {
-
 
74036
        oprot.writeFieldBegin(TYPE_FIELD_DESC);
-
 
74037
        oprot.writeString(this.type);
-
 
74038
        oprot.writeFieldEnd();
-
 
74039
      }
-
 
74040
      if (this.sku != null) {
-
 
74041
        oprot.writeFieldBegin(SKU_FIELD_DESC);
-
 
74042
        {
-
 
74043
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.sku.size()));
-
 
74044
          for (long _iter211 : this.sku)
-
 
74045
          {
-
 
74046
            oprot.writeI64(_iter211);
-
 
74047
          }
-
 
74048
          oprot.writeListEnd();
-
 
74049
        }
-
 
74050
        oprot.writeFieldEnd();
-
 
74051
      }
-
 
74052
      oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC);
-
 
74053
      oprot.writeI64(this.timestamp);
-
 
74054
      oprot.writeFieldEnd();
-
 
74055
      oprot.writeFieldStop();
-
 
74056
      oprot.writeStructEnd();
-
 
74057
    }
-
 
74058
 
-
 
74059
    @Override
-
 
74060
    public String toString() {
-
 
74061
      StringBuilder sb = new StringBuilder("updateTimestampForAmazonFeeds_args(");
-
 
74062
      boolean first = true;
-
 
74063
 
-
 
74064
      sb.append("type:");
-
 
74065
      if (this.type == null) {
-
 
74066
        sb.append("null");
-
 
74067
      } else {
-
 
74068
        sb.append(this.type);
-
 
74069
      }
-
 
74070
      first = false;
-
 
74071
      if (!first) sb.append(", ");
-
 
74072
      sb.append("sku:");
-
 
74073
      if (this.sku == null) {
-
 
74074
        sb.append("null");
-
 
74075
      } else {
-
 
74076
        sb.append(this.sku);
-
 
74077
      }
-
 
74078
      first = false;
-
 
74079
      if (!first) sb.append(", ");
-
 
74080
      sb.append("timestamp:");
-
 
74081
      sb.append(this.timestamp);
-
 
74082
      first = false;
-
 
74083
      sb.append(")");
-
 
74084
      return sb.toString();
-
 
74085
    }
-
 
74086
 
-
 
74087
    public void validate() throws org.apache.thrift.TException {
-
 
74088
      // check for required fields
-
 
74089
    }
-
 
74090
 
-
 
74091
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
74092
      try {
-
 
74093
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
74094
      } catch (org.apache.thrift.TException te) {
-
 
74095
        throw new java.io.IOException(te);
-
 
74096
      }
-
 
74097
    }
-
 
74098
 
-
 
74099
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
74100
      try {
-
 
74101
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
74102
        __isset_bit_vector = new BitSet(1);
-
 
74103
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
74104
      } catch (org.apache.thrift.TException te) {
-
 
74105
        throw new java.io.IOException(te);
-
 
74106
      }
-
 
74107
    }
-
 
74108
 
-
 
74109
  }
-
 
74110
 
-
 
74111
  public static class updateTimestampForAmazonFeeds_result implements org.apache.thrift.TBase<updateTimestampForAmazonFeeds_result, updateTimestampForAmazonFeeds_result._Fields>, java.io.Serializable, Cloneable   {
-
 
74112
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateTimestampForAmazonFeeds_result");
-
 
74113
 
-
 
74114
    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);
-
 
74115
 
-
 
74116
    private boolean success; // required
-
 
74117
 
-
 
74118
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
74119
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
74120
      SUCCESS((short)0, "success");
-
 
74121
 
-
 
74122
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
74123
 
-
 
74124
      static {
-
 
74125
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
74126
          byName.put(field.getFieldName(), field);
-
 
74127
        }
-
 
74128
      }
-
 
74129
 
-
 
74130
      /**
-
 
74131
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
74132
       */
-
 
74133
      public static _Fields findByThriftId(int fieldId) {
-
 
74134
        switch(fieldId) {
-
 
74135
          case 0: // SUCCESS
-
 
74136
            return SUCCESS;
-
 
74137
          default:
-
 
74138
            return null;
-
 
74139
        }
-
 
74140
      }
-
 
74141
 
-
 
74142
      /**
-
 
74143
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
74144
       * if it is not found.
-
 
74145
       */
-
 
74146
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
74147
        _Fields fields = findByThriftId(fieldId);
-
 
74148
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
74149
        return fields;
-
 
74150
      }
-
 
74151
 
-
 
74152
      /**
-
 
74153
       * Find the _Fields constant that matches name, or null if its not found.
-
 
74154
       */
-
 
74155
      public static _Fields findByName(String name) {
-
 
74156
        return byName.get(name);
-
 
74157
      }
-
 
74158
 
-
 
74159
      private final short _thriftId;
-
 
74160
      private final String _fieldName;
-
 
74161
 
-
 
74162
      _Fields(short thriftId, String fieldName) {
-
 
74163
        _thriftId = thriftId;
-
 
74164
        _fieldName = fieldName;
-
 
74165
      }
-
 
74166
 
-
 
74167
      public short getThriftFieldId() {
-
 
74168
        return _thriftId;
-
 
74169
      }
-
 
74170
 
-
 
74171
      public String getFieldName() {
-
 
74172
        return _fieldName;
-
 
74173
      }
-
 
74174
    }
-
 
74175
 
-
 
74176
    // isset id assignments
-
 
74177
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
74178
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
74179
 
-
 
74180
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
74181
    static {
-
 
74182
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
74183
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
74184
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
74185
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
74186
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateTimestampForAmazonFeeds_result.class, metaDataMap);
-
 
74187
    }
-
 
74188
 
-
 
74189
    public updateTimestampForAmazonFeeds_result() {
-
 
74190
    }
-
 
74191
 
-
 
74192
    public updateTimestampForAmazonFeeds_result(
-
 
74193
      boolean success)
-
 
74194
    {
-
 
74195
      this();
-
 
74196
      this.success = success;
-
 
74197
      setSuccessIsSet(true);
-
 
74198
    }
-
 
74199
 
-
 
74200
    /**
-
 
74201
     * Performs a deep copy on <i>other</i>.
-
 
74202
     */
-
 
74203
    public updateTimestampForAmazonFeeds_result(updateTimestampForAmazonFeeds_result other) {
-
 
74204
      __isset_bit_vector.clear();
-
 
74205
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
74206
      this.success = other.success;
-
 
74207
    }
-
 
74208
 
-
 
74209
    public updateTimestampForAmazonFeeds_result deepCopy() {
-
 
74210
      return new updateTimestampForAmazonFeeds_result(this);
-
 
74211
    }
-
 
74212
 
-
 
74213
    @Override
-
 
74214
    public void clear() {
-
 
74215
      setSuccessIsSet(false);
-
 
74216
      this.success = false;
-
 
74217
    }
-
 
74218
 
-
 
74219
    public boolean isSuccess() {
-
 
74220
      return this.success;
-
 
74221
    }
-
 
74222
 
-
 
74223
    public void setSuccess(boolean success) {
-
 
74224
      this.success = success;
-
 
74225
      setSuccessIsSet(true);
-
 
74226
    }
-
 
74227
 
-
 
74228
    public void unsetSuccess() {
-
 
74229
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
74230
    }
-
 
74231
 
-
 
74232
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
74233
    public boolean isSetSuccess() {
-
 
74234
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
74235
    }
-
 
74236
 
-
 
74237
    public void setSuccessIsSet(boolean value) {
-
 
74238
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
74239
    }
-
 
74240
 
-
 
74241
    public void setFieldValue(_Fields field, Object value) {
-
 
74242
      switch (field) {
-
 
74243
      case SUCCESS:
-
 
74244
        if (value == null) {
-
 
74245
          unsetSuccess();
-
 
74246
        } else {
-
 
74247
          setSuccess((Boolean)value);
-
 
74248
        }
-
 
74249
        break;
-
 
74250
 
-
 
74251
      }
-
 
74252
    }
-
 
74253
 
-
 
74254
    public Object getFieldValue(_Fields field) {
-
 
74255
      switch (field) {
-
 
74256
      case SUCCESS:
-
 
74257
        return Boolean.valueOf(isSuccess());
-
 
74258
 
-
 
74259
      }
-
 
74260
      throw new IllegalStateException();
-
 
74261
    }
-
 
74262
 
-
 
74263
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
74264
    public boolean isSet(_Fields field) {
-
 
74265
      if (field == null) {
-
 
74266
        throw new IllegalArgumentException();
-
 
74267
      }
-
 
74268
 
-
 
74269
      switch (field) {
-
 
74270
      case SUCCESS:
-
 
74271
        return isSetSuccess();
-
 
74272
      }
-
 
74273
      throw new IllegalStateException();
-
 
74274
    }
-
 
74275
 
-
 
74276
    @Override
-
 
74277
    public boolean equals(Object that) {
-
 
74278
      if (that == null)
-
 
74279
        return false;
-
 
74280
      if (that instanceof updateTimestampForAmazonFeeds_result)
-
 
74281
        return this.equals((updateTimestampForAmazonFeeds_result)that);
-
 
74282
      return false;
-
 
74283
    }
-
 
74284
 
-
 
74285
    public boolean equals(updateTimestampForAmazonFeeds_result that) {
-
 
74286
      if (that == null)
-
 
74287
        return false;
-
 
74288
 
-
 
74289
      boolean this_present_success = true;
-
 
74290
      boolean that_present_success = true;
-
 
74291
      if (this_present_success || that_present_success) {
-
 
74292
        if (!(this_present_success && that_present_success))
-
 
74293
          return false;
-
 
74294
        if (this.success != that.success)
-
 
74295
          return false;
-
 
74296
      }
-
 
74297
 
-
 
74298
      return true;
-
 
74299
    }
-
 
74300
 
-
 
74301
    @Override
-
 
74302
    public int hashCode() {
-
 
74303
      return 0;
-
 
74304
    }
-
 
74305
 
-
 
74306
    public int compareTo(updateTimestampForAmazonFeeds_result other) {
-
 
74307
      if (!getClass().equals(other.getClass())) {
-
 
74308
        return getClass().getName().compareTo(other.getClass().getName());
-
 
74309
      }
-
 
74310
 
-
 
74311
      int lastComparison = 0;
-
 
74312
      updateTimestampForAmazonFeeds_result typedOther = (updateTimestampForAmazonFeeds_result)other;
-
 
74313
 
-
 
74314
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
74315
      if (lastComparison != 0) {
-
 
74316
        return lastComparison;
-
 
74317
      }
-
 
74318
      if (isSetSuccess()) {
-
 
74319
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
74320
        if (lastComparison != 0) {
-
 
74321
          return lastComparison;
-
 
74322
        }
-
 
74323
      }
-
 
74324
      return 0;
-
 
74325
    }
-
 
74326
 
-
 
74327
    public _Fields fieldForId(int fieldId) {
-
 
74328
      return _Fields.findByThriftId(fieldId);
-
 
74329
    }
-
 
74330
 
-
 
74331
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
74332
      org.apache.thrift.protocol.TField field;
-
 
74333
      iprot.readStructBegin();
-
 
74334
      while (true)
-
 
74335
      {
-
 
74336
        field = iprot.readFieldBegin();
-
 
74337
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
74338
          break;
-
 
74339
        }
-
 
74340
        switch (field.id) {
-
 
74341
          case 0: // SUCCESS
-
 
74342
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
74343
              this.success = iprot.readBool();
-
 
74344
              setSuccessIsSet(true);
-
 
74345
            } else { 
-
 
74346
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
74347
            }
-
 
74348
            break;
-
 
74349
          default:
-
 
74350
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
74351
        }
-
 
74352
        iprot.readFieldEnd();
-
 
74353
      }
-
 
74354
      iprot.readStructEnd();
-
 
74355
      validate();
-
 
74356
    }
-
 
74357
 
-
 
74358
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
74359
      oprot.writeStructBegin(STRUCT_DESC);
-
 
74360
 
-
 
74361
      if (this.isSetSuccess()) {
-
 
74362
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
74363
        oprot.writeBool(this.success);
-
 
74364
        oprot.writeFieldEnd();
-
 
74365
      }
-
 
74366
      oprot.writeFieldStop();
-
 
74367
      oprot.writeStructEnd();
-
 
74368
    }
-
 
74369
 
-
 
74370
    @Override
-
 
74371
    public String toString() {
-
 
74372
      StringBuilder sb = new StringBuilder("updateTimestampForAmazonFeeds_result(");
-
 
74373
      boolean first = true;
-
 
74374
 
-
 
74375
      sb.append("success:");
-
 
74376
      sb.append(this.success);
-
 
74377
      first = false;
73493
      sb.append(")");
74378
      sb.append(")");
73494
      return sb.toString();
74379
      return sb.toString();
73495
    }
74380
    }
73496
 
74381
 
73497
    public void validate() throws org.apache.thrift.TException {
74382
    public void validate() throws org.apache.thrift.TException {