Subversion Repositories SmartDukaan

Rev

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

Rev 12947 Rev 13136
Line 582... Line 582...
582
 
582
 
583
    public List<Amazonlisted> getAllItemstoListOnFbg() throws org.apache.thrift.TException;
583
    public List<Amazonlisted> getAllItemstoListOnFbg() throws org.apache.thrift.TException;
584
 
584
 
585
    public List<Amazonlisted> getAllFbgListedItems() throws org.apache.thrift.TException;
585
    public List<Amazonlisted> getAllFbgListedItems() throws org.apache.thrift.TException;
586
 
586
 
-
 
587
    public Map<Long,Map<String,Long>> checkServices(Map<Long,Map<String,Long>> lines) throws CatalogServiceException, org.apache.thrift.TException;
-
 
588
 
587
  }
589
  }
588
 
590
 
589
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
591
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
590
 
592
 
591
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
593
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
Line 948... Line 950...
948
 
950
 
949
    public void getAllItemstoListOnFbg(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItemstoListOnFbg_call> resultHandler) throws org.apache.thrift.TException;
951
    public void getAllItemstoListOnFbg(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItemstoListOnFbg_call> resultHandler) throws org.apache.thrift.TException;
950
 
952
 
951
    public void getAllFbgListedItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllFbgListedItems_call> resultHandler) throws org.apache.thrift.TException;
953
    public void getAllFbgListedItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllFbgListedItems_call> resultHandler) throws org.apache.thrift.TException;
952
 
954
 
-
 
955
    public void checkServices(Map<Long,Map<String,Long>> lines, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.checkServices_call> resultHandler) throws org.apache.thrift.TException;
-
 
956
 
953
  }
957
  }
954
 
958
 
955
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
959
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
956
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
960
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
957
      public Factory() {}
961
      public Factory() {}
Line 5249... Line 5253...
5249
        return result.success;
5253
        return result.success;
5250
      }
5254
      }
5251
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllFbgListedItems failed: unknown result");
5255
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllFbgListedItems failed: unknown result");
5252
    }
5256
    }
5253
 
5257
 
-
 
5258
    public Map<Long,Map<String,Long>> checkServices(Map<Long,Map<String,Long>> lines) throws CatalogServiceException, org.apache.thrift.TException
-
 
5259
    {
-
 
5260
      send_checkServices(lines);
-
 
5261
      return recv_checkServices();
-
 
5262
    }
-
 
5263
 
-
 
5264
    public void send_checkServices(Map<Long,Map<String,Long>> lines) throws org.apache.thrift.TException
-
 
5265
    {
-
 
5266
      checkServices_args args = new checkServices_args();
-
 
5267
      args.setLines(lines);
-
 
5268
      sendBase("checkServices", args);
-
 
5269
    }
-
 
5270
 
-
 
5271
    public Map<Long,Map<String,Long>> recv_checkServices() throws CatalogServiceException, org.apache.thrift.TException
-
 
5272
    {
-
 
5273
      checkServices_result result = new checkServices_result();
-
 
5274
      receiveBase(result, "checkServices");
-
 
5275
      if (result.isSetSuccess()) {
-
 
5276
        return result.success;
-
 
5277
      }
-
 
5278
      if (result.cex != null) {
-
 
5279
        throw result.cex;
-
 
5280
      }
-
 
5281
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "checkServices failed: unknown result");
-
 
5282
    }
-
 
5283
 
5254
  }
5284
  }
5255
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5285
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5256
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5286
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5257
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5287
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5258
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
5288
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 11209... Line 11239...
11209
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
11239
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
11210
        return (new Client(prot)).recv_getAllFbgListedItems();
11240
        return (new Client(prot)).recv_getAllFbgListedItems();
11211
      }
11241
      }
11212
    }
11242
    }
11213
 
11243
 
-
 
11244
    public void checkServices(Map<Long,Map<String,Long>> lines, org.apache.thrift.async.AsyncMethodCallback<checkServices_call> resultHandler) throws org.apache.thrift.TException {
-
 
11245
      checkReady();
-
 
11246
      checkServices_call method_call = new checkServices_call(lines, resultHandler, this, ___protocolFactory, ___transport);
-
 
11247
      this.___currentMethod = method_call;
-
 
11248
      ___manager.call(method_call);
-
 
11249
    }
-
 
11250
 
-
 
11251
    public static class checkServices_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
11252
      private Map<Long,Map<String,Long>> lines;
-
 
11253
      public checkServices_call(Map<Long,Map<String,Long>> lines, org.apache.thrift.async.AsyncMethodCallback<checkServices_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 {
-
 
11254
        super(client, protocolFactory, transport, resultHandler, false);
-
 
11255
        this.lines = lines;
-
 
11256
      }
-
 
11257
 
-
 
11258
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
11259
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("checkServices", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
11260
        checkServices_args args = new checkServices_args();
-
 
11261
        args.setLines(lines);
-
 
11262
        args.write(prot);
-
 
11263
        prot.writeMessageEnd();
-
 
11264
      }
-
 
11265
 
-
 
11266
      public Map<Long,Map<String,Long>> getResult() throws CatalogServiceException, org.apache.thrift.TException {
-
 
11267
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
11268
          throw new IllegalStateException("Method call not finished!");
-
 
11269
        }
-
 
11270
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
11271
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
11272
        return (new Client(prot)).recv_checkServices();
-
 
11273
      }
