Subversion Repositories SmartDukaan

Rev

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

Rev 7370 Rev 7371
Line 967... Line 967...
967
 
967
 
968
    public ByteBuffer getStoreOrderAdvanceInvoice(long orderId) throws org.apache.thrift.TException;
968
    public ByteBuffer getStoreOrderAdvanceInvoice(long orderId) throws org.apache.thrift.TException;
969
 
969
 
970
    public boolean addFrc(long circleId, long operatorId, long denomination, long maxDiscount) throws org.apache.thrift.TException;
970
    public boolean addFrc(long circleId, long operatorId, long denomination, long maxDiscount) throws org.apache.thrift.TException;
971
 
971
 
-
 
972
    public String addSeries(long circle, long operatorId, long series) throws org.apache.thrift.TException;
-
 
973
 
972
  }
974
  }
973
 
975
 
974
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
976
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
975
 
977
 
976
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
978
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1327... Line 1329...
1327
 
1329
 
1328
    public void getStoreOrderAdvanceInvoice(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStoreOrderAdvanceInvoice_call> resultHandler) throws org.apache.thrift.TException;
1330
    public void getStoreOrderAdvanceInvoice(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStoreOrderAdvanceInvoice_call> resultHandler) throws org.apache.thrift.TException;
1329
 
1331
 
1330
    public void addFrc(long circleId, long operatorId, long denomination, long maxDiscount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addFrc_call> resultHandler) throws org.apache.thrift.TException;
1332
    public void addFrc(long circleId, long operatorId, long denomination, long maxDiscount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addFrc_call> resultHandler) throws org.apache.thrift.TException;
1331
 
1333
 
-
 
1334
    public void addSeries(long circle, long operatorId, long series, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addSeries_call> resultHandler) throws org.apache.thrift.TException;
-
 
1335
 
1332
  }
1336
  }
1333
 
1337
 
1334
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1338
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1335
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1339
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1336
      public Factory() {}
1340
      public Factory() {}
Line 5794... Line 5798...
5794
        return result.success;
5798
        return result.success;
5795
      }
5799
      }
5796
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addFrc failed: unknown result");
5800
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addFrc failed: unknown result");
5797
    }
5801
    }
5798
 
5802
 
-
 
5803
    public String addSeries(long circle, long operatorId, long series) throws org.apache.thrift.TException
-
 
5804
    {
-
 
5805
      send_addSeries(circle, operatorId, series);
-
 
5806
      return recv_addSeries();
-
 
5807
    }
-
 
5808
 
-
 
5809
    public void send_addSeries(long circle, long operatorId, long series) throws org.apache.thrift.TException
-
 
5810
    {
-
 
5811
      addSeries_args args = new addSeries_args();
-
 
5812
      args.setCircle(circle);
-
 
5813
      args.setOperatorId(operatorId);
-
 
5814
      args.setSeries(series);
-
 
5815
      sendBase("addSeries", args);
-
 
5816
    }
-
 
5817
 
-
 
5818
    public String recv_addSeries() throws org.apache.thrift.TException
-
 
5819
    {
-
 
5820
      addSeries_result result = new addSeries_result();
-
 
5821
      receiveBase(result, "addSeries");
-
 
5822
      if (result.isSetSuccess()) {
-
 
5823
        return result.success;
-
 
5824
      }
-
 
5825
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addSeries failed: unknown result");
-
 
5826
    }
-
 
5827
 
5799
  }
5828
  }
5800
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5829
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5801
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5830
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5802
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5831
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5803
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
5832
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 12021... Line 12050...
12021
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
12050
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
12022
        return (new Client(prot)).recv_addFrc();
12051
        return (new Client(prot)).recv_addFrc();
12023
      }
12052
      }
12024
    }
12053
    }
12025
 
12054
 
-
 
12055
    public void addSeries(long circle, long operatorId, long series, org.apache.thrift.async.AsyncMethodCallback<addSeries_call> resultHandler) throws org.apache.thrift.TException {
-
 
12056
      checkReady();
-
 
12057
      addSeries_call method_call = new addSeries_call(circle, operatorId, series, resultHandler, this, ___protocolFactory, ___transport);
-
 
12058
      this.___currentMethod = method_call;
-
 
12059
      ___manager.call(method_call);
-
 
12060
    }
-
 
12061
 
-
 
12062
    public static class addSeries_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
12063
      private long circle;
-
 
12064
      private long operatorId;
-
 
12065
      private long series;
-
 
12066
      public addSeries_call(long circle, long operatorId, long series, org.apache.thrift.async.AsyncMethodCallback<addSeries_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 {
-
 
12067
        super(client, protocolFactory, transport, resultHandler, false);
-
 
12068
        this.circle = circle;
-
 
12069
        this.operatorId = operatorId;
-
 
12070
        this.series = series;
-
 
12071
      }
-
 
12072
 
-
 
12073
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
12074
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addSeries", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
12075
        addSeries_args args = new addSeries_args();
-
 
12076
        args.setCircle(circle);
-
 
12077
        args.setOperatorId(operatorId);
-
 
12078
        args.setSeries(series);
-
 
12079
        args.write(prot);
-
 
12080
        prot.writeMessageEnd();
-
 
12081
      }
