Subversion Repositories SmartDukaan

Rev

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

Rev 7007 Rev 7039
Line 324... Line 324...
324
     * @param startDate
324
     * @param startDate
325
     * @param endDate
325
     * @param endDate
326
     */
326
     */
327
    public boolean isProductAddedToCart(long itemId, long startDate, long endDate) throws org.apache.thrift.TException;
327
    public boolean isProductAddedToCart(long itemId, long startDate, long endDate) throws org.apache.thrift.TException;
328
 
328
 
329
    public void markUserAsFBUser(long id) throws org.apache.thrift.TException;
-
 
330
 
-
 
331
  }
329
  }
332
 
330
 
333
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
331
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
334
 
332
 
335
    public void createAnonymousUser(String jsessionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createAnonymousUser_call> resultHandler) throws org.apache.thrift.TException;
333
    public void createAnonymousUser(String jsessionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createAnonymousUser_call> resultHandler) throws org.apache.thrift.TException;
Line 474... Line 472...
474
 
472
 
475
    public void isInsuranceDetailPresent(long addressId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.isInsuranceDetailPresent_call> resultHandler) throws org.apache.thrift.TException;
473
    public void isInsuranceDetailPresent(long addressId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.isInsuranceDetailPresent_call> resultHandler) throws org.apache.thrift.TException;
476
 
474
 
477
    public void isProductAddedToCart(long itemId, long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.isProductAddedToCart_call> resultHandler) throws org.apache.thrift.TException;
475
    public void isProductAddedToCart(long itemId, long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.isProductAddedToCart_call> resultHandler) throws org.apache.thrift.TException;
478
 
476
 
479
    public void markUserAsFBUser(long id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markUserAsFBUser_call> resultHandler) throws org.apache.thrift.TException;
-
 
480
 
-
 
481
  }
477
  }
482
 
478
 
483
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
479
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
484
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
480
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
485
      public Factory() {}
481
      public Factory() {}
Line 2345... Line 2341...
2345
        return result.success;
2341
        return result.success;
2346
      }
2342
      }
2347
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "isProductAddedToCart failed: unknown result");
2343
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "isProductAddedToCart failed: unknown result");
2348
    }
2344
    }
2349
 
2345
 
2350
    public void markUserAsFBUser(long id) throws org.apache.thrift.TException
-
 
2351
    {
-
 
2352
      send_markUserAsFBUser(id);
-
 
2353
      recv_markUserAsFBUser();
-
 
2354
    }
-
 
2355
 
-
 
2356
    public void send_markUserAsFBUser(long id) throws org.apache.thrift.TException
-
 
2357
    {
-
 
2358
      markUserAsFBUser_args args = new markUserAsFBUser_args();
-
 
2359
      args.setId(id);
-
 
2360
      sendBase("markUserAsFBUser", args);
-
 
2361
    }
-
 
2362
 
-
 
2363
    public void recv_markUserAsFBUser() throws org.apache.thrift.TException
-
 
2364
    {
-
 
2365
      markUserAsFBUser_result result = new markUserAsFBUser_result();
-
 
2366
      receiveBase(result, "markUserAsFBUser");
-
 
2367
      return;
-
 
2368
    }
-
 
2369
 
-
 
2370
  }
2346
  }
2371
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
2347
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
2372
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
2348
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
2373
      private org.apache.thrift.async.TAsyncClientManager clientManager;
2349
      private org.apache.thrift.async.TAsyncClientManager clientManager;
2374
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
2350
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 4869... Line 4845...
4869
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4845
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4870
        return (new Client(prot)).recv_isProductAddedToCart();
4846
        return (new Client(prot)).recv_isProductAddedToCart();
4871
      }
4847
      }
4872
    }
4848
    }
4873
 
4849
 
4874
    public void markUserAsFBUser(long id, org.apache.thrift.async.AsyncMethodCallback<markUserAsFBUser_call> resultHandler) throws org.apache.thrift.TException {
-
 
4875
      checkReady();
-
 
4876
      markUserAsFBUser_call method_call = new markUserAsFBUser_call(id, resultHandler, this, ___protocolFactory, ___transport);
-
 
4877
      this.___currentMethod = method_call;
-
 
4878
      ___manager.call(method_call);
-
 
4879
    }
-
 
4880
 
-
 
4881
    public static class markUserAsFBUser_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4882
      private long id;
-
 