-
 
11274
    }
-
 
11275
 
11214
  }
11276
  }
11215
 
11277
 
11216
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
11278
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
11217
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
11279
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
11218
    public Processor(I iface) {
11280
    public Processor(I iface) {
Line 11403... Line 11465...
11403
      processMap.put("markPartiallyActive", new markPartiallyActive());
11465
      processMap.put("markPartiallyActive", new markPartiallyActive());
11404
      processMap.put("updateItemStateVat", new updateItemStateVat());
11466
      processMap.put("updateItemStateVat", new updateItemStateVat());
11405
      processMap.put("getExAffiliateItemInfo", new getExAffiliateItemInfo());
11467
      processMap.put("getExAffiliateItemInfo", new getExAffiliateItemInfo());
11406
      processMap.put("getAllItemstoListOnFbg", new getAllItemstoListOnFbg());
11468
      processMap.put("getAllItemstoListOnFbg", new getAllItemstoListOnFbg());
11407
      processMap.put("getAllFbgListedItems", new getAllFbgListedItems());
11469
      processMap.put("getAllFbgListedItems", new getAllFbgListedItems());
-
 
11470
      processMap.put("checkServices", new checkServices());
11408
      return processMap;
11471
      return processMap;
11409
    }
11472
    }
11410
 
11473
 
11411
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
11474
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
11412
      public addItem() {
11475
      public addItem() {
Line 14541... Line 14604...
14541
        result.success = iface.getAllFbgListedItems();
14604
        result.success = iface.getAllFbgListedItems();
14542
        return result;
14605
        return result;
14543
      }
14606
      }
14544
    }
14607
    }
14545
 
14608
 
-
 
14609
    private static class checkServices<I extends Iface> extends org.apache.thrift.ProcessFunction<I, checkServices_args> {
-
 
14610
      public checkServices() {
-
 
14611
        super("checkServices");
-
 
14612
      }
-
 
14613
 
-
 
14614
      protected checkServices_args getEmptyArgsInstance() {
-
 
14615
        return new checkServices_args();
-
 
14616
      }
-
 
14617
 
-
 
14618
      protected checkServices_result getResult(I iface, checkServices_args args) throws org.apache.thrift.TException {
-
 
14619
        checkServices_result result = new checkServices_result();
-
 
14620
        try {
-
 
14621
          result.success = iface.checkServices(args.lines);
-
 
14622
        } catch (CatalogServiceException cex) {
-
 
14623
          result.cex = cex;
-
 
14624
        }
-
 
14625
        return result;
-
 
14626
      }
-
 
14627
    }
-
 
14628
 
14546
  }
14629
  }
14547
 
14630
 
14548
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
14631
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
14549
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
14632
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
14550
 
14633
 
Line 130555... Line 130638...
130555
      }
130638
      }
130556
      first = false;
130639
      first = false;
130557
      sb.append(")");
130640
      sb.append(")");
130558
      return sb.toString();
130641
      return sb.toString();
130559
    }
130642
    }
-
 
130643
 
-
 
130644
    public void validate() throws org.apache.thrift.TException {
-
 
130645
      // check for required fields
-
 
130646
    }
-
 
130647
 
-
 
130648
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
130649
      try {
-
 
130650
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
130651
      } catch (org.apache.thrift.TException te) {
-
 
130652
        throw new java.io.IOException(te);
-
 
130653
      }
-
 
130654
    }
-
 
130655
 
-
 
130656
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
130657
      try {
-
 
130658
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
130659
      } catch (org.apache.thrift.TException te) {
-
 
130660
        throw new java.io.IOException(te);
-
 
130661
      }
-
 
130662
    }
-
 
130663
 
-
 
130664
  }
-
 
130665
 
-
 
130666
  public static class checkServices_args implements org.apache.thrift.TBase<checkServices_args, checkServices_args._Fields>, java.io.Serializable, Cloneable   {
-
 
130667
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("checkServices_args");
-
 
130668
 
-
 
130669
    private static final org.apache.thrift.protocol.TField LINES_FIELD_DESC = new org.apache.thrift.protocol.TField("lines", org.apache.thrift.protocol.TType.MAP, (short)1);
-
 
130670
 
-
 
130671
    private Map<Long,Map<String,Long>> lines; // required
-
 
130672
 
-
 
130673
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
130674
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
130675
      LINES((short)1, "lines");
-
 
130676
 
-
 
130677
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
130678
 
-
 
130679
      static {
-
 
130680
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
130681
          byName.put(field.getFieldName(), field);
-
 
130682
        }
-
 
130683
      }
-
 
130684
 
-
 
130685
      /**
-
 
130686
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
130687
       */
-
 
130688
      public static _Fields findByThriftId(int fieldId) {
-
 
130689
        switch(fieldId) {
-
 
130690
          case 1: // LINES
-
 
130691
            return LINES;
-
 
130692
          default:
-
 
130693
            return null;
-
 
130694
        }
-
 
130695
      }
-
 
130696
 
-
 
130697
      /**
-
 
130698
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
130699
       * if it is not found.
-
 
130700
       */
-
 
130701
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
130702
        _Fields fields = findByThriftId(fieldId);
-
 