-
 
12082
 
-
 
12083
      public String getResult() throws org.apache.thrift.TException {
-
 
12084
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
12085
          throw new IllegalStateException("Method call not finished!");
-
 
12086
        }
-
 
12087
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
12088
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
12089
        return (new Client(prot)).recv_addSeries();
-
 
12090
      }
-
 
12091
    }
-
 
12092
 
12026
  }
12093
  }
12027
 
12094
 
12028
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
12095
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
12029
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
12096
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
12030
    public Processor(I iface) {
12097
    public Processor(I iface) {
Line 12212... Line 12279...
12212
      processMap.put("getAmazonOrdersCancelled", new getAmazonOrdersCancelled());
12279
      processMap.put("getAmazonOrdersCancelled", new getAmazonOrdersCancelled());
12213
      processMap.put("getAmazonOrder", new getAmazonOrder());
12280
      processMap.put("getAmazonOrder", new getAmazonOrder());
12214
      processMap.put("getOrdersForStore", new getOrdersForStore());
12281
      processMap.put("getOrdersForStore", new getOrdersForStore());
12215
      processMap.put("getStoreOrderAdvanceInvoice", new getStoreOrderAdvanceInvoice());
12282
      processMap.put("getStoreOrderAdvanceInvoice", new getStoreOrderAdvanceInvoice());
12216
      processMap.put("addFrc", new addFrc());
12283
      processMap.put("addFrc", new addFrc());
-
 
12284
      processMap.put("addSeries", new addSeries());
12217
      return processMap;
12285
      return processMap;
12218
    }
12286
    }
12219
 
12287
 
12220
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
12288
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
12221
      public createTransaction() {
12289
      public createTransaction() {
Line 15498... Line 15566...
15498
        result.setSuccessIsSet(true);
15566
        result.setSuccessIsSet(true);
15499
        return result;
15567
        return result;
15500
      }
15568
      }
15501
    }
15569
    }
15502
 
15570
 
-
 
15571
    private static class addSeries<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addSeries_args> {
-
 
15572
      public addSeries() {
-
 
15573
        super("addSeries");
-
 
15574
      }
-
 
15575
 
-
 
15576
      protected addSeries_args getEmptyArgsInstance() {
-
 
15577
        return new addSeries_args();
-
 
15578
      }
-
 
15579
 
-
 
15580
      protected addSeries_result getResult(I iface, addSeries_args args) throws org.apache.thrift.TException {
-
 
15581
        addSeries_result result = new addSeries_result();
-
 
15582
        result.success = iface.addSeries(args.circle, args.operatorId, args.series);
-
 
15583
        return result;
-
 
15584
      }
-
 
15585
    }
-
 
15586
 
15503
  }
15587
  }
15504
 
15588
 
15505
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
15589
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
15506
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
15590
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
15507
 
15591
 
Line 50097... Line 50181...
50097
      }
50181
      }
50098
    }
50182
    }
50099
 
50183
 
50100
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
50184
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
50101
      try {
50185
      try {
50102
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
50103
        __isset_bit_vector = new BitSet(1);
-
 
50104
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
50186
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
50105
      } catch (org.apache.thrift.TException te) {
50187
      } catch (org.apache.thrift.TException te) {
50106
        throw new java.io.IOException(te);
50188
        throw new java.io.IOException(te);
50107
      }
50189
      }
50108
    }
50190
    }
Line 50855... Line 50937...
50855
      }
50937
      }
50856
    }
50938
    }
50857
 
50939
 
50858
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
50940
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
50859
      try {
50941
      try {
-
 
50942
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
50943
        __isset_bit_vector = new BitSet(1);
50860
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
50944
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
50861
      } catch (org.apache.thrift.TException te) {
50945
      } catch (org.apache.thrift.TException te) {
50862
        throw new java.io.IOException(te);
50946
        throw new java.io.IOException(te);
50863
      }
50947
      }
50864
    }
50948
    }
Line 143495... Line 143579...
143495
      first = false;
143579
      first = false;
143496
      sb.append(")");
143580
      sb.append(")");
143497
      return sb.toString();
143581
      return sb.toString();
143498
    }
143582
    }
143499
 
143583
 
-
 
143584
    public void validate() throws org.apache.thrift.TException {
-
 
143585
      // check for required fields
-
 
143586
    }
-
 
143587
 
-
 
143588
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
143589
      try {
-
 
143590
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
143591
      } catch (org.apache.thrift.TException te) {
-
 
143592
        throw new java.io.IOException(te);
-
 
143593
      }
-
 
143594
    }
-
 