4883
      public markUserAsFBUser_call(long id, org.apache.thrift.async.AsyncMethodCallback<markUserAsFBUser_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 {
-
 
4884
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4885
        this.id = id;
-
 
4886
      }
-
 
4887
 
-
 
4888
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4889
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markUserAsFBUser", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4890
        markUserAsFBUser_args args = new markUserAsFBUser_args();
-
 
4891
        args.setId(id);
-
 
4892
        args.write(prot);
-
 
4893
        prot.writeMessageEnd();
-
 
4894
      }
-
 
4895
 
-
 
4896
      public void getResult() throws org.apache.thrift.TException {
-
 
4897
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4898
          throw new IllegalStateException("Method call not finished!");
-
 
4899
        }
-
 
4900
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4901
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4902
        (new Client(prot)).recv_markUserAsFBUser();
-
 
4903
      }
-
 
4904
    }
-
 
4905
 
-
 
4906
  }
4850
  }
4907
 
4851
 
4908
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
4852
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
4909
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
4853
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
4910
    public Processor(I iface) {
4854
    public Processor(I iface) {
Line 4986... Line 4930...
4986
      processMap.put("insureItem", new insureItem());
4930
      processMap.put("insureItem", new insureItem());
4987
      processMap.put("cancelInsurance", new cancelInsurance());
4931
      processMap.put("cancelInsurance", new cancelInsurance());
4988
      processMap.put("storeInsuranceSpecificDetails", new storeInsuranceSpecificDetails());
4932
      processMap.put("storeInsuranceSpecificDetails", new storeInsuranceSpecificDetails());
4989
      processMap.put("isInsuranceDetailPresent", new isInsuranceDetailPresent());
4933
      processMap.put("isInsuranceDetailPresent", new isInsuranceDetailPresent());
4990
      processMap.put("isProductAddedToCart", new isProductAddedToCart());
4934
      processMap.put("isProductAddedToCart", new isProductAddedToCart());
4991
      processMap.put("markUserAsFBUser", new markUserAsFBUser());
-
 
4992
      return processMap;
4935
      return processMap;
4993
    }
4936
    }
4994
 
4937
 
4995
    private static class createAnonymousUser<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createAnonymousUser_args> {
4938
    private static class createAnonymousUser<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createAnonymousUser_args> {
4996
      public createAnonymousUser() {
4939
      public createAnonymousUser() {
Line 6397... Line 6340...
6397
        result.setSuccessIsSet(true);
6340
        result.setSuccessIsSet(true);
6398
        return result;
6341
        return result;
6399
      }
6342
      }
6400
    }
6343
    }
6401
 
6344
 
6402
    private static class markUserAsFBUser<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markUserAsFBUser_args> {
-
 
6403
      public markUserAsFBUser() {
-
 
6404
        super("markUserAsFBUser");
-
 
6405
      }
-
 
6406
 
-
 
6407
      protected markUserAsFBUser_args getEmptyArgsInstance() {
-
 
6408
        return new markUserAsFBUser_args();
-
 
6409
      }
-
 
6410
 
-
 
6411
      protected markUserAsFBUser_result getResult(I iface, markUserAsFBUser_args args) throws org.apache.thrift.TException {
-
 
6412
        markUserAsFBUser_result result = new markUserAsFBUser_result();
-
 
6413
        iface.markUserAsFBUser(args.id);
-
 
6414
        return result;
-
 
6415
      }
-
 
6416
    }
-
 
6417
 
-
 
6418
  }
6345
  }
6419
 
6346
 
6420
  public static class createAnonymousUser_args implements org.apache.thrift.TBase<createAnonymousUser_args, createAnonymousUser_args._Fields>, java.io.Serializable, Cloneable   {
6347
  public static class createAnonymousUser_args implements org.apache.thrift.TBase<createAnonymousUser_args, createAnonymousUser_args._Fields>, java.io.Serializable, Cloneable   {
6421
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createAnonymousUser_args");
6348
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createAnonymousUser_args");
6422
 
6349
 
Line 58337... Line 58264...
58337
      sb.append(")");
58264
      sb.append(")");
58338
      return sb.toString();
58265
      return sb.toString();
58339
    }
58266
    }
58340
 
58267
 
58341
    public void validate() throws org.apache.thrift.TException {
58268
    public void validate() throws org.apache.thrift.TException {
58342
      // check for required fields
-
 
58343
    }
-
 
58344
 
-
 
58345
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
58346
      try {
-
 
58347
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
58348
      } catch (org.apache.thrift.TException te) {
-
 
58349
        throw new java.io.IOException(te);
-
 
58350
      }
-
 
58351
    }