130703
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
130704
        return fields;
-
 
130705
      }
-
 
130706
 
-
 
130707
      /**
-
 
130708
       * Find the _Fields constant that matches name, or null if its not found.
-
 
130709
       */
-
 
130710
      public static _Fields findByName(String name) {
-
 
130711
        return byName.get(name);
-
 
130712
      }
-
 
130713
 
-
 
130714
      private final short _thriftId;
-
 
130715
      private final String _fieldName;
-
 
130716
 
-
 
130717
      _Fields(short thriftId, String fieldName) {
-
 
130718
        _thriftId = thriftId;
-
 
130719
        _fieldName = fieldName;
-
 
130720
      }
-
 
130721
 
-
 
130722
      public short getThriftFieldId() {
-
 
130723
        return _thriftId;
-
 
130724
      }
-
 
130725
 
-
 
130726
      public String getFieldName() {
-
 
130727
        return _fieldName;
-
 
130728
      }
-
 
130729
    }
-
 
130730
 
-
 
130731
    // isset id assignments
-
 
130732
 
-
 
130733
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
130734
    static {
-
 
130735
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
130736
      tmpMap.put(_Fields.LINES, new org.apache.thrift.meta_data.FieldMetaData("lines", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
130737
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
130738
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
130739
              new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
130740
                  new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), 
-
 
130741
                  new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)))));
-
 
130742
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
130743
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(checkServices_args.class, metaDataMap);
-
 
130744
    }
-
 
130745
 
-
 
130746
    public checkServices_args() {
-
 
130747
    }
-
 
130748
 
-
 
130749
    public checkServices_args(
-
 
130750
      Map<Long,Map<String,Long>> lines)
-
 
130751
    {
-
 
130752
      this();
-
 
130753
      this.lines = lines;
-
 
130754
    }
-
 
130755
 
-
 
130756
    /**
-
 
130757
     * Performs a deep copy on <i>other</i>.
-
 
130758
     */
-
 
130759
    public checkServices_args(checkServices_args other) {
-
 
130760
      if (other.isSetLines()) {
-
 
130761
        Map<Long,Map<String,Long>> __this__lines = new HashMap<Long,Map<String,Long>>();
-
 
130762
        for (Map.Entry<Long, Map<String,Long>> other_element : other.lines.entrySet()) {
-
 
130763
 
-
 
130764
          Long other_element_key = other_element.getKey();
-
 
130765
          Map<String,Long> other_element_value = other_element.getValue();
-
 
130766
 
-
 
130767
          Long __this__lines_copy_key = other_element_key;
-
 
130768
 
-
 
130769
          Map<String,Long> __this__lines_copy_value = new HashMap<String,Long>();
-
 
130770
          for (Map.Entry<String, Long> other_element_value_element : other_element_value.entrySet()) {
-
 
130771
 
-
 
130772
            String other_element_value_element_key = other_element_value_element.getKey();
-
 
130773
            Long other_element_value_element_value = other_element_value_element.getValue();
-
 
130774
 
-
 
130775
            String __this__lines_copy_value_copy_key = other_element_value_element_key;
-
 
130776
 
-
 
130777
            Long __this__lines_copy_value_copy_value = other_element_value_element_value;
-
 
130778
 
-
 
130779
            __this__lines_copy_value.put(__this__lines_copy_value_copy_key, __this__lines_copy_value_copy_value);
-
 
130780
          }
-
 
130781
 
-
 
130782
          __this__lines.put(__this__lines_copy_key, __this__lines_copy_value);
-
 
130783
        }
-
 
130784
        this.lines = __this__lines;
-
 
130785
      }
-
 
130786
    }
-
 
130787
 
-
 
130788
    public checkServices_args deepCopy() {
-
 
130789
      return new checkServices_args(this);
-
 
130790
    }
-
 
130791
 
-
 
130792
    @Override
-
 
130793
    public void clear() {
-
 
130794
      this.lines = null;
-
 
130795
    }
-
 
130796
 
-
 
130797
    public int getLinesSize() {
-
 
130798
      return (this.lines == null) ? 0 : this.lines.size();
-
 
130799
    }
-
 
130800
 
-
 
130801
    public void putToLines(long key, Map<String,Long> val) {
-
 
130802
      if (this.lines == null) {
-
 
130803
        this.lines = new HashMap<Long,Map<String,Long>>();
-
 
130804
      }
-
 
130805
      this.lines.put(key, val);
-
 
130806
    }
-
 
130807
 
-
 
130808
    public Map<Long,Map<String,Long>> getLines() {
-
 
130809
      return this.lines;
-
 
130810
    }
-
 
130811
 
-
 
130812
    public void setLines(Map<Long,Map<String,Long>> lines) {
-
 
130813
      this.lines = lines;
-
 
130814
    }
-
 
130815
 
-
 
130816
    public void unsetLines() {
-
 
130817
      this.lines = null;
-
 
130818
    }
-
 
130819
 
-
 
130820
    /** Returns true if field lines is set (has been assigned a value) and false otherwise */
-
 
130821
    public boolean isSetLines() {
-
 
130822
      return this.lines != null;
-
 
130823
    }
-
 
130824
 
-
 
130825
    public void setLinesIsSet(boolean value) {
-
 
130826
      if (!value) {
-
 
130827
        this.lines = null;
-
 
130828
      }
-
 
130829
    }