143595
 
-
 
143596
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
143597
      try {
-
 
143598
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
143599
      } catch (org.apache.thrift.TException te) {
-
 
143600
        throw new java.io.IOException(te);
-
 
143601
      }
-
 
143602
    }
-
 
143603
 
-
 
143604
  }
-
 
143605
 
-
 
143606
  public static class addSeries_args implements org.apache.thrift.TBase<addSeries_args, addSeries_args._Fields>, java.io.Serializable, Cloneable   {
-
 
143607
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addSeries_args");
-
 
143608
 
-
 
143609
    private static final org.apache.thrift.protocol.TField CIRCLE_FIELD_DESC = new org.apache.thrift.protocol.TField("circle", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
143610
    private static final org.apache.thrift.protocol.TField OPERATOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("operatorId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
143611
    private static final org.apache.thrift.protocol.TField SERIES_FIELD_DESC = new org.apache.thrift.protocol.TField("series", org.apache.thrift.protocol.TType.I64, (short)3);
-
 
143612
 
-
 
143613
    private long circle; // required
-
 
143614
    private long operatorId; // required
-
 
143615
    private long series; // required
-
 
143616
 
-
 
143617
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
143618
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
143619
      CIRCLE((short)1, "circle"),
-
 
143620
      OPERATOR_ID((short)2, "operatorId"),
-
 
143621
      SERIES((short)3, "series");
-
 
143622
 
-
 
143623
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
143624
 
-
 
143625
      static {
-
 
143626
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
143627
          byName.put(field.getFieldName(), field);
-
 
143628
        }
-
 
143629
      }
-
 
143630
 
-
 
143631
      /**
-
 
143632
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
143633
       */
-
 
143634
      public static _Fields findByThriftId(int fieldId) {
-
 
143635
        switch(fieldId) {
-
 
143636
          case 1: // CIRCLE
-
 
143637
            return CIRCLE;
-
 
143638
          case 2: // OPERATOR_ID
-
 
143639
            return OPERATOR_ID;
-
 
143640
          case 3: // SERIES
-
 
143641
            return SERIES;
-
 
143642
          default:
-
 
143643
            return null;
-
 
143644
        }
-
 
143645
      }
-
 
143646
 
-
 
143647
      /**
-
 
143648
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
143649
       * if it is not found.
-
 
143650
       */
-
 
143651
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
143652
        _Fields fields = findByThriftId(fieldId);
-
 
143653
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
143654
        return fields;
-
 
143655
      }
-
 
143656
 
-
 
143657
      /**
-
 
143658
       * Find the _Fields constant that matches name, or null if its not found.
-
 
143659
       */
-
 
143660
      public static _Fields findByName(String name) {
-
 
143661
        return byName.get(name);
-
 
143662
      }
-
 
143663
 
-
 
143664
      private final short _thriftId;
-
 
143665
      private final String _fieldName;
-
 
143666
 
-
 
143667
      _Fields(short thriftId, String fieldName) {
-
 
143668
        _thriftId = thriftId;
-
 
143669
        _fieldName = fieldName;
-
 
143670
      }
-
 
143671
 
-
 
143672
      public short getThriftFieldId() {
-
 
143673
        return _thriftId;
-
 
143674
      }
-
 
143675
 
-
 
143676
      public String getFieldName() {
-
 
143677
        return _fieldName;
-
 
143678
      }
-
 
143679
    }
-
 
143680
 
-
 
143681
    // isset id assignments
-
 
143682
    private static final int __CIRCLE_ISSET_ID = 0;
-
 
143683
    private static final int __OPERATORID_ISSET_ID = 1;
-
 
143684
    private static final int __SERIES_ISSET_ID = 2;
-
 
143685
    private BitSet __isset_bit_vector = new BitSet(3);
-
 
143686
 
-
 