-
 
58352
 
-
 
58353
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
58354
      try {
-
 
58355
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
58356
      } catch (org.apache.thrift.TException te) {
-
 
58357
        throw new java.io.IOException(te);
-
 
58358
      }
-
 
58359
    }
-
 
58360
 
-
 
58361
  }
-
 
58362
 
-
 
58363
  public static class markUserAsFBUser_args implements org.apache.thrift.TBase<markUserAsFBUser_args, markUserAsFBUser_args._Fields>, java.io.Serializable, Cloneable   {
-
 
58364
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markUserAsFBUser_args");
-
 
58365
 
-
 
58366
    private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
58367
 
-
 
58368
    private long id; // required
-
 
58369
 
-
 
58370
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
58371
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
58372
      ID((short)1, "id");
-
 
58373
 
-
 
58374
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
58375
 
-
 
58376
      static {
-
 
58377
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
58378
          byName.put(field.getFieldName(), field);
-
 
58379
        }
-
 
58380
      }
-
 
58381
 
-
 
58382
      /**
-
 
58383
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
58384
       */
-
 
58385
      public static _Fields findByThriftId(int fieldId) {
-
 
58386
        switch(fieldId) {
-
 
58387
          case 1: // ID
-
 
58388
            return ID;
-
 
58389
          default:
-
 
58390
            return null;
-
 
58391
        }
-
 
58392
      }
-
 
58393
 
-
 
58394
      /**
-
 
58395
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
58396
       * if it is not found.
-
 
58397
       */
-
 
58398
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
58399
        _Fields fields = findByThriftId(fieldId);
-
 
58400
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
58401
        return fields;
-
 
58402
      }
-
 
58403
 
-
 
58404
      /**
-
 
58405
       * Find the _Fields constant that matches name, or null if its not found.
-
 
58406
       */
-
 
58407
      public static _Fields findByName(String name) {
-
 
58408
        return byName.get(name);
-
 
58409
      }
-
 
58410
 
-
 
58411
      private final short _thriftId;
-
 
58412
      private final String _fieldName;
-
 
58413
 
-
 
58414
      _Fields(short thriftId, String fieldName) {
-
 
58415
        _thriftId = thriftId;
-
 
58416
        _fieldName = fieldName;
-
 
58417
      }
-
 
58418
 
-
 
58419
      public short getThriftFieldId() {
-
 
58420
        return _thriftId;
-
 
58421
      }
-
 
58422
 
-
 
58423
      public String getFieldName() {
-
 
58424
        return _fieldName;
-
 
58425
      }
-
 
58426
    }
-
 
58427
 
-
 
58428
    // isset id assignments
-
 
58429
    private static final int __ID_ISSET_ID = 0;
-
 
58430
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
58431
 
-
 
58432
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
58433
    static {
-
 
58434
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
58435
      tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
58436
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
58437
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
58438
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markUserAsFBUser_args.class, metaDataMap);
-
 
58439
    }
-
 
58440
 
-
 
58441
    public markUserAsFBUser_args() {
-
 
58442
    }
-
 
58443
 
-
 
58444
    public markUserAsFBUser_args(
-
 
58445
      long id)
-
 
58446
    {
-
 
58447
      this();
-
 
58448
      this.id = id;
-
 
58449
      setIdIsSet(true);
-
 
58450
    }
-
 
58451
 
-
 
58452
    /**
-
 
58453
     * Performs a deep copy on <i>other</i>.
-
 
58454
     */
-
 
58455
    public markUserAsFBUser_args(markUserAsFBUser_args other) {
-
 
58456
      __isset_bit_vector.clear();
-
 
58457
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
58458
      this.id = other.id;
-
 
58459
    }
-
 
58460
 
-
 
58461
    public markUserAsFBUser_args deepCopy() {
-
 
58462
      return new markUserAsFBUser_args(this);
-
 
58463
    }
-
 
58464
 
-
 
58465
    @Override
-
 
58466
    public void clear() {
-
 
58467
      setIdIsSet(false);
-
 
58468
      this.id = 0;
-
 
58469
    }
-
 
58470
 
-
 
58471
    public long getId() {
-
 
58472
      return this.id;
-
 
58473
    }
-
 
58474
 
-
 
58475
    public void setId(long id) {
-
 
58476
      this.id = id;
-
 
58477
      setIdIsSet(true);
-
 
58478
    }
-
 
58479
 
-
 
