Subversion Repositories SmartDukaan

Rev

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

Rev 7084 Rev 7096
Line 924... Line 924...
924
 
924
 
925
    public RechargeTransaction getRechargeTransaction(long rechargeId) throws org.apache.thrift.TException;
925
    public RechargeTransaction getRechargeTransaction(long rechargeId) throws org.apache.thrift.TException;
926
 
926
 
927
    public List<FRC> getFRCs(long circleId, long operatorId) throws org.apache.thrift.TException;
927
    public List<FRC> getFRCs(long circleId, long operatorId) throws org.apache.thrift.TException;
928
 
928
 
-
 
929
    public HotspotStore getHotspotStore(long id, String hotspotid) throws org.apache.thrift.TException;
-
 
930
 
-
 
931
    public TelecomCircle getTelecomCircle(long id, String code) throws org.apache.thrift.TException;
-
 
932
 
929
  }
933
  }
930
 
934
 
931
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
935
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
932
 
936
 
933
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
937
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1242... Line 1246...
1242
 
1246
 
1243
    public void getRechargeTransaction(long rechargeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRechargeTransaction_call> resultHandler) throws org.apache.thrift.TException;
1247
    public void getRechargeTransaction(long rechargeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRechargeTransaction_call> resultHandler) throws org.apache.thrift.TException;
1244
 
1248
 
1245
    public void getFRCs(long circleId, long operatorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getFRCs_call> resultHandler) throws org.apache.thrift.TException;
1249
    public void getFRCs(long circleId, long operatorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getFRCs_call> resultHandler) throws org.apache.thrift.TException;
1246
 
1250
 
-
 
1251
    public void getHotspotStore(long id, String hotspotid, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHotspotStore_call> resultHandler) throws org.apache.thrift.TException;
-
 
1252
 
-
 
1253
    public void getTelecomCircle(long id, String code, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTelecomCircle_call> resultHandler) throws org.apache.thrift.TException;
-
 
1254
 
1247
  }
1255
  }
1248
 
1256
 
1249
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1257
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1250
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1258
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1251
      public Factory() {}
1259
      public Factory() {}
Line 5211... Line 5219...
5211
        return result.success;
5219
        return result.success;
5212
      }
5220
      }
5213
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getFRCs failed: unknown result");
5221
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getFRCs failed: unknown result");
5214
    }
5222
    }
5215
 
5223
 
-
 
5224
    public HotspotStore getHotspotStore(long id, String hotspotid) throws org.apache.thrift.TException
-
 
5225
    {
-
 
5226
      send_getHotspotStore(id, hotspotid);
-
 
5227
      return recv_getHotspotStore();
-
 
5228
    }
-
 
5229
 
-
 
5230
    public void send_getHotspotStore(long id, String hotspotid) throws org.apache.thrift.TException
-
 
5231
    {
-
 
5232
      getHotspotStore_args args = new getHotspotStore_args();
-
 
5233
      args.setId(id);
-
 
5234
      args.setHotspotid(hotspotid);
-
 
5235
      sendBase("getHotspotStore", args);
-
 
5236
    }
-
 
5237
 
-
 
5238
    public HotspotStore recv_getHotspotStore() throws org.apache.thrift.TException
-
 
5239
    {
-
 
5240
      getHotspotStore_result result = new getHotspotStore_result();
-
 
5241
      receiveBase(result, "getHotspotStore");
-
 
5242
      if (result.isSetSuccess()) {
-
 
5243
        return result.success;
-
 
5244
      }
-
 
5245
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getHotspotStore failed: unknown result");
-
 
5246
    }
-
 
5247
 
-
 
5248
    public TelecomCircle getTelecomCircle(long id, String code) throws org.apache.thrift.TException
-
 
5249
    {
-
 
5250
      send_getTelecomCircle(id, code);
-
 
5251
      return recv_getTelecomCircle();
-
 
5252
    }
-
 
5253
 
-
 
5254
    public void send_getTelecomCircle(long id, String code) throws org.apache.thrift.TException
-
 
5255
    {
-
 
5256
      getTelecomCircle_args args = new getTelecomCircle_args();
-
 
5257
      args.setId(id);
-
 
5258
      args.setCode(code);
-
 
5259
      sendBase("getTelecomCircle", args);
-
 
5260
    }
-
 
5261
 
-
 
5262
    public TelecomCircle recv_getTelecomCircle() throws org.apache.thrift.TException
-
 
5263
    {
-
 
5264
      getTelecomCircle_result result = new getTelecomCircle_result();
-
 
5265
      receiveBase(result, "getTelecomCircle");
-
 
5266
      if (result.isSetSuccess()) {
-
 
5267
        return result.success;
-
 
5268
      }
-
 
5269
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTelecomCircle failed: unknown result");
-
 
5270
    }
-
 
5271
 
5216
  }
5272
  }
5217
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5273
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5218
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5274
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5219
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5275
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5220
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
5276
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 10712... Line 10768...
10712
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
10768
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
10713
        return (new Client(prot)).recv_getFRCs();
10769
        return (new Client(prot)).recv_getFRCs();
10714
      }
10770
      }
10715
    }
10771
    }
10716
 
10772
 
-
 
10773
    public void getHotspotStore(long id, String hotspotid, org.apache.thrift.async.AsyncMethodCallback<getHotspotStore_call> resultHandler) throws org.apache.thrift.TException {
-
 
10774
      checkReady();
-
 
10775
      getHotspotStore_call method_call = new getHotspotStore_call(id, hotspotid, resultHandler, this, ___protocolFactory, ___transport);
-
 
10776
      this.___currentMethod = method_call;
-
 
10777
      ___manager.call(method_call);
-
 
10778
    }
-
 
10779
 
-
 
10780
    public static class getHotspotStore_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
10781
      private long id;
-
 
10782
      private String hotspotid;
-
 
10783
      public getHotspotStore_call(long id, String hotspotid, org.apache.thrift.async.AsyncMethodCallback<getHotspotStore_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 {
-
 
10784
        super(client, protocolFactory, transport, resultHandler, false);
-
 
10785
        this.id = id;
-
 
10786
        this.hotspotid = hotspotid;
-
 
10787
      }
-
 
10788
 
-
 
10789
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
10790
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getHotspotStore", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
10791
        getHotspotStore_args args = new getHotspotStore_args();
-
 
10792
        args.setId(id);
-
 
10793
        args.setHotspotid(hotspotid);
-
 
10794
        args.write(prot);
-
 
10795
        prot.writeMessageEnd();
-
 
10796
      }
-
 
10797
 
-
 
10798
      public HotspotStore getResult() throws org.apache.thrift.TException {
-
 
10799
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
10800
          throw new IllegalStateException("Method call not finished!");
-
 
10801
        }
-
 
10802
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
10803
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
10804
        return (new Client(prot)).recv_getHotspotStore();
-
 
10805
      }
-
 
10806
    }
-
 
10807
 
-
 
10808
    public void getTelecomCircle(long id, String code, org.apache.thrift.async.AsyncMethodCallback<getTelecomCircle_call> resultHandler) throws org.apache.thrift.TException {
-
 
10809
      checkReady();
-
 
10810
      getTelecomCircle_call method_call = new getTelecomCircle_call(id, code, resultHandler, this, ___protocolFactory, ___transport);
-
 
10811
      this.___currentMethod = method_call;
-
 
10812
      ___manager.call(method_call);
-
 
10813
    }
-
 
10814
 
-
 
10815
    public static class getTelecomCircle_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
10816
      private long id;
-
 
10817
      private String code;
-
 
10818
      public getTelecomCircle_call(long id, String code, org.apache.thrift.async.AsyncMethodCallback<getTelecomCircle_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 {
-
 
10819
        super(client, protocolFactory, transport, resultHandler, false);
-
 
10820
        this.id = id;
-
 
10821
        this.code = code;
-
 
10822
      }
-
 
10823
 
-
 
10824
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
10825
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTelecomCircle", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
10826
        getTelecomCircle_args args = new getTelecomCircle_args();
-
 
10827
        args.setId(id);
-
 
10828
        args.setCode(code);
-
 
10829
        args.write(prot);
-
 
10830
        prot.writeMessageEnd();
-
 
10831
      }