143687
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
143688
    static {
-
 
143689
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
143690
      tmpMap.put(_Fields.CIRCLE, new org.apache.thrift.meta_data.FieldMetaData("circle", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
143691
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
143692
      tmpMap.put(_Fields.OPERATOR_ID, new org.apache.thrift.meta_data.FieldMetaData("operatorId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
143693
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
143694
      tmpMap.put(_Fields.SERIES, new org.apache.thrift.meta_data.FieldMetaData("series", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
143695
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
143696
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
143697
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addSeries_args.class, metaDataMap);
-
 
143698
    }
-
 
143699
 
-
 
143700
    public addSeries_args() {
-
 
143701
    }
-
 
143702
 
-
 
143703
    public addSeries_args(
-
 
143704
      long circle,
-
 
143705
      long operatorId,
-
 
143706
      long series)
-
 
143707
    {
-
 
143708
      this();
-
 
143709
      this.circle = circle;
-
 
143710
      setCircleIsSet(true);
-
 
143711
      this.operatorId = operatorId;
-
 
143712
      setOperatorIdIsSet(true);
-
 
143713
      this.series = series;
-
 
143714
      setSeriesIsSet(true);
-
 
143715
    }
-
 
143716
 
-
 
143717
    /**
-
 
143718
     * Performs a deep copy on <i>other</i>.
-
 
143719
     */
-
 
143720
    public addSeries_args(addSeries_args other) {
-
 
143721
      __isset_bit_vector.clear();
-
 
143722
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
143723
      this.circle = other.circle;
-
 
143724
      this.operatorId = other.operatorId;
-
 
143725
      this.series = other.series;
-
 
143726
    }
-
 
143727
 
-
 
143728
    public addSeries_args deepCopy() {
-
 
143729
      return new addSeries_args(this);
-
 
143730
    }
-
 
143731
 
-
 
143732
    @Override
-
 
143733
    public void clear() {
-
 
143734
      setCircleIsSet(false);
-
 
143735
      this.circle = 0;
-
 
143736
      setOperatorIdIsSet(false);
-
 
143737
      this.operatorId = 0;
-
 
143738
      setSeriesIsSet(false);
-
 
143739
      this.series = 0;
-
 
143740
    }
-
 
143741
 
-
 
143742
    public long getCircle() {
-
 
143743
      return this.circle;
-
 
143744
    }
-
 
143745
 
-
 
143746
    public void setCircle(long circle) {
-
 
143747
      this.circle = circle;
-
 
143748
      setCircleIsSet(true);
-
 
143749
    }
-
 
143750
 
-
 
143751
    public void unsetCircle() {
-
 
143752
      __isset_bit_vector.clear(__CIRCLE_ISSET_ID);
-
 
143753
    }
-
 
143754
 
-
 
143755
    /** Returns true if field circle is set (has been assigned a value) and false otherwise */
-
 
143756
    public boolean isSetCircle() {
-
 
143757
      return __isset_bit_vector.get(__CIRCLE_ISSET_ID);
-
 
143758
    }
-
 
143759
 
-
 
143760
    public void setCircleIsSet(boolean value) {
-
 
143761
      __isset_bit_vector.set(__CIRCLE_ISSET_ID, value);
-
 
143762
    }
-
 
143763
 
-
 
143764
    public long getOperatorId() {
-
 
143765
      return this.operatorId;
-
 
143766
    }
-
 
143767
 
-
 
143768
    public void setOperatorId(long operatorId) {
-
 
143769
      this.operatorId = operatorId;
-
 
143770
      setOperatorIdIsSet(true);
-
 
143771
    }
-
 
143772
 
-
 
143773
    public void unsetOperatorId() {
-
 
143774
      __isset_bit_vector.clear(__OPERATORID_ISSET_ID);
-
 
143775
    }
-
 
143776
 
-
 
143777
    /** Returns true if field operatorId is set (has been assigned a value) and false otherwise */
-
 
143778
    public boolean isSetOperatorId() {
-
 
143779
      return __isset_bit_vector.get(__OPERATORID_ISSET_ID);
-
 
143780
    }
-
 
143781
 
-
 
143782
    public void setOperatorIdIsSet(boolean value) {
-
 
143783
      __isset_bit_vector.set(__OPERATORID_ISSET_ID, value);
-
 
143784
    }
-
 
143785
 
-
 
143786
    public long getSeries() {
-
 
143787
      return this.series;
-
 
143788
    }
-
 
143789
 
-
 
143790
    public void setSeries(long series) {
-
 
143791
      this.series = series;
-
 
143792
      setSeriesIsSet(true);
-
 
143793
    }
-
 
143794
 
-
 
143795
    public void unsetSeries() {
-
 
143796
      __isset_bit_vector.clear(__SERIES_ISSET_ID);
-
 
143797
    }
-
 
143798
 
-
 
143799
    /** Returns true if field series is set (has been assigned a value) and false otherwise */
-
 
143800
    public boolean isSetSeries() {
-
 
143801
      return __isset_bit_vector.get(__SERIES_ISSET_ID);
-
 
143802
    }
-
 
143803
 
-
 
143804
    public void setSeriesIsSet(boolean value) {
-
 
143805
      __isset_bit_vector.set(__SERIES_ISSET_ID, value);
-
 
143806
    }
-
 
143807
 
-
 
143808
    public void setFieldValue(_Fields field, Object value) {
-
 
143809
      switch (field) {
-
 
143810
      case CIRCLE:
-
 
143811
        if (value == null) {
-
 
143812
          unsetCircle();
-
 
143813
        } else {
-
 
143814
          setCircle((Long)value);
-
 
143815
        }
-
 
143816
        break;
-
 
143817
 
-
 
143818
      case OPERATOR_ID:
-
 
143819
        if (value == null) {
-
 
143820
          unsetOperatorId();
-
 
143821
        } else {
-
 
143822
          setOperatorId((Long)value);
-
 
143823
        }
-
 
143824
        break;
-
 
143825
 
-
 
143826
      case SERIES:
-
 
143827
        if (value == null) {
-
 
143828
          unsetSeries();
-
 
143829
        } else {
-
 
143830
          setSeries((Long)value);
-
 
143831
        }
-
 
143832
        break;
-
 
143833
 
-
 
143834
      }
-
 
143835
    }
-
 
143836
 
-
 
143837
    public Object getFieldValue(_Fields field) {
-
 
143838
      switch (field) {
-
 
143839
      case CIRCLE:
-
 
143840
        return Long.valueOf(getCircle());
-
 
143841
 
-
 
143842
      case OPERATOR_ID:
-
 
143843
        return Long.valueOf(getOperatorId());
-
 
143844
 
-
 
143845
      case SERIES:
-
 
143846
        return Long.valueOf(getSeries());
-
 
143847
 
-
 
143848
      }
-
 
143849
      throw new IllegalStateException();
-
 
143850
    }
-
 
143851
 
-
 
143852
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
143853
    public boolean isSet(_Fields field) {
-
 
143854
      if (field == null) {
-
 
143855
        throw new IllegalArgumentException();
-
 
143856
      }
-
 
143857
 
-
 
143858
      switch (field) {
-
 
143859
      case CIRCLE:
-
 
143860
        return isSetCircle();
-
 
143861
      case OPERATOR_ID:
-
 
143862
        return isSetOperatorId();
-
 
143863
      case SERIES:
-
 
143864
        return isSetSeries();
-
 
143865
      }
-
 
143866
      throw new IllegalStateException();
-
 
143867
    }
-
 
143868
 
-
 
143869
    @Override
-
 
143870
    public boolean equals(Object that) {
-
 
143871
      if (that == null)
-
 
143872
        return false;
-
 
143873
      if (that instanceof addSeries_args)
-
 
143874
        return this.equals((addSeries_args)that);
-
 
143875
      return false;
-
 
143876
    }
-
 
143877
 
-
 
143878
    public boolean equals(addSeries_args that) {
-
 
143879
      if (that == null)
-
 
143880
        return false;
-
 
143881
 
-
 
143882
      boolean this_present_circle = true;
-
 
143883
      boolean that_present_circle = true;
-
 
143884
      if (this_present_circle || that_present_circle) {
-
 
143885
        if (!(this_present_circle && that_present_circle))
-
 
143886
          return false;
-
 
143887
        if (this.circle != that.circle)
-
 
143888
          return false;
-
 
143889
      }
-
 
143890
 
-
 
143891
      boolean this_present_operatorId = true;
-
 
143892
      boolean that_present_operatorId = true;
-
 
143893
      if (this_present_operatorId || that_present_operatorId) {
-
 
143894
        if (!(this_present_operatorId && that_present_operatorId))
-
 
143895
          return false;
-
 
143896
        if (this.operatorId != that.operatorId)
-
 
143897
          return false;
-
 
143898
      }
-
 
143899
 
-
 
143900
      boolean this_present_series = true;
-
 
143901
      boolean that_present_series = true;
-
 
143902
      if (this_present_series || that_present_series) {
-
 
143903
        if (!(this_present_series && that_present_series))
-
 
143904
          return false;
-
 
143905
        if (this.series != that.series)
-
 
143906
          return false;
-
 
143907
      }
-
 
143908
 
-
 
143909
      return true;
-
 
143910
    }
-
 
143911
 
-
 
143912
    @Override
-
 
143913
    public int hashCode() {
-
 
143914
      return 0;
-
 
143915
    }
-
 
143916
 
-
 
143917
    public int compareTo(addSeries_args other) {
-
 
143918
      if (!getClass().equals(other.getClass())) {
-
 
143919
        return getClass().getName().compareTo(other.getClass().getName());
-
 
143920
      }
-
 
143921
 
-
 
143922
      int lastComparison = 0;
-
 
143923
      addSeries_args typedOther = (addSeries_args)other;
-
 
143924
 
-
 
143925
      lastComparison = Boolean.valueOf(isSetCircle()).compareTo(typedOther.isSetCircle());
-
 
143926
      if (lastComparison != 0) {
-
 
143927
        return lastComparison;
-
 
143928
      }
-
 
143929
      if (isSetCircle()) {
-
 
143930
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.circle, typedOther.circle);
-
 
143931
        if (lastComparison != 0) {
-
 
143932
          return lastComparison;
-
 
143933
        }
-
 
143934
      }
-
 
143935
      lastComparison = Boolean.valueOf(isSetOperatorId()).compareTo(typedOther.isSetOperatorId());
-
 
143936
      if (lastComparison != 0) {
-
 
143937
        return lastComparison;
-
 
143938
      }
-
 
143939
      if (isSetOperatorId()) {
-
 
143940
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorId, typedOther.operatorId);
-
 
143941
        if (lastComparison != 0) {
-
 
143942
          return lastComparison;
-
 
143943
        }
-
 
143944
      }
-
 
143945
      lastComparison = Boolean.valueOf(isSetSeries()).compareTo(typedOther.isSetSeries());
-
 
143946
      if (lastComparison != 0) {
-
 
143947
        return lastComparison;
-
 
143948
      }
-
 
143949
      if (isSetSeries()) {
-
 
143950
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.series, typedOther.series);
-
 
143951
        if (lastComparison != 0) {
-
 
143952
          return lastComparison;
-
 
143953
        }
-
 
143954
      }
-
 
143955
      return 0;
-
 
143956
    }
-
 
143957
 
-
 
143958
    public _Fields fieldForId(int fieldId) {
-
 
143959
      return _Fields.findByThriftId(fieldId);
-
 
143960
    }
-
 
143961
 
-
 
143962
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
143963
      org.apache.thrift.protocol.TField field;
-
 
143964
      iprot.readStructBegin();
-
 
143965
      while (true)
-
 
143966
      {
-
 
143967
        field = iprot.readFieldBegin();
-
 
143968
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
143969
          break;
-
 
143970
        }
-
 
143971
        switch (field.id) {
-
 
143972
          case 1: // CIRCLE
-
 
143973
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
143974
              this.circle = iprot.readI64();
-
 
143975
              setCircleIsSet(true);
-
 
143976
            } else { 
-
 
143977
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
143978
            }
-
 
143979
            break;
-
 
143980
          case 2: // OPERATOR_ID
-
 
143981
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
143982
              this.operatorId = iprot.readI64();
-
 
143983
              setOperatorIdIsSet(true);
-
 
143984
            } else { 
-
 
143985
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
143986
            }
-
 
143987
            break;
-
 
143988
          case 3: // SERIES
-
 
143989
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
143990
              this.series = iprot.readI64();
-
 
143991
              setSeriesIsSet(true);
-
 
143992
            } else { 
-
 
143993
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
143994
            }