58480
    public void unsetId() {
-
 
58481
      __isset_bit_vector.clear(__ID_ISSET_ID);
-
 
58482
    }
-
 
58483
 
-
 
58484
    /** Returns true if field id is set (has been assigned a value) and false otherwise */
-
 
58485
    public boolean isSetId() {
-
 
58486
      return __isset_bit_vector.get(__ID_ISSET_ID);
-
 
58487
    }
-
 
58488
 
-
 
58489
    public void setIdIsSet(boolean value) {
-
 
58490
      __isset_bit_vector.set(__ID_ISSET_ID, value);
-
 
58491
    }
-
 
58492
 
-
 
58493
    public void setFieldValue(_Fields field, Object value) {
-
 
58494
      switch (field) {
-
 
58495
      case ID:
-
 
58496
        if (value == null) {
-
 
58497
          unsetId();
-
 
58498
        } else {
-
 
58499
          setId((Long)value);
-
 
58500
        }
-
 
58501
        break;
-
 
58502
 
-
 
58503
      }
-
 
58504
    }
-
 
58505
 
-
 
58506
    public Object getFieldValue(_Fields field) {
-
 
58507
      switch (field) {
-
 
58508
      case ID:
-
 
58509
        return Long.valueOf(getId());
-
 
58510
 
-
 
58511
      }
-
 
58512
      throw new IllegalStateException();
-
 
58513
    }
-
 
58514
 
-
 
58515
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
58516
    public boolean isSet(_Fields field) {
-
 
58517
      if (field == null) {
-
 
58518
        throw new IllegalArgumentException();
-
 
58519
      }
-
 
58520
 
-
 
58521
      switch (field) {
-
 
58522
      case ID:
-
 
58523
        return isSetId();
-
 
58524
      }
-
 
58525
      throw new IllegalStateException();
-
 
58526
    }
-
 
58527
 
-
 
58528
    @Override
-
 
58529
    public boolean equals(Object that) {
-
 
58530
      if (that == null)
-
 
58531
        return false;
-
 
58532
      if (that instanceof markUserAsFBUser_args)
-
 
58533
        return this.equals((markUserAsFBUser_args)that);
-
 
58534
      return false;
-
 
58535
    }
-
 
58536
 
-
 
58537
    public boolean equals(markUserAsFBUser_args that) {
-
 
58538
      if (that == null)
-
 
58539
        return false;
-
 
58540
 
-
 
58541
      boolean this_present_id = true;
-
 
58542
      boolean that_present_id = true;
-
 
58543
      if (this_present_id || that_present_id) {
-
 
58544
        if (!(this_present_id && that_present_id))
-
 
58545
          return false;
-
 
58546
        if (this.id != that.id)
-
 
58547
          return false;
-
 
58548
      }
-
 
58549
 
-
 
58550
      return true;
-
 
58551
    }
-
 
58552
 
-
 
58553
    @Override
-
 
58554
    public int hashCode() {
-
 
58555
      return 0;
-
 
58556
    }
-
 
58557
 
-
 
58558
    public int compareTo(markUserAsFBUser_args other) {
-
 
58559
      if (!getClass().equals(other.getClass())) {
-
 
58560
        return getClass().getName().compareTo(other.getClass().getName());
-
 
58561
      }
-
 
58562
 
-
 
58563
      int lastComparison = 0;
-
 
58564
      markUserAsFBUser_args typedOther = (markUserAsFBUser_args)other;
-
 
58565
 
-
 
58566
      lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
-
 
58567
      if (lastComparison != 0) {
-
 
58568
        return lastComparison;
-
 
58569
      }
-
 
58570
      if (isSetId()) {
-
 
58571
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
-
 
58572
        if (lastComparison != 0) {
-
 
58573
          return lastComparison;
-
 
58574
        }
-
 
58575
      }
-
 
58576
      return 0;
-
 
58577
    }
-
 
58578
 
-
 
58579
    public _Fields fieldForId(int fieldId) {
-
 
58580
      return _Fields.findByThriftId(fieldId);
-
 
58581
    }
-
 
58582
 
-
 
58583
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
58584
      org.apache.thrift.protocol.TField field;
-
 
58585
      iprot.readStructBegin();
-
 
58586
      while (true)
-
 
58587
      {
-
 
58588
        field = iprot.readFieldBegin();
-
 
58589
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
58590
          break;
-
 
58591
        }
-
 