-
 
10832
 
-
 
10833
      public TelecomCircle getResult() throws org.apache.thrift.TException {
-
 
10834
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
10835
          throw new IllegalStateException("Method call not finished!");
-
 
10836
        }
-
 
10837
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
10838
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
10839
        return (new Client(prot)).recv_getTelecomCircle();
-
 
10840
      }
-
 
10841
    }
-
 
10842
 
10717
  }
10843
  }
10718
 
10844
 
10719
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
10845
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
10720
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
10846
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
10721
    public Processor(I iface) {
10847
    public Processor(I iface) {
Line 10882... Line 11008...
10882
      processMap.put("receiveUpdatesForRedExpress", new receiveUpdatesForRedExpress());
11008
      processMap.put("receiveUpdatesForRedExpress", new receiveUpdatesForRedExpress());
10883
      processMap.put("createRechargeTransaction", new createRechargeTransaction());
11009
      processMap.put("createRechargeTransaction", new createRechargeTransaction());
10884
      processMap.put("getRechargeTransactions", new getRechargeTransactions());
11010
      processMap.put("getRechargeTransactions", new getRechargeTransactions());
10885
      processMap.put("getRechargeTransaction", new getRechargeTransaction());
11011
      processMap.put("getRechargeTransaction", new getRechargeTransaction());
10886
      processMap.put("getFRCs", new getFRCs());
11012
      processMap.put("getFRCs", new getFRCs());
-
 
11013
      processMap.put("getHotspotStore", new getHotspotStore());
-
 
11014
      processMap.put("getTelecomCircle", new getTelecomCircle());
10887
      return processMap;
11015
      return processMap;
10888
    }
11016
    }
10889
 
11017
 
10890
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
11018
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
10891
      public createTransaction() {
11019
      public createTransaction() {
Line 13825... Line 13953...
13825
        result.success = iface.getFRCs(args.circleId, args.operatorId);
13953
        result.success = iface.getFRCs(args.circleId, args.operatorId);
13826
        return result;
13954
        return result;
13827
      }
13955
      }
13828
    }
13956
    }
13829
 
13957
 
-
 
13958
    private static class getHotspotStore<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getHotspotStore_args> {
-
 
13959
      public getHotspotStore() {
-
 
13960
        super("getHotspotStore");
-
 
13961
      }
-
 
13962
 
-
 
13963
      protected getHotspotStore_args getEmptyArgsInstance() {
-
 
13964
        return new getHotspotStore_args();
-
 
13965
      }
-
 
13966
 
-
 
13967
      protected getHotspotStore_result getResult(I iface, getHotspotStore_args args) throws org.apache.thrift.TException {
-
 
13968
        getHotspotStore_result result = new getHotspotStore_result();
-
 
13969
        result.success = iface.getHotspotStore(args.id, args.hotspotid);
-
 
13970
        return result;
-
 
13971
      }
-
 
13972
    }
-
 
13973
 
-
 
13974
    private static class getTelecomCircle<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getTelecomCircle_args> {
-
 
13975
      public getTelecomCircle() {
-
 
13976
        super("getTelecomCircle");
-
 
13977
      }
-
 
13978
 
-
 
13979
      protected getTelecomCircle_args getEmptyArgsInstance() {
-
 
13980
        return new getTelecomCircle_args();
-
 
13981
      }
-
 
13982
 
-
 
13983
      protected getTelecomCircle_result getResult(I iface, getTelecomCircle_args args) throws org.apache.thrift.TException {
-
 
13984
        getTelecomCircle_result result = new getTelecomCircle_result();
-
 
13985
        result.success = iface.getTelecomCircle(args.id, args.code);
-
 
13986
        return result;
-
 
13987
      }
-
 
13988
    }
-
 
13989
 
13830
  }
13990
  }
13831
 
13991
 
13832
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
13992
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
13833
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
13993
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
13834
 
13994
 
Line 57931... Line 58091...
57931
      }
58091
      }
57932
    }
58092
    }
57933
 
58093
 
57934
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
58094
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
57935
      try {
58095
      try {
-
 
58096
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
58097
        __isset_bit_vector = new BitSet(1);
57936
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
58098
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
57937
      } catch (org.apache.thrift.TException te) {
58099
      } catch (org.apache.thrift.TException te) {
57938
        throw new java.io.IOException(te);
58100
        throw new java.io.IOException(te);
57939
      }
58101
      }
57940
    }
58102
    }
Line 127712... Line 127874...
127712
      boolean first = true;
127874
      boolean first = true;
127713
 
127875
 
127714
      sb.append("success:");
127876
      sb.append("success:");
127715
      if (this.success == null) {
127877
      if (this.success == null) {
127716
        sb.append("null");
127878
        sb.append("null");
-
 
127879
      } else {
-
 
127880
        sb.append(this.success);
-
 
127881
      }
-
 
127882
      first = false;
-
 
127883
      sb.append(")");
-
 
127884
      return sb.toString();
-
 
127885
    }
-
 
127886
 
-
 
127887
    public void validate() throws org.apache.thrift.TException {
-
 
127888
      // check for required fields
-
 
127889
    }
-
 
127890
 
-
 
127891
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
127892
      try {
-
 
127893
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
127894
      } catch (org.apache.thrift.TException te) {
-
 
127895
        throw new java.io.IOException(te);
-
 
127896
      }
-
 
127897
    }
-
 
127898
 
-
 
127899
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
127900
      try {
-
 
127901
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
127902
      } catch (org.apache.thrift.TException te) {
-
 
127903
        throw new java.io.IOException(te);
-
 
127904
      }
-
 
127905
    }
-
 
127906
 
-
 
127907
  }
-
 
127908
 
-
 
127909
  public static class getHotspotStore_args implements org.apache.thrift.TBase<getHotspotStore_args, getHotspotStore_args._Fields>, java.io.Serializable, Cloneable   {
-
 
127910
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getHotspotStore_args");
-
 
127911
 
-
 
127912
    private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
127913
    private static final org.apache.thrift.protocol.TField HOTSPOTID_FIELD_DESC = new org.apache.thrift.protocol.TField("hotspotid", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
127914
 
-
 
127915
    private long id; // required
-
 
127916
    private String hotspotid; // required
-
 
127917
 
-
 
127918
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
127919
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
127920
      ID((short)1, "id"),
-
 
127921
      HOTSPOTID((short)2, "hotspotid");
-
 
127922
 
-
 
127923
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
127924
 
-
 
127925
      static {
-
 
127926
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
127927
          byName.put(field.getFieldName(), field);
-
 
127928
        }
-
 
127929
      }
-
 
127930
 
-
 
127931
      /**
-
 
127932
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
127933
       */
-
 
127934
      public static _Fields findByThriftId(int fieldId) {
-
 
127935
        switch(fieldId) {
-
 
127936
          case 1: // ID
-
 
127937
            return ID;
-
 
127938
          case 2: // HOTSPOTID
-
 
127939
            return HOTSPOTID;
-
 
127940
          default:
-
 
127941
            return null;
-
 
127942
        }
-
 
127943
      }
-
 
127944
 
-
 
127945
      /**
-
 
127946
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
127947
       * if it is not found.
-
 
127948
       */
-
 
127949
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
127950
        _Fields fields = findByThriftId(fieldId);
-
 
127951
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
127952
        return fields;
-
 
127953
      }
-
 
127954
 
-
 
127955
      /**
-
 
127956
       * Find the _Fields constant that matches name, or null if its not found.
-
 
127957
       */
-
 
127958
      public static _Fields findByName(String name) {
-
 
127959
        return byName.get(name);
-
 
127960
      }