-
 
143995
            break;
-
 
143996
          default:
-
 
143997
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
143998
        }
-
 
143999
        iprot.readFieldEnd();
-
 
144000
      }
-
 
144001
      iprot.readStructEnd();
-
 
144002
      validate();
-
 
144003
    }
-
 
144004
 
-
 
144005
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
144006
      validate();
-
 
144007
 
-
 
144008
      oprot.writeStructBegin(STRUCT_DESC);
-
 
144009
      oprot.writeFieldBegin(CIRCLE_FIELD_DESC);
-
 
144010
      oprot.writeI64(this.circle);
-
 
144011
      oprot.writeFieldEnd();
-
 
144012
      oprot.writeFieldBegin(OPERATOR_ID_FIELD_DESC);
-
 
144013
      oprot.writeI64(this.operatorId);
-
 
144014
      oprot.writeFieldEnd();
-
 
144015
      oprot.writeFieldBegin(SERIES_FIELD_DESC);
-
 
144016
      oprot.writeI64(this.series);
-
 
144017
      oprot.writeFieldEnd();
-
 
144018
      oprot.writeFieldStop();
-
 
144019
      oprot.writeStructEnd();
-
 
144020
    }
-
 
144021
 
-
 
144022
    @Override
-
 
144023
    public String toString() {
-
 
144024
      StringBuilder sb = new StringBuilder("addSeries_args(");
-
 
144025
      boolean first = true;
-
 
144026
 
-
 
144027
      sb.append("circle:");
-
 
144028
      sb.append(this.circle);
-
 
144029
      first = false;
-
 
144030
      if (!first) sb.append(", ");
-
 
144031
      sb.append("operatorId:");
-
 
144032
      sb.append(this.operatorId);
-
 
144033
      first = false;
-
 
144034
      if (!first) sb.append(", ");
-
 
144035
      sb.append("series:");
-
 
144036
      sb.append(this.series);
-
 
144037
      first = false;
-
 
144038
      sb.append(")");
-
 
144039
      return sb.toString();
-
 
144040
    }