-
 
130830
 
-
 
130831
    public void setFieldValue(_Fields field, Object value) {
-
 
130832
      switch (field) {
-
 
130833
      case LINES:
-
 
130834
        if (value == null) {
-
 
130835
          unsetLines();
-
 
130836
        } else {
-
 
130837
          setLines((Map<Long,Map<String,Long>>)value);
-
 
130838
        }
-
 
130839
        break;
-
 
130840
 
-
 
130841
      }
-
 
130842
    }
-
 
130843
 
-
 
130844
    public Object getFieldValue(_Fields field) {
-
 
130845
      switch (field) {
-
 
130846
      case LINES:
-
 
130847
        return getLines();
-
 
130848
 
-
 
130849
      }
-
 
130850
      throw new IllegalStateException();
-
 
130851
    }
-
 
130852
 
-
 
130853
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
130854
    public boolean isSet(_Fields field) {
-
 
130855
      if (field == null) {
-
 
130856
        throw new IllegalArgumentException();
-
 
130857
      }
-
 
130858
 
-
 
130859
      switch (field) {
-
 
130860
      case LINES:
-
 
130861
        return isSetLines();
-
 
130862
      }
-
 
130863
      throw new IllegalStateException();
-
 
130864
    }
-
 
130865
 
-
 
130866
    @Override
-
 
130867
    public boolean equals(Object that) {
-
 
130868
      if (that == null)
-
 
130869
        return false;
-
 
130870
      if (that instanceof checkServices_args)
-
 
130871
        return this.equals((checkServices_args)that);
-
 
130872
      return false;
-
 
130873
    }
-
 
130874
 
-
 
130875
    public boolean equals(checkServices_args that) {
-
 
130876
      if (that == null)
-
 
130877
        return false;
-
 
130878
 
-
 
130879
      boolean this_present_lines = true && this.isSetLines();
-
 
130880
      boolean that_present_lines = true && that.isSetLines();
-
 
130881
      if (this_present_lines || that_present_lines) {
-
 
130882
        if (!(this_present_lines && that_present_lines))
-
 
130883
          return false;
-
 
130884
        if (!this.lines.equals(that.lines))
-
 
130885
          return false;
-
 
130886
      }
-
 
130887
 
-
 
130888
      return true;
-
 
130889
    }
-
 
130890
 
-
 
130891
    @Override
-
 
130892
    public int hashCode() {
-
 
130893
      return 0;
-
 
130894
    }
-
 
130895
 
-
 
130896
    public int compareTo(checkServices_args other) {
-
 
130897
      if (!getClass().equals(other.getClass())) {
-
 
130898
        return getClass().getName().compareTo(other.getClass().getName());
-
 
130899
      }
-
 
130900
 
-
 
130901
      int lastComparison = 0;
-
 
130902
      checkServices_args typedOther = (checkServices_args)other;
-
 
130903
 
-
 
130904
      lastComparison = Boolean.valueOf(isSetLines()).compareTo(typedOther.isSetLines());
-
 
130905
      if (lastComparison != 0) {
-
 
130906
        return lastComparison;
-
 
130907
      }
-
 
130908
      if (isSetLines()) {
-
 
130909
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lines, typedOther.lines);
-
 
130910
        if (lastComparison != 0) {
-
 
130911
          return lastComparison;
-
 
130912
        }
-
 
130913
      }
-
 
130914
      return 0;
-
 
130915
    }
-
 
130916
 
-
 
130917
    public _Fields fieldForId(int fieldId) {
-
 
130918
      return _Fields.findByThriftId(fieldId);
-
 
130919
    }
-
 
130920
 
-
 
130921
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
130922
      org.apache.thrift.protocol.TField field;
-
 
130923
      iprot.readStructBegin();
-
 
130924
      while (true)
-
 
130925
      {
-
 
130926
        field = iprot.readFieldBegin();
-
 
130927
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
130928
          break;
-
 
130929
        }
-
 
130930
        switch (field.id) {
-
 
130931
          case 1: // LINES
-
 
130932
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
130933
              {
-
 
130934
                org.apache.thrift.protocol.TMap _map451 = iprot.readMapBegin();
-
 
130935
                this.lines = new HashMap<Long,Map<String,Long>>(2*_map451.size);
-
 
130936
                for (int _i452 = 0; _i452 < _map451.size; ++_i452)
-
 
130937
                {
-
 
130938
                  long _key453; // required
-
 
130939
                  Map<String,Long> _val454; // required
-
 
130940
                  _key453 = iprot.readI64();
-
 
130941
                  {
-
 
130942
                    org.apache.thrift.protocol.TMap _map455 = iprot.readMapBegin();
-
 
130943
                    _val454 = new HashMap<String,Long>(2*_map455.size);
-
 
130944
                    for (int _i456 = 0; _i456 < _map455.size; ++_i456)
-
 
130945
                    {
-
 
130946
                      String _key457; // required
-
 
130947
                      long _val458; // required
-
 
130948
                      _key457 = iprot.readString();
-
 
130949
                      _val458 = iprot.readI64();
-
 
130950
                      _val454.put(_key457, _val458);
-
 
130951
                    }
-
 
130952
                    iprot.readMapEnd();
-
 
130953
                  }
-
 
130954
                  this.lines.put(_key453, _val454);
-
 
130955
                }
-
 
130956
                iprot.readMapEnd();
-
 
130957
              }
-
 
130958
            } else { 
-
 
130959
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
130960
            }