-
 
127961
 
-
 
127962
      private final short _thriftId;
-
 
127963
      private final String _fieldName;
-
 
127964
 
-
 
127965
      _Fields(short thriftId, String fieldName) {
-
 
127966
        _thriftId = thriftId;
-
 
127967
        _fieldName = fieldName;
-
 
127968
      }
-
 
127969
 
-
 
127970
      public short getThriftFieldId() {
-
 
127971
        return _thriftId;
-
 
127972
      }
-
 
127973
 
-
 
127974
      public String getFieldName() {
-
 
127975
        return _fieldName;
-
 
127976
      }
-
 
127977
    }
-
 
127978
 
-
 
127979
    // isset id assignments
-
 
127980
    private static final int __ID_ISSET_ID = 0;
-
 
127981
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
127982
 
-
 
127983
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
127984
    static {
-
 
127985
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
127986
      tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
127987
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
127988
      tmpMap.put(_Fields.HOTSPOTID, new org.apache.thrift.meta_data.FieldMetaData("hotspotid", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
127989
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
127990
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
127991
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getHotspotStore_args.class, metaDataMap);
-
 
127992
    }
-
 
127993
 
-
 
127994
    public getHotspotStore_args() {
-
 
127995
    }
-
 
127996
 
-
 
127997
    public getHotspotStore_args(
-
 
127998
      long id,
-
 
127999
      String hotspotid)
-
 
128000
    {
-
 
128001
      this();
-
 
128002
      this.id = id;
-
 
128003
      setIdIsSet(true);
-
 
128004
      this.hotspotid = hotspotid;
-
 
128005
    }
-
 
128006
 
-
 
128007
    /**
-
 
128008
     * Performs a deep copy on <i>other</i>.
-
 
128009
     */
-
 
128010
    public getHotspotStore_args(getHotspotStore_args other) {
-
 
128011
      __isset_bit_vector.clear();
-
 
128012
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
128013
      this.id = other.id;
-
 
128014
      if (other.isSetHotspotid()) {
-
 
128015
        this.hotspotid = other.hotspotid;
-
 
128016
      }
-
 
128017
    }
-
 
128018
 
-
 
128019
    public getHotspotStore_args deepCopy() {
-
 
128020
      return new getHotspotStore_args(this);
-
 
128021
    }
-
 
128022
 
-
 
128023
    @Override
-
 
128024
    public void clear() {
-
 
128025
      setIdIsSet(false);
-
 
128026
      this.id = 0;
-
 
128027
      this.hotspotid = null;
-
 
128028
    }
-
 
128029
 
-
 
128030
    public long getId() {
-
 
128031
      return this.id;
-
 
128032
    }
-
 
128033
 
-
 
128034
    public void setId(long id) {
-
 
128035
      this.id = id;
-
 
128036
      setIdIsSet(true);
-
 
128037
    }
-
 
128038
 
-
 
128039
    public void unsetId() {
-
 
128040
      __isset_bit_vector.clear(__ID_ISSET_ID);
-
 
128041
    }
-
 
128042
 
-
 
128043
    /** Returns true if field id is set (has been assigned a value) and false otherwise */
-
 
128044
    public boolean isSetId() {
-
 
128045
      return __isset_bit_vector.get(__ID_ISSET_ID);
-
 
128046
    }
-
 
128047
 
-
 
128048
    public void setIdIsSet(boolean value) {
-
 
128049
      __isset_bit_vector.set(__ID_ISSET_ID, value);
-
 
128050
    }
-
 
128051
 
-
 
128052
    public String getHotspotid() {
-
 
128053
      return this.hotspotid;
-
 
128054
    }
-
 
128055
 
-
 
128056
    public void setHotspotid(String hotspotid) {
-
 
128057
      this.hotspotid = hotspotid;
-
 
128058
    }
-
 
128059
 
-
 
128060
    public void unsetHotspotid() {
-
 
128061
      this.hotspotid = null;
-
 
128062
    }
-
 
128063
 
-
 
128064
    /** Returns true if field hotspotid is set (has been assigned a value) and false otherwise */
-
 
128065
    public boolean isSetHotspotid() {
-
 
128066
      return this.hotspotid != null;
-
 
128067
    }
-
 
128068
 
-
 
128069
    public void setHotspotidIsSet(boolean value) {
-
 
128070
      if (!value) {
-
 
128071
        this.hotspotid = null;
-
 
128072
      }
-
 
128073
    }
-
 
128074
 
-
 
128075
    public void setFieldValue(_Fields field, Object value) {
-
 
128076
      switch (field) {
-
 
128077
      case ID:
-
 
128078
        if (value == null) {
-
 
128079
          unsetId();
-
 
128080
        } else {
-
 
128081
          setId((Long)value);
-
 
128082
        }
-
 
128083
        break;
-
 
128084
 
-
 
128085
      case HOTSPOTID:
-
 
128086
        if (value == null) {
-
 
128087
          unsetHotspotid();
-
 
128088
        } else {
-
 
128089
          setHotspotid((String)value);
-
 
128090
        }
-
 
128091
        break;
-
 
128092
 
-
 
128093
      }
-
 
128094
    }
-
 
128095
 
-
 
128096
    public Object getFieldValue(_Fields field) {
-
 
128097
      switch (field) {
-
 
128098
      case ID:
-
 
128099
        return Long.valueOf(getId());
-
 
128100
 
-
 
128101
      case HOTSPOTID:
-
 
128102
        return getHotspotid();
-
 
128103
 
-
 
128104
      }
-
 
128105
      throw new IllegalStateException();
-
 
128106
    }
-
 
128107
 
-
 
128108
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
128109
    public boolean isSet(_Fields field) {
-
 
128110
      if (field == null) {
-
 
128111
        throw new IllegalArgumentException();
-
 
128112
      }
-
 
128113
 
-
 
128114
      switch (field) {
-
 
128115
      case ID:
-
 
128116
        return isSetId();
-
 
128117
      case HOTSPOTID:
-
 
128118
        return isSetHotspotid();
-
 
128119
      }
-
 
128120
      throw new IllegalStateException();
-
 
128121
    }
-
 
128122
 
-
 
128123
    @Override
-
 
128124
    public boolean equals(Object that) {
-
 
128125
      if (that == null)
-
 
128126
        return false;
-
 
128127
      if (that instanceof getHotspotStore_args)
-
 
128128
        return this.equals((getHotspotStore_args)that);
-
 
128129
      return false;
-
 
128130
    }
-
 
128131
 
-
 
128132
    public boolean equals(getHotspotStore_args that) {
-
 
128133
      if (that == null)
-
 
128134
        return false;
-
 
128135
 
-
 
128136
      boolean this_present_id = true;
-
 
128137
      boolean that_present_id = true;
-
 
128138
      if (this_present_id || that_present_id) {
-
 
128139
        if (!(this_present_id && that_present_id))
-
 
128140
          return false;
-
 
128141
        if (this.id != that.id)
-
 
128142
          return false;
-
 
128143
      }
-
 
128144
 
-
 
128145
      boolean this_present_hotspotid = true && this.isSetHotspotid();
-
 
128146
      boolean that_present_hotspotid = true && that.isSetHotspotid();
-
 
128147
      if (this_present_hotspotid || that_present_hotspotid) {
-
 
128148
        if (!(this_present_hotspotid && that_present_hotspotid))
-
 
128149
          return false;
-
 
128150
        if (!this.hotspotid.equals(that.hotspotid))
-
 
128151
          return false;
-
 
128152
      }
-
 
128153
 
-
 
128154
      return true;
-
 
128155
    }
-
 
128156
 
-
 
128157
    @Override
-
 
128158
    public int hashCode() {
-
 
128159
      return 0;
-
 
128160
    }
-
 
128161
 
-
 
128162
    public int compareTo(getHotspotStore_args other) {
-
 
128163
      if (!getClass().equals(other.getClass())) {
-
 
128164
        return getClass().getName().compareTo(other.getClass().getName());
-
 
128165
      }
-
 
128166
 
-
 
128167
      int lastComparison = 0;
-
 
128168
      getHotspotStore_args typedOther = (getHotspotStore_args)other;
-
 
128169
 
-
 
128170
      lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
-
 
128171
      if (lastComparison != 0) {
-
 
128172
        return lastComparison;
-
 
128173
      }
-
 
128174
      if (isSetId()) {
-
 
128175
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
-
 
128176
        if (lastComparison != 0) {
-
 
128177
          return lastComparison;
-
 
128178
        }
-
 
128179
      }
-
 
128180
      lastComparison = Boolean.valueOf(isSetHotspotid()).compareTo(typedOther.isSetHotspotid());
-
 
128181
      if (lastComparison != 0) {
-
 
128182
        return lastComparison;
-
 
128183
      }
-
 
128184
      if (isSetHotspotid()) {
-
 
128185
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hotspotid, typedOther.hotspotid);
-
 
128186
        if (lastComparison != 0) {
-
 
128187
          return lastComparison;
-
 
128188
        }
-
 
128189
      }
-
 
128190
      return 0;
-
 
128191
    }
-
 
128192
 
-
 
128193
    public _Fields fieldForId(int fieldId) {
-
 
128194
      return _Fields.findByThriftId(fieldId);
-
 
128195
    }
-
 
128196
 
-
 
128197
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
128198
      org.apache.thrift.protocol.TField field;
-
 
128199
      iprot.readStructBegin();
-
 
128200
      while (true)
-
 
128201
      {
-
 
128202
        field = iprot.readFieldBegin();
-
 
128203
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
128204
          break;
-
 
128205
        }
-
 
128206
        switch (field.id) {
-
 
128207
          case 1: // ID
-
 
128208
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
128209
              this.id = iprot.readI64();
-
 
128210
              setIdIsSet(true);
-
 
128211
            } else { 
-
 
128212
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
128213
            }
-
 
128214
            break;
-
 
128215
          case 2: // HOTSPOTID
-
 
128216
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
128217
              this.hotspotid = iprot.readString();
-
 
128218
            } else { 
-
 
128219
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
128220
            }
-
 
128221
            break;
-
 
128222
          default:
-
 
128223
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
128224
        }
-
 
128225
        iprot.readFieldEnd();
-
 
128226
      }
-
 
128227
      iprot.readStructEnd();
-
 
128228
      validate();
-
 
128229
    }
-
 
128230
 
-
 
128231
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
128232
      validate();
-
 
128233
 
-
 
128234
      oprot.writeStructBegin(STRUCT_DESC);
-
 
128235
      oprot.writeFieldBegin(ID_FIELD_DESC);
-
 
128236
      oprot.writeI64(this.id);
-
 
128237
      oprot.writeFieldEnd();
-
 
128238
      if (this.hotspotid != null) {
-
 
128239
        oprot.writeFieldBegin(HOTSPOTID_FIELD_DESC);
-
 
128240
        oprot.writeString(this.hotspotid);
-
 
128241
        oprot.writeFieldEnd();
-
 
128242
      }
-
 
128243
      oprot.writeFieldStop();
-
 
128244
      oprot.writeStructEnd();
-
 
128245
    }
-
 
128246
 
-
 
128247
    @Override
-
 
128248
    public String toString() {
-
 
128249
      StringBuilder sb = new StringBuilder("getHotspotStore_args(");
-
 
128250
      boolean first = true;
-
 
128251
 
-
 
128252
      sb.append("id:");
-
 
128253
      sb.append(this.id);
-
 
128254
      first = false;
-
 
128255
      if (!first) sb.append(", ");
-
 
128256
      sb.append("hotspotid:");
-
 
128257
      if (this.hotspotid == null) {
-
 
128258
        sb.append("null");
-
 
128259
      } else {
-
 
128260
        sb.append(this.hotspotid);
-
 
128261
      }
-
 
128262
      first = false;
-
 
128263
      sb.append(")");
-
 
128264
      return sb.toString();
-
 
128265
    }
-
 
128266
 
-
 
128267
    public void validate() throws org.apache.thrift.TException {
-
 
128268
      // check for required fields
-
 
128269
    }
-
 
128270
 
-
 
128271
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
128272
      try {
-
 
128273
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
128274
      } catch (org.apache.thrift.TException te) {
-
 
128275
        throw new java.io.IOException(te);
-
 
128276
      }
-
 
128277
    }
-
 
128278
 
-
 
128279
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
128280
      try {
-
 
128281
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
128282
        __isset_bit_vector = new BitSet(1);
-
 
128283
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
128284
      } catch (org.apache.thrift.TException te) {
-
 
128285
        throw new java.io.IOException(te);
-
 
128286
      }
-
 
128287
    }
-
 
128288
 
-
 
128289
  }
-
 
128290
 
-
 
128291
  public static class getHotspotStore_result implements org.apache.thrift.TBase<getHotspotStore_result, getHotspotStore_result._Fields>, java.io.Serializable, Cloneable   {
-
 
128292
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getHotspotStore_result");
-
 
128293
 
-
 
128294
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
-
 
128295
 
-
 
128296
    private HotspotStore success; // required
-
 
128297
 
-
 
128298
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
128299
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
128300
      SUCCESS((short)0, "success");
-
 
128301
 
-
 
128302
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
128303
 
-
 
128304
      static {
-
 
128305
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
128306
          byName.put(field.getFieldName(), field);
-
 
128307
        }
-
 
128308
      }
-
 
128309
 
-
 
128310
      /**
-
 
128311
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
128312
       */
-
 
128313
      public static _Fields findByThriftId(int fieldId) {
-
 
128314
        switch(fieldId) {
-
 
128315
          case 0: // SUCCESS
-
 
128316
            return SUCCESS;
-
 
128317
          default:
-
 
128318
            return null;
-
 
128319
        }
-
 
128320
      }
-
 
128321
 
-
 
128322
      /**
-
 
128323
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
128324
       * if it is not found.
-
 
128325
       */
-
 
128326
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
128327
        _Fields fields = findByThriftId(fieldId);
-
 
128328
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
128329
        return fields;
-
 
128330
      }
-
 
128331
 
-
 
128332
      /**
-
 
128333
       * Find the _Fields constant that matches name, or null if its not found.
-
 
128334
       */
-
 
128335
      public static _Fields findByName(String name) {
-
 
128336
        return byName.get(name);
-
 
128337
      }
-
 
128338
 
-
 
128339
      private final short _thriftId;
-
 
128340
      private final String _fieldName;
-
 
128341
 
-
 
128342
      _Fields(short thriftId, String fieldName) {
-
 
128343
        _thriftId = thriftId;
-
 
128344
        _fieldName = fieldName;
-
 
128345
      }
-
 
128346
 
-
 
128347
      public short getThriftFieldId() {
-
 
128348
        return _thriftId;
-
 
128349
      }
-
 
128350
 
-
 
128351
      public String getFieldName() {
-
 
128352
        return _fieldName;
-
 
128353
      }
-
 
128354
    }
-
 
128355
 
-
 
128356
    // isset id assignments
-
 
128357
 
-
 
128358
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
128359
    static {
-
 
128360
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
128361
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
128362
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, HotspotStore.class)));
-
 
128363
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
128364
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getHotspotStore_result.class, metaDataMap);
-
 
128365
    }
-
 
128366
 
-
 
128367
    public getHotspotStore_result() {
-
 
128368
    }
-
 
128369
 
-
 
128370
    public getHotspotStore_result(
-
 
128371
      HotspotStore success)
-
 
128372
    {
-
 
128373
      this();
-
 
128374
      this.success = success;
-
 
128375
    }
-
 
128376
 
-
 
128377
    /**
-
 
128378
     * Performs a deep copy on <i>other</i>.
-
 
128379
     */
-
 
128380
    public getHotspotStore_result(getHotspotStore_result other) {
-
 
128381
      if (other.isSetSuccess()) {
-
 
128382
        this.success = new HotspotStore(other.success);
-
 
128383
      }
-
 
128384
    }
-
 
128385
 
-
 
128386
    public getHotspotStore_result deepCopy() {
-
 
128387
      return new getHotspotStore_result(this);
-
 
128388
    }
-
 
128389
 
-
 
128390
    @Override
-
 
128391
    public void clear() {
-
 
128392
      this.success = null;
-
 
128393
    }
-
 
128394
 
-
 
128395
    public HotspotStore getSuccess() {
-
 
128396
      return this.success;
-
 
128397
    }
-
 
128398
 
-
 
128399
    public void setSuccess(HotspotStore success) {
-
 
128400
      this.success = success;
-
 
128401
    }
-
 
128402
 
-
 
128403
    public void unsetSuccess() {
-
 
128404
      this.success = null;
-
 
128405
    }
-
 
128406
 
-
 
128407
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
128408
    public boolean isSetSuccess() {
-
 
128409
      return this.success != null;
-
 
128410
    }
-
 
128411
 
-
 
128412
    public void setSuccessIsSet(boolean value) {
-
 
128413
      if (!value) {
-
 
128414
        this.success = null;
-
 
128415
      }
-
 
128416
    }
-
 
128417
 
-
 
128418
    public void setFieldValue(_Fields field, Object value) {
-
 
128419
      switch (field) {
-
 
128420
      case SUCCESS:
-
 
128421
        if (value == null) {
-
 
128422
          unsetSuccess();
-
 
128423
        } else {
-
 
128424
          setSuccess((HotspotStore)value);
-
 
128425
        }
-
 
128426
        break;
-
 
128427
 
-
 
128428
      }
-
 
128429
    }
-
 
128430
 
-
 
128431
    public Object getFieldValue(_Fields field) {
-
 
128432
      switch (field) {
-
 
128433
      case SUCCESS:
-
 
128434
        return getSuccess();
-
 
128435
 
-
 
128436
      }
-
 
128437
      throw new IllegalStateException();
-
 
128438
    }
-
 
128439
 
-
 
128440
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
128441
    public boolean isSet(_Fields field) {
-
 
128442
      if (field == null) {
-
 
128443
        throw new IllegalArgumentException();
-
 
128444
      }
-
 
128445
 
-
 
128446
      switch (field) {
-
 
128447
      case SUCCESS:
-
 
128448
        return isSetSuccess();
-
 
128449
      }
-
 
128450
      throw new IllegalStateException();
-
 
128451
    }
-
 
128452
 
-
 
128453
    @Override
-
 
128454
    public boolean equals(Object that) {
-
 
128455
      if (that == null)
-
 
128456
        return false;
-
 
128457
      if (that instanceof getHotspotStore_result)
-
 
128458
        return this.equals((getHotspotStore_result)that);
-
 
128459
      return false;
-
 
128460
    }
-
 
128461
 
-
 
128462
    public boolean equals(getHotspotStore_result that) {
-
 
128463
      if (that == null)
-
 
128464
        return false;
-
 
128465
 
-
 
128466
      boolean this_present_success = true && this.isSetSuccess();
-
 
128467
      boolean that_present_success = true && that.isSetSuccess();
-
 
128468
      if (this_present_success || that_present_success) {
-
 
128469
        if (!(this_present_success && that_present_success))
-
 
128470
          return false;
-
 
128471
        if (!this.success.equals(that.success))
-
 
128472
          return false;
-
 
128473
      }
-
 
128474
 
-
 
128475
      return true;
-
 
128476
    }
-
 
128477
 
-
 
128478
    @Override
-
 
128479
    public int hashCode() {
-
 
128480
      return 0;
-
 
128481
    }
-
 
128482
 
-
 
128483
    public int compareTo(getHotspotStore_result other) {
-
 
128484
      if (!getClass().equals(other.getClass())) {
-
 
128485
        return getClass().getName().compareTo(other.getClass().getName());
-
 
128486
      }
-
 
128487
 
-
 
128488
      int lastComparison = 0;
-
 
128489
      getHotspotStore_result typedOther = (getHotspotStore_result)other;
-
 
128490
 
-
 
128491
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
128492
      if (lastComparison != 0) {
-
 
128493
        return lastComparison;
-
 
128494
      }
-
 
128495
      if (isSetSuccess()) {
-
 
128496
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
128497
        if (lastComparison != 0) {
-
 
128498
          return lastComparison;
-
 
128499
        }
-
 
128500
      }
-
 
128501
      return 0;
-
 
128502
    }
-
 
128503
 
-
 
128504
    public _Fields fieldForId(int fieldId) {
-
 
128505
      return _Fields.findByThriftId(fieldId);
-
 
128506
    }
-
 
128507
 
-
 
128508
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
128509
      org.apache.thrift.protocol.TField field;
-
 
128510
      iprot.readStructBegin();
-
 
128511
      while (true)
-
 
128512
      {
-
 
128513
        field = iprot.readFieldBegin();
-
 
128514
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
128515
          break;
-
 
128516
        }
-
 
128517
        switch (field.id) {
-
 
128518
          case 0: // SUCCESS
-
 
128519
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
128520
              this.success = new HotspotStore();
-
 
128521
              this.success.read(iprot);
-
 
128522
            } else { 
-
 
128523
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
128524
            }
-
 
128525
            break;
-
 
128526
          default:
-
 
128527
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
128528
        }
-
 
128529
        iprot.readFieldEnd();
-
 
128530
      }
-
 
128531
      iprot.readStructEnd();
-
 
128532
      validate();
-
 
128533
    }
-
 
128534
 
-
 
128535
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
128536
      oprot.writeStructBegin(STRUCT_DESC);
-
 
128537
 
-
 
128538
      if (this.isSetSuccess()) {
-
 
128539
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
128540
        this.success.write(oprot);
-
 
128541
        oprot.writeFieldEnd();
-
 
128542
      }
-
 
128543
      oprot.writeFieldStop();
-
 
128544
      oprot.writeStructEnd();
-
 
128545
    }
-
 
128546
 
-
 
128547
    @Override
-
 
128548
    public String toString() {
-
 
128549
      StringBuilder sb = new StringBuilder("getHotspotStore_result(");
-
 
128550
      boolean first = true;
-
 
128551
 
-
 
128552
      sb.append("success:");
-
 
128553
      if (this.success == null) {
-
 
128554
        sb.append("null");
-
 
128555
      } else {
-
 
128556
        sb.append(this.success);
-
 
128557
      }
-
 
128558
      first = false;
-
 
128559
      sb.append(")");
-
 
128560
      return sb.toString();
-
 
128561
    }
-
 
128562
 
-
 
128563
    public void validate() throws org.apache.thrift.TException {
-
 
128564
      // check for required fields
-
 
128565
    }
-
 
128566
 
-
 
128567
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
128568
      try {
-
 
128569
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
128570
      } catch (org.apache.thrift.TException te) {
-
 
128571
        throw new java.io.IOException(te);
-
 
128572
      }
-
 
128573
    }
-
 
128574
 
-
 
128575
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
128576
      try {
-
 
128577
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
128578
      } catch (org.apache.thrift.TException te) {
-
 
128579
        throw new java.io.IOException(te);
-
 
128580
      }
-
 
128581
    }
-
 
128582
 
-
 
128583
  }
-
 
128584
 
-
 
128585
  public static class getTelecomCircle_args implements org.apache.thrift.TBase<getTelecomCircle_args, getTelecomCircle_args._Fields>, java.io.Serializable, Cloneable   {
-
 
128586
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getTelecomCircle_args");
-
 
128587
 
-
 
128588
    private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
128589
    private static final org.apache.thrift.protocol.TField CODE_FIELD_DESC = new org.apache.thrift.protocol.TField("code", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
128590
 
-
 
128591
    private long id; // required
-
 
128592
    private String code; // required
-
 
128593
 
-
 
128594
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
128595
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
128596
      ID((short)1, "id"),
-
 
128597
      CODE((short)2, "code");
-
 
128598
 
-
 
128599
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
128600
 
-
 
128601
      static {
-
 
128602
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
128603
          byName.put(field.getFieldName(), field);
-
 
128604
        }
-
 
128605
      }
-
 
128606
 
-
 
128607
      /**
-
 
128608
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
128609
       */
-
 
128610
      public static _Fields findByThriftId(int fieldId) {
-
 
128611
        switch(fieldId) {
-
 
128612
          case 1: // ID
-
 
128613
            return ID;
-
 
128614
          case 2: // CODE
-
 
128615
            return CODE;
-
 
128616
          default:
-
 
128617
            return null;
-
 
128618
        }
-
 
128619
      }
-
 
128620
 
-
 
128621
      /**
-
 
128622
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
128623
       * if it is not found.
-
 
128624
       */
-
 
128625
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
128626
        _Fields fields = findByThriftId(fieldId);
-
 
128627
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
128628
        return fields;
-
 
128629
      }
-
 
128630
 
-
 
128631
      /**
-
 
128632
       * Find the _Fields constant that matches name, or null if its not found.
-
 
128633
       */
-
 
128634
      public static _Fields findByName(String name) {
-
 
128635
        return byName.get(name);
-
 
128636
      }
-
 
128637
 
-
 
128638
      private final short _thriftId;
-
 
128639
      private final String _fieldName;
-
 
128640
 
-
 
128641
      _Fields(short thriftId, String fieldName) {
-
 
128642
        _thriftId = thriftId;
-
 
128643
        _fieldName = fieldName;
-
 
128644
      }
-
 
128645
 
-
 
128646
      public short getThriftFieldId() {
-
 
128647
        return _thriftId;
-
 
128648
      }
-
 
128649
 
-
 
128650
      public String getFieldName() {
-
 
128651
        return _fieldName;
-
 
128652
      }
-
 
128653
    }
-
 
128654
 
-
 
128655
    // isset id assignments
-
 
128656
    private static final int __ID_ISSET_ID = 0;
-
 
128657
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
128658
 
-
 
128659
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
128660
    static {
-
 
128661
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
128662
      tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
128663
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
128664
      tmpMap.put(_Fields.CODE, new org.apache.thrift.meta_data.FieldMetaData("code", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
128665
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
128666
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
128667
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTelecomCircle_args.class, metaDataMap);
-
 
128668
    }
-
 
128669
 
-
 
128670
    public getTelecomCircle_args() {
-
 
128671
    }
-
 
128672
 
-
 
128673
    public getTelecomCircle_args(
-
 
128674
      long id,
-
 
128675
      String code)
-
 
128676
    {
-
 
128677
      this();
-
 
128678
      this.id = id;
-
 
128679
      setIdIsSet(true);
-
 
128680
      this.code = code;
-
 
128681
    }
-
 
128682
 
-
 
128683
    /**
-
 
128684
     * Performs a deep copy on <i>other</i>.
-
 
128685
     */
-
 
128686
    public getTelecomCircle_args(getTelecomCircle_args other) {
-
 
128687
      __isset_bit_vector.clear();
-
 
128688
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
128689
      this.id = other.id;
-
 
128690
      if (other.isSetCode()) {
-
 
128691
        this.code = other.code;
-
 
128692
      }
-
 
128693
    }
-
 
128694
 
-
 
128695
    public getTelecomCircle_args deepCopy() {
-
 
128696
      return new getTelecomCircle_args(this);
-
 
128697
    }
-
 
128698
 
-
 
128699
    @Override
-
 
128700
    public void clear() {
-
 
128701
      setIdIsSet(false);
-
 
128702
      this.id = 0;
-
 
128703
      this.code = null;
-
 
128704
    }
-
 
128705
 
-
 
128706
    public long getId() {
-
 
128707
      return this.id;
-
 
128708
    }
-
 
128709
 
-
 
128710
    public void setId(long id) {
-
 
128711
      this.id = id;
-
 
128712
      setIdIsSet(true);
-
 
128713
    }
-
 
128714
 
-
 
128715
    public void unsetId() {
-
 
128716
      __isset_bit_vector.clear(__ID_ISSET_ID);
-
 
128717
    }
-
 
128718
 
-
 
128719
    /** Returns true if field id is set (has been assigned a value) and false otherwise */
-
 
128720
    public boolean isSetId() {
-
 
128721
      return __isset_bit_vector.get(__ID_ISSET_ID);
-
 
128722
    }
-
 
128723
 
-
 
128724
    public void setIdIsSet(boolean value) {
-
 
128725
      __isset_bit_vector.set(__ID_ISSET_ID, value);
-
 
128726
    }
-
 
128727
 
-
 
128728
    public String getCode() {
-
 
128729
      return this.code;
-
 
128730
    }
-
 
128731
 
-
 
128732
    public void setCode(String code) {
-
 
128733
      this.code = code;
-
 
128734
    }
-
 
128735
 
-
 
128736
    public void unsetCode() {
-
 
128737
      this.code = null;
-
 
128738
    }
-
 
128739
 
-
 
128740
    /** Returns true if field code is set (has been assigned a value) and false otherwise */
-
 
128741
    public boolean isSetCode() {
-
 
128742
      return this.code != null;
-
 
128743
    }
-
 
128744
 
-
 
128745
    public void setCodeIsSet(boolean value) {
-
 
128746
      if (!value) {
-
 
128747
        this.code = null;
-
 
128748
      }
-
 
128749
    }
-
 
128750
 
-
 
128751
    public void setFieldValue(_Fields field, Object value) {
-
 
128752
      switch (field) {
-
 
128753
      case ID:
-
 
128754
        if (value == null) {
-
 
128755
          unsetId();
-
 
128756
        } else {
-
 
128757
          setId((Long)value);
-
 
128758
        }
-
 
128759
        break;
-
 
128760
 
-
 
128761
      case CODE:
-
 
128762
        if (value == null) {
-
 
128763
          unsetCode();
-
 
128764
        } else {
-
 
128765
          setCode((String)value);
-
 
128766
        }
-
 
128767
        break;
-
 
128768
 
-
 
128769
      }
-
 
128770
    }
-
 
128771
 
-
 
128772
    public Object getFieldValue(_Fields field) {
-
 
128773
      switch (field) {
-
 
128774
      case ID:
-
 
128775
        return Long.valueOf(getId());
-
 
128776
 
-
 
128777
      case CODE:
-
 
128778
        return getCode();
-
 
128779
 
-
 
128780
      }
-
 
128781
      throw new IllegalStateException();
-
 
128782
    }
-
 
128783
 
-
 
128784
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
128785
    public boolean isSet(_Fields field) {
-
 
128786
      if (field == null) {
-
 
128787
        throw new IllegalArgumentException();
-
 
128788
      }
-
 
128789
 
-
 
128790
      switch (field) {
-
 
128791
      case ID:
-
 
128792
        return isSetId();
-
 
128793
      case CODE:
-
 
128794
        return isSetCode();
-
 
128795
      }
-
 
128796
      throw new IllegalStateException();
-
 
128797
    }
-
 
128798
 
-
 
128799
    @Override
-
 
128800
    public boolean equals(Object that) {
-
 
128801
      if (that == null)
-
 
128802
        return false;
-
 
128803
      if (that instanceof getTelecomCircle_args)
-
 
128804
        return this.equals((getTelecomCircle_args)that);
-
 
128805
      return false;
-
 
128806
    }
-
 
128807
 
-
 
128808
    public boolean equals(getTelecomCircle_args that) {
-
 
128809
      if (that == null)
-
 
128810
        return false;
-
 
128811
 
-
 
128812
      boolean this_present_id = true;
-
 
128813
      boolean that_present_id = true;
-
 
128814
      if (this_present_id || that_present_id) {
-
 
128815
        if (!(this_present_id && that_present_id))
-
 
128816
          return false;
-
 
128817
        if (this.id != that.id)
-
 
128818
          return false;
-
 
128819
      }
-
 
128820
 
-
 
128821
      boolean this_present_code = true && this.isSetCode();
-
 
128822
      boolean that_present_code = true && that.isSetCode();
-
 
128823
      if (this_present_code || that_present_code) {
-
 
128824
        if (!(this_present_code && that_present_code))
-
 
128825
          return false;
-
 
128826
        if (!this.code.equals(that.code))
-
 
128827
          return false;
-
 
128828
      }
-
 
128829
 
-
 
128830
      return true;
-
 
128831
    }
-
 
128832
 
-
 
128833
    @Override
-
 
128834
    public int hashCode() {
-
 
128835
      return 0;
-
 
128836
    }
-
 
128837
 
-
 
128838
    public int compareTo(getTelecomCircle_args other) {
-
 
128839
      if (!getClass().equals(other.getClass())) {
-
 
128840
        return getClass().getName().compareTo(other.getClass().getName());
-
 
128841
      }
-
 
128842
 
-
 
128843
      int lastComparison = 0;
-
 
128844
      getTelecomCircle_args typedOther = (getTelecomCircle_args)other;
-
 
128845
 
-
 
128846
      lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
-
 
128847
      if (lastComparison != 0) {
-
 
128848
        return lastComparison;
-
 
128849
      }
-
 
128850
      if (isSetId()) {
-
 
128851
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
-
 
128852
        if (lastComparison != 0) {
-
 
128853
          return lastComparison;
-
 
128854
        }
-
 
128855
      }
-
 
128856
      lastComparison = Boolean.valueOf(isSetCode()).compareTo(typedOther.isSetCode());
-
 
128857
      if (lastComparison != 0) {
-
 
128858
        return lastComparison;
-
 
128859
      }
-
 
128860
      if (isSetCode()) {
-
 
128861
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.code, typedOther.code);
-
 
128862
        if (lastComparison != 0) {
-
 
128863
          return lastComparison;
-
 
128864
        }
-
 
128865
      }
-
 
128866
      return 0;
-
 
128867
    }
-
 
128868
 
-
 
128869
    public _Fields fieldForId(int fieldId) {
-
 
128870
      return _Fields.findByThriftId(fieldId);
-
 
128871
    }
-
 
128872
 
-
 
128873
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
128874
      org.apache.thrift.protocol.TField field;
-
 
128875
      iprot.readStructBegin();
-
 
128876
      while (true)
-
 
128877
      {
-
 
128878
        field = iprot.readFieldBegin();
-
 
128879
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
128880
          break;
-
 
128881
        }
-
 
128882
        switch (field.id) {
-
 
128883
          case 1: // ID
-
 
128884
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
128885
              this.id = iprot.readI64();
-
 
128886
              setIdIsSet(true);
-
 
128887
            } else { 
-
 
128888
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
128889
            }
-
 
128890
            break;
-
 
128891
          case 2: // CODE
-
 
128892
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
128893
              this.code = iprot.readString();
-
 
128894
            } else { 
-
 
128895
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
128896
            }
-
 
128897
            break;
-
 
128898
          default:
-
 
128899
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
128900
        }
-
 
128901
        iprot.readFieldEnd();
-
 
128902
      }
-
 
128903
      iprot.readStructEnd();
-
 
128904
      validate();
-
 
128905
    }
-
 
128906
 
-
 
128907
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
128908
      validate();
-
 
128909
 
-
 
128910
      oprot.writeStructBegin(STRUCT_DESC);
-
 
128911
      oprot.writeFieldBegin(ID_FIELD_DESC);
-
 
128912
      oprot.writeI64(this.id);
-
 
128913
      oprot.writeFieldEnd();
-
 
128914
      if (this.code != null) {
-
 
128915
        oprot.writeFieldBegin(CODE_FIELD_DESC);
-
 
128916
        oprot.writeString(this.code);
-
 
128917
        oprot.writeFieldEnd();
-
 
128918
      }
-
 
128919
      oprot.writeFieldStop();
-
 
128920
      oprot.writeStructEnd();
-
 
128921
    }
-
 
128922
 
-
 
128923
    @Override
-
 
128924
    public String toString() {
-
 
128925
      StringBuilder sb = new StringBuilder("getTelecomCircle_args(");
-
 
128926
      boolean first = true;
-
 
128927
 
-
 
128928
      sb.append("id:");
-
 
128929
      sb.append(this.id);
-
 
128930
      first = false;
-
 
128931
      if (!first) sb.append(", ");
-
 
128932
      sb.append("code:");
-
 
128933
      if (this.code == null) {
-
 
128934
        sb.append("null");
-
 
128935
      } else {
-
 
128936
        sb.append(this.code);
-
 
128937
      }
-
 
128938
      first = false;
-
 
128939
      sb.append(")");
-
 
128940
      return sb.toString();
-
 
128941
    }
-
 
128942
 
-
 
128943
    public void validate() throws org.apache.thrift.TException {
-
 
128944
      // check for required fields
-
 
128945
    }
-
 
128946
 
-
 
128947
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
128948
      try {
-
 
128949
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
128950
      } catch (org.apache.thrift.TException te) {
-
 
128951
        throw new java.io.IOException(te);
-
 
128952
      }
-
 
128953
    }
-
 
128954
 
-
 
128955
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
128956
      try {
-
 
128957
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
128958
        __isset_bit_vector = new BitSet(1);
-
 
128959
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
128960
      } catch (org.apache.thrift.TException te) {
-
 
128961
        throw new java.io.IOException(te);
-
 
128962
      }
-
 
128963
    }
-
 
128964
 
-
 
128965
  }
-
 
128966
 
-
 
128967
  public static class getTelecomCircle_result implements org.apache.thrift.TBase<getTelecomCircle_result, getTelecomCircle_result._Fields>, java.io.Serializable, Cloneable   {
-
 
128968
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getTelecomCircle_result");
-
 
128969
 
-
 
128970
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
-
 
128971
 
-
 
128972
    private TelecomCircle success; // required
-
 
128973
 
-
 
128974
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
128975
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
128976
      SUCCESS((short)0, "success");
-
 
128977
 
-
 
128978
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
128979
 
-
 
128980
      static {
-
 
128981
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
128982
          byName.put(field.getFieldName(), field);
-
 
128983
        }
-
 
128984
      }
-
 
128985
 
-
 
128986
      /**
-
 
128987
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
128988
       */
-
 
128989
      public static _Fields findByThriftId(int fieldId) {
-
 
128990
        switch(fieldId) {
-
 
128991
          case 0: // SUCCESS
-
 
128992
            return SUCCESS;
-
 
128993
          default:
-
 
128994
            return null;
-
 
128995
        }
-
 
128996
      }
-
 
128997
 
-
 
128998
      /**
-
 
128999
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
129000
       * if it is not found.
-
 
129001
       */
-
 
129002
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
129003
        _Fields fields = findByThriftId(fieldId);
-
 
129004
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
129005
        return fields;
-
 
129006
      }
-
 
129007
 
-
 
129008
      /**
-
 
129009
       * Find the _Fields constant that matches name, or null if its not found.
-
 
129010
       */
-
 
129011
      public static _Fields findByName(String name) {
-
 
129012
        return byName.get(name);
-
 
129013
      }
-
 
129014
 
-
 
129015
      private final short _thriftId;
-
 
129016
      private final String _fieldName;
-
 
129017
 
-
 
129018
      _Fields(short thriftId, String fieldName) {
-
 
129019
        _thriftId = thriftId;
-
 
129020
        _fieldName = fieldName;
-
 
129021
      }
-
 
129022
 
-
 
129023
      public short getThriftFieldId() {
-
 
129024
        return _thriftId;
-
 
129025
      }
-
 
129026
 
-
 
129027
      public String getFieldName() {
-
 
129028
        return _fieldName;
-
 
129029
      }
-
 
129030
    }
-
 
129031
 
-
 
129032
    // isset id assignments
-
 
129033
 
-
 
129034
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
129035
    static {
-
 
129036
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
129037
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
129038
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TelecomCircle.class)));
-
 
129039
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
129040
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTelecomCircle_result.class, metaDataMap);
-
 
129041
    }
-
 
129042
 
-
 
129043
    public getTelecomCircle_result() {
-
 
129044
    }
-
 
129045
 
-
 
129046
    public getTelecomCircle_result(
-
 
129047
      TelecomCircle success)
-
 
129048
    {
-
 
129049
      this();
-
 
129050
      this.success = success;
-
 
129051
    }
-
 
129052
 
-
 
129053
    /**
-
 
129054
     * Performs a deep copy on <i>other</i>.
-
 
129055
     */
-
 
129056
    public getTelecomCircle_result(getTelecomCircle_result other) {
-
 
129057
      if (other.isSetSuccess()) {
-
 
129058
        this.success = new TelecomCircle(other.success);
-
 
129059
      }
-
 
129060
    }
-
 
129061
 
-
 
129062
    public getTelecomCircle_result deepCopy() {
-
 
129063
      return new getTelecomCircle_result(this);
-
 
129064
    }
-
 
129065
 
-
 
129066
    @Override
-
 
129067
    public void clear() {
-
 
129068
      this.success = null;
-
 
129069
    }
-
 
129070
 
-
 
129071
    public TelecomCircle getSuccess() {
-
 
129072
      return this.success;
-
 
129073
    }
-
 
129074
 
-
 
129075
    public void setSuccess(TelecomCircle success) {
-
 
129076
      this.success = success;
-
 
129077
    }
-
 
129078
 
-
 
129079
    public void unsetSuccess() {
-
 
129080
      this.success = null;
-
 
129081
    }
-
 
129082
 
-
 
129083
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
129084
    public boolean isSetSuccess() {
-
 
129085
      return this.success != null;
-
 
129086
    }
-
 
129087
 
-
 
129088
    public void setSuccessIsSet(boolean value) {
-
 
129089
      if (!value) {
-
 
129090
        this.success = null;
-
 
129091
      }
-
 
129092
    }
-
 
129093
 
-
 
129094
    public void setFieldValue(_Fields field, Object value) {
-
 
129095
      switch (field) {
-
 
129096
      case SUCCESS:
-
 
129097
        if (value == null) {
-
 
129098
          unsetSuccess();
-
 
129099
        } else {
-
 
129100
          setSuccess((TelecomCircle)value);
-
 
129101
        }
-
 
129102
        break;
-
 
129103
 
-
 
129104
      }
-
 
129105
    }
-
 
129106
 
-
 
129107
    public Object getFieldValue(_Fields field) {
-
 
129108
      switch (field) {
-
 
129109
      case SUCCESS:
-
 
129110
        return getSuccess();
-
 
129111
 
-
 
129112
      }
-
 
129113
      throw new IllegalStateException();
-
 
129114
    }
-
 
129115
 
-
 
129116
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
129117
    public boolean isSet(_Fields field) {
-
 
129118
      if (field == null) {
-
 
129119
        throw new IllegalArgumentException();
-
 
129120
      }
-
 
129121
 
-
 
129122
      switch (field) {
-
 
129123
      case SUCCESS:
-
 
129124
        return isSetSuccess();
-
 
129125
      }
-
 
129126
      throw new IllegalStateException();
-
 
129127
    }
-
 
129128
 
-
 
129129
    @Override
-
 
129130
    public boolean equals(Object that) {
-
 
129131
      if (that == null)
-
 
129132
        return false;
-
 
129133
      if (that instanceof getTelecomCircle_result)
-
 
129134
        return this.equals((getTelecomCircle_result)that);
-
 
129135
      return false;
-
 
129136
    }
-
 
129137
 
-
 
129138
    public boolean equals(getTelecomCircle_result that) {
-
 
129139
      if (that == null)
-
 
129140
        return false;
-
 
129141
 
-
 
129142
      boolean this_present_success = true && this.isSetSuccess();
-
 
129143
      boolean that_present_success = true && that.isSetSuccess();
-
 
129144
      if (this_present_success || that_present_success) {
-
 
129145
        if (!(this_present_success && that_present_success))
-
 
129146
          return false;
-
 
129147
        if (!this.success.equals(that.success))
-
 
129148
          return false;
-
 
129149
      }
-
 
129150
 
-
 
129151
      return true;
-
 
129152
    }
-
 
129153
 
-
 
129154
    @Override
-
 
129155
    public int hashCode() {
-
 
129156
      return 0;
-
 
129157
    }
-
 
129158
 
-
 
129159
    public int compareTo(getTelecomCircle_result other) {
-
 
129160
      if (!getClass().equals(other.getClass())) {
-
 
129161
        return getClass().getName().compareTo(other.getClass().getName());
-
 
129162
      }
-
 
129163
 
-
 
129164
      int lastComparison = 0;
-
 
129165
      getTelecomCircle_result typedOther = (getTelecomCircle_result)other;
-
 
129166
 
-
 
129167
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
129168
      if (lastComparison != 0) {
-
 
129169
        return lastComparison;
-
 
129170
      }
-
 
129171
      if (isSetSuccess()) {
-
 
129172
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
129173
        if (lastComparison != 0) {
-
 
129174
          return lastComparison;
-
 
129175
        }
-
 
129176
      }
-
 
129177
      return 0;
-
 
129178
    }
-
 
129179
 
-
 
129180
    public _Fields fieldForId(int fieldId) {
-
 
129181
      return _Fields.findByThriftId(fieldId);
-
 
129182
    }
-
 
129183
 
-
 
129184
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
129185
      org.apache.thrift.protocol.TField field;
-
 
129186
      iprot.readStructBegin();
-
 
129187
      while (true)
-
 
129188
      {
-
 
129189
        field = iprot.readFieldBegin();
-
 
129190
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
129191
          break;
-
 
129192
        }
-
 
129193
        switch (field.id) {
-
 
129194
          case 0: // SUCCESS
-
 
129195
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
129196
              this.success = new TelecomCircle();
-
 
129197
              this.success.read(iprot);
-
 
129198
            } else { 
-
 
129199
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
129200
            }
-
 
129201
            break;
-
 
129202
          default:
-
 
129203
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
129204
        }
-
 
129205
        iprot.readFieldEnd();
-
 
129206
      }
-
 
129207
      iprot.readStructEnd();
-
 
129208
      validate();
-
 
129209
    }
-
 
129210
 
-
 
129211
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
129212
      oprot.writeStructBegin(STRUCT_DESC);
-
 
129213
 
-
 
129214
      if (this.isSetSuccess()) {
-
 
129215
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
129216
        this.success.write(oprot);
-
 
129217
        oprot.writeFieldEnd();
-
 
129218
      }
-
 
129219
      oprot.writeFieldStop();
-
 
129220
      oprot.writeStructEnd();
-
 
129221
    }
-
 
129222
 
-
 
129223
    @Override
-
 
129224
    public String toString() {
-
 
129225
      StringBuilder sb = new StringBuilder("getTelecomCircle_result(");
-
 
129226
      boolean first = true;
-
 
129227
 
-
 
129228
      sb.append("success:");
-
 
129229
      if (this.success == null) {
-
 
129230
        sb.append("null");
127717
      } else {
129231
      } else {
127718
        sb.append(this.success);
129232
        sb.append(this.success);
127719
      }
129233
      }
127720
      first = false;
129234
      first = false;
127721
      sb.append(")");
129235
      sb.append(")");