-
 
144041
 
-
 
144042
    public void validate() throws org.apache.thrift.TException {
-
 
144043
      // check for required fields
-
 
144044
    }
-
 
144045
 
-
 
144046
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
144047
      try {
-
 
144048
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
144049
      } catch (org.apache.thrift.TException te) {
-
 
144050
        throw new java.io.IOException(te);
-
 
144051
      }
-
 
144052
    }
-
 
144053
 
-
 
144054
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
144055
      try {
-
 
144056
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
144057
        __isset_bit_vector = new BitSet(1);
-
 
144058
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
144059
      } catch (org.apache.thrift.TException te) {
-
 
144060
        throw new java.io.IOException(te);
-
 
144061
      }
-
 
144062
    }
-
 
144063
 
-
 
144064
  }
-
 
144065
 
-
 
144066
  public static class addSeries_result implements org.apache.thrift.TBase<addSeries_result, addSeries_result._Fields>, java.io.Serializable, Cloneable   {
-
 
144067
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addSeries_result");
-
 
144068
 
-
 
144069
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (short)0);
-
 
144070
 
-
 
144071
    private String success; // required
-
 
144072
 
-
 
144073
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
144074
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
144075
      SUCCESS((short)0, "success");
-
 
144076
 
-
 
144077
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
144078
 