-
 
130961
            break;
-
 
130962
          default:
-
 
130963
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
130964
        }
-
 
130965
        iprot.readFieldEnd();
-
 
130966
      }
-
 
130967
      iprot.readStructEnd();
-
 
130968
      validate();
-
 
130969
    }
-
 
130970
 
-
 
130971
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
130972
      validate();
-
 
130973
 
-
 
130974
      oprot.writeStructBegin(STRUCT_DESC);
-
 
130975
      if (this.lines != null) {
-
 
130976
        oprot.writeFieldBegin(LINES_FIELD_DESC);
-
 
130977
        {
-
 
130978
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.lines.size()));
-
 
130979
          for (Map.Entry<Long, Map<String,Long>> _iter459 : this.lines.entrySet())
-
 
130980
          {
-
 
130981
            oprot.writeI64(_iter459.getKey());
-
 
130982
            {
-
 
130983
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64, _iter459.getValue().size()));
-
 
130984
              for (Map.Entry<String, Long> _iter460 : _iter459.getValue().entrySet())
-
 
130985
              {
-
 
130986
                oprot.writeString(_iter460.getKey());
-
 
130987
                oprot.writeI64(_iter460.getValue());
-
 
130988
              }
-
 
130989
              oprot.writeMapEnd();
-
 
130990
            }
-
 
130991
          }
-
 
130992
          oprot.writeMapEnd();
-
 
130993
        }
-
 
130994
        oprot.writeFieldEnd();
-
 
130995
      }
-
 
130996
      oprot.writeFieldStop();
-
 
130997
      oprot.writeStructEnd();
-
 
130998
    }
-
 
130999
 
-
 
131000
    @Override
-
 
131001
    public String toString() {
-
 
131002
      StringBuilder sb = new StringBuilder("checkServices_args(");
-
 
131003
      boolean first = true;
-
 
131004
 
-
 
131005
      sb.append("lines:");
-
 
131006
      if (this.lines == null) {
-
 
131007
        sb.append("null");
-
 
131008
      } else {
-
 
131009
        sb.append(this.lines);
-
 
131010
      }
-
 
131011
      first = false;
-
 
131012
      sb.append(")");
-
 
131013
      return sb.toString();
-
 
131014
    }
-
 
131015
 
-
 
131016
    public void validate() throws org.apache.thrift.TException {
-
 
131017
      // check for required fields
-
 
131018
    }
-
 
131019
 
-
 
131020
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
131021
      try {
-
 
131022
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
131023
      } catch (org.apache.thrift.TException te) {
-
 
131024
        throw new java.io.IOException(te);
-
 
131025
      }
-
 
131026
    }
-
 
131027
 
-
 
131028
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
131029
      try {
-
 
131030
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
131031
      } catch (org.apache.thrift.TException te) {
-
 
131032
        throw new java.io.IOException(te);
-
 
131033
      }
-
 
131034
    }
-
 
131035
 
-
 
131036
  }
-
 
131037
 
-
 
131038
  public static class checkServices_result implements org.apache.thrift.TBase<checkServices_result, checkServices_result._Fields>, java.io.Serializable, Cloneable   {
-
 
131039
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("checkServices_result");
-
 
131040
 
-
 
131041
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0);
-
 
131042
    private static final org.apache.thrift.protocol.TField CEX_FIELD_DESC = new org.apache.thrift.protocol.TField("cex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
131043
 
-
 
131044
    private Map<Long,Map<String,Long>> success; // required
-
 
131045
    private CatalogServiceException cex; // required
-
 
131046
 
-
 
131047
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
131048
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
131049
      SUCCESS((short)0, "success"),
-
 
131050
      CEX((short)1, "cex");
-
 
131051
 
-
 
131052
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
131053
 
-
 
131054
      static {
-
 
131055
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
131056
          byName.put(field.getFieldName(), field);
-
 
131057
        }
-
 
131058
      }
-
 
131059
 
-
 
131060
      /**
-
 
131061
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
131062
       */
-
 
131063
      public static _Fields findByThriftId(int fieldId) {
-
 
131064
        switch(fieldId) {
-
 
131065
          case 0: // SUCCESS
-
 
131066
            return SUCCESS;
-
 
131067
          case 1: // CEX
-
 
131068
            return CEX;
-
 
131069
          default:
-
 
131070
            return null;
-
 
131071
        }
-
 
131072
      }
-
 
131073
 
-
 
131074
      /**
-
 
131075
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
131076
       * if it is not found.
-
 
131077
       */
-
 
131078
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
131079
        _Fields fields = findByThriftId(fieldId);
-
 
131080
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
131081
        return fields;
-
 
131082
      }
-
 
131083
 
-
 
131084
      /**
-
 
131085
       * Find the _Fields constant that matches name, or null if its not found.
-
 
131086
       */
-
 
131087
      public static _Fields findByName(String name) {
-
 
131088
        return byName.get(name);
-
 
131089
      }
-
 
131090
 
-
 
131091
      private final short _thriftId;
-
 
131092
      private final String _fieldName;
-
 
131093
 
-
 