58592
        switch (field.id) {
-
 
58593
          case 1: // ID
-
 
58594
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
58595
              this.id = iprot.readI64();
-
 
58596
              setIdIsSet(true);
-
 
58597
            } else { 
-
 
58598
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
58599
            }
-
 
58600
            break;
-
 
58601
          default:
-
 
58602
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
58603
        }
-
 
58604
        iprot.readFieldEnd();
-
 
58605
      }
-
 
58606
      iprot.readStructEnd();
-
 
58607
      validate();
-
 
58608
    }
-
 
58609
 
-
 
58610
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
58611
      validate();
-
 
58612
 
-
 
58613
      oprot.writeStructBegin(STRUCT_DESC);
-
 
58614
      oprot.writeFieldBegin(ID_FIELD_DESC);
-
 
58615
      oprot.writeI64(this.id);
-
 
58616
      oprot.writeFieldEnd();
-
 
58617
      oprot.writeFieldStop();
-
 
58618
      oprot.writeStructEnd();
-
 
58619
    }
-
 
58620
 
-
 
58621
    @Override
-
 
58622
    public String toString() {
-
 
58623
      StringBuilder sb = new StringBuilder("markUserAsFBUser_args(");
-
 
58624
      boolean first = true;
-
 
58625
 
-
 
58626
      sb.append("id:");
-
 
58627
      sb.append(this.id);
-
 
58628
      first = false;
-
 
58629
      sb.append(")");
-
 
58630
      return sb.toString();
-
 
58631
    }
-
 
58632
 
-
 
58633
    public void validate() throws org.apache.thrift.TException {
-
 
58634
      // check for required fields
-
 
58635
    }
-
 
58636
 
-
 
58637
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
58638
      try {
-
 
58639
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
58640
      } catch (org.apache.thrift.TException te) {
-
 
58641
        throw new java.io.IOException(te);
-
 
58642
      }
-
 
58643
    }
-
 
58644
 
-
 
58645
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
58646
      try {
-
 
58647
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
58648
        __isset_bit_vector = new BitSet(1);
-
 
58649
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
58650
      } catch (org.apache.thrift.TException te) {
-
 
58651
        throw new java.io.IOException(te);
-
 
58652
      }
-
 
58653
    }
-
 
58654
 
-
 
58655
  }
-
 
58656
 
-
 
58657
  public static class markUserAsFBUser_result implements org.apache.thrift.TBase<markUserAsFBUser_result, markUserAsFBUser_result._Fields>, java.io.Serializable, Cloneable   {
-
 
58658
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markUserAsFBUser_result");
-
 
58659
 
-
 
58660
 
-
 
58661
 
-
 
58662
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
58663
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
58664
;
-
 
58665
 
-
 
58666
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
58667
 
-
 
58668
      static {
-
 
58669
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
58670
          byName.put(field.getFieldName(), field);
-
 
58671
        }
-
 
58672
      }
-
 
58673
 
-
 
58674
      /**
-
 
58675
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
58676
       */
-
 
58677
      public static _Fields findByThriftId(int fieldId) {
-
 
58678
        switch(fieldId) {
-
 
58679
          default:
-
 
58680
            return null;
-
 
58681
        }
-
 
58682
      }
-
 
58683
 
-
 
58684
      /**
-
 
58685
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
58686
       * if it is not found.
-
 
58687
       */
-
 
58688
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
58689
        _Fields fields = findByThriftId(fieldId);
-
 
58690
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
58691
        return fields;
-
 
58692
      }
-
 
58693
 
-
 
58694
      /**
-
 
58695
       * Find the _Fields constant that matches name, or null if its not found.
-
 
58696
       */
-
 
58697
      public static _Fields findByName(String name) {
-
 
58698
        return byName.get(name);
-
 
58699
      }
-
 
58700
 
-
 
58701
      private final short _thriftId;
-
 
58702
      private final String _fieldName;
-
 
58703
 
-
 
58704
      _Fields(short thriftId, String fieldName) {
-
 
58705
        _thriftId = thriftId;
-
 
58706
        _fieldName = fieldName;
-
 
58707
      }
-
 
58708
 
-
 
58709
      public short getThriftFieldId() {
-
 
58710
        return _thriftId;
-
 
58711
      }
-
 
58712
 
-
 
58713
      public String getFieldName() {
-
 
58714
        return _fieldName;
-
 
58715
      }
-
 
58716
    }
-
 
58717
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
58718
    static {
-
 
58719
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
58720
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
58721
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markUserAsFBUser_result.class, metaDataMap);
-
 