-
 
144079
      static {
-
 
144080
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
144081
          byName.put(field.getFieldName(), field);
-
 
144082
        }
-
 
144083
      }
-
 
144084
 
-
 
144085
      /**
-
 
144086
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
144087
       */
-
 
144088
      public static _Fields findByThriftId(int fieldId) {
-
 
144089
        switch(fieldId) {
-
 
144090
          case 0: // SUCCESS
-
 
144091
            return SUCCESS;
-
 
144092
          default:
-
 
144093
            return null;
-
 
144094
        }
-
 
144095
      }
-
 
144096
 
-
 
144097
      /**
-
 
144098
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
144099
       * if it is not found.
-
 
144100
       */
-
 
144101
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
144102
        _Fields fields = findByThriftId(fieldId);
-
 
144103
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
144104
        return fields;
-
 
144105
      }
-
 
144106
 
-
 
144107
      /**
-
 
144108
       * Find the _Fields constant that matches name, or null if its not found.
-
 
144109
       */
-
 
144110
      public static _Fields findByName(String name) {
-
 
144111
        return byName.get(name);
-
 
144112
      }
-
 
144113
 
-
 
144114
      private final short _thriftId;
-
 
144115
      private final String _fieldName;
-
 
144116
 
-
 
144117
      _Fields(short thriftId, String fieldName) {
-
 
144118
        _thriftId = thriftId;
-
 
144119
        _fieldName = fieldName;
-
 
144120
      }
-
 
144121
 
-
 
144122
      public short getThriftFieldId() {
-
 
144123
        return _thriftId;
-
 
144124
      }
-
 
144125
 
-
 
144126
      public String getFieldName() {
-
 
144127
        return _fieldName;
-
 
144128
      }
-
 
144129
    }
-
 
144130
 
-
 
144131
    // isset id assignments
-
 
144132
 
-
 
144133
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
144134
    static {
-
 
144135
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
144136
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
144137
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
144138
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
144139
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addSeries_result.class, metaDataMap);
-
 
144140
    }
-
 
144141
 
-
 
144142
    public addSeries_result() {
-
 
144143
    }
-
 
144144
 
-
 
144145
    public addSeries_result(
-
 
144146
      String success)
-
 
144147
    {
-
 
144148
      this();
-
 
144149
      this.success = success;
-
 
144150
    }
-
 
144151
 
-
 
144152
    /**
-
 
144153
     * Performs a deep copy on <i>other</i>.
-
 
144154
     */
-
 
144155
    public addSeries_result(addSeries_result other) {
-
 
144156
      if (other.isSetSuccess()) {
-
 
144157
        this.success = other.success;
-
 
144158
      }
-
 
144159
    }
-
 
144160
 
-
 
144161
    public addSeries_result deepCopy() {
-
 
144162
      return new addSeries_result(this);
-
 
144163
    }
-
 
144164
 
-
 
144165
    @Override
-
 
144166
    public void clear() {
-
 
144167
      this.success = null;
-
 
144168
    }
-
 
144169
 
-
 
144170
    public String getSuccess() {
-
 
144171
      return this.success;
-
 
144172
    }
-
 
144173
 
-
 
144174
    public void setSuccess(String success) {
-
 
144175
      this.success = success;
-
 
144176
    }
-
 
144177
 
-
 
144178
    public void unsetSuccess() {
-
 
144179
      this.success = null;
-
 
144180
    }
-
 
144181
 
-
 
144182
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
144183
    public boolean isSetSuccess() {
-
 
144184
      return this.success != null;
-
 
144185
    }
-
 
144186
 
-
 
144187
    public void setSuccessIsSet(boolean value) {
-
 
144188
      if (!value) {
-
 
144189
        this.success = null;
-
 
144190
      }
-
 
144191
    }
-
 
144192
 
-
 
144193
    public void setFieldValue(_Fields field, Object value) {
-
 
144194
      switch (field) {
-
 
144195
      case SUCCESS:
-
 
144196
        if (value == null) {
-
 
144197
          unsetSuccess();
-
 
144198
        } else {
-
 
144199
          setSuccess((String)value);
-
 
144200
        }
-
 
144201
        break;
-
 
144202
 
-
 
144203
      }
-
 
144204
    }
-
 
144205
 
-
 
144206
    public Object getFieldValue(_Fields field) {
-
 
144207
      switch (field) {
-
 
144208
      case SUCCESS:
-
 
144209
        return getSuccess();
-
 
144210
 
-
 
144211
      }
-
 
144212
      throw new IllegalStateException();
-
 
144213
    }