131094
      _Fields(short thriftId, String fieldName) {
-
 
131095
        _thriftId = thriftId;
-
 
131096
        _fieldName = fieldName;
-
 
131097
      }
-
 
131098
 
-
 
131099
      public short getThriftFieldId() {
-
 
131100
        return _thriftId;
-
 
131101
      }
-
 
131102
 
-
 
131103
      public String getFieldName() {
-
 
131104
        return _fieldName;
-
 
131105
      }
-
 
131106
    }
-
 
131107
 
-
 
131108
    // isset id assignments
-
 
131109
 
-
 
131110
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
131111
    static {
-
 
131112
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
131113
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
131114
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
131115
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
131116
              new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
131117
                  new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), 
-
 
131118
                  new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)))));
-
 
131119
      tmpMap.put(_Fields.CEX, new org.apache.thrift.meta_data.FieldMetaData("cex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
131120
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
131121
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
131122
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(checkServices_result.class, metaDataMap);
-
 
131123
    }
-
 
131124
 
-
 
131125
    public checkServices_result() {
-
 
131126
    }
-
 
131127
 
-
 
131128
    public checkServices_result(
-
 
131129
      Map<Long,Map<String,Long>> success,
-
 
131130
      CatalogServiceException cex)
-
 
131131
    {
-
 
131132
      this();
-
 
131133
      this.success = success;
-
 
131134
      this.cex = cex;
-
 
131135
    }
-
 
131136
 
-
 
131137
    /**
-
 
131138
     * Performs a deep copy on <i>other</i>.
-
 
131139
     */
-
 
131140
    public checkServices_result(checkServices_result other) {
-
 
131141
      if (other.isSetSuccess()) {
-
 
131142
        Map<Long,Map<String,Long>> __this__success = new HashMap<Long,Map<String,Long>>();
-
 
131143
        for (Map.Entry<Long, Map<String,Long>> other_element : other.success.entrySet()) {
-
 
131144
 
-
 
131145
          Long other_element_key = other_element.getKey();
-
 
131146
          Map<String,Long> other_element_value = other_element.getValue();
-
 
131147
 
-
 
131148
          Long __this__success_copy_key = other_element_key;
-
 
131149
 
-
 
131150
          Map<String,Long> __this__success_copy_value = new HashMap<String,Long>();
-
 
131151
          for (Map.Entry<String, Long> other_element_value_element : other_element_value.entrySet()) {
-
 
131152
 
-
 
131153
            String other_element_value_element_key = other_element_value_element.getKey();
-
 
131154
            Long other_element_value_element_value = other_element_value_element.getValue();
-
 
131155
 
-
 
131156
            String __this__success_copy_value_copy_key = other_element_value_element_key;
-
 
131157
 
-
 
131158
            Long __this__success_copy_value_copy_value = other_element_value_element_value;
-
 
131159
 
-
 
131160
            __this__success_copy_value.put(__this__success_copy_value_copy_key, __this__success_copy_value_copy_value);
-
 
131161
          }
-
 
131162
 
-
 
131163
          __this__success.put(__this__success_copy_key, __this__success_copy_value);
-
 
131164
        }
-
 
131165
        this.success = __this__success;
-
 
131166
      }
-
 
131167
      if (other.isSetCex()) {
-
 
131168
        this.cex = new CatalogServiceException(other.cex);
-
 
131169
      }
-
 
131170
    }
-
 
131171
 
-
 
131172
    public checkServices_result deepCopy() {
-
 
131173
      return new checkServices_result(this);
-
 
131174
    }
-
 
131175
 
-
 
131176
    @Override
-
 
131177
    public void clear() {
-
 
131178
      this.success = null;
-
 
131179
      this.cex = null;
-
 
131180
    }
-
 
131181
 
-
 
131182
    public int getSuccessSize() {
-
 
131183
      return (this.success == null) ? 0 : this.success.size();
-
 
131184
    }
-
 
131185
 
-
 
131186
    public void putToSuccess(long key, Map<String,Long> val) {
-
 
131187
      if (this.success == null) {
-
 
131188
        this.success = new HashMap<Long,Map<String,Long>>();
-
 
131189
      }
-
 
131190
      this.success.put(key, val);
-
 
131191
    }
-
 
131192
 
-
 
131193
    public Map<Long,Map<String,Long>> getSuccess() {
-
 
131194
      return this.success;
-
 
131195
    }
-
 
131196
 
-
 
131197
    public void setSuccess(Map<Long,Map<String,Long>> success) {
-
 
131198
      this.success = success;
-
 
131199
    }
-
 
131200
 
-
 
131201
    public void unsetSuccess() {
-
 
131202
      this.success = null;
-
 
131203
    }
-
 
131204
 
-
 
131205
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
131206
    public boolean isSetSuccess() {
-
 
131207
      return this.success != null;
-
 
131208
    }
-
 
131209
 
-
 
131210
    public void setSuccessIsSet(boolean value) {
-
 
131211
      if (!value) {
-
 
131212
        this.success = null;
-
 
131213
      }
-
 
131214
    }
-
 
131215
 
-
 
131216
    public CatalogServiceException getCex() {
-
 
131217
      return this.cex;
-
 
131218
    }
-
 
131219
 
-
 
131220
    public void setCex(CatalogServiceException cex) {
-
 
131221
      this.cex = cex;
-
 
131222
    }
-
 
131223
 
-
 
131224
    public void unsetCex() {
-
 
131225
      this.cex = null;
-
 
131226
    }
-
 
131227
 
-
 
131228
    /** Returns true if field cex is set (has been assigned a value) and false otherwise */
-
 
131229
    public boolean isSetCex() {
-
 
131230
      return this.cex != null;
-
 
131231
    }
-
 
131232
 
-
 
131233
    public void setCexIsSet(boolean value) {
-
 
131234
      if (!value) {
-
 
131235
        this.cex = null;
-
 
131236
      }
-
 
131237
    }
-
 
131238
 
-
 
131239
    public void setFieldValue(_Fields field, Object value) {
-
 
131240
      switch (field) {
-
 
131241
      case SUCCESS:
-
 
131242
        if (value == null) {
-
 
131243
          unsetSuccess();
-
 
131244
        } else {
-
 
131245
          setSuccess((Map<Long,Map<String,Long>>)value);
-
 
131246
        }
-
 
131247
        break;
-
 
131248
 
-
 
131249
      case CEX:
-
 
131250
        if (value == null) {
-
 
131251
          unsetCex();
-
 
131252
        } else {
-
 
131253
          setCex((CatalogServiceException)value);
-
 
131254
        }
-
 
131255
        break;
-
 
131256
 
-
 
131257
      }
-
 
131258
    }
-
 
131259
 
-
 
131260
    public Object getFieldValue(_Fields field) {
-
 
131261
      switch (field) {
-
 
131262
      case SUCCESS:
-
 
131263
        return getSuccess();
-
 
131264
 
-
 
131265
      case CEX:
-
 
131266
        return getCex();
-
 
131267
 
-
 
131268
      }
-
 
131269
      throw new IllegalStateException();
-
 
131270
    }
-
 
131271
 
-
 
131272
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
131273
    public boolean isSet(_Fields field) {
-
 
131274
      if (field == null) {
-
 
131275
        throw new IllegalArgumentException();
-
 
131276
      }
-
 
131277
 
-
 
131278
      switch (field) {
-
 
131279
      case SUCCESS:
-
 
131280
        return isSetSuccess();
-
 
131281
      case CEX:
-
 
131282
        return isSetCex();
-
 
131283
      }
-
 
131284
      throw new IllegalStateException();
-
 
131285
    }
-
 
131286
 
-
 
131287
    @Override
-
 
131288
    public boolean equals(Object that) {
-
 
131289
      if (that == null)
-
 
131290
        return false;
-
 
131291
      if (that instanceof checkServices_result)
-
 
131292
        return this.equals((checkServices_result)that);
-
 
131293
      return false;
-
 
131294
    }
-
 
131295
 
-
 
131296
    public boolean equals(checkServices_result that) {
-
 
131297
      if (that == null)
-
 
131298
        return false;
-
 
131299
 
-
 
131300
      boolean this_present_success = true && this.isSetSuccess();
-
 
131301
      boolean that_present_success = true && that.isSetSuccess();
-
 
131302
      if (this_present_success || that_present_success) {
-
 
131303
        if (!(this_present_success && that_present_success))
-
 
131304
          return false;
-
 
131305
        if (!this.success.equals(that.success))
-
 
131306
          return false;
-
 
131307
      }
-
 
131308
 
-
 
131309
      boolean this_present_cex = true && this.isSetCex();
-
 
131310
      boolean that_present_cex = true && that.isSetCex();
-
 
131311
      if (this_present_cex || that_present_cex) {
-
 
131312
        if (!(this_present_cex && that_present_cex))
-
 
131313
          return false;
-
 
131314
        if (!this.cex.equals(that.cex))
-
 
131315
          return false;
-
 
131316
      }
-
 
131317
 
-
 
131318
      return true;
-
 
131319
    }
-
 
131320
 
-
 
131321
    @Override
-
 
131322
    public int hashCode() {
-
 
131323
      return 0;
-
 
131324
    }
-
 
131325
 
-
 
131326
    public int compareTo(checkServices_result other) {
-
 
131327
      if (!getClass().equals(other.getClass())) {
-
 
131328
        return getClass().getName().compareTo(other.getClass().getName());
-
 
131329
      }
-
 
131330
 
-
 
131331
      int lastComparison = 0;
-
 
131332
      checkServices_result typedOther = (checkServices_result)other;
-
 
131333
 
-
 
131334
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
131335
      if (lastComparison != 0) {
-
 
131336
        return lastComparison;
-
 
131337
      }
-
 
131338
      if (isSetSuccess()) {
-
 
131339
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
131340
        if (lastComparison != 0) {
-
 
131341
          return lastComparison;
-
 
131342
        }
-
 
131343
      }
-
 
131344
      lastComparison = Boolean.valueOf(isSetCex()).compareTo(typedOther.isSetCex());
-
 
131345
      if (lastComparison != 0) {
-
 
131346
        return lastComparison;
-
 
131347
      }
-
 
131348
      if (isSetCex()) {
-
 
131349
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cex, typedOther.cex);
-
 
131350
        if (lastComparison != 0) {
-
 
131351
          return lastComparison;
-
 
131352
        }
-
 
131353
      }
-
 
131354
      return 0;
-
 
131355
    }
-
 
131356
 
-
 
131357
    public _Fields fieldForId(int fieldId) {
-
 
131358
      return _Fields.findByThriftId(fieldId);
-
 
131359
    }
-
 
131360
 
-
 
131361
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
131362
      org.apache.thrift.protocol.TField field;
-
 
131363
      iprot.readStructBegin();
-
 
131364
      while (true)
-
 
131365
      {
-
 
131366
        field = iprot.readFieldBegin();
-
 
131367
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
131368
          break;
-
 
131369
        }
-
 
131370
        switch (field.id) {
-
 
131371
          case 0: // SUCCESS
-
 
131372
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
131373
              {
-
 
131374
                org.apache.thrift.protocol.TMap _map461 = iprot.readMapBegin();
-
 
131375
                this.success = new HashMap<Long,Map<String,Long>>(2*_map461.size);
-
 
131376
                for (int _i462 = 0; _i462 < _map461.size; ++_i462)
-
 
131377
                {
-
 
131378
                  long _key463; // required
-
 
131379
                  Map<String,Long> _val464; // required
-
 
131380
                  _key463 = iprot.readI64();
-
 
131381
                  {
-
 
131382
                    org.apache.thrift.protocol.TMap _map465 = iprot.readMapBegin();
-
 
131383
                    _val464 = new HashMap<String,Long>(2*_map465.size);
-
 
131384
                    for (int _i466 = 0; _i466 < _map465.size; ++_i466)
-
 
131385
                    {
-
 
131386
                      String _key467; // required
-
 
131387
                      long _val468; // required
-
 
131388
                      _key467 = iprot.readString();
-
 
131389
                      _val468 = iprot.readI64();
-
 
131390
                      _val464.put(_key467, _val468);
-
 
131391
                    }
-
 
131392
                    iprot.readMapEnd();
-
 
131393
                  }
-
 
131394
                  this.success.put(_key463, _val464);
-
 
131395
                }
-
 
131396
                iprot.readMapEnd();
-
 
131397
              }
-
 
131398
            } else { 
-
 
131399
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
131400
            }
-
 
131401
            break;
-
 
131402
          case 1: // CEX
-
 
131403
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
131404
              this.cex = new CatalogServiceException();
-
 
131405
              this.cex.read(iprot);
-
 
131406
            } else { 
-
 
131407
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
131408
            }
-
 
131409
            break;
-
 
131410
          default:
-
 
131411
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
131412
        }
-
 
131413
        iprot.readFieldEnd();
-
 
131414
      }
-
 
131415
      iprot.readStructEnd();
-
 
131416
      validate();
-
 
131417
    }
-
 
131418
 
-
 
131419
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
131420
      oprot.writeStructBegin(STRUCT_DESC);
-
 
131421
 
-
 
131422
      if (this.isSetSuccess()) {
-
 
131423
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
131424
        {
-
 
131425
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, this.success.size()));
-
 
131426
          for (Map.Entry<Long, Map<String,Long>> _iter469 : this.success.entrySet())
-
 
131427
          {
-
 
131428
            oprot.writeI64(_iter469.getKey());
-
 
131429
            {
-
 
131430
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64, _iter469.getValue().size()));
-
 
131431
              for (Map.Entry<String, Long> _iter470 : _iter469.getValue().entrySet())
-
 
131432
              {
-
 
131433
                oprot.writeString(_iter470.getKey());
-
 
131434
                oprot.writeI64(_iter470.getValue());
-
 
131435
              }
-
 
131436
              oprot.writeMapEnd();
-
 
131437
            }
-
 
131438
          }
-
 
131439
          oprot.writeMapEnd();
-
 
131440
        }
-
 
131441
        oprot.writeFieldEnd();
-
 
131442
      } else if (this.isSetCex()) {
-
 
131443
        oprot.writeFieldBegin(CEX_FIELD_DESC);
-
 
131444
        this.cex.write(oprot);
-
 
131445
        oprot.writeFieldEnd();
-
 
131446
      }
-
 
131447
      oprot.writeFieldStop();
-
 
131448
      oprot.writeStructEnd();
-
 
131449
    }
-
 
131450
 
-
 
131451
    @Override
-
 
131452
    public String toString() {
-
 
131453
      StringBuilder sb = new StringBuilder("checkServices_result(");
-
 
131454
      boolean first = true;
-
 
131455
 
-
 
131456
      sb.append("success:");
-
 
131457
      if (this.success == null) {
-
 
131458
        sb.append("null");
-
 
131459
      } else {
-
 
131460
        sb.append(this.success);
-
 
131461
      }
-
 
131462
      first = false;
-
 
131463
      if (!first) sb.append(", ");
-
 
131464
      sb.append("cex:");
-
 
131465
      if (this.cex == null) {
-
 
131466
        sb.append("null");
-
 
131467
      } else {
-
 
131468
        sb.append(this.cex);
-
 
131469
      }
-
 
131470
      first = false;
-
 
131471
      sb.append(")");
-
 
131472
      return sb.toString();
-
 
131473
    }
130560
 
131474
 
130561
    public void validate() throws org.apache.thrift.TException {
131475
    public void validate() throws org.apache.thrift.TException {
130562
      // check for required fields
131476
      // check for required fields
130563
    }
131477
    }
130564
 
131478