58722
    }
-
 
58723
 
-
 
58724
    public markUserAsFBUser_result() {
-
 
58725
    }
-
 
58726
 
-
 
58727
    /**
-
 
58728
     * Performs a deep copy on <i>other</i>.
-
 
58729
     */
-
 
58730
    public markUserAsFBUser_result(markUserAsFBUser_result other) {
-
 
58731
    }
-
 
58732
 
-
 
58733
    public markUserAsFBUser_result deepCopy() {
-
 
58734
      return new markUserAsFBUser_result(this);
-
 
58735
    }
-
 
58736
 
-
 
58737
    @Override
-
 
58738
    public void clear() {
-
 
58739
    }
-
 
58740
 
-
 
58741
    public void setFieldValue(_Fields field, Object value) {
-
 
58742
      switch (field) {
-
 
58743
      }
-
 
58744
    }
-
 
58745
 
-
 
58746
    public Object getFieldValue(_Fields field) {
-
 
58747
      switch (field) {
-
 
58748
      }
-
 
58749
      throw new IllegalStateException();
-
 
58750
    }
-
 
58751
 
-
 
58752
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
58753
    public boolean isSet(_Fields field) {
-
 
58754
      if (field == null) {
-
 
58755
        throw new IllegalArgumentException();
-
 
58756
      }
-
 
58757
 
-
 
58758
      switch (field) {
-
 
58759
      }
-
 
58760
      throw new IllegalStateException();
-
 
58761
    }
-
 
58762
 
-
 
58763
    @Override
-
 
58764
    public boolean equals(Object that) {
-
 
58765
      if (that == null)
-
 
58766
        return false;
-
 
58767
      if (that instanceof markUserAsFBUser_result)
-
 
58768
        return this.equals((markUserAsFBUser_result)that);
-
 
58769
      return false;
-
 
58770
    }
-
 
58771
 
-
 
58772
    public boolean equals(markUserAsFBUser_result that) {
-
 
58773
      if (that == null)
-
 
58774
        return false;
-
 
58775
 
-
 
58776
      return true;
-
 
58777
    }
-
 
58778
 
-
 
58779
    @Override
-
 
58780
    public int hashCode() {
-
 
58781
      return 0;
-
 
58782
    }
-
 
58783
 
-
 
58784
    public int compareTo(markUserAsFBUser_result other) {
-
 
58785
      if (!getClass().equals(other.getClass())) {
-
 
58786
        return getClass().getName().compareTo(other.getClass().getName());
-
 
58787
      }
-
 
58788
 
-
 
58789
      int lastComparison = 0;
-
 
58790
      markUserAsFBUser_result typedOther = (markUserAsFBUser_result)other;
-
 
58791
 
-
 
58792
      return 0;
-
 
58793
    }
-
 
58794
 
-
 
58795
    public _Fields fieldForId(int fieldId) {
-
 
58796
      return _Fields.findByThriftId(fieldId);
-
 
58797
    }
-
 
58798
 
-
 
58799
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
58800
      org.apache.thrift.protocol.TField field;
-
 
58801
      iprot.readStructBegin();
-
 
58802
      while (true)
-
 
58803
      {
-
 
58804
        field = iprot.readFieldBegin();
-
 
58805
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
58806
          break;
-
 
58807
        }
-
 
58808
        switch (field.id) {
-
 
58809
          default:
-
 
58810
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
58811
        }
-
 
58812
        iprot.readFieldEnd();
-
 
58813
      }
-
 
58814
      iprot.readStructEnd();
-
 
58815
      validate();
-
 
58816
    }
-
 
58817
 
-
 
58818
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
58819
      oprot.writeStructBegin(STRUCT_DESC);
-
 
58820
 
-
 
58821
      oprot.writeFieldStop();
-
 
58822
      oprot.writeStructEnd();
-
 
58823
    }
-
 
58824
 
-
 
58825
    @Override
-
 
58826
    public String toString() {
-
 
58827
      StringBuilder sb = new StringBuilder("markUserAsFBUser_result(");
-
 
58828
      boolean first = true;
-
 
58829
 
-
 
58830
      sb.append(")");
-
 
58831
      return sb.toString();
-
 
58832
    }
-
 
58833
 
-
 
58834
    public void validate() throws org.apache.thrift.TException {
-
 
58835
      // check for required fields
58269
      // check for required fields
58836
    }
58270
    }
58837
 
58271
 
58838
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
58272
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
58839
      try {
58273
      try {