-
 
144214
 
-
 
144215
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
144216
    public boolean isSet(_Fields field) {
-
 
144217
      if (field == null) {
-
 
144218
        throw new IllegalArgumentException();
-
 
144219
      }
-
 
144220
 
-
 
144221
      switch (field) {
-
 
144222
      case SUCCESS:
-
 
144223
        return isSetSuccess();
-
 
144224
      }
-
 
144225
      throw new IllegalStateException();
-
 
144226
    }
-
 
144227
 
-
 
144228
    @Override
-
 
144229
    public boolean equals(Object that) {
-
 
144230
      if (that == null)
-
 
144231
        return false;
-
 
144232
      if (that instanceof addSeries_result)
-
 
144233
        return this.equals((addSeries_result)that);
-
 
144234
      return false;
-
 
144235
    }
-
 
144236
 
-
 
144237
    public boolean equals(addSeries_result that) {
-
 
144238
      if (that == null)
-
 
144239
        return false;
-
 
144240
 
-
 
144241
      boolean this_present_success = true && this.isSetSuccess();
-
 
144242
      boolean that_present_success = true && that.isSetSuccess();
-
 
144243
      if (this_present_success || that_present_success) {
-
 
144244
        if (!(this_present_success && that_present_success))
-
 
144245
          return false;
-
 
144246
        if (!this.success.equals(that.success))
-
 
144247
          return false;
-
 
144248
      }
-
 
144249
 
-
 
144250
      return true;
-
 
144251
    }
-
 
144252
 
-
 
144253
    @Override
-
 
144254
    public int hashCode() {
-
 
144255
      return 0;
-
 
144256
    }
-
 
144257
 
-
 
144258
    public int compareTo(addSeries_result other) {
-
 
144259
      if (!getClass().equals(other.getClass())) {
-
 
144260
        return getClass().getName().compareTo(other.getClass().getName());
-
 
144261
      }
-
 
144262
 
-
 
144263
      int lastComparison = 0;
-
 
144264
      addSeries_result typedOther = (addSeries_result)other;
-
 
144265
 
-
 
144266
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
144267
      if (lastComparison != 0) {
-
 
144268
        return lastComparison;
-
 
144269
      }
-
 
144270
      if (isSetSuccess()) {
-
 
144271
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
144272
        if (lastComparison != 0) {
-
 
144273
          return lastComparison;
-
 
144274
        }
-
 
144275
      }
-
 
144276
      return 0;
-
 
144277
    }
-
 
144278
 
-
 
144279
    public _Fields fieldForId(int fieldId) {
-
 
144280
      return _Fields.findByThriftId(fieldId);
-
 
144281
    }
-
 
144282
 
-
 
144283
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
144284
      org.apache.thrift.protocol.TField field;
-
 
144285
      iprot.readStructBegin();
-
 
144286
      while (true)
-
 
144287
      {
-
 
144288
        field = iprot.readFieldBegin();
-
 
144289
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
144290
          break;
-
 
144291
        }
-
 
144292
        switch (field.id) {
-
 
144293
          case 0: // SUCCESS
-
 
144294
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
144295
              this.success = iprot.readString();
-
 
144296
            } else { 
-
 
144297
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
144298
            }
-
 
144299
            break;
-
 
144300
          default:
-
 
144301
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
144302
        }
-
 
144303
        iprot.readFieldEnd();
-
 
144304
      }
-
 
144305
      iprot.readStructEnd();
-
 
144306
      validate();
-
 
144307
    }
-
 
144308
 
-
 
144309
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
144310
      oprot.writeStructBegin(STRUCT_DESC);
-
 
144311
 
-
 
144312
      if (this.isSetSuccess()) {
-
 
144313
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
144314
        oprot.writeString(this.success);
-
 
144315
        oprot.writeFieldEnd();
-
 
144316
      }
-
 
144317
      oprot.writeFieldStop();
-
 
144318
      oprot.writeStructEnd();
-
 
144319
    }
-
 
144320
 
-
 
144321
    @Override
-
 
144322
    public String toString() {
-
 
144323
      StringBuilder sb = new StringBuilder("addSeries_result(");
-
 
144324
      boolean first = true;
-
 
144325
 
-
 
144326
      sb.append("success:");
-
 
144327
      if (this.success == null) {
-
 
144328
        sb.append("null");
-
 
144329
      } else {
-
 
144330
        sb.append(this.success);
-
 
144331
      }
-
 
144332
      first = false;
-
 
144333
      sb.append(")");
-
 
144334
      return sb.toString();
-
 
144335
    }
-
 
144336
 
143500
    public void validate() throws org.apache.thrift.TException {
144337
    public void validate() throws org.apache.thrift.TException {
143501
      // check for required fields
144338
      // check for required fields
143502
    }
144339
    }
143503
 
144340
 
143504
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
144341
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {