Subversion Repositories SmartDukaan

Rev

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

Rev 6039 Rev 6511
Line 154... Line 154...
154
     * @param catalogItemId
154
     * @param catalogItemId
155
     */
155
     */
156
    public Item addSimilarItem(long itemId, long catalogItemId) throws CatalogServiceException, org.apache.thrift.TException;
156
    public Item addSimilarItem(long itemId, long catalogItemId) throws CatalogServiceException, org.apache.thrift.TException;
157
 
157
 
158
    /**
158
    /**
-
 
159
     * Tag Related
-
 
160
     * 
-
 
161
     * @param displayName
-
 
162
     * @param itemId
-
 
163
     */
-
 
164
    public boolean addTag(String displayName, long itemId) throws org.apache.thrift.TException;
-
 
165
 
-
 
166
    public boolean deleteEntityTag(String displayName, long itemId) throws org.apache.thrift.TException;
-
 
167
 
-
 
168
    public boolean deleteTag(String displayName) throws org.apache.thrift.TException;
-
 
169
 
-
 
170
    public List<String> getAllTags() throws org.apache.thrift.TException;
-
 
171
 
-
 
172
    public List<Long> getAllEntitiesByTagName(String displayName) throws org.apache.thrift.TException;
-
 
173
 
-
 
174
    /**
159
     * Delete similar item.
175
     * Delete similar item.
160
     * 
176
     * 
161
     * @param itemId
177
     * @param itemId
162
     * @param catalogItemId
178
     * @param catalogItemId
163
     */
179
     */
Line 398... Line 414...
398
 
414
 
399
    public void getAllSimilarItems(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllSimilarItems_call> resultHandler) throws org.apache.thrift.TException;
415
    public void getAllSimilarItems(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllSimilarItems_call> resultHandler) throws org.apache.thrift.TException;
400
 
416
 
401
    public void addSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
417
    public void addSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
402
 
418
 
-
 
419
    public void addTag(String displayName, long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addTag_call> resultHandler) throws org.apache.thrift.TException;
-
 
420
 
-
 
421
    public void deleteEntityTag(String displayName, long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteEntityTag_call> resultHandler) throws org.apache.thrift.TException;
-
 
422
 
-
 
423
    public void deleteTag(String displayName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteTag_call> resultHandler) throws org.apache.thrift.TException;
-
 
424
 
-
 
425
    public void getAllTags(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllTags_call> resultHandler) throws org.apache.thrift.TException;
-
 
426
 
-
 
427
    public void getAllEntitiesByTagName(String displayName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEntitiesByTagName_call> resultHandler) throws org.apache.thrift.TException;
-
 
428
 
403
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
429
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
404
 
430
 
405
    public void checkSimilarItem(String brand, String modelNumber, String modelName, String color, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.checkSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
431
    public void checkSimilarItem(String brand, String modelNumber, String modelName, String color, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.checkSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
406
 
432
 
407
    public void validateRiskyStatus(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateRiskyStatus_call> resultHandler) throws org.apache.thrift.TException;
433
    public void validateRiskyStatus(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateRiskyStatus_call> resultHandler) throws org.apache.thrift.TException;
Line 1350... Line 1376...
1350
        throw result.cex;
1376
        throw result.cex;
1351
      }
1377
      }
1352
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addSimilarItem failed: unknown result");
1378
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addSimilarItem failed: unknown result");
1353
    }
1379
    }
1354
 
1380
 
-
 
1381
    public boolean addTag(String displayName, long itemId) throws org.apache.thrift.TException
-
 
1382
    {
-
 
1383
      send_addTag(displayName, itemId);
-
 
1384
      return recv_addTag();
-
 
1385
    }
-
 
1386
 
-
 
1387
    public void send_addTag(String displayName, long itemId) throws org.apache.thrift.TException
-
 
1388
    {
-
 
1389
      addTag_args args = new addTag_args();
-
 
1390
      args.setDisplayName(displayName);
-
 
1391
      args.setItemId(itemId);
-
 
1392
      sendBase("addTag", args);
-
 
1393
    }
-
 
1394
 
-
 
1395
    public boolean recv_addTag() throws org.apache.thrift.TException
-
 
1396
    {
-
 
1397
      addTag_result result = new addTag_result();
-
 
1398
      receiveBase(result, "addTag");
-
 
1399
      if (result.isSetSuccess()) {
-
 
1400
        return result.success;
-
 
1401
      }
-
 
1402
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addTag failed: unknown result");
-
 
1403
    }
-
 
1404
 
-
 
1405
    public boolean deleteEntityTag(String displayName, long itemId) throws org.apache.thrift.TException
-
 
1406
    {
-
 
1407
      send_deleteEntityTag(displayName, itemId);
-
 
1408
      return recv_deleteEntityTag();
-
 
1409
    }
-
 
1410
 
-
 
1411
    public void send_deleteEntityTag(String displayName, long itemId) throws org.apache.thrift.TException
-
 
1412
    {
-
 
1413
      deleteEntityTag_args args = new deleteEntityTag_args();
-
 
1414
      args.setDisplayName(displayName);
-
 
1415
      args.setItemId(itemId);
-
 
1416
      sendBase("deleteEntityTag", args);
-
 
1417
    }
-
 
1418
 
-
 
1419
    public boolean recv_deleteEntityTag() throws org.apache.thrift.TException
-
 
1420
    {
-
 
1421
      deleteEntityTag_result result = new deleteEntityTag_result();
-
 
1422
      receiveBase(result, "deleteEntityTag");
-
 
1423
      if (result.isSetSuccess()) {
-
 
1424
        return result.success;
-
 
1425
      }
-
 
1426
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteEntityTag failed: unknown result");
-
 
1427
    }
-
 
1428
 
-
 
1429
    public boolean deleteTag(String displayName) throws org.apache.thrift.TException
-
 
1430
    {
-
 
1431
      send_deleteTag(displayName);
-
 
1432
      return recv_deleteTag();
-
 
1433
    }
-
 
1434
 
-
 
1435
    public void send_deleteTag(String displayName) throws org.apache.thrift.TException
-
 
1436
    {
-
 
1437
      deleteTag_args args = new deleteTag_args();
-
 
1438
      args.setDisplayName(displayName);
-
 
1439
      sendBase("deleteTag", args);
-
 
1440
    }
-
 
1441
 
-
 
1442
    public boolean recv_deleteTag() throws org.apache.thrift.TException
-
 
1443
    {
-
 
1444
      deleteTag_result result = new deleteTag_result();
-
 
1445
      receiveBase(result, "deleteTag");
-
 
1446
      if (result.isSetSuccess()) {
-
 
1447
        return result.success;
-
 
1448
      }
-
 
1449
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteTag failed: unknown result");
-
 
1450
    }
-
 
1451
 
-
 
1452
    public List<String> getAllTags() throws org.apache.thrift.TException
-
 
1453
    {
-
 
1454
      send_getAllTags();
-
 
1455
      return recv_getAllTags();
-
 
1456
    }
-
 
1457
 
-
 
1458
    public void send_getAllTags() throws org.apache.thrift.TException
-
 
1459
    {
-
 
1460
      getAllTags_args args = new getAllTags_args();
-
 
1461
      sendBase("getAllTags", args);
-
 
1462
    }
-
 
1463
 
-
 
1464
    public List<String> recv_getAllTags() throws org.apache.thrift.TException
-
 
1465
    {
-
 
1466
      getAllTags_result result = new getAllTags_result();
-
 
1467
      receiveBase(result, "getAllTags");
-
 
1468
      if (result.isSetSuccess()) {
-
 
1469
        return result.success;
-
 
1470
      }
-
 
1471
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllTags failed: unknown result");
-
 
1472
    }
-
 
1473
 
-
 
1474
    public List<Long> getAllEntitiesByTagName(String displayName) throws org.apache.thrift.TException
-
 
1475
    {
-
 
1476
      send_getAllEntitiesByTagName(displayName);
-
 
1477
      return recv_getAllEntitiesByTagName();
-
 
1478
    }
-
 
1479
 
-
 
1480
    public void send_getAllEntitiesByTagName(String displayName) throws org.apache.thrift.TException
-
 
1481
    {
-
 
1482
      getAllEntitiesByTagName_args args = new getAllEntitiesByTagName_args();
-
 
1483
      args.setDisplayName(displayName);
-
 
1484
      sendBase("getAllEntitiesByTagName", args);
-
 
1485
    }
-
 
1486
 
-
 
1487
    public List<Long> recv_getAllEntitiesByTagName() throws org.apache.thrift.TException
-
 
1488
    {
-
 
1489
      getAllEntitiesByTagName_result result = new getAllEntitiesByTagName_result();
-
 
1490
      receiveBase(result, "getAllEntitiesByTagName");
-
 
1491
      if (result.isSetSuccess()) {
-
 
1492
        return result.success;
-
 
1493
      }
-
 
1494
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllEntitiesByTagName failed: unknown result");
-
 
1495
    }
-
 
1496
 
1355
    public boolean deleteSimilarItem(long itemId, long catalogItemId) throws CatalogServiceException, org.apache.thrift.TException
1497
    public boolean deleteSimilarItem(long itemId, long catalogItemId) throws CatalogServiceException, org.apache.thrift.TException
1356
    {
1498
    {
1357
      send_deleteSimilarItem(itemId, catalogItemId);
1499
      send_deleteSimilarItem(itemId, catalogItemId);
1358
      return recv_deleteSimilarItem();
1500
      return recv_deleteSimilarItem();
1359
    }
1501
    }
Line 3202... Line 3344...
3202
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3344
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3203
        return (new Client(prot)).recv_addSimilarItem();
3345
        return (new Client(prot)).recv_addSimilarItem();
3204
      }
3346
      }
3205
    }
3347
    }
3206
 
3348
 
-
 
3349
    public void addTag(String displayName, long itemId, org.apache.thrift.async.AsyncMethodCallback<addTag_call> resultHandler) throws org.apache.thrift.TException {
-
 
3350
      checkReady();
-
 
3351
      addTag_call method_call = new addTag_call(displayName, itemId, resultHandler, this, ___protocolFactory, ___transport);
-
 
3352
      this.___currentMethod = method_call;
-
 
3353
      ___manager.call(method_call);
-
 
3354
    }
-
 
3355
 
-
 
3356
    public static class addTag_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
3357
      private String displayName;
-
 
3358
      private long itemId;
-
 
3359
      public addTag_call(String displayName, long itemId, org.apache.thrift.async.AsyncMethodCallback<addTag_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 {
-
 
3360
        super(client, protocolFactory, transport, resultHandler, false);
-
 
3361
        this.displayName = displayName;
-
 
3362
        this.itemId = itemId;
-
 
3363
      }
-
 
3364
 
-
 
3365
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
3366
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addTag", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
3367
        addTag_args args = new addTag_args();
-
 
3368
        args.setDisplayName(displayName);
-
 
3369
        args.setItemId(itemId);
-
 
3370
        args.write(prot);
-
 
3371
        prot.writeMessageEnd();
-
 
3372
      }
-
 
3373
 
-
 
3374
      public boolean getResult() throws org.apache.thrift.TException {
-
 
3375
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
3376
          throw new IllegalStateException("Method call not finished!");
-
 
3377
        }
-
 
3378
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
3379
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
3380
        return (new Client(prot)).recv_addTag();
-
 
3381
      }
-
 
3382
    }
-
 
3383
 
-
 
3384
    public void deleteEntityTag(String displayName, long itemId, org.apache.thrift.async.AsyncMethodCallback<deleteEntityTag_call> resultHandler) throws org.apache.thrift.TException {
-
 
3385
      checkReady();
-
 
3386
      deleteEntityTag_call method_call = new deleteEntityTag_call(displayName, itemId, resultHandler, this, ___protocolFactory, ___transport);
-
 
3387
      this.___currentMethod = method_call;
-
 
3388
      ___manager.call(method_call);
-
 
3389
    }
-
 
3390
 
-
 
3391
    public static class deleteEntityTag_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
3392
      private String displayName;
-
 
3393
      private long itemId;
-
 
3394
      public deleteEntityTag_call(String displayName, long itemId, org.apache.thrift.async.AsyncMethodCallback<deleteEntityTag_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 {
-
 
3395
        super(client, protocolFactory, transport, resultHandler, false);
-
 
3396
        this.displayName = displayName;
-
 
3397
        this.itemId = itemId;
-
 
3398
      }
-
 
3399
 
-
 
3400
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
3401
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteEntityTag", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
3402
        deleteEntityTag_args args = new deleteEntityTag_args();
-
 
3403
        args.setDisplayName(displayName);
-
 
3404
        args.setItemId(itemId);
-
 
3405
        args.write(prot);
-
 
3406
        prot.writeMessageEnd();
-
 
3407
      }
-
 
3408
 
-
 
3409
      public boolean getResult() throws org.apache.thrift.TException {
-
 
3410
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
3411
          throw new IllegalStateException("Method call not finished!");
-
 
3412
        }
-
 
3413
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
3414
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
3415
        return (new Client(prot)).recv_deleteEntityTag();
-
 
3416
      }
-
 
3417
    }
-
 
3418
 
-
 
3419
    public void deleteTag(String displayName, org.apache.thrift.async.AsyncMethodCallback<deleteTag_call> resultHandler) throws org.apache.thrift.TException {
-
 
3420
      checkReady();
-
 
3421
      deleteTag_call method_call = new deleteTag_call(displayName, resultHandler, this, ___protocolFactory, ___transport);
-
 
3422
      this.___currentMethod = method_call;
-
 
3423
      ___manager.call(method_call);
-
 
3424
    }
-
 
3425
 
-
 
3426
    public static class deleteTag_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
3427
      private String displayName;
-
 
3428
      public deleteTag_call(String displayName, org.apache.thrift.async.AsyncMethodCallback<deleteTag_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 {
-
 
3429
        super(client, protocolFactory, transport, resultHandler, false);
-
 
3430
        this.displayName = displayName;
-
 
3431
      }
-
 
3432
 
-
 
3433
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
3434
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteTag", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
3435
        deleteTag_args args = new deleteTag_args();
-
 
3436
        args.setDisplayName(displayName);
-
 
3437
        args.write(prot);
-
 
3438
        prot.writeMessageEnd();
-
 
3439
      }
-
 
3440
 
-
 
3441
      public boolean getResult() throws org.apache.thrift.TException {
-
 
3442
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
3443
          throw new IllegalStateException("Method call not finished!");
-
 
3444
        }
-
 
3445
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
3446
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
3447
        return (new Client(prot)).recv_deleteTag();
-
 
3448
      }
-
 
3449
    }
-
 
3450
 
-
 
3451
    public void getAllTags(org.apache.thrift.async.AsyncMethodCallback<getAllTags_call> resultHandler) throws org.apache.thrift.TException {
-
 
3452
      checkReady();
-
 
3453
      getAllTags_call method_call = new getAllTags_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
3454
      this.___currentMethod = method_call;
-
 
3455
      ___manager.call(method_call);
-
 
3456
    }
-
 
3457
 
-
 
3458
    public static class getAllTags_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
3459
      public getAllTags_call(org.apache.thrift.async.AsyncMethodCallback<getAllTags_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 {
-
 
3460
        super(client, protocolFactory, transport, resultHandler, false);
-
 
3461
      }
-
 
3462
 
-
 
3463
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
3464
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllTags", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
3465
        getAllTags_args args = new getAllTags_args();
-
 
3466
        args.write(prot);
-
 
3467
        prot.writeMessageEnd();
-
 
3468
      }
-
 
3469
 
-
 
3470
      public List<String> getResult() throws org.apache.thrift.TException {
-
 
3471
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
3472
          throw new IllegalStateException("Method call not finished!");
-
 
3473
        }
-
 
3474
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
3475
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
3476
        return (new Client(prot)).recv_getAllTags();
-
 
3477
      }
-
 
3478
    }
-
 
3479
 
-
 
3480
    public void getAllEntitiesByTagName(String displayName, org.apache.thrift.async.AsyncMethodCallback<getAllEntitiesByTagName_call> resultHandler) throws org.apache.thrift.TException {
-
 
3481
      checkReady();
-
 
3482
      getAllEntitiesByTagName_call method_call = new getAllEntitiesByTagName_call(displayName, resultHandler, this, ___protocolFactory, ___transport);
-
 
3483
      this.___currentMethod = method_call;
-
 
3484
      ___manager.call(method_call);
-
 
3485
    }
-
 
3486
 
-
 
3487
    public static class getAllEntitiesByTagName_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
3488
      private String displayName;
-
 
3489
      public getAllEntitiesByTagName_call(String displayName, org.apache.thrift.async.AsyncMethodCallback<getAllEntitiesByTagName_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 {
-
 
3490
        super(client, protocolFactory, transport, resultHandler, false);
-
 
3491
        this.displayName = displayName;
-
 
3492
      }
-
 
3493
 
-
 
3494
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
3495
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllEntitiesByTagName", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
3496
        getAllEntitiesByTagName_args args = new getAllEntitiesByTagName_args();
-
 
3497
        args.setDisplayName(displayName);
-
 
3498
        args.write(prot);
-
 
3499
        prot.writeMessageEnd();
-
 
3500
      }
-
 
3501
 
-
 
3502
      public List<Long> getResult() throws org.apache.thrift.TException {
-
 
3503
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
3504
          throw new IllegalStateException("Method call not finished!");
-
 
3505
        }
-
 
3506
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
3507
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
3508
        return (new Client(prot)).recv_getAllEntitiesByTagName();
-
 
3509
      }
-
 
3510
    }
-
 
3511
 
3207
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException {
3512
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException {
3208
      checkReady();
3513
      checkReady();
3209
      deleteSimilarItem_call method_call = new deleteSimilarItem_call(itemId, catalogItemId, resultHandler, this, ___protocolFactory, ___transport);
3514
      deleteSimilarItem_call method_call = new deleteSimilarItem_call(itemId, catalogItemId, resultHandler, this, ___protocolFactory, ___transport);
3210
      this.___currentMethod = method_call;
3515
      this.___currentMethod = method_call;
3211
      ___manager.call(method_call);
3516
      ___manager.call(method_call);
Line 4225... Line 4530...
4225
      processMap.put("addCategory", new addCategory());
4530
      processMap.put("addCategory", new addCategory());
4226
      processMap.put("getCategory", new getCategory());
4531
      processMap.put("getCategory", new getCategory());
4227
      processMap.put("getAllCategories", new getAllCategories());
4532
      processMap.put("getAllCategories", new getAllCategories());
4228
      processMap.put("getAllSimilarItems", new getAllSimilarItems());
4533
      processMap.put("getAllSimilarItems", new getAllSimilarItems());
4229
      processMap.put("addSimilarItem", new addSimilarItem());
4534
      processMap.put("addSimilarItem", new addSimilarItem());
-
 
4535
      processMap.put("addTag", new addTag());
-
 
4536
      processMap.put("deleteEntityTag", new deleteEntityTag());
-
 
4537
      processMap.put("deleteTag", new deleteTag());
-
 
4538
      processMap.put("getAllTags", new getAllTags());
-
 
4539
      processMap.put("getAllEntitiesByTagName", new getAllEntitiesByTagName());
4230
      processMap.put("deleteSimilarItem", new deleteSimilarItem());
4540
      processMap.put("deleteSimilarItem", new deleteSimilarItem());
4231
      processMap.put("checkSimilarItem", new checkSimilarItem());
4541
      processMap.put("checkSimilarItem", new checkSimilarItem());
4232
      processMap.put("validateRiskyStatus", new validateRiskyStatus());
4542
      processMap.put("validateRiskyStatus", new validateRiskyStatus());
4233
      processMap.put("changeItemRiskyFlag", new changeItemRiskyFlag());
4543
      processMap.put("changeItemRiskyFlag", new changeItemRiskyFlag());
4234
      processMap.put("getItemsByRiskyFlag", new getItemsByRiskyFlag());
4544
      processMap.put("getItemsByRiskyFlag", new getItemsByRiskyFlag());
Line 4923... Line 5233...
4923
        }
5233
        }
4924
        return result;
5234
        return result;
4925
      }
5235
      }
4926
    }
5236
    }
4927
 
5237
 
-
 
5238
    private static class addTag<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addTag_args> {
-
 
5239
      public addTag() {
-
 
5240
        super("addTag");
-
 
5241
      }
-
 
5242
 
-
 
5243
      protected addTag_args getEmptyArgsInstance() {
-
 
5244
        return new addTag_args();
-
 
5245
      }
-
 
5246
 
-
 
5247
      protected addTag_result getResult(I iface, addTag_args args) throws org.apache.thrift.TException {
-
 
5248
        addTag_result result = new addTag_result();
-
 
5249
        result.success = iface.addTag(args.displayName, args.itemId);
-
 
5250
        result.setSuccessIsSet(true);
-
 
5251
        return result;
-
 
5252
      }
-
 
5253
    }
-
 
5254
 
-
 
5255
    private static class deleteEntityTag<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteEntityTag_args> {
-
 
5256
      public deleteEntityTag() {
-
 
5257
        super("deleteEntityTag");
-
 
5258
      }
-
 
5259
 
-
 
5260
      protected deleteEntityTag_args getEmptyArgsInstance() {
-
 
5261
        return new deleteEntityTag_args();
-
 
5262
      }
-
 
5263
 
-
 
5264
      protected deleteEntityTag_result getResult(I iface, deleteEntityTag_args args) throws org.apache.thrift.TException {
-
 
5265
        deleteEntityTag_result result = new deleteEntityTag_result();
-
 
5266
        result.success = iface.deleteEntityTag(args.displayName, args.itemId);
-
 
5267
        result.setSuccessIsSet(true);
-
 
5268
        return result;
-
 
5269
      }
-
 
5270
    }
-
 
5271
 
-
 
5272
    private static class deleteTag<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteTag_args> {
-
 
5273
      public deleteTag() {
-
 
5274
        super("deleteTag");
-
 
5275
      }
-
 
5276
 
-
 
5277
      protected deleteTag_args getEmptyArgsInstance() {
-
 
5278
        return new deleteTag_args();
-
 
5279
      }
-
 
5280
 
-
 
5281
      protected deleteTag_result getResult(I iface, deleteTag_args args) throws org.apache.thrift.TException {
-
 
5282
        deleteTag_result result = new deleteTag_result();
-
 
5283
        result.success = iface.deleteTag(args.displayName);
-
 
5284
        result.setSuccessIsSet(true);
-
 
5285
        return result;
-
 
5286
      }
-
 
5287
    }
-
 
5288
 
-
 
5289
    private static class getAllTags<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllTags_args> {
-
 
5290
      public getAllTags() {
-
 
5291
        super("getAllTags");
-
 
5292
      }
-
 
5293
 
-
 
5294
      protected getAllTags_args getEmptyArgsInstance() {
-
 
5295
        return new getAllTags_args();
-
 
5296
      }
-
 
5297
 
-
 
5298
      protected getAllTags_result getResult(I iface, getAllTags_args args) throws org.apache.thrift.TException {
-
 
5299
        getAllTags_result result = new getAllTags_result();
-
 
5300
        result.success = iface.getAllTags();
-
 
5301
        return result;
-
 
5302
      }
-
 
5303
    }
-
 
5304
 
-
 
5305
    private static class getAllEntitiesByTagName<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllEntitiesByTagName_args> {
-
 
5306
      public getAllEntitiesByTagName() {
-
 
5307
        super("getAllEntitiesByTagName");
-
 
5308
      }
-
 
5309
 
-
 
5310
      protected getAllEntitiesByTagName_args getEmptyArgsInstance() {
-
 
5311
        return new getAllEntitiesByTagName_args();
-
 
5312
      }
-
 
5313
 
-
 
5314
      protected getAllEntitiesByTagName_result getResult(I iface, getAllEntitiesByTagName_args args) throws org.apache.thrift.TException {
-
 
5315
        getAllEntitiesByTagName_result result = new getAllEntitiesByTagName_result();
-
 
5316
        result.success = iface.getAllEntitiesByTagName(args.displayName);
-
 
5317
        return result;
-
 
5318
      }
-
 
5319
    }
-
 
5320
 
4928
    private static class deleteSimilarItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteSimilarItem_args> {
5321
    private static class deleteSimilarItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteSimilarItem_args> {
4929
      public deleteSimilarItem() {
5322
      public deleteSimilarItem() {
4930
        super("deleteSimilarItem");
5323
        super("deleteSimilarItem");
4931
      }
5324
      }
4932
 
5325
 
Line 29476... Line 29869...
29476
      }
29869
      }
29477
    }
29870
    }
29478
 
29871
 
29479
  }
29872
  }
29480
 
29873
 
-
 
29874
  public static class addTag_args implements org.apache.thrift.TBase<addTag_args, addTag_args._Fields>, java.io.Serializable, Cloneable   {
-
 
29875
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addTag_args");
-
 
29876
 
-
 
29877
    private static final org.apache.thrift.protocol.TField DISPLAY_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("displayName", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
29878
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
29879
 
-
 
29880
    private String displayName; // required
-
 
29881
    private long itemId; // required
-
 
29882
 
-
 
29883
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
29884
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
29885
      DISPLAY_NAME((short)1, "displayName"),
-
 
29886
      ITEM_ID((short)2, "itemId");
-
 
29887
 
-
 
29888
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
29889
 
-
 
29890
      static {
-
 
29891
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
29892
          byName.put(field.getFieldName(), field);
-
 
29893
        }
-
 
29894
      }
-
 
29895
 
-
 
29896
      /**
-
 
29897
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
29898
       */
-
 
29899
      public static _Fields findByThriftId(int fieldId) {
-
 
29900
        switch(fieldId) {
-
 
29901
          case 1: // DISPLAY_NAME
-
 
29902
            return DISPLAY_NAME;
-
 
29903
          case 2: // ITEM_ID
-
 
29904
            return ITEM_ID;
-
 
29905
          default:
-
 
29906
            return null;
-
 
29907
        }
-
 
29908
      }
-
 
29909
 
-
 
29910
      /**
-
 
29911
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
29912
       * if it is not found.
-
 
29913
       */
-
 
29914
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
29915
        _Fields fields = findByThriftId(fieldId);
-
 
29916
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
29917
        return fields;
-
 
29918
      }
-
 
29919
 
-
 
29920
      /**
-
 
29921
       * Find the _Fields constant that matches name, or null if its not found.
-
 
29922
       */
-
 
29923
      public static _Fields findByName(String name) {
-
 
29924
        return byName.get(name);
-
 
29925
      }
-
 
29926
 
-
 
29927
      private final short _thriftId;
-
 
29928
      private final String _fieldName;
-
 
29929
 
-
 
29930
      _Fields(short thriftId, String fieldName) {
-
 
29931
        _thriftId = thriftId;
-
 
29932
        _fieldName = fieldName;
-
 
29933
      }
-
 
29934
 
-
 
29935
      public short getThriftFieldId() {
-
 
29936
        return _thriftId;
-
 
29937
      }
-
 
29938
 
-
 
29939
      public String getFieldName() {
-
 
29940
        return _fieldName;
-
 
29941
      }
-
 
29942
    }
-
 
29943
 
-
 
29944
    // isset id assignments
-
 
29945
    private static final int __ITEMID_ISSET_ID = 0;
-
 
29946
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
29947
 
-
 
29948
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
29949
    static {
-
 
29950
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
29951
      tmpMap.put(_Fields.DISPLAY_NAME, new org.apache.thrift.meta_data.FieldMetaData("displayName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
29952
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
29953
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
29954
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
29955
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
29956
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addTag_args.class, metaDataMap);
-
 
29957
    }
-
 
29958
 
-
 
29959
    public addTag_args() {
-
 
29960
    }
-
 
29961
 
-
 
29962
    public addTag_args(
-
 
29963
      String displayName,
-
 
29964
      long itemId)
-
 
29965
    {
-
 
29966
      this();
-
 
29967
      this.displayName = displayName;
-
 
29968
      this.itemId = itemId;
-
 
29969
      setItemIdIsSet(true);
-
 
29970
    }
-
 
29971
 
-
 
29972
    /**
-
 
29973
     * Performs a deep copy on <i>other</i>.
-
 
29974
     */
-
 
29975
    public addTag_args(addTag_args other) {
-
 
29976
      __isset_bit_vector.clear();
-
 
29977
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
29978
      if (other.isSetDisplayName()) {
-
 
29979
        this.displayName = other.displayName;
-
 
29980
      }
-
 
29981
      this.itemId = other.itemId;
-
 
29982
    }
-
 
29983
 
-
 
29984
    public addTag_args deepCopy() {
-
 
29985
      return new addTag_args(this);
-
 
29986
    }
-
 
29987
 
-
 
29988
    @Override
-
 
29989
    public void clear() {
-
 
29990
      this.displayName = null;
-
 
29991
      setItemIdIsSet(false);
-
 
29992
      this.itemId = 0;
-
 
29993
    }
-
 
29994
 
-
 
29995
    public String getDisplayName() {
-
 
29996
      return this.displayName;
-
 
29997
    }
-
 
29998
 
-
 
29999
    public void setDisplayName(String displayName) {
-
 
30000
      this.displayName = displayName;
-
 
30001
    }
-
 
30002
 
-
 
30003
    public void unsetDisplayName() {
-
 
30004
      this.displayName = null;
-
 
30005
    }
-
 
30006
 
-
 
30007
    /** Returns true if field displayName is set (has been assigned a value) and false otherwise */
-
 
30008
    public boolean isSetDisplayName() {
-
 
30009
      return this.displayName != null;
-
 
30010
    }
-
 
30011
 
-
 
30012
    public void setDisplayNameIsSet(boolean value) {
-
 
30013
      if (!value) {
-
 
30014
        this.displayName = null;
-
 
30015
      }
-
 
30016
    }
-
 
30017
 
-
 
30018
    public long getItemId() {
-
 
30019
      return this.itemId;
-
 
30020
    }
-
 
30021
 
-
 
30022
    public void setItemId(long itemId) {
-
 
30023
      this.itemId = itemId;
-
 
30024
      setItemIdIsSet(true);
-
 
30025
    }
-
 
30026
 
-
 
30027
    public void unsetItemId() {
-
 
30028
      __isset_bit_vector.clear(__ITEMID_ISSET_ID);
-
 
30029
    }
-
 
30030
 
-
 
30031
    /** Returns true if field itemId is set (has been assigned a value) and false otherwise */
-
 
30032
    public boolean isSetItemId() {
-
 
30033
      return __isset_bit_vector.get(__ITEMID_ISSET_ID);
-
 
30034
    }
-
 
30035
 
-
 
30036
    public void setItemIdIsSet(boolean value) {
-
 
30037
      __isset_bit_vector.set(__ITEMID_ISSET_ID, value);
-
 
30038
    }
-
 
30039
 
-
 
30040
    public void setFieldValue(_Fields field, Object value) {
-
 
30041
      switch (field) {
-
 
30042
      case DISPLAY_NAME:
-
 
30043
        if (value == null) {
-
 
30044
          unsetDisplayName();
-
 
30045
        } else {
-
 
30046
          setDisplayName((String)value);
-
 
30047
        }
-
 
30048
        break;
-
 
30049
 
-
 
30050
      case ITEM_ID:
-
 
30051
        if (value == null) {
-
 
30052
          unsetItemId();
-
 
30053
        } else {
-
 
30054
          setItemId((Long)value);
-
 
30055
        }
-
 
30056
        break;
-
 
30057
 
-
 
30058
      }
-
 
30059
    }
-
 
30060
 
-
 
30061
    public Object getFieldValue(_Fields field) {
-
 
30062
      switch (field) {
-
 
30063
      case DISPLAY_NAME:
-
 
30064
        return getDisplayName();
-
 
30065
 
-
 
30066
      case ITEM_ID:
-
 
30067
        return Long.valueOf(getItemId());
-
 
30068
 
-
 
30069
      }
-
 
30070
      throw new IllegalStateException();
-
 
30071
    }
-
 
30072
 
-
 
30073
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
30074
    public boolean isSet(_Fields field) {
-
 
30075
      if (field == null) {
-
 
30076
        throw new IllegalArgumentException();
-
 
30077
      }
-
 
30078
 
-
 
30079
      switch (field) {
-
 
30080
      case DISPLAY_NAME:
-
 
30081
        return isSetDisplayName();
-
 
30082
      case ITEM_ID:
-
 
30083
        return isSetItemId();
-
 
30084
      }
-
 
30085
      throw new IllegalStateException();
-
 
30086
    }
-
 
30087
 
-
 
30088
    @Override
-
 
30089
    public boolean equals(Object that) {
-
 
30090
      if (that == null)
-
 
30091
        return false;
-
 
30092
      if (that instanceof addTag_args)
-
 
30093
        return this.equals((addTag_args)that);
-
 
30094
      return false;
-
 
30095
    }
-
 
30096
 
-
 
30097
    public boolean equals(addTag_args that) {
-
 
30098
      if (that == null)
-
 
30099
        return false;
-
 
30100
 
-
 
30101
      boolean this_present_displayName = true && this.isSetDisplayName();
-
 
30102
      boolean that_present_displayName = true && that.isSetDisplayName();
-
 
30103
      if (this_present_displayName || that_present_displayName) {
-
 
30104
        if (!(this_present_displayName && that_present_displayName))
-
 
30105
          return false;
-
 
30106
        if (!this.displayName.equals(that.displayName))
-
 
30107
          return false;
-
 
30108
      }
-
 
30109
 
-
 
30110
      boolean this_present_itemId = true;
-
 
30111
      boolean that_present_itemId = true;
-
 
30112
      if (this_present_itemId || that_present_itemId) {
-
 
30113
        if (!(this_present_itemId && that_present_itemId))
-
 
30114
          return false;
-
 
30115
        if (this.itemId != that.itemId)
-
 
30116
          return false;
-
 
30117
      }
-
 
30118
 
-
 
30119
      return true;
-
 
30120
    }
-
 
30121
 
-
 
30122
    @Override
-
 
30123
    public int hashCode() {
-
 
30124
      return 0;
-
 
30125
    }
-
 
30126
 
-
 
30127
    public int compareTo(addTag_args other) {
-
 
30128
      if (!getClass().equals(other.getClass())) {
-
 
30129
        return getClass().getName().compareTo(other.getClass().getName());
-
 
30130
      }
-
 
30131
 
-
 
30132
      int lastComparison = 0;
-
 
30133
      addTag_args typedOther = (addTag_args)other;
-
 
30134
 
-
 
30135
      lastComparison = Boolean.valueOf(isSetDisplayName()).compareTo(typedOther.isSetDisplayName());
-
 
30136
      if (lastComparison != 0) {
-
 
30137
        return lastComparison;
-
 
30138
      }
-
 
30139
      if (isSetDisplayName()) {
-
 
30140
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.displayName, typedOther.displayName);
-
 
30141
        if (lastComparison != 0) {
-
 
30142
          return lastComparison;
-
 
30143
        }
-
 
30144
      }
-
 
30145
      lastComparison = Boolean.valueOf(isSetItemId()).compareTo(typedOther.isSetItemId());
-
 
30146
      if (lastComparison != 0) {
-
 
30147
        return lastComparison;
-
 
30148
      }
-
 
30149
      if (isSetItemId()) {
-
 
30150
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemId, typedOther.itemId);
-
 
30151
        if (lastComparison != 0) {
-
 
30152
          return lastComparison;
-
 
30153
        }
-
 
30154
      }
-
 
30155
      return 0;
-
 
30156
    }
-
 
30157
 
-
 
30158
    public _Fields fieldForId(int fieldId) {
-
 
30159
      return _Fields.findByThriftId(fieldId);
-
 
30160
    }
-
 
30161
 
-
 
30162
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
30163
      org.apache.thrift.protocol.TField field;
-
 
30164
      iprot.readStructBegin();
-
 
30165
      while (true)
-
 
30166
      {
-
 
30167
        field = iprot.readFieldBegin();
-
 
30168
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
30169
          break;
-
 
30170
        }
-
 
30171
        switch (field.id) {
-
 
30172
          case 1: // DISPLAY_NAME
-
 
30173
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
30174
              this.displayName = iprot.readString();
-
 
30175
            } else { 
-
 
30176
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30177
            }
-
 
30178
            break;
-
 
30179
          case 2: // ITEM_ID
-
 
30180
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
30181
              this.itemId = iprot.readI64();
-
 
30182
              setItemIdIsSet(true);
-
 
30183
            } else { 
-
 
30184
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30185
            }
-
 
30186
            break;
-
 
30187
          default:
-
 
30188
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30189
        }
-
 
30190
        iprot.readFieldEnd();
-
 
30191
      }
-
 
30192
      iprot.readStructEnd();
-
 
30193
      validate();
-
 
30194
    }
-
 
30195
 
-
 
30196
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
30197
      validate();
-
 
30198
 
-
 
30199
      oprot.writeStructBegin(STRUCT_DESC);
-
 
30200
      if (this.displayName != null) {
-
 
30201
        oprot.writeFieldBegin(DISPLAY_NAME_FIELD_DESC);
-
 
30202
        oprot.writeString(this.displayName);
-
 
30203
        oprot.writeFieldEnd();
-
 
30204
      }
-
 
30205
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
30206
      oprot.writeI64(this.itemId);
-
 
30207
      oprot.writeFieldEnd();
-
 
30208
      oprot.writeFieldStop();
-
 
30209
      oprot.writeStructEnd();
-
 
30210
    }
-
 
30211
 
-
 
30212
    @Override
-
 
30213
    public String toString() {
-
 
30214
      StringBuilder sb = new StringBuilder("addTag_args(");
-
 
30215
      boolean first = true;
-
 
30216
 
-
 
30217
      sb.append("displayName:");
-
 
30218
      if (this.displayName == null) {
-
 
30219
        sb.append("null");
-
 
30220
      } else {
-
 
30221
        sb.append(this.displayName);
-
 
30222
      }
-
 
30223
      first = false;
-
 
30224
      if (!first) sb.append(", ");
-
 
30225
      sb.append("itemId:");
-
 
30226
      sb.append(this.itemId);
-
 
30227
      first = false;
-
 
30228
      sb.append(")");
-
 
30229
      return sb.toString();
-
 
30230
    }
-
 
30231
 
-
 
30232
    public void validate() throws org.apache.thrift.TException {
-
 
30233
      // check for required fields
-
 
30234
    }
-
 
30235
 
-
 
30236
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
30237
      try {
-
 
30238
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
30239
      } catch (org.apache.thrift.TException te) {
-
 
30240
        throw new java.io.IOException(te);
-
 
30241
      }
-
 
30242
    }
-
 
30243
 
-
 
30244
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
30245
      try {
-
 
30246
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
30247
        __isset_bit_vector = new BitSet(1);
-
 
30248
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
30249
      } catch (org.apache.thrift.TException te) {
-
 
30250
        throw new java.io.IOException(te);
-
 
30251
      }
-
 
30252
    }
-
 
30253
 
-
 
30254
  }
-
 
30255
 
-
 
30256
  public static class addTag_result implements org.apache.thrift.TBase<addTag_result, addTag_result._Fields>, java.io.Serializable, Cloneable   {
-
 
30257
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addTag_result");
-
 
30258
 
-
 
30259
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
30260
 
-
 
30261
    private boolean success; // required
-
 
30262
 
-
 
30263
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
30264
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
30265
      SUCCESS((short)0, "success");
-
 
30266
 
-
 
30267
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
30268
 
-
 
30269
      static {
-
 
30270
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
30271
          byName.put(field.getFieldName(), field);
-
 
30272
        }
-
 
30273
      }
-
 
30274
 
-
 
30275
      /**
-
 
30276
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
30277
       */
-
 
30278
      public static _Fields findByThriftId(int fieldId) {
-
 
30279
        switch(fieldId) {
-
 
30280
          case 0: // SUCCESS
-
 
30281
            return SUCCESS;
-
 
30282
          default:
-
 
30283
            return null;
-
 
30284
        }
-
 
30285
      }
-
 
30286
 
-
 
30287
      /**
-
 
30288
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
30289
       * if it is not found.
-
 
30290
       */
-
 
30291
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
30292
        _Fields fields = findByThriftId(fieldId);
-
 
30293
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
30294
        return fields;
-
 
30295
      }
-
 
30296
 
-
 
30297
      /**
-
 
30298
       * Find the _Fields constant that matches name, or null if its not found.
-
 
30299
       */
-
 
30300
      public static _Fields findByName(String name) {
-
 
30301
        return byName.get(name);
-
 
30302
      }
-
 
30303
 
-
 
30304
      private final short _thriftId;
-
 
30305
      private final String _fieldName;
-
 
30306
 
-
 
30307
      _Fields(short thriftId, String fieldName) {
-
 
30308
        _thriftId = thriftId;
-
 
30309
        _fieldName = fieldName;
-
 
30310
      }
-
 
30311
 
-
 
30312
      public short getThriftFieldId() {
-
 
30313
        return _thriftId;
-
 
30314
      }
-
 
30315
 
-
 
30316
      public String getFieldName() {
-
 
30317
        return _fieldName;
-
 
30318
      }
-
 
30319
    }
-
 
30320
 
-
 
30321
    // isset id assignments
-
 
30322
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
30323
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
30324
 
-
 
30325
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
30326
    static {
-
 
30327
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
30328
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
30329
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
30330
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
30331
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addTag_result.class, metaDataMap);
-
 
30332
    }
-
 
30333
 
-
 
30334
    public addTag_result() {
-
 
30335
    }
-
 
30336
 
-
 
30337
    public addTag_result(
-
 
30338
      boolean success)
-
 
30339
    {
-
 
30340
      this();
-
 
30341
      this.success = success;
-
 
30342
      setSuccessIsSet(true);
-
 
30343
    }
-
 
30344
 
-
 
30345
    /**
-
 
30346
     * Performs a deep copy on <i>other</i>.
-
 
30347
     */
-
 
30348
    public addTag_result(addTag_result other) {
-
 
30349
      __isset_bit_vector.clear();
-
 
30350
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
30351
      this.success = other.success;
-
 
30352
    }
-
 
30353
 
-
 
30354
    public addTag_result deepCopy() {
-
 
30355
      return new addTag_result(this);
-
 
30356
    }
-
 
30357
 
-
 
30358
    @Override
-
 
30359
    public void clear() {
-
 
30360
      setSuccessIsSet(false);
-
 
30361
      this.success = false;
-
 
30362
    }
-
 
30363
 
-
 
30364
    public boolean isSuccess() {
-
 
30365
      return this.success;
-
 
30366
    }
-
 
30367
 
-
 
30368
    public void setSuccess(boolean success) {
-
 
30369
      this.success = success;
-
 
30370
      setSuccessIsSet(true);
-
 
30371
    }
-
 
30372
 
-
 
30373
    public void unsetSuccess() {
-
 
30374
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
30375
    }
-
 
30376
 
-
 
30377
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
30378
    public boolean isSetSuccess() {
-
 
30379
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
30380
    }
-
 
30381
 
-
 
30382
    public void setSuccessIsSet(boolean value) {
-
 
30383
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
30384
    }
-
 
30385
 
-
 
30386
    public void setFieldValue(_Fields field, Object value) {
-
 
30387
      switch (field) {
-
 
30388
      case SUCCESS:
-
 
30389
        if (value == null) {
-
 
30390
          unsetSuccess();
-
 
30391
        } else {
-
 
30392
          setSuccess((Boolean)value);
-
 
30393
        }
-
 
30394
        break;
-
 
30395
 
-
 
30396
      }
-
 
30397
    }
-
 
30398
 
-
 
30399
    public Object getFieldValue(_Fields field) {
-
 
30400
      switch (field) {
-
 
30401
      case SUCCESS:
-
 
30402
        return Boolean.valueOf(isSuccess());
-
 
30403
 
-
 
30404
      }
-
 
30405
      throw new IllegalStateException();
-
 
30406
    }
-
 
30407
 
-
 
30408
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
30409
    public boolean isSet(_Fields field) {
-
 
30410
      if (field == null) {
-
 
30411
        throw new IllegalArgumentException();
-
 
30412
      }
-
 
30413
 
-
 
30414
      switch (field) {
-
 
30415
      case SUCCESS:
-
 
30416
        return isSetSuccess();
-
 
30417
      }
-
 
30418
      throw new IllegalStateException();
-
 
30419
    }
-
 
30420
 
-
 
30421
    @Override
-
 
30422
    public boolean equals(Object that) {
-
 
30423
      if (that == null)
-
 
30424
        return false;
-
 
30425
      if (that instanceof addTag_result)
-
 
30426
        return this.equals((addTag_result)that);
-
 
30427
      return false;
-
 
30428
    }
-
 
30429
 
-
 
30430
    public boolean equals(addTag_result that) {
-
 
30431
      if (that == null)
-
 
30432
        return false;
-
 
30433
 
-
 
30434
      boolean this_present_success = true;
-
 
30435
      boolean that_present_success = true;
-
 
30436
      if (this_present_success || that_present_success) {
-
 
30437
        if (!(this_present_success && that_present_success))
-
 
30438
          return false;
-
 
30439
        if (this.success != that.success)
-
 
30440
          return false;
-
 
30441
      }
-
 
30442
 
-
 
30443
      return true;
-
 
30444
    }
-
 
30445
 
-
 
30446
    @Override
-
 
30447
    public int hashCode() {
-
 
30448
      return 0;
-
 
30449
    }
-
 
30450
 
-
 
30451
    public int compareTo(addTag_result other) {
-
 
30452
      if (!getClass().equals(other.getClass())) {
-
 
30453
        return getClass().getName().compareTo(other.getClass().getName());
-
 
30454
      }
-
 
30455
 
-
 
30456
      int lastComparison = 0;
-
 
30457
      addTag_result typedOther = (addTag_result)other;
-
 
30458
 
-
 
30459
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
30460
      if (lastComparison != 0) {
-
 
30461
        return lastComparison;
-
 
30462
      }
-
 
30463
      if (isSetSuccess()) {
-
 
30464
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
30465
        if (lastComparison != 0) {
-
 
30466
          return lastComparison;
-
 
30467
        }
-
 
30468
      }
-
 
30469
      return 0;
-
 
30470
    }
-
 
30471
 
-
 
30472
    public _Fields fieldForId(int fieldId) {
-
 
30473
      return _Fields.findByThriftId(fieldId);
-
 
30474
    }
-
 
30475
 
-
 
30476
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
30477
      org.apache.thrift.protocol.TField field;
-
 
30478
      iprot.readStructBegin();
-
 
30479
      while (true)
-
 
30480
      {
-
 
30481
        field = iprot.readFieldBegin();
-
 
30482
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
30483
          break;
-
 
30484
        }
-
 
30485
        switch (field.id) {
-
 
30486
          case 0: // SUCCESS
-
 
30487
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
30488
              this.success = iprot.readBool();
-
 
30489
              setSuccessIsSet(true);
-
 
30490
            } else { 
-
 
30491
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30492
            }
-
 
30493
            break;
-
 
30494
          default:
-
 
30495
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30496
        }
-
 
30497
        iprot.readFieldEnd();
-
 
30498
      }
-
 
30499
      iprot.readStructEnd();
-
 
30500
      validate();
-
 
30501
    }
-
 
30502
 
-
 
30503
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
30504
      oprot.writeStructBegin(STRUCT_DESC);
-
 
30505
 
-
 
30506
      if (this.isSetSuccess()) {
-
 
30507
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
30508
        oprot.writeBool(this.success);
-
 
30509
        oprot.writeFieldEnd();
-
 
30510
      }
-
 
30511
      oprot.writeFieldStop();
-
 
30512
      oprot.writeStructEnd();
-
 
30513
    }
-
 
30514
 
-
 
30515
    @Override
-
 
30516
    public String toString() {
-
 
30517
      StringBuilder sb = new StringBuilder("addTag_result(");
-
 
30518
      boolean first = true;
-
 
30519
 
-
 
30520
      sb.append("success:");
-
 
30521
      sb.append(this.success);
-
 
30522
      first = false;
-
 
30523
      sb.append(")");
-
 
30524
      return sb.toString();
-
 
30525
    }
-
 
30526
 
-
 
30527
    public void validate() throws org.apache.thrift.TException {
-
 
30528
      // check for required fields
-
 
30529
    }
-
 
30530
 
-
 
30531
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
30532
      try {
-
 
30533
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
30534
      } catch (org.apache.thrift.TException te) {
-
 
30535
        throw new java.io.IOException(te);
-
 
30536
      }
-
 
30537
    }
-
 
30538
 
-
 
30539
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
30540
      try {
-
 
30541
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
30542
      } catch (org.apache.thrift.TException te) {
-
 
30543
        throw new java.io.IOException(te);
-
 
30544
      }
-
 
30545
    }
-
 
30546
 
-
 
30547
  }
-
 
30548
 
-
 
30549
  public static class deleteEntityTag_args implements org.apache.thrift.TBase<deleteEntityTag_args, deleteEntityTag_args._Fields>, java.io.Serializable, Cloneable   {
-
 
30550
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteEntityTag_args");
-
 
30551
 
-
 
30552
    private static final org.apache.thrift.protocol.TField DISPLAY_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("displayName", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
30553
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
30554
 
-
 
30555
    private String displayName; // required
-
 
30556
    private long itemId; // required
-
 
30557
 
-
 
30558
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
30559
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
30560
      DISPLAY_NAME((short)1, "displayName"),
-
 
30561
      ITEM_ID((short)2, "itemId");
-
 
30562
 
-
 
30563
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
30564
 
-
 
30565
      static {
-
 
30566
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
30567
          byName.put(field.getFieldName(), field);
-
 
30568
        }
-
 
30569
      }
-
 
30570
 
-
 
30571
      /**
-
 
30572
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
30573
       */
-
 
30574
      public static _Fields findByThriftId(int fieldId) {
-
 
30575
        switch(fieldId) {
-
 
30576
          case 1: // DISPLAY_NAME
-
 
30577
            return DISPLAY_NAME;
-
 
30578
          case 2: // ITEM_ID
-
 
30579
            return ITEM_ID;
-
 
30580
          default:
-
 
30581
            return null;
-
 
30582
        }
-
 
30583
      }
-
 
30584
 
-
 
30585
      /**
-
 
30586
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
30587
       * if it is not found.
-
 
30588
       */
-
 
30589
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
30590
        _Fields fields = findByThriftId(fieldId);
-
 
30591
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
30592
        return fields;
-
 
30593
      }
-
 
30594
 
-
 
30595
      /**
-
 
30596
       * Find the _Fields constant that matches name, or null if its not found.
-
 
30597
       */
-
 
30598
      public static _Fields findByName(String name) {
-
 
30599
        return byName.get(name);
-
 
30600
      }
-
 
30601
 
-
 
30602
      private final short _thriftId;
-
 
30603
      private final String _fieldName;
-
 
30604
 
-
 
30605
      _Fields(short thriftId, String fieldName) {
-
 
30606
        _thriftId = thriftId;
-
 
30607
        _fieldName = fieldName;
-
 
30608
      }
-
 
30609
 
-
 
30610
      public short getThriftFieldId() {
-
 
30611
        return _thriftId;
-
 
30612
      }
-
 
30613
 
-
 
30614
      public String getFieldName() {
-
 
30615
        return _fieldName;
-
 
30616
      }
-
 
30617
    }
-
 
30618
 
-
 
30619
    // isset id assignments
-
 
30620
    private static final int __ITEMID_ISSET_ID = 0;
-
 
30621
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
30622
 
-
 
30623
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
30624
    static {
-
 
30625
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
30626
      tmpMap.put(_Fields.DISPLAY_NAME, new org.apache.thrift.meta_data.FieldMetaData("displayName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
30627
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
30628
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
30629
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
30630
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
30631
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteEntityTag_args.class, metaDataMap);
-
 
30632
    }
-
 
30633
 
-
 
30634
    public deleteEntityTag_args() {
-
 
30635
    }
-
 
30636
 
-
 
30637
    public deleteEntityTag_args(
-
 
30638
      String displayName,
-
 
30639
      long itemId)
-
 
30640
    {
-
 
30641
      this();
-
 
30642
      this.displayName = displayName;
-
 
30643
      this.itemId = itemId;
-
 
30644
      setItemIdIsSet(true);
-
 
30645
    }
-
 
30646
 
-
 
30647
    /**
-
 
30648
     * Performs a deep copy on <i>other</i>.
-
 
30649
     */
-
 
30650
    public deleteEntityTag_args(deleteEntityTag_args other) {
-
 
30651
      __isset_bit_vector.clear();
-
 
30652
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
30653
      if (other.isSetDisplayName()) {
-
 
30654
        this.displayName = other.displayName;
-
 
30655
      }
-
 
30656
      this.itemId = other.itemId;
-
 
30657
    }
-
 
30658
 
-
 
30659
    public deleteEntityTag_args deepCopy() {
-
 
30660
      return new deleteEntityTag_args(this);
-
 
30661
    }
-
 
30662
 
-
 
30663
    @Override
-
 
30664
    public void clear() {
-
 
30665
      this.displayName = null;
-
 
30666
      setItemIdIsSet(false);
-
 
30667
      this.itemId = 0;
-
 
30668
    }
-
 
30669
 
-
 
30670
    public String getDisplayName() {
-
 
30671
      return this.displayName;
-
 
30672
    }
-
 
30673
 
-
 
30674
    public void setDisplayName(String displayName) {
-
 
30675
      this.displayName = displayName;
-
 
30676
    }
-
 
30677
 
-
 
30678
    public void unsetDisplayName() {
-
 
30679
      this.displayName = null;
-
 
30680
    }
-
 
30681
 
-
 
30682
    /** Returns true if field displayName is set (has been assigned a value) and false otherwise */
-
 
30683
    public boolean isSetDisplayName() {
-
 
30684
      return this.displayName != null;
-
 
30685
    }
-
 
30686
 
-
 
30687
    public void setDisplayNameIsSet(boolean value) {
-
 
30688
      if (!value) {
-
 
30689
        this.displayName = null;
-
 
30690
      }
-
 
30691
    }
-
 
30692
 
-
 
30693
    public long getItemId() {
-
 
30694
      return this.itemId;
-
 
30695
    }
-
 
30696
 
-
 
30697
    public void setItemId(long itemId) {
-
 
30698
      this.itemId = itemId;
-
 
30699
      setItemIdIsSet(true);
-
 
30700
    }
-
 
30701
 
-
 
30702
    public void unsetItemId() {
-
 
30703
      __isset_bit_vector.clear(__ITEMID_ISSET_ID);
-
 
30704
    }
-
 
30705
 
-
 
30706
    /** Returns true if field itemId is set (has been assigned a value) and false otherwise */
-
 
30707
    public boolean isSetItemId() {
-
 
30708
      return __isset_bit_vector.get(__ITEMID_ISSET_ID);
-
 
30709
    }
-
 
30710
 
-
 
30711
    public void setItemIdIsSet(boolean value) {
-
 
30712
      __isset_bit_vector.set(__ITEMID_ISSET_ID, value);
-
 
30713
    }
-
 
30714
 
-
 
30715
    public void setFieldValue(_Fields field, Object value) {
-
 
30716
      switch (field) {
-
 
30717
      case DISPLAY_NAME:
-
 
30718
        if (value == null) {
-
 
30719
          unsetDisplayName();
-
 
30720
        } else {
-
 
30721
          setDisplayName((String)value);
-
 
30722
        }
-
 
30723
        break;
-
 
30724
 
-
 
30725
      case ITEM_ID:
-
 
30726
        if (value == null) {
-
 
30727
          unsetItemId();
-
 
30728
        } else {
-
 
30729
          setItemId((Long)value);
-
 
30730
        }
-
 
30731
        break;
-
 
30732
 
-
 
30733
      }
-
 
30734
    }
-
 
30735
 
-
 
30736
    public Object getFieldValue(_Fields field) {
-
 
30737
      switch (field) {
-
 
30738
      case DISPLAY_NAME:
-
 
30739
        return getDisplayName();
-
 
30740
 
-
 
30741
      case ITEM_ID:
-
 
30742
        return Long.valueOf(getItemId());
-
 
30743
 
-
 
30744
      }
-
 
30745
      throw new IllegalStateException();
-
 
30746
    }
-
 
30747
 
-
 
30748
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
30749
    public boolean isSet(_Fields field) {
-
 
30750
      if (field == null) {
-
 
30751
        throw new IllegalArgumentException();
-
 
30752
      }
-
 
30753
 
-
 
30754
      switch (field) {
-
 
30755
      case DISPLAY_NAME:
-
 
30756
        return isSetDisplayName();
-
 
30757
      case ITEM_ID:
-
 
30758
        return isSetItemId();
-
 
30759
      }
-
 
30760
      throw new IllegalStateException();
-
 
30761
    }
-
 
30762
 
-
 
30763
    @Override
-
 
30764
    public boolean equals(Object that) {
-
 
30765
      if (that == null)
-
 
30766
        return false;
-
 
30767
      if (that instanceof deleteEntityTag_args)
-
 
30768
        return this.equals((deleteEntityTag_args)that);
-
 
30769
      return false;
-
 
30770
    }
-
 
30771
 
-
 
30772
    public boolean equals(deleteEntityTag_args that) {
-
 
30773
      if (that == null)
-
 
30774
        return false;
-
 
30775
 
-
 
30776
      boolean this_present_displayName = true && this.isSetDisplayName();
-
 
30777
      boolean that_present_displayName = true && that.isSetDisplayName();
-
 
30778
      if (this_present_displayName || that_present_displayName) {
-
 
30779
        if (!(this_present_displayName && that_present_displayName))
-
 
30780
          return false;
-
 
30781
        if (!this.displayName.equals(that.displayName))
-
 
30782
          return false;
-
 
30783
      }
-
 
30784
 
-
 
30785
      boolean this_present_itemId = true;
-
 
30786
      boolean that_present_itemId = true;
-
 
30787
      if (this_present_itemId || that_present_itemId) {
-
 
30788
        if (!(this_present_itemId && that_present_itemId))
-
 
30789
          return false;
-
 
30790
        if (this.itemId != that.itemId)
-
 
30791
          return false;
-
 
30792
      }
-
 
30793
 
-
 
30794
      return true;
-
 
30795
    }
-
 
30796
 
-
 
30797
    @Override
-
 
30798
    public int hashCode() {
-
 
30799
      return 0;
-
 
30800
    }
-
 
30801
 
-
 
30802
    public int compareTo(deleteEntityTag_args other) {
-
 
30803
      if (!getClass().equals(other.getClass())) {
-
 
30804
        return getClass().getName().compareTo(other.getClass().getName());
-
 
30805
      }
-
 
30806
 
-
 
30807
      int lastComparison = 0;
-
 
30808
      deleteEntityTag_args typedOther = (deleteEntityTag_args)other;
-
 
30809
 
-
 
30810
      lastComparison = Boolean.valueOf(isSetDisplayName()).compareTo(typedOther.isSetDisplayName());
-
 
30811
      if (lastComparison != 0) {
-
 
30812
        return lastComparison;
-
 
30813
      }
-
 
30814
      if (isSetDisplayName()) {
-
 
30815
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.displayName, typedOther.displayName);
-
 
30816
        if (lastComparison != 0) {
-
 
30817
          return lastComparison;
-
 
30818
        }
-
 
30819
      }
-
 
30820
      lastComparison = Boolean.valueOf(isSetItemId()).compareTo(typedOther.isSetItemId());
-
 
30821
      if (lastComparison != 0) {
-
 
30822
        return lastComparison;
-
 
30823
      }
-
 
30824
      if (isSetItemId()) {
-
 
30825
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemId, typedOther.itemId);
-
 
30826
        if (lastComparison != 0) {
-
 
30827
          return lastComparison;
-
 
30828
        }
-
 
30829
      }
-
 
30830
      return 0;
-
 
30831
    }
-
 
30832
 
-
 
30833
    public _Fields fieldForId(int fieldId) {
-
 
30834
      return _Fields.findByThriftId(fieldId);
-
 
30835
    }
-
 
30836
 
-
 
30837
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
30838
      org.apache.thrift.protocol.TField field;
-
 
30839
      iprot.readStructBegin();
-
 
30840
      while (true)
-
 
30841
      {
-
 
30842
        field = iprot.readFieldBegin();
-
 
30843
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
30844
          break;
-
 
30845
        }
-
 
30846
        switch (field.id) {
-
 
30847
          case 1: // DISPLAY_NAME
-
 
30848
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
30849
              this.displayName = iprot.readString();
-
 
30850
            } else { 
-
 
30851
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30852
            }
-
 
30853
            break;
-
 
30854
          case 2: // ITEM_ID
-
 
30855
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
30856
              this.itemId = iprot.readI64();
-
 
30857
              setItemIdIsSet(true);
-
 
30858
            } else { 
-
 
30859
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30860
            }
-
 
30861
            break;
-
 
30862
          default:
-
 
30863
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30864
        }
-
 
30865
        iprot.readFieldEnd();
-
 
30866
      }
-
 
30867
      iprot.readStructEnd();
-
 
30868
      validate();
-
 
30869
    }
-
 
30870
 
-
 
30871
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
30872
      validate();
-
 
30873
 
-
 
30874
      oprot.writeStructBegin(STRUCT_DESC);
-
 
30875
      if (this.displayName != null) {
-
 
30876
        oprot.writeFieldBegin(DISPLAY_NAME_FIELD_DESC);
-
 
30877
        oprot.writeString(this.displayName);
-
 
30878
        oprot.writeFieldEnd();
-
 
30879
      }
-
 
30880
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
30881
      oprot.writeI64(this.itemId);
-
 
30882
      oprot.writeFieldEnd();
-
 
30883
      oprot.writeFieldStop();
-
 
30884
      oprot.writeStructEnd();
-
 
30885
    }
-
 
30886
 
-
 
30887
    @Override
-
 
30888
    public String toString() {
-
 
30889
      StringBuilder sb = new StringBuilder("deleteEntityTag_args(");
-
 
30890
      boolean first = true;
-
 
30891
 
-
 
30892
      sb.append("displayName:");
-
 
30893
      if (this.displayName == null) {
-
 
30894
        sb.append("null");
-
 
30895
      } else {
-
 
30896
        sb.append(this.displayName);
-
 
30897
      }
-
 
30898
      first = false;
-
 
30899
      if (!first) sb.append(", ");
-
 
30900
      sb.append("itemId:");
-
 
30901
      sb.append(this.itemId);
-
 
30902
      first = false;
-
 
30903
      sb.append(")");
-
 
30904
      return sb.toString();
-
 
30905
    }
-
 
30906
 
-
 
30907
    public void validate() throws org.apache.thrift.TException {
-
 
30908
      // check for required fields
-
 
30909
    }
-
 
30910
 
-
 
30911
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
30912
      try {
-
 
30913
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
30914
      } catch (org.apache.thrift.TException te) {
-
 
30915
        throw new java.io.IOException(te);
-
 
30916
      }
-
 
30917
    }
-
 
30918
 
-
 
30919
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
30920
      try {
-
 
30921
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
30922
        __isset_bit_vector = new BitSet(1);
-
 
30923
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
30924
      } catch (org.apache.thrift.TException te) {
-
 
30925
        throw new java.io.IOException(te);
-
 
30926
      }
-
 
30927
    }
-
 
30928
 
-
 
30929
  }
-
 
30930
 
-
 
30931
  public static class deleteEntityTag_result implements org.apache.thrift.TBase<deleteEntityTag_result, deleteEntityTag_result._Fields>, java.io.Serializable, Cloneable   {
-
 
30932
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteEntityTag_result");
-
 
30933
 
-
 
30934
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
30935
 
-
 
30936
    private boolean success; // required
-
 
30937
 
-
 
30938
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
30939
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
30940
      SUCCESS((short)0, "success");
-
 
30941
 
-
 
30942
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
30943
 
-
 
30944
      static {
-
 
30945
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
30946
          byName.put(field.getFieldName(), field);
-
 
30947
        }
-
 
30948
      }
-
 
30949
 
-
 
30950
      /**
-
 
30951
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
30952
       */
-
 
30953
      public static _Fields findByThriftId(int fieldId) {
-
 
30954
        switch(fieldId) {
-
 
30955
          case 0: // SUCCESS
-
 
30956
            return SUCCESS;
-
 
30957
          default:
-
 
30958
            return null;
-
 
30959
        }
-
 
30960
      }
-
 
30961
 
-
 
30962
      /**
-
 
30963
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
30964
       * if it is not found.
-
 
30965
       */
-
 
30966
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
30967
        _Fields fields = findByThriftId(fieldId);
-
 
30968
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
30969
        return fields;
-
 
30970
      }
-
 
30971
 
-
 
30972
      /**
-
 
30973
       * Find the _Fields constant that matches name, or null if its not found.
-
 
30974
       */
-
 
30975
      public static _Fields findByName(String name) {
-
 
30976
        return byName.get(name);
-
 
30977
      }
-
 
30978
 
-
 
30979
      private final short _thriftId;
-
 
30980
      private final String _fieldName;
-
 
30981
 
-
 
30982
      _Fields(short thriftId, String fieldName) {
-
 
30983
        _thriftId = thriftId;
-
 
30984
        _fieldName = fieldName;
-
 
30985
      }
-
 
30986
 
-
 
30987
      public short getThriftFieldId() {
-
 
30988
        return _thriftId;
-
 
30989
      }
-
 
30990
 
-
 
30991
      public String getFieldName() {
-
 
30992
        return _fieldName;
-
 
30993
      }
-
 
30994
    }
-
 
30995
 
-
 
30996
    // isset id assignments
-
 
30997
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
30998
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
30999
 
-
 
31000
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
31001
    static {
-
 
31002
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
31003
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
31004
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
31005
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
31006
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteEntityTag_result.class, metaDataMap);
-
 
31007
    }
-
 
31008
 
-
 
31009
    public deleteEntityTag_result() {
-
 
31010
    }
-
 
31011
 
-
 
31012
    public deleteEntityTag_result(
-
 
31013
      boolean success)
-
 
31014
    {
-
 
31015
      this();
-
 
31016
      this.success = success;
-
 
31017
      setSuccessIsSet(true);
-
 
31018
    }
-
 
31019
 
-
 
31020
    /**
-
 
31021
     * Performs a deep copy on <i>other</i>.
-
 
31022
     */
-
 
31023
    public deleteEntityTag_result(deleteEntityTag_result other) {
-
 
31024
      __isset_bit_vector.clear();
-
 
31025
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
31026
      this.success = other.success;
-
 
31027
    }
-
 
31028
 
-
 
31029
    public deleteEntityTag_result deepCopy() {
-
 
31030
      return new deleteEntityTag_result(this);
-
 
31031
    }
-
 
31032
 
-
 
31033
    @Override
-
 
31034
    public void clear() {
-
 
31035
      setSuccessIsSet(false);
-
 
31036
      this.success = false;
-
 
31037
    }
-
 
31038
 
-
 
31039
    public boolean isSuccess() {
-
 
31040
      return this.success;
-
 
31041
    }
-
 
31042
 
-
 
31043
    public void setSuccess(boolean success) {
-
 
31044
      this.success = success;
-
 
31045
      setSuccessIsSet(true);
-
 
31046
    }
-
 
31047
 
-
 
31048
    public void unsetSuccess() {
-
 
31049
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
31050
    }
-
 
31051
 
-
 
31052
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
31053
    public boolean isSetSuccess() {
-
 
31054
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
31055
    }
-
 
31056
 
-
 
31057
    public void setSuccessIsSet(boolean value) {
-
 
31058
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
31059
    }
-
 
31060
 
-
 
31061
    public void setFieldValue(_Fields field, Object value) {
-
 
31062
      switch (field) {
-
 
31063
      case SUCCESS:
-
 
31064
        if (value == null) {
-
 
31065
          unsetSuccess();
-
 
31066
        } else {
-
 
31067
          setSuccess((Boolean)value);
-
 
31068
        }
-
 
31069
        break;
-
 
31070
 
-
 
31071
      }
-
 
31072
    }
-
 
31073
 
-
 
31074
    public Object getFieldValue(_Fields field) {
-
 
31075
      switch (field) {
-
 
31076
      case SUCCESS:
-
 
31077
        return Boolean.valueOf(isSuccess());
-
 
31078
 
-
 
31079
      }
-
 
31080
      throw new IllegalStateException();
-
 
31081
    }
-
 
31082
 
-
 
31083
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
31084
    public boolean isSet(_Fields field) {
-
 
31085
      if (field == null) {
-
 
31086
        throw new IllegalArgumentException();
-
 
31087
      }
-
 
31088
 
-
 
31089
      switch (field) {
-
 
31090
      case SUCCESS:
-
 
31091
        return isSetSuccess();
-
 
31092
      }
-
 
31093
      throw new IllegalStateException();
-
 
31094
    }
-
 
31095
 
-
 
31096
    @Override
-
 
31097
    public boolean equals(Object that) {
-
 
31098
      if (that == null)
-
 
31099
        return false;
-
 
31100
      if (that instanceof deleteEntityTag_result)
-
 
31101
        return this.equals((deleteEntityTag_result)that);
-
 
31102
      return false;
-
 
31103
    }
-
 
31104
 
-
 
31105
    public boolean equals(deleteEntityTag_result that) {
-
 
31106
      if (that == null)
-
 
31107
        return false;
-
 
31108
 
-
 
31109
      boolean this_present_success = true;
-
 
31110
      boolean that_present_success = true;
-
 
31111
      if (this_present_success || that_present_success) {
-
 
31112
        if (!(this_present_success && that_present_success))
-
 
31113
          return false;
-
 
31114
        if (this.success != that.success)
-
 
31115
          return false;
-
 
31116
      }
-
 
31117
 
-
 
31118
      return true;
-
 
31119
    }
-
 
31120
 
-
 
31121
    @Override
-
 
31122
    public int hashCode() {
-
 
31123
      return 0;
-
 
31124
    }
-
 
31125
 
-
 
31126
    public int compareTo(deleteEntityTag_result other) {
-
 
31127
      if (!getClass().equals(other.getClass())) {
-
 
31128
        return getClass().getName().compareTo(other.getClass().getName());
-
 
31129
      }
-
 
31130
 
-
 
31131
      int lastComparison = 0;
-
 
31132
      deleteEntityTag_result typedOther = (deleteEntityTag_result)other;
-
 
31133
 
-
 
31134
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
31135
      if (lastComparison != 0) {
-
 
31136
        return lastComparison;
-
 
31137
      }
-
 
31138
      if (isSetSuccess()) {
-
 
31139
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
31140
        if (lastComparison != 0) {
-
 
31141
          return lastComparison;
-
 
31142
        }
-
 
31143
      }
-
 
31144
      return 0;
-
 
31145
    }
-
 
31146
 
-
 
31147
    public _Fields fieldForId(int fieldId) {
-
 
31148
      return _Fields.findByThriftId(fieldId);
-
 
31149
    }
-
 
31150
 
-
 
31151
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
31152
      org.apache.thrift.protocol.TField field;
-
 
31153
      iprot.readStructBegin();
-
 
31154
      while (true)
-
 
31155
      {
-
 
31156
        field = iprot.readFieldBegin();
-
 
31157
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
31158
          break;
-
 
31159
        }
-
 
31160
        switch (field.id) {
-
 
31161
          case 0: // SUCCESS
-
 
31162
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
31163
              this.success = iprot.readBool();
-
 
31164
              setSuccessIsSet(true);
-
 
31165
            } else { 
-
 
31166
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31167
            }
-
 
31168
            break;
-
 
31169
          default:
-
 
31170
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31171
        }
-
 
31172
        iprot.readFieldEnd();
-
 
31173
      }
-
 
31174
      iprot.readStructEnd();
-
 
31175
      validate();
-
 
31176
    }
-
 
31177
 
-
 
31178
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
31179
      oprot.writeStructBegin(STRUCT_DESC);
-
 
31180
 
-
 
31181
      if (this.isSetSuccess()) {
-
 
31182
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
31183
        oprot.writeBool(this.success);
-
 
31184
        oprot.writeFieldEnd();
-
 
31185
      }
-
 
31186
      oprot.writeFieldStop();
-
 
31187
      oprot.writeStructEnd();
-
 
31188
    }
-
 
31189
 
-
 
31190
    @Override
-
 
31191
    public String toString() {
-
 
31192
      StringBuilder sb = new StringBuilder("deleteEntityTag_result(");
-
 
31193
      boolean first = true;
-
 
31194
 
-
 
31195
      sb.append("success:");
-
 
31196
      sb.append(this.success);
-
 
31197
      first = false;
-
 
31198
      sb.append(")");
-
 
31199
      return sb.toString();
-
 
31200
    }
-
 
31201
 
-
 
31202
    public void validate() throws org.apache.thrift.TException {
-
 
31203
      // check for required fields
-
 
31204
    }
-
 
31205
 
-
 
31206
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
31207
      try {
-
 
31208
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
31209
      } catch (org.apache.thrift.TException te) {
-
 
31210
        throw new java.io.IOException(te);
-
 
31211
      }
-
 
31212
    }
-
 
31213
 
-
 
31214
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
31215
      try {
-
 
31216
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
31217
      } catch (org.apache.thrift.TException te) {
-
 
31218
        throw new java.io.IOException(te);
-
 
31219
      }
-
 
31220
    }
-
 
31221
 
-
 
31222
  }
-
 
31223
 
-
 
31224
  public static class deleteTag_args implements org.apache.thrift.TBase<deleteTag_args, deleteTag_args._Fields>, java.io.Serializable, Cloneable   {
-
 
31225
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteTag_args");
-
 
31226
 
-
 
31227
    private static final org.apache.thrift.protocol.TField DISPLAY_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("displayName", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
31228
 
-
 
31229
    private String displayName; // required
-
 
31230
 
-
 
31231
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
31232
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
31233
      DISPLAY_NAME((short)1, "displayName");
-
 
31234
 
-
 
31235
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
31236
 
-
 
31237
      static {
-
 
31238
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
31239
          byName.put(field.getFieldName(), field);
-
 
31240
        }
-
 
31241
      }
-
 
31242
 
-
 
31243
      /**
-
 
31244
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
31245
       */
-
 
31246
      public static _Fields findByThriftId(int fieldId) {
-
 
31247
        switch(fieldId) {
-
 
31248
          case 1: // DISPLAY_NAME
-
 
31249
            return DISPLAY_NAME;
-
 
31250
          default:
-
 
31251
            return null;
-
 
31252
        }
-
 
31253
      }
-
 
31254
 
-
 
31255
      /**
-
 
31256
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
31257
       * if it is not found.
-
 
31258
       */
-
 
31259
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
31260
        _Fields fields = findByThriftId(fieldId);
-
 
31261
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
31262
        return fields;
-
 
31263
      }
-
 
31264
 
-
 
31265
      /**
-
 
31266
       * Find the _Fields constant that matches name, or null if its not found.
-
 
31267
       */
-
 
31268
      public static _Fields findByName(String name) {
-
 
31269
        return byName.get(name);
-
 
31270
      }
-
 
31271
 
-
 
31272
      private final short _thriftId;
-
 
31273
      private final String _fieldName;
-
 
31274
 
-
 
31275
      _Fields(short thriftId, String fieldName) {
-
 
31276
        _thriftId = thriftId;
-
 
31277
        _fieldName = fieldName;
-
 
31278
      }
-
 
31279
 
-
 
31280
      public short getThriftFieldId() {
-
 
31281
        return _thriftId;
-
 
31282
      }
-
 
31283
 
-
 
31284
      public String getFieldName() {
-
 
31285
        return _fieldName;
-
 
31286
      }
-
 
31287
    }
-
 
31288
 
-
 
31289
    // isset id assignments
-
 
31290
 
-
 
31291
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
31292
    static {
-
 
31293
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
31294
      tmpMap.put(_Fields.DISPLAY_NAME, new org.apache.thrift.meta_data.FieldMetaData("displayName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
31295
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
31296
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
31297
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteTag_args.class, metaDataMap);
-
 
31298
    }
-
 
31299
 
-
 
31300
    public deleteTag_args() {
-
 
31301
    }
-
 
31302
 
-
 
31303
    public deleteTag_args(
-
 
31304
      String displayName)
-
 
31305
    {
-
 
31306
      this();
-
 
31307
      this.displayName = displayName;
-
 
31308
    }
-
 
31309
 
-
 
31310
    /**
-
 
31311
     * Performs a deep copy on <i>other</i>.
-
 
31312
     */
-
 
31313
    public deleteTag_args(deleteTag_args other) {
-
 
31314
      if (other.isSetDisplayName()) {
-
 
31315
        this.displayName = other.displayName;
-
 
31316
      }
-
 
31317
    }
-
 
31318
 
-
 
31319
    public deleteTag_args deepCopy() {
-
 
31320
      return new deleteTag_args(this);
-
 
31321
    }
-
 
31322
 
-
 
31323
    @Override
-
 
31324
    public void clear() {
-
 
31325
      this.displayName = null;
-
 
31326
    }
-
 
31327
 
-
 
31328
    public String getDisplayName() {
-
 
31329
      return this.displayName;
-
 
31330
    }
-
 
31331
 
-
 
31332
    public void setDisplayName(String displayName) {
-
 
31333
      this.displayName = displayName;
-
 
31334
    }
-
 
31335
 
-
 
31336
    public void unsetDisplayName() {
-
 
31337
      this.displayName = null;
-
 
31338
    }
-
 
31339
 
-
 
31340
    /** Returns true if field displayName is set (has been assigned a value) and false otherwise */
-
 
31341
    public boolean isSetDisplayName() {
-
 
31342
      return this.displayName != null;
-
 
31343
    }
-
 
31344
 
-
 
31345
    public void setDisplayNameIsSet(boolean value) {
-
 
31346
      if (!value) {
-
 
31347
        this.displayName = null;
-
 
31348
      }
-
 
31349
    }
-
 
31350
 
-
 
31351
    public void setFieldValue(_Fields field, Object value) {
-
 
31352
      switch (field) {
-
 
31353
      case DISPLAY_NAME:
-
 
31354
        if (value == null) {
-
 
31355
          unsetDisplayName();
-
 
31356
        } else {
-
 
31357
          setDisplayName((String)value);
-
 
31358
        }
-
 
31359
        break;
-
 
31360
 
-
 
31361
      }
-
 
31362
    }
-
 
31363
 
-
 
31364
    public Object getFieldValue(_Fields field) {
-
 
31365
      switch (field) {
-
 
31366
      case DISPLAY_NAME:
-
 
31367
        return getDisplayName();
-
 
31368
 
-
 
31369
      }
-
 
31370
      throw new IllegalStateException();
-
 
31371
    }
-
 
31372
 
-
 
31373
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
31374
    public boolean isSet(_Fields field) {
-
 
31375
      if (field == null) {
-
 
31376
        throw new IllegalArgumentException();
-
 
31377
      }
-
 
31378
 
-
 
31379
      switch (field) {
-
 
31380
      case DISPLAY_NAME:
-
 
31381
        return isSetDisplayName();
-
 
31382
      }
-
 
31383
      throw new IllegalStateException();
-
 
31384
    }
-
 
31385
 
-
 
31386
    @Override
-
 
31387
    public boolean equals(Object that) {
-
 
31388
      if (that == null)
-
 
31389
        return false;
-
 
31390
      if (that instanceof deleteTag_args)
-
 
31391
        return this.equals((deleteTag_args)that);
-
 
31392
      return false;
-
 
31393
    }
-
 
31394
 
-
 
31395
    public boolean equals(deleteTag_args that) {
-
 
31396
      if (that == null)
-
 
31397
        return false;
-
 
31398
 
-
 
31399
      boolean this_present_displayName = true && this.isSetDisplayName();
-
 
31400
      boolean that_present_displayName = true && that.isSetDisplayName();
-
 
31401
      if (this_present_displayName || that_present_displayName) {
-
 
31402
        if (!(this_present_displayName && that_present_displayName))
-
 
31403
          return false;
-
 
31404
        if (!this.displayName.equals(that.displayName))
-
 
31405
          return false;
-
 
31406
      }
-
 
31407
 
-
 
31408
      return true;
-
 
31409
    }
-
 
31410
 
-
 
31411
    @Override
-
 
31412
    public int hashCode() {
-
 
31413
      return 0;
-
 
31414
    }
-
 
31415
 
-
 
31416
    public int compareTo(deleteTag_args other) {
-
 
31417
      if (!getClass().equals(other.getClass())) {
-
 
31418
        return getClass().getName().compareTo(other.getClass().getName());
-
 
31419
      }
-
 
31420
 
-
 
31421
      int lastComparison = 0;
-
 
31422
      deleteTag_args typedOther = (deleteTag_args)other;
-
 
31423
 
-
 
31424
      lastComparison = Boolean.valueOf(isSetDisplayName()).compareTo(typedOther.isSetDisplayName());
-
 
31425
      if (lastComparison != 0) {
-
 
31426
        return lastComparison;
-
 
31427
      }
-
 
31428
      if (isSetDisplayName()) {
-
 
31429
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.displayName, typedOther.displayName);
-
 
31430
        if (lastComparison != 0) {
-
 
31431
          return lastComparison;
-
 
31432
        }
-
 
31433
      }
-
 
31434
      return 0;
-
 
31435
    }
-
 
31436
 
-
 
31437
    public _Fields fieldForId(int fieldId) {
-
 
31438
      return _Fields.findByThriftId(fieldId);
-
 
31439
    }
-
 
31440
 
-
 
31441
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
31442
      org.apache.thrift.protocol.TField field;
-
 
31443
      iprot.readStructBegin();
-
 
31444
      while (true)
-
 
31445
      {
-
 
31446
        field = iprot.readFieldBegin();
-
 
31447
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
31448
          break;
-
 
31449
        }
-
 
31450
        switch (field.id) {
-
 
31451
          case 1: // DISPLAY_NAME
-
 
31452
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
31453
              this.displayName = iprot.readString();
-
 
31454
            } else { 
-
 
31455
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31456
            }
-
 
31457
            break;
-
 
31458
          default:
-
 
31459
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31460
        }
-
 
31461
        iprot.readFieldEnd();
-
 
31462
      }
-
 
31463
      iprot.readStructEnd();
-
 
31464
      validate();
-
 
31465
    }
-
 
31466
 
-
 
31467
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
31468
      validate();
-
 
31469
 
-
 
31470
      oprot.writeStructBegin(STRUCT_DESC);
-
 
31471
      if (this.displayName != null) {
-
 
31472
        oprot.writeFieldBegin(DISPLAY_NAME_FIELD_DESC);
-
 
31473
        oprot.writeString(this.displayName);
-
 
31474
        oprot.writeFieldEnd();
-
 
31475
      }
-
 
31476
      oprot.writeFieldStop();
-
 
31477
      oprot.writeStructEnd();
-
 
31478
    }
-
 
31479
 
-
 
31480
    @Override
-
 
31481
    public String toString() {
-
 
31482
      StringBuilder sb = new StringBuilder("deleteTag_args(");
-
 
31483
      boolean first = true;
-
 
31484
 
-
 
31485
      sb.append("displayName:");
-
 
31486
      if (this.displayName == null) {
-
 
31487
        sb.append("null");
-
 
31488
      } else {
-
 
31489
        sb.append(this.displayName);
-
 
31490
      }
-
 
31491
      first = false;
-
 
31492
      sb.append(")");
-
 
31493
      return sb.toString();
-
 
31494
    }
-
 
31495
 
-
 
31496
    public void validate() throws org.apache.thrift.TException {
-
 
31497
      // check for required fields
-
 
31498
    }
-
 
31499
 
-
 
31500
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
31501
      try {
-
 
31502
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
31503
      } catch (org.apache.thrift.TException te) {
-
 
31504
        throw new java.io.IOException(te);
-
 
31505
      }
-
 
31506
    }
-
 
31507
 
-
 
31508
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
31509
      try {
-
 
31510
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
31511
      } catch (org.apache.thrift.TException te) {
-
 
31512
        throw new java.io.IOException(te);
-
 
31513
      }
-
 
31514
    }
-
 
31515
 
-
 
31516
  }
-
 
31517
 
-
 
31518
  public static class deleteTag_result implements org.apache.thrift.TBase<deleteTag_result, deleteTag_result._Fields>, java.io.Serializable, Cloneable   {
-
 
31519
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteTag_result");
-
 
31520
 
-
 
31521
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
31522
 
-
 
31523
    private boolean success; // required
-
 
31524
 
-
 
31525
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
31526
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
31527
      SUCCESS((short)0, "success");
-
 
31528
 
-
 
31529
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
31530
 
-
 
31531
      static {
-
 
31532
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
31533
          byName.put(field.getFieldName(), field);
-
 
31534
        }
-
 
31535
      }
-
 
31536
 
-
 
31537
      /**
-
 
31538
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
31539
       */
-
 
31540
      public static _Fields findByThriftId(int fieldId) {
-
 
31541
        switch(fieldId) {
-
 
31542
          case 0: // SUCCESS
-
 
31543
            return SUCCESS;
-
 
31544
          default:
-
 
31545
            return null;
-
 
31546
        }
-
 
31547
      }
-
 
31548
 
-
 
31549
      /**
-
 
31550
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
31551
       * if it is not found.
-
 
31552
       */
-
 
31553
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
31554
        _Fields fields = findByThriftId(fieldId);
-
 
31555
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
31556
        return fields;
-
 
31557
      }
-
 
31558
 
-
 
31559
      /**
-
 
31560
       * Find the _Fields constant that matches name, or null if its not found.
-
 
31561
       */
-
 
31562
      public static _Fields findByName(String name) {
-
 
31563
        return byName.get(name);
-
 
31564
      }
-
 
31565
 
-
 
31566
      private final short _thriftId;
-
 
31567
      private final String _fieldName;
-
 
31568
 
-
 
31569
      _Fields(short thriftId, String fieldName) {
-
 
31570
        _thriftId = thriftId;
-
 
31571
        _fieldName = fieldName;
-
 
31572
      }
-
 
31573
 
-
 
31574
      public short getThriftFieldId() {
-
 
31575
        return _thriftId;
-
 
31576
      }
-
 
31577
 
-
 
31578
      public String getFieldName() {
-
 
31579
        return _fieldName;
-
 
31580
      }
-
 
31581
    }
-
 
31582
 
-
 
31583
    // isset id assignments
-
 
31584
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
31585
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
31586
 
-
 
31587
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
31588
    static {
-
 
31589
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
31590
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
31591
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
31592
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
31593
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteTag_result.class, metaDataMap);
-
 
31594
    }
-
 
31595
 
-
 
31596
    public deleteTag_result() {
-
 
31597
    }
-
 
31598
 
-
 
31599
    public deleteTag_result(
-
 
31600
      boolean success)
-
 
31601
    {
-
 
31602
      this();
-
 
31603
      this.success = success;
-
 
31604
      setSuccessIsSet(true);
-
 
31605
    }
-
 
31606
 
-
 
31607
    /**
-
 
31608
     * Performs a deep copy on <i>other</i>.
-
 
31609
     */
-
 
31610
    public deleteTag_result(deleteTag_result other) {
-
 
31611
      __isset_bit_vector.clear();
-
 
31612
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
31613
      this.success = other.success;
-
 
31614
    }
-
 
31615
 
-
 
31616
    public deleteTag_result deepCopy() {
-
 
31617
      return new deleteTag_result(this);
-
 
31618
    }
-
 
31619
 
-
 
31620
    @Override
-
 
31621
    public void clear() {
-
 
31622
      setSuccessIsSet(false);
-
 
31623
      this.success = false;
-
 
31624
    }
-
 
31625
 
-
 
31626
    public boolean isSuccess() {
-
 
31627
      return this.success;
-
 
31628
    }
-
 
31629
 
-
 
31630
    public void setSuccess(boolean success) {
-
 
31631
      this.success = success;
-
 
31632
      setSuccessIsSet(true);
-
 
31633
    }
-
 
31634
 
-
 
31635
    public void unsetSuccess() {
-
 
31636
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
31637
    }
-
 
31638
 
-
 
31639
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
31640
    public boolean isSetSuccess() {
-
 
31641
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
31642
    }
-
 
31643
 
-
 
31644
    public void setSuccessIsSet(boolean value) {
-
 
31645
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
31646
    }
-
 
31647
 
-
 
31648
    public void setFieldValue(_Fields field, Object value) {
-
 
31649
      switch (field) {
-
 
31650
      case SUCCESS:
-
 
31651
        if (value == null) {
-
 
31652
          unsetSuccess();
-
 
31653
        } else {
-
 
31654
          setSuccess((Boolean)value);
-
 
31655
        }
-
 
31656
        break;
-
 
31657
 
-
 
31658
      }
-
 
31659
    }
-
 
31660
 
-
 
31661
    public Object getFieldValue(_Fields field) {
-
 
31662
      switch (field) {
-
 
31663
      case SUCCESS:
-
 
31664
        return Boolean.valueOf(isSuccess());
-
 
31665
 
-
 
31666
      }
-
 
31667
      throw new IllegalStateException();
-
 
31668
    }
-
 
31669
 
-
 
31670
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
31671
    public boolean isSet(_Fields field) {
-
 
31672
      if (field == null) {
-
 
31673
        throw new IllegalArgumentException();
-
 
31674
      }
-
 
31675
 
-
 
31676
      switch (field) {
-
 
31677
      case SUCCESS:
-
 
31678
        return isSetSuccess();
-
 
31679
      }
-
 
31680
      throw new IllegalStateException();
-
 
31681
    }
-
 
31682
 
-
 
31683
    @Override
-
 
31684
    public boolean equals(Object that) {
-
 
31685
      if (that == null)
-
 
31686
        return false;
-
 
31687
      if (that instanceof deleteTag_result)
-
 
31688
        return this.equals((deleteTag_result)that);
-
 
31689
      return false;
-
 
31690
    }
-
 
31691
 
-
 
31692
    public boolean equals(deleteTag_result that) {
-
 
31693
      if (that == null)
-
 
31694
        return false;
-
 
31695
 
-
 
31696
      boolean this_present_success = true;
-
 
31697
      boolean that_present_success = true;
-
 
31698
      if (this_present_success || that_present_success) {
-
 
31699
        if (!(this_present_success && that_present_success))
-
 
31700
          return false;
-
 
31701
        if (this.success != that.success)
-
 
31702
          return false;
-
 
31703
      }
-
 
31704
 
-
 
31705
      return true;
-
 
31706
    }
-
 
31707
 
-
 
31708
    @Override
-
 
31709
    public int hashCode() {
-
 
31710
      return 0;
-
 
31711
    }
-
 
31712
 
-
 
31713
    public int compareTo(deleteTag_result other) {
-
 
31714
      if (!getClass().equals(other.getClass())) {
-
 
31715
        return getClass().getName().compareTo(other.getClass().getName());
-
 
31716
      }
-
 
31717
 
-
 
31718
      int lastComparison = 0;
-
 
31719
      deleteTag_result typedOther = (deleteTag_result)other;
-
 
31720
 
-
 
31721
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
31722
      if (lastComparison != 0) {
-
 
31723
        return lastComparison;
-
 
31724
      }
-
 
31725
      if (isSetSuccess()) {
-
 
31726
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
31727
        if (lastComparison != 0) {
-
 
31728
          return lastComparison;
-
 
31729
        }
-
 
31730
      }
-
 
31731
      return 0;
-
 
31732
    }
-
 
31733
 
-
 
31734
    public _Fields fieldForId(int fieldId) {
-
 
31735
      return _Fields.findByThriftId(fieldId);
-
 
31736
    }
-
 
31737
 
-
 
31738
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
31739
      org.apache.thrift.protocol.TField field;
-
 
31740
      iprot.readStructBegin();
-
 
31741
      while (true)
-
 
31742
      {
-
 
31743
        field = iprot.readFieldBegin();
-
 
31744
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
31745
          break;
-
 
31746
        }
-
 
31747
        switch (field.id) {
-
 
31748
          case 0: // SUCCESS
-
 
31749
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
31750
              this.success = iprot.readBool();
-
 
31751
              setSuccessIsSet(true);
-
 
31752
            } else { 
-
 
31753
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31754
            }
-
 
31755
            break;
-
 
31756
          default:
-
 
31757
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31758
        }
-
 
31759
        iprot.readFieldEnd();
-
 
31760
      }
-
 
31761
      iprot.readStructEnd();
-
 
31762
      validate();
-
 
31763
    }
-
 
31764
 
-
 
31765
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
31766
      oprot.writeStructBegin(STRUCT_DESC);
-
 
31767
 
-
 
31768
      if (this.isSetSuccess()) {
-
 
31769
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
31770
        oprot.writeBool(this.success);
-
 
31771
        oprot.writeFieldEnd();
-
 
31772
      }
-
 
31773
      oprot.writeFieldStop();
-
 
31774
      oprot.writeStructEnd();
-
 
31775
    }
-
 
31776
 
-
 
31777
    @Override
-
 
31778
    public String toString() {
-
 
31779
      StringBuilder sb = new StringBuilder("deleteTag_result(");
-
 
31780
      boolean first = true;
-
 
31781
 
-
 
31782
      sb.append("success:");
-
 
31783
      sb.append(this.success);
-
 
31784
      first = false;
-
 
31785
      sb.append(")");
-
 
31786
      return sb.toString();
-
 
31787
    }
-
 
31788
 
-
 
31789
    public void validate() throws org.apache.thrift.TException {
-
 
31790
      // check for required fields
-
 
31791
    }
-
 
31792
 
-
 
31793
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
31794
      try {
-
 
31795
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
31796
      } catch (org.apache.thrift.TException te) {
-
 
31797
        throw new java.io.IOException(te);
-
 
31798
      }
-
 
31799
    }
-
 
31800
 
-
 
31801
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
31802
      try {
-
 
31803
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
31804
      } catch (org.apache.thrift.TException te) {
-
 
31805
        throw new java.io.IOException(te);
-
 
31806
      }
-
 
31807
    }
-
 
31808
 
-
 
31809
  }
-
 
31810
 
-
 
31811
  public static class getAllTags_args implements org.apache.thrift.TBase<getAllTags_args, getAllTags_args._Fields>, java.io.Serializable, Cloneable   {
-
 
31812
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllTags_args");
-
 
31813
 
-
 
31814
 
-
 
31815
 
-
 
31816
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
31817
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
31818
;
-
 
31819
 
-
 
31820
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
31821
 
-
 
31822
      static {
-
 
31823
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
31824
          byName.put(field.getFieldName(), field);
-
 
31825
        }
-
 
31826
      }
-
 
31827
 
-
 
31828
      /**
-
 
31829
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
31830
       */
-
 
31831
      public static _Fields findByThriftId(int fieldId) {
-
 
31832
        switch(fieldId) {
-
 
31833
          default:
-
 
31834
            return null;
-
 
31835
        }
-
 
31836
      }
-
 
31837
 
-
 
31838
      /**
-
 
31839
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
31840
       * if it is not found.
-
 
31841
       */
-
 
31842
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
31843
        _Fields fields = findByThriftId(fieldId);
-
 
31844
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
31845
        return fields;
-
 
31846
      }
-
 
31847
 
-
 
31848
      /**
-
 
31849
       * Find the _Fields constant that matches name, or null if its not found.
-
 
31850
       */
-
 
31851
      public static _Fields findByName(String name) {
-
 
31852
        return byName.get(name);
-
 
31853
      }
-
 
31854
 
-
 
31855
      private final short _thriftId;
-
 
31856
      private final String _fieldName;
-
 
31857
 
-
 
31858
      _Fields(short thriftId, String fieldName) {
-
 
31859
        _thriftId = thriftId;
-
 
31860
        _fieldName = fieldName;
-
 
31861
      }
-
 
31862
 
-
 
31863
      public short getThriftFieldId() {
-
 
31864
        return _thriftId;
-
 
31865
      }
-
 
31866
 
-
 
31867
      public String getFieldName() {
-
 
31868
        return _fieldName;
-
 
31869
      }
-
 
31870
    }
-
 
31871
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
31872
    static {
-
 
31873
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
31874
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
31875
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllTags_args.class, metaDataMap);
-
 
31876
    }
-
 
31877
 
-
 
31878
    public getAllTags_args() {
-
 
31879
    }
-
 
31880
 
-
 
31881
    /**
-
 
31882
     * Performs a deep copy on <i>other</i>.
-
 
31883
     */
-
 
31884
    public getAllTags_args(getAllTags_args other) {
-
 
31885
    }
-
 
31886
 
-
 
31887
    public getAllTags_args deepCopy() {
-
 
31888
      return new getAllTags_args(this);
-
 
31889
    }
-
 
31890
 
-
 
31891
    @Override
-
 
31892
    public void clear() {
-
 
31893
    }
-
 
31894
 
-
 
31895
    public void setFieldValue(_Fields field, Object value) {
-
 
31896
      switch (field) {
-
 
31897
      }
-
 
31898
    }
-
 
31899
 
-
 
31900
    public Object getFieldValue(_Fields field) {
-
 
31901
      switch (field) {
-
 
31902
      }
-
 
31903
      throw new IllegalStateException();
-
 
31904
    }
-
 
31905
 
-
 
31906
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
31907
    public boolean isSet(_Fields field) {
-
 
31908
      if (field == null) {
-
 
31909
        throw new IllegalArgumentException();
-
 
31910
      }
-
 
31911
 
-
 
31912
      switch (field) {
-
 
31913
      }
-
 
31914
      throw new IllegalStateException();
-
 
31915
    }
-
 
31916
 
-
 
31917
    @Override
-
 
31918
    public boolean equals(Object that) {
-
 
31919
      if (that == null)
-
 
31920
        return false;
-
 
31921
      if (that instanceof getAllTags_args)
-
 
31922
        return this.equals((getAllTags_args)that);
-
 
31923
      return false;
-
 
31924
    }
-
 
31925
 
-
 
31926
    public boolean equals(getAllTags_args that) {
-
 
31927
      if (that == null)
-
 
31928
        return false;
-
 
31929
 
-
 
31930
      return true;
-
 
31931
    }
-
 
31932
 
-
 
31933
    @Override
-
 
31934
    public int hashCode() {
-
 
31935
      return 0;
-
 
31936
    }
-
 
31937
 
-
 
31938
    public int compareTo(getAllTags_args other) {
-
 
31939
      if (!getClass().equals(other.getClass())) {
-
 
31940
        return getClass().getName().compareTo(other.getClass().getName());
-
 
31941
      }
-
 
31942
 
-
 
31943
      int lastComparison = 0;
-
 
31944
      getAllTags_args typedOther = (getAllTags_args)other;
-
 
31945
 
-
 
31946
      return 0;
-
 
31947
    }
-
 
31948
 
-
 
31949
    public _Fields fieldForId(int fieldId) {
-
 
31950
      return _Fields.findByThriftId(fieldId);
-
 
31951
    }
-
 
31952
 
-
 
31953
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
31954
      org.apache.thrift.protocol.TField field;
-
 
31955
      iprot.readStructBegin();
-
 
31956
      while (true)
-
 
31957
      {
-
 
31958
        field = iprot.readFieldBegin();
-
 
31959
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
31960
          break;
-
 
31961
        }
-
 
31962
        switch (field.id) {
-
 
31963
          default:
-
 
31964
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31965
        }
-
 
31966
        iprot.readFieldEnd();
-
 
31967
      }
-
 
31968
      iprot.readStructEnd();
-
 
31969
      validate();
-
 
31970
    }
-
 
31971
 
-
 
31972
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
31973
      validate();
-
 
31974
 
-
 
31975
      oprot.writeStructBegin(STRUCT_DESC);
-
 
31976
      oprot.writeFieldStop();
-
 
31977
      oprot.writeStructEnd();
-
 
31978
    }
-
 
31979
 
-
 
31980
    @Override
-
 
31981
    public String toString() {
-
 
31982
      StringBuilder sb = new StringBuilder("getAllTags_args(");
-
 
31983
      boolean first = true;
-
 
31984
 
-
 
31985
      sb.append(")");
-
 
31986
      return sb.toString();
-
 
31987
    }
-
 
31988
 
-
 
31989
    public void validate() throws org.apache.thrift.TException {
-
 
31990
      // check for required fields
-
 
31991
    }
-
 
31992
 
-
 
31993
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
31994
      try {
-
 
31995
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
31996
      } catch (org.apache.thrift.TException te) {
-
 
31997
        throw new java.io.IOException(te);
-
 
31998
      }
-
 
31999
    }
-
 
32000
 
-
 
32001
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
32002
      try {
-
 
32003
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
32004
      } catch (org.apache.thrift.TException te) {
-
 
32005
        throw new java.io.IOException(te);
-
 
32006
      }
-
 
32007
    }
-
 
32008
 
-
 
32009
  }
-
 
32010
 
-
 
32011
  public static class getAllTags_result implements org.apache.thrift.TBase<getAllTags_result, getAllTags_result._Fields>, java.io.Serializable, Cloneable   {
-
 
32012
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllTags_result");
-
 
32013
 
-
 
32014
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
32015
 
-
 
32016
    private List<String> success; // required
-
 
32017
 
-
 
32018
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
32019
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
32020
      SUCCESS((short)0, "success");
-
 
32021
 
-
 
32022
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
32023
 
-
 
32024
      static {
-
 
32025
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
32026
          byName.put(field.getFieldName(), field);
-
 
32027
        }
-
 
32028
      }
-
 
32029
 
-
 
32030
      /**
-
 
32031
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
32032
       */
-
 
32033
      public static _Fields findByThriftId(int fieldId) {
-
 
32034
        switch(fieldId) {
-
 
32035
          case 0: // SUCCESS
-
 
32036
            return SUCCESS;
-
 
32037
          default:
-
 
32038
            return null;
-
 
32039
        }
-
 
32040
      }
-
 
32041
 
-
 
32042
      /**
-
 
32043
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
32044
       * if it is not found.
-
 
32045
       */
-
 
32046
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
32047
        _Fields fields = findByThriftId(fieldId);
-
 
32048
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
32049
        return fields;
-
 
32050
      }
-
 
32051
 
-
 
32052
      /**
-
 
32053
       * Find the _Fields constant that matches name, or null if its not found.
-
 
32054
       */
-
 
32055
      public static _Fields findByName(String name) {
-
 
32056
        return byName.get(name);
-
 
32057
      }
-
 
32058
 
-
 
32059
      private final short _thriftId;
-
 
32060
      private final String _fieldName;
-
 
32061
 
-
 
32062
      _Fields(short thriftId, String fieldName) {
-
 
32063
        _thriftId = thriftId;
-
 
32064
        _fieldName = fieldName;
-
 
32065
      }
-
 
32066
 
-
 
32067
      public short getThriftFieldId() {
-
 
32068
        return _thriftId;
-
 
32069
      }
-
 
32070
 
-
 
32071
      public String getFieldName() {
-
 
32072
        return _fieldName;
-
 
32073
      }
-
 
32074
    }
-
 
32075
 
-
 
32076
    // isset id assignments
-
 
32077
 
-
 
32078
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
32079
    static {
-
 
32080
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
32081
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
32082
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
32083
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
-
 
32084
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
32085
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllTags_result.class, metaDataMap);
-
 
32086
    }
-
 
32087
 
-
 
32088
    public getAllTags_result() {
-
 
32089
    }
-
 
32090
 
-
 
32091
    public getAllTags_result(
-
 
32092
      List<String> success)
-
 
32093
    {
-
 
32094
      this();
-
 
32095
      this.success = success;
-
 
32096
    }
-
 
32097
 
-
 
32098
    /**
-
 
32099
     * Performs a deep copy on <i>other</i>.
-
 
32100
     */
-
 
32101
    public getAllTags_result(getAllTags_result other) {
-
 
32102
      if (other.isSetSuccess()) {
-
 
32103
        List<String> __this__success = new ArrayList<String>();
-
 
32104
        for (String other_element : other.success) {
-
 
32105
          __this__success.add(other_element);
-
 
32106
        }
-
 
32107
        this.success = __this__success;
-
 
32108
      }
-
 
32109
    }
-
 
32110
 
-
 
32111
    public getAllTags_result deepCopy() {
-
 
32112
      return new getAllTags_result(this);
-
 
32113
    }
-
 
32114
 
-
 
32115
    @Override
-
 
32116
    public void clear() {
-
 
32117
      this.success = null;
-
 
32118
    }
-
 
32119
 
-
 
32120
    public int getSuccessSize() {
-
 
32121
      return (this.success == null) ? 0 : this.success.size();
-
 
32122
    }
-
 
32123
 
-
 
32124
    public java.util.Iterator<String> getSuccessIterator() {
-
 
32125
      return (this.success == null) ? null : this.success.iterator();
-
 
32126
    }
-
 
32127
 
-
 
32128
    public void addToSuccess(String elem) {
-
 
32129
      if (this.success == null) {
-
 
32130
        this.success = new ArrayList<String>();
-
 
32131
      }
-
 
32132
      this.success.add(elem);
-
 
32133
    }
-
 
32134
 
-
 
32135
    public List<String> getSuccess() {
-
 
32136
      return this.success;
-
 
32137
    }
-
 
32138
 
-
 
32139
    public void setSuccess(List<String> success) {
-
 
32140
      this.success = success;
-
 
32141
    }
-
 
32142
 
-
 
32143
    public void unsetSuccess() {
-
 
32144
      this.success = null;
-
 
32145
    }
-
 
32146
 
-
 
32147
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
32148
    public boolean isSetSuccess() {
-
 
32149
      return this.success != null;
-
 
32150
    }
-
 
32151
 
-
 
32152
    public void setSuccessIsSet(boolean value) {
-
 
32153
      if (!value) {
-
 
32154
        this.success = null;
-
 
32155
      }
-
 
32156
    }
-
 
32157
 
-
 
32158
    public void setFieldValue(_Fields field, Object value) {
-
 
32159
      switch (field) {
-
 
32160
      case SUCCESS:
-
 
32161
        if (value == null) {
-
 
32162
          unsetSuccess();
-
 
32163
        } else {
-
 
32164
          setSuccess((List<String>)value);
-
 
32165
        }
-
 
32166
        break;
-
 
32167
 
-
 
32168
      }
-
 
32169
    }
-
 
32170
 
-
 
32171
    public Object getFieldValue(_Fields field) {
-
 
32172
      switch (field) {
-
 
32173
      case SUCCESS:
-
 
32174
        return getSuccess();
-
 
32175
 
-
 
32176
      }
-
 
32177
      throw new IllegalStateException();
-
 
32178
    }
-
 
32179
 
-
 
32180
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
32181
    public boolean isSet(_Fields field) {
-
 
32182
      if (field == null) {
-
 
32183
        throw new IllegalArgumentException();
-
 
32184
      }
-
 
32185
 
-
 
32186
      switch (field) {
-
 
32187
      case SUCCESS:
-
 
32188
        return isSetSuccess();
-
 
32189
      }
-
 
32190
      throw new IllegalStateException();
-
 
32191
    }
-
 
32192
 
-
 
32193
    @Override
-
 
32194
    public boolean equals(Object that) {
-
 
32195
      if (that == null)
-
 
32196
        return false;
-
 
32197
      if (that instanceof getAllTags_result)
-
 
32198
        return this.equals((getAllTags_result)that);
-
 
32199
      return false;
-
 
32200
    }
-
 
32201
 
-
 
32202
    public boolean equals(getAllTags_result that) {
-
 
32203
      if (that == null)
-
 
32204
        return false;
-
 
32205
 
-
 
32206
      boolean this_present_success = true && this.isSetSuccess();
-
 
32207
      boolean that_present_success = true && that.isSetSuccess();
-
 
32208
      if (this_present_success || that_present_success) {
-
 
32209
        if (!(this_present_success && that_present_success))
-
 
32210
          return false;
-
 
32211
        if (!this.success.equals(that.success))
-
 
32212
          return false;
-
 
32213
      }
-
 
32214
 
-
 
32215
      return true;
-
 
32216
    }
-
 
32217
 
-
 
32218
    @Override
-
 
32219
    public int hashCode() {
-
 
32220
      return 0;
-
 
32221
    }
-
 
32222
 
-
 
32223
    public int compareTo(getAllTags_result other) {
-
 
32224
      if (!getClass().equals(other.getClass())) {
-
 
32225
        return getClass().getName().compareTo(other.getClass().getName());
-
 
32226
      }
-
 
32227
 
-
 
32228
      int lastComparison = 0;
-
 
32229
      getAllTags_result typedOther = (getAllTags_result)other;
-
 
32230
 
-
 
32231
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
32232
      if (lastComparison != 0) {
-
 
32233
        return lastComparison;
-
 
32234
      }
-
 
32235
      if (isSetSuccess()) {
-
 
32236
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
32237
        if (lastComparison != 0) {
-
 
32238
          return lastComparison;
-
 
32239
        }
-
 
32240
      }
-
 
32241
      return 0;
-
 
32242
    }
-
 
32243
 
-
 
32244
    public _Fields fieldForId(int fieldId) {
-
 
32245
      return _Fields.findByThriftId(fieldId);
-
 
32246
    }
-
 
32247
 
-
 
32248
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
32249
      org.apache.thrift.protocol.TField field;
-
 
32250
      iprot.readStructBegin();
-
 
32251
      while (true)
-
 
32252
      {
-
 
32253
        field = iprot.readFieldBegin();
-
 
32254
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
32255
          break;
-
 
32256
        }
-
 
32257
        switch (field.id) {
-
 
32258
          case 0: // SUCCESS
-
 
32259
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
32260
              {
-
 
32261
                org.apache.thrift.protocol.TList _list77 = iprot.readListBegin();
-
 
32262
                this.success = new ArrayList<String>(_list77.size);
-
 
32263
                for (int _i78 = 0; _i78 < _list77.size; ++_i78)
-
 
32264
                {
-
 
32265
                  String _elem79; // required
-
 
32266
                  _elem79 = iprot.readString();
-
 
32267
                  this.success.add(_elem79);
-
 
32268
                }
-
 
32269
                iprot.readListEnd();
-
 
32270
              }
-
 
32271
            } else { 
-
 
32272
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
32273
            }
-
 
32274
            break;
-
 
32275
          default:
-
 
32276
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
32277
        }
-
 
32278
        iprot.readFieldEnd();
-
 
32279
      }
-
 
32280
      iprot.readStructEnd();
-
 
32281
      validate();
-
 
32282
    }
-
 
32283
 
-
 
32284
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
32285
      oprot.writeStructBegin(STRUCT_DESC);
-
 
32286
 
-
 
32287
      if (this.isSetSuccess()) {
-
 
32288
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
32289
        {
-
 
32290
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
-
 
32291
          for (String _iter80 : this.success)
-
 
32292
          {
-
 
32293
            oprot.writeString(_iter80);
-
 
32294
          }
-
 
32295
          oprot.writeListEnd();
-
 
32296
        }
-
 
32297
        oprot.writeFieldEnd();
-
 
32298
      }
-
 
32299
      oprot.writeFieldStop();
-
 
32300
      oprot.writeStructEnd();
-
 
32301
    }
-
 
32302
 
-
 
32303
    @Override
-
 
32304
    public String toString() {
-
 
32305
      StringBuilder sb = new StringBuilder("getAllTags_result(");
-
 
32306
      boolean first = true;
-
 
32307
 
-
 
32308
      sb.append("success:");
-
 
32309
      if (this.success == null) {
-
 
32310
        sb.append("null");
-
 
32311
      } else {
-
 
32312
        sb.append(this.success);
-
 
32313
      }
-
 
32314
      first = false;
-
 
32315
      sb.append(")");
-
 
32316
      return sb.toString();
-
 
32317
    }
-
 
32318
 
-
 
32319
    public void validate() throws org.apache.thrift.TException {
-
 
32320
      // check for required fields
-
 
32321
    }
-
 
32322
 
-
 
32323
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
32324
      try {
-
 
32325
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
32326
      } catch (org.apache.thrift.TException te) {
-
 
32327
        throw new java.io.IOException(te);
-
 
32328
      }
-
 
32329
    }
-
 
32330
 
-
 
32331
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
32332
      try {
-
 
32333
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
32334
      } catch (org.apache.thrift.TException te) {
-
 
32335
        throw new java.io.IOException(te);
-
 
32336
      }
-
 
32337
    }
-
 
32338
 
-
 
32339
  }
-
 
32340
 
-
 
32341
  public static class getAllEntitiesByTagName_args implements org.apache.thrift.TBase<getAllEntitiesByTagName_args, getAllEntitiesByTagName_args._Fields>, java.io.Serializable, Cloneable   {
-
 
32342
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllEntitiesByTagName_args");
-
 
32343
 
-
 
32344
    private static final org.apache.thrift.protocol.TField DISPLAY_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("displayName", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
32345
 
-
 
32346
    private String displayName; // required
-
 
32347
 
-
 
32348
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
32349
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
32350
      DISPLAY_NAME((short)1, "displayName");
-
 
32351
 
-
 
32352
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
32353
 
-
 
32354
      static {
-
 
32355
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
32356
          byName.put(field.getFieldName(), field);
-
 
32357
        }
-
 
32358
      }
-
 
32359
 
-
 
32360
      /**
-
 
32361
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
32362
       */
-
 
32363
      public static _Fields findByThriftId(int fieldId) {
-
 
32364
        switch(fieldId) {
-
 
32365
          case 1: // DISPLAY_NAME
-
 
32366
            return DISPLAY_NAME;
-
 
32367
          default:
-
 
32368
            return null;
-
 
32369
        }
-
 
32370
      }
-
 
32371
 
-
 
32372
      /**
-
 
32373
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
32374
       * if it is not found.
-
 
32375
       */
-
 
32376
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
32377
        _Fields fields = findByThriftId(fieldId);
-
 
32378
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
32379
        return fields;
-
 
32380
      }
-
 
32381
 
-
 
32382
      /**
-
 
32383
       * Find the _Fields constant that matches name, or null if its not found.
-
 
32384
       */
-
 
32385
      public static _Fields findByName(String name) {
-
 
32386
        return byName.get(name);
-
 
32387
      }
-
 
32388
 
-
 
32389
      private final short _thriftId;
-
 
32390
      private final String _fieldName;
-
 
32391
 
-
 
32392
      _Fields(short thriftId, String fieldName) {
-
 
32393
        _thriftId = thriftId;
-
 
32394
        _fieldName = fieldName;
-
 
32395
      }
-
 
32396
 
-
 
32397
      public short getThriftFieldId() {
-
 
32398
        return _thriftId;
-
 
32399
      }
-
 
32400
 
-
 
32401
      public String getFieldName() {
-
 
32402
        return _fieldName;
-
 
32403
      }
-
 
32404
    }
-
 
32405
 
-
 
32406
    // isset id assignments
-
 
32407
 
-
 
32408
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
32409
    static {
-
 
32410
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
32411
      tmpMap.put(_Fields.DISPLAY_NAME, new org.apache.thrift.meta_data.FieldMetaData("displayName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
32412
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
32413
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
32414
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllEntitiesByTagName_args.class, metaDataMap);
-
 
32415
    }
-
 
32416
 
-
 
32417
    public getAllEntitiesByTagName_args() {
-
 
32418
    }
-
 
32419
 
-
 
32420
    public getAllEntitiesByTagName_args(
-
 
32421
      String displayName)
-
 
32422
    {
-
 
32423
      this();
-
 
32424
      this.displayName = displayName;
-
 
32425
    }
-
 
32426
 
-
 
32427
    /**
-
 
32428
     * Performs a deep copy on <i>other</i>.
-
 
32429
     */
-
 
32430
    public getAllEntitiesByTagName_args(getAllEntitiesByTagName_args other) {
-
 
32431
      if (other.isSetDisplayName()) {
-
 
32432
        this.displayName = other.displayName;
-
 
32433
      }
-
 
32434
    }
-
 
32435
 
-
 
32436
    public getAllEntitiesByTagName_args deepCopy() {
-
 
32437
      return new getAllEntitiesByTagName_args(this);
-
 
32438
    }
-
 
32439
 
-
 
32440
    @Override
-
 
32441
    public void clear() {
-
 
32442
      this.displayName = null;
-
 
32443
    }
-
 
32444
 
-
 
32445
    public String getDisplayName() {
-
 
32446
      return this.displayName;
-
 
32447
    }
-
 
32448
 
-
 
32449
    public void setDisplayName(String displayName) {
-
 
32450
      this.displayName = displayName;
-
 
32451
    }
-
 
32452
 
-
 
32453
    public void unsetDisplayName() {
-
 
32454
      this.displayName = null;
-
 
32455
    }
-
 
32456
 
-
 
32457
    /** Returns true if field displayName is set (has been assigned a value) and false otherwise */
-
 
32458
    public boolean isSetDisplayName() {
-
 
32459
      return this.displayName != null;
-
 
32460
    }
-
 
32461
 
-
 
32462
    public void setDisplayNameIsSet(boolean value) {
-
 
32463
      if (!value) {
-
 
32464
        this.displayName = null;
-
 
32465
      }
-
 
32466
    }
-
 
32467
 
-
 
32468
    public void setFieldValue(_Fields field, Object value) {
-
 
32469
      switch (field) {
-
 
32470
      case DISPLAY_NAME:
-
 
32471
        if (value == null) {
-
 
32472
          unsetDisplayName();
-
 
32473
        } else {
-
 
32474
          setDisplayName((String)value);
-
 
32475
        }
-
 
32476
        break;
-
 
32477
 
-
 
32478
      }
-
 
32479
    }
-
 
32480
 
-
 
32481
    public Object getFieldValue(_Fields field) {
-
 
32482
      switch (field) {
-
 
32483
      case DISPLAY_NAME:
-
 
32484
        return getDisplayName();
-
 
32485
 
-
 
32486
      }
-
 
32487
      throw new IllegalStateException();
-
 
32488
    }
-
 
32489
 
-
 
32490
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
32491
    public boolean isSet(_Fields field) {
-
 
32492
      if (field == null) {
-
 
32493
        throw new IllegalArgumentException();
-
 
32494
      }
-
 
32495
 
-
 
32496
      switch (field) {
-
 
32497
      case DISPLAY_NAME:
-
 
32498
        return isSetDisplayName();
-
 
32499
      }
-
 
32500
      throw new IllegalStateException();
-
 
32501
    }
-
 
32502
 
-
 
32503
    @Override
-
 
32504
    public boolean equals(Object that) {
-
 
32505
      if (that == null)
-
 
32506
        return false;
-
 
32507
      if (that instanceof getAllEntitiesByTagName_args)
-
 
32508
        return this.equals((getAllEntitiesByTagName_args)that);
-
 
32509
      return false;
-
 
32510
    }
-
 
32511
 
-
 
32512
    public boolean equals(getAllEntitiesByTagName_args that) {
-
 
32513
      if (that == null)
-
 
32514
        return false;
-
 
32515
 
-
 
32516
      boolean this_present_displayName = true && this.isSetDisplayName();
-
 
32517
      boolean that_present_displayName = true && that.isSetDisplayName();
-
 
32518
      if (this_present_displayName || that_present_displayName) {
-
 
32519
        if (!(this_present_displayName && that_present_displayName))
-
 
32520
          return false;
-
 
32521
        if (!this.displayName.equals(that.displayName))
-
 
32522
          return false;
-
 
32523
      }
-
 
32524
 
-
 
32525
      return true;
-
 
32526
    }
-
 
32527
 
-
 
32528
    @Override
-
 
32529
    public int hashCode() {
-
 
32530
      return 0;
-
 
32531
    }
-
 
32532
 
-
 
32533
    public int compareTo(getAllEntitiesByTagName_args other) {
-
 
32534
      if (!getClass().equals(other.getClass())) {
-
 
32535
        return getClass().getName().compareTo(other.getClass().getName());
-
 
32536
      }
-
 
32537
 
-
 
32538
      int lastComparison = 0;
-
 
32539
      getAllEntitiesByTagName_args typedOther = (getAllEntitiesByTagName_args)other;
-
 
32540
 
-
 
32541
      lastComparison = Boolean.valueOf(isSetDisplayName()).compareTo(typedOther.isSetDisplayName());
-
 
32542
      if (lastComparison != 0) {
-
 
32543
        return lastComparison;
-
 
32544
      }
-
 
32545
      if (isSetDisplayName()) {
-
 
32546
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.displayName, typedOther.displayName);
-
 
32547
        if (lastComparison != 0) {
-
 
32548
          return lastComparison;
-
 
32549
        }
-
 
32550
      }
-
 
32551
      return 0;
-
 
32552
    }
-
 
32553
 
-
 
32554
    public _Fields fieldForId(int fieldId) {
-
 
32555
      return _Fields.findByThriftId(fieldId);
-
 
32556
    }
-
 
32557
 
-
 
32558
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
32559
      org.apache.thrift.protocol.TField field;
-
 
32560
      iprot.readStructBegin();
-
 
32561
      while (true)
-
 
32562
      {
-
 
32563
        field = iprot.readFieldBegin();
-
 
32564
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
32565
          break;
-
 
32566
        }
-
 
32567
        switch (field.id) {
-
 
32568
          case 1: // DISPLAY_NAME
-
 
32569
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
32570
              this.displayName = iprot.readString();
-
 
32571
            } else { 
-
 
32572
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
32573
            }
-
 
32574
            break;
-
 
32575
          default:
-
 
32576
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
32577
        }
-
 
32578
        iprot.readFieldEnd();
-
 
32579
      }
-
 
32580
      iprot.readStructEnd();
-
 
32581
      validate();
-
 
32582
    }
-
 
32583
 
-
 
32584
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
32585
      validate();
-
 
32586
 
-
 
32587
      oprot.writeStructBegin(STRUCT_DESC);
-
 
32588
      if (this.displayName != null) {
-
 
32589
        oprot.writeFieldBegin(DISPLAY_NAME_FIELD_DESC);
-
 
32590
        oprot.writeString(this.displayName);
-
 
32591
        oprot.writeFieldEnd();
-
 
32592
      }
-
 
32593
      oprot.writeFieldStop();
-
 
32594
      oprot.writeStructEnd();
-
 
32595
    }
-
 
32596
 
-
 
32597
    @Override
-
 
32598
    public String toString() {
-
 
32599
      StringBuilder sb = new StringBuilder("getAllEntitiesByTagName_args(");
-
 
32600
      boolean first = true;
-
 
32601
 
-
 
32602
      sb.append("displayName:");
-
 
32603
      if (this.displayName == null) {
-
 
32604
        sb.append("null");
-
 
32605
      } else {
-
 
32606
        sb.append(this.displayName);
-
 
32607
      }
-
 
32608
      first = false;
-
 
32609
      sb.append(")");
-
 
32610
      return sb.toString();
-
 
32611
    }
-
 
32612
 
-
 
32613
    public void validate() throws org.apache.thrift.TException {
-
 
32614
      // check for required fields
-
 
32615
    }
-
 
32616
 
-
 
32617
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
32618
      try {
-
 
32619
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
32620
      } catch (org.apache.thrift.TException te) {
-
 
32621
        throw new java.io.IOException(te);
-
 
32622
      }
-
 
32623
    }
-
 
32624
 
-
 
32625
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
32626
      try {
-
 
32627
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
32628
      } catch (org.apache.thrift.TException te) {
-
 
32629
        throw new java.io.IOException(te);
-
 
32630
      }
-
 
32631
    }
-
 
32632
 
-
 
32633
  }
-
 
32634
 
-
 
32635
  public static class getAllEntitiesByTagName_result implements org.apache.thrift.TBase<getAllEntitiesByTagName_result, getAllEntitiesByTagName_result._Fields>, java.io.Serializable, Cloneable   {
-
 
32636
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllEntitiesByTagName_result");
-
 
32637
 
-
 
32638
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
32639
 
-
 
32640
    private List<Long> success; // required
-
 
32641
 
-
 
32642
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
32643
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
32644
      SUCCESS((short)0, "success");
-
 
32645
 
-
 
32646
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
32647
 
-
 
32648
      static {
-
 
32649
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
32650
          byName.put(field.getFieldName(), field);
-
 
32651
        }
-
 
32652
      }
-
 
32653
 
-
 
32654
      /**
-
 
32655
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
32656
       */
-
 
32657
      public static _Fields findByThriftId(int fieldId) {
-
 
32658
        switch(fieldId) {
-
 
32659
          case 0: // SUCCESS
-
 
32660
            return SUCCESS;
-
 
32661
          default:
-
 
32662
            return null;
-
 
32663
        }
-
 
32664
      }
-
 
32665
 
-
 
32666
      /**
-
 
32667
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
32668
       * if it is not found.
-
 
32669
       */
-
 
32670
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
32671
        _Fields fields = findByThriftId(fieldId);
-
 
32672
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
32673
        return fields;
-
 
32674
      }
-
 
32675
 
-
 
32676
      /**
-
 
32677
       * Find the _Fields constant that matches name, or null if its not found.
-
 
32678
       */
-
 
32679
      public static _Fields findByName(String name) {
-
 
32680
        return byName.get(name);
-
 
32681
      }
-
 
32682
 
-
 
32683
      private final short _thriftId;
-
 
32684
      private final String _fieldName;
-
 
32685
 
-
 
32686
      _Fields(short thriftId, String fieldName) {
-
 
32687
        _thriftId = thriftId;
-
 
32688
        _fieldName = fieldName;
-
 
32689
      }
-
 
32690
 
-
 
32691
      public short getThriftFieldId() {
-
 
32692
        return _thriftId;
-
 
32693
      }
-
 
32694
 
-
 
32695
      public String getFieldName() {
-
 
32696
        return _fieldName;
-
 
32697
      }
-
 
32698
    }
-
 
32699
 
-
 
32700
    // isset id assignments
-
 
32701
 
-
 
32702
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
32703
    static {
-
 
32704
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
32705
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
32706
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
32707
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
32708
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
32709
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllEntitiesByTagName_result.class, metaDataMap);
-
 
32710
    }
-
 
32711
 
-
 
32712
    public getAllEntitiesByTagName_result() {
-
 
32713
    }
-
 
32714
 
-
 
32715
    public getAllEntitiesByTagName_result(
-
 
32716
      List<Long> success)
-
 
32717
    {
-
 
32718
      this();
-
 
32719
      this.success = success;
-
 
32720
    }
-
 
32721
 
-
 
32722
    /**
-
 
32723
     * Performs a deep copy on <i>other</i>.
-
 
32724
     */
-
 
32725
    public getAllEntitiesByTagName_result(getAllEntitiesByTagName_result other) {
-
 
32726
      if (other.isSetSuccess()) {
-
 
32727
        List<Long> __this__success = new ArrayList<Long>();
-
 
32728
        for (Long other_element : other.success) {
-
 
32729
          __this__success.add(other_element);
-
 
32730
        }
-
 
32731
        this.success = __this__success;
-
 
32732
      }
-
 
32733
    }
-
 
32734
 
-
 
32735
    public getAllEntitiesByTagName_result deepCopy() {
-
 
32736
      return new getAllEntitiesByTagName_result(this);
-
 
32737
    }
-
 
32738
 
-
 
32739
    @Override
-
 
32740
    public void clear() {
-
 
32741
      this.success = null;
-
 
32742
    }
-
 
32743
 
-
 
32744
    public int getSuccessSize() {
-
 
32745
      return (this.success == null) ? 0 : this.success.size();
-
 
32746
    }
-
 
32747
 
-
 
32748
    public java.util.Iterator<Long> getSuccessIterator() {
-
 
32749
      return (this.success == null) ? null : this.success.iterator();
-
 
32750
    }
-
 
32751
 
-
 
32752
    public void addToSuccess(long elem) {
-
 
32753
      if (this.success == null) {
-
 
32754
        this.success = new ArrayList<Long>();
-
 
32755
      }
-
 
32756
      this.success.add(elem);
-
 
32757
    }
-
 
32758
 
-
 
32759
    public List<Long> getSuccess() {
-
 
32760
      return this.success;
-
 
32761
    }
-
 
32762
 
-
 
32763
    public void setSuccess(List<Long> success) {
-
 
32764
      this.success = success;
-
 
32765
    }
-
 
32766
 
-
 
32767
    public void unsetSuccess() {
-
 
32768
      this.success = null;
-
 
32769
    }
-
 
32770
 
-
 
32771
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
32772
    public boolean isSetSuccess() {
-
 
32773
      return this.success != null;
-
 
32774
    }
-
 
32775
 
-
 
32776
    public void setSuccessIsSet(boolean value) {
-
 
32777
      if (!value) {
-
 
32778
        this.success = null;
-
 
32779
      }
-
 
32780
    }
-
 
32781
 
-
 
32782
    public void setFieldValue(_Fields field, Object value) {
-
 
32783
      switch (field) {
-
 
32784
      case SUCCESS:
-
 
32785
        if (value == null) {
-
 
32786
          unsetSuccess();
-
 
32787
        } else {
-
 
32788
          setSuccess((List<Long>)value);
-
 
32789
        }
-
 
32790
        break;
-
 
32791
 
-
 
32792
      }
-
 
32793
    }
-
 
32794
 
-
 
32795
    public Object getFieldValue(_Fields field) {
-
 
32796
      switch (field) {
-
 
32797
      case SUCCESS:
-
 
32798
        return getSuccess();
-
 
32799
 
-
 
32800
      }
-
 
32801
      throw new IllegalStateException();
-
 
32802
    }
-
 
32803
 
-
 
32804
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
32805
    public boolean isSet(_Fields field) {
-
 
32806
      if (field == null) {
-
 
32807
        throw new IllegalArgumentException();
-
 
32808
      }
-
 
32809
 
-
 
32810
      switch (field) {
-
 
32811
      case SUCCESS:
-
 
32812
        return isSetSuccess();
-
 
32813
      }
-
 
32814
      throw new IllegalStateException();
-
 
32815
    }
-
 
32816
 
-
 
32817
    @Override
-
 
32818
    public boolean equals(Object that) {
-
 
32819
      if (that == null)
-
 
32820
        return false;
-
 
32821
      if (that instanceof getAllEntitiesByTagName_result)
-
 
32822
        return this.equals((getAllEntitiesByTagName_result)that);
-
 
32823
      return false;
-
 
32824
    }
-
 
32825
 
-
 
32826
    public boolean equals(getAllEntitiesByTagName_result that) {
-
 
32827
      if (that == null)
-
 
32828
        return false;
-
 
32829
 
-
 
32830
      boolean this_present_success = true && this.isSetSuccess();
-
 
32831
      boolean that_present_success = true && that.isSetSuccess();
-
 
32832
      if (this_present_success || that_present_success) {
-
 
32833
        if (!(this_present_success && that_present_success))
-
 
32834
          return false;
-
 
32835
        if (!this.success.equals(that.success))
-
 
32836
          return false;
-
 
32837
      }
-
 
32838
 
-
 
32839
      return true;
-
 
32840
    }
-
 
32841
 
-
 
32842
    @Override
-
 
32843
    public int hashCode() {
-
 
32844
      return 0;
-
 
32845
    }
-
 
32846
 
-
 
32847
    public int compareTo(getAllEntitiesByTagName_result other) {
-
 
32848
      if (!getClass().equals(other.getClass())) {
-
 
32849
        return getClass().getName().compareTo(other.getClass().getName());
-
 
32850
      }
-
 
32851
 
-
 
32852
      int lastComparison = 0;
-
 
32853
      getAllEntitiesByTagName_result typedOther = (getAllEntitiesByTagName_result)other;
-
 
32854
 
-
 
32855
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
32856
      if (lastComparison != 0) {
-
 
32857
        return lastComparison;
-
 
32858
      }
-
 
32859
      if (isSetSuccess()) {
-
 
32860
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
32861
        if (lastComparison != 0) {
-
 
32862
          return lastComparison;
-
 
32863
        }
-
 
32864
      }
-
 
32865
      return 0;
-
 
32866
    }
-
 
32867
 
-
 
32868
    public _Fields fieldForId(int fieldId) {
-
 
32869
      return _Fields.findByThriftId(fieldId);
-
 
32870
    }
-
 
32871
 
-
 
32872
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
32873
      org.apache.thrift.protocol.TField field;
-
 
32874
      iprot.readStructBegin();
-
 
32875
      while (true)
-
 
32876
      {
-
 
32877
        field = iprot.readFieldBegin();
-
 
32878
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
32879
          break;
-
 
32880
        }
-
 
32881
        switch (field.id) {
-
 
32882
          case 0: // SUCCESS
-
 
32883
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
32884
              {
-
 
32885
                org.apache.thrift.protocol.TList _list81 = iprot.readListBegin();
-
 
32886
                this.success = new ArrayList<Long>(_list81.size);
-
 
32887
                for (int _i82 = 0; _i82 < _list81.size; ++_i82)
-
 
32888
                {
-
 
32889
                  long _elem83; // required
-
 
32890
                  _elem83 = iprot.readI64();
-
 
32891
                  this.success.add(_elem83);
-
 
32892
                }
-
 
32893
                iprot.readListEnd();
-
 
32894
              }
-
 
32895
            } else { 
-
 
32896
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
32897
            }
-
 
32898
            break;
-
 
32899
          default:
-
 
32900
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
32901
        }
-
 
32902
        iprot.readFieldEnd();
-
 
32903
      }
-
 
32904
      iprot.readStructEnd();
-
 
32905
      validate();
-
 
32906
    }
-
 
32907
 
-
 
32908
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
32909
      oprot.writeStructBegin(STRUCT_DESC);
-
 
32910
 
-
 
32911
      if (this.isSetSuccess()) {
-
 
32912
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
32913
        {
-
 
32914
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
-
 
32915
          for (long _iter84 : this.success)
-
 
32916
          {
-
 
32917
            oprot.writeI64(_iter84);
-
 
32918
          }
-
 
32919
          oprot.writeListEnd();
-
 
32920
        }
-
 
32921
        oprot.writeFieldEnd();
-
 
32922
      }
-
 
32923
      oprot.writeFieldStop();
-
 
32924
      oprot.writeStructEnd();
-
 
32925
    }
-
 
32926
 
-
 
32927
    @Override
-
 
32928
    public String toString() {
-
 
32929
      StringBuilder sb = new StringBuilder("getAllEntitiesByTagName_result(");
-
 
32930
      boolean first = true;
-
 
32931
 
-
 
32932
      sb.append("success:");
-
 
32933
      if (this.success == null) {
-
 
32934
        sb.append("null");
-
 
32935
      } else {
-
 
32936
        sb.append(this.success);
-
 
32937
      }
-
 
32938
      first = false;
-
 
32939
      sb.append(")");
-
 
32940
      return sb.toString();
-
 
32941
    }
-
 
32942
 
-
 
32943
    public void validate() throws org.apache.thrift.TException {
-
 
32944
      // check for required fields
-
 
32945
    }
-
 
32946
 
-
 
32947
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
32948
      try {
-
 
32949
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
32950
      } catch (org.apache.thrift.TException te) {
-
 
32951
        throw new java.io.IOException(te);
-
 
32952
      }
-
 
32953
    }
-
 
32954
 
-
 
32955
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
32956
      try {
-
 
32957
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
32958
      } catch (org.apache.thrift.TException te) {
-
 
32959
        throw new java.io.IOException(te);
-
 
32960
      }
-
 
32961
    }
-
 
32962
 
-
 
32963
  }
-
 
32964
 
29481
  public static class deleteSimilarItem_args implements org.apache.thrift.TBase<deleteSimilarItem_args, deleteSimilarItem_args._Fields>, java.io.Serializable, Cloneable   {
32965
  public static class deleteSimilarItem_args implements org.apache.thrift.TBase<deleteSimilarItem_args, deleteSimilarItem_args._Fields>, java.io.Serializable, Cloneable   {
29482
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteSimilarItem_args");
32966
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteSimilarItem_args");
29483
 
32967
 
29484
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
32968
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
29485
    private static final org.apache.thrift.protocol.TField CATALOG_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("catalogItemId", org.apache.thrift.protocol.TType.I64, (short)2);
32969
    private static final org.apache.thrift.protocol.TField CATALOG_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("catalogItemId", org.apache.thrift.protocol.TType.I64, (short)2);
Line 32602... Line 36086...
32602
        }
36086
        }
32603
        switch (field.id) {
36087
        switch (field.id) {
32604
          case 0: // SUCCESS
36088
          case 0: // SUCCESS
32605
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
36089
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
32606
              {
36090
              {
32607
                org.apache.thrift.protocol.TList _list77 = iprot.readListBegin();
36091
                org.apache.thrift.protocol.TList _list85 = iprot.readListBegin();
32608
                this.success = new ArrayList<Item>(_list77.size);
36092
                this.success = new ArrayList<Item>(_list85.size);
32609
                for (int _i78 = 0; _i78 < _list77.size; ++_i78)
36093
                for (int _i86 = 0; _i86 < _list85.size; ++_i86)
32610
                {
36094
                {
32611
                  Item _elem79; // required
36095
                  Item _elem87; // required
32612
                  _elem79 = new Item();
36096
                  _elem87 = new Item();
32613
                  _elem79.read(iprot);
36097
                  _elem87.read(iprot);
32614
                  this.success.add(_elem79);
36098
                  this.success.add(_elem87);
32615
                }
36099
                }
32616
                iprot.readListEnd();
36100
                iprot.readListEnd();
32617
              }
36101
              }
32618
            } else { 
36102
            } else { 
32619
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
36103
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 32633... Line 36117...
32633
 
36117
 
32634
      if (this.isSetSuccess()) {
36118
      if (this.isSetSuccess()) {
32635
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
36119
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
32636
        {
36120
        {
32637
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
36121
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
32638
          for (Item _iter80 : this.success)
36122
          for (Item _iter88 : this.success)
32639
          {
36123
          {
32640
            _iter80.write(oprot);
36124
            _iter88.write(oprot);
32641
          }
36125
          }
32642
          oprot.writeListEnd();
36126
          oprot.writeListEnd();
32643
        }
36127
        }
32644
        oprot.writeFieldEnd();
36128
        oprot.writeFieldEnd();
32645
      }
36129
      }
Line 33315... Line 36799...
33315
        }
36799
        }
33316
        switch (field.id) {
36800
        switch (field.id) {
33317
          case 0: // SUCCESS
36801
          case 0: // SUCCESS
33318
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
36802
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
33319
              {
36803
              {
33320
                org.apache.thrift.protocol.TList _list81 = iprot.readListBegin();
36804
                org.apache.thrift.protocol.TList _list89 = iprot.readListBegin();
33321
                this.success = new ArrayList<Item>(_list81.size);
36805
                this.success = new ArrayList<Item>(_list89.size);
33322
                for (int _i82 = 0; _i82 < _list81.size; ++_i82)
36806
                for (int _i90 = 0; _i90 < _list89.size; ++_i90)
33323
                {
36807
                {
33324
                  Item _elem83; // required
36808
                  Item _elem91; // required
33325
                  _elem83 = new Item();
36809
                  _elem91 = new Item();
33326
                  _elem83.read(iprot);
36810
                  _elem91.read(iprot);
33327
                  this.success.add(_elem83);
36811
                  this.success.add(_elem91);
33328
                }
36812
                }
33329
                iprot.readListEnd();
36813
                iprot.readListEnd();
33330
              }
36814
              }
33331
            } else { 
36815
            } else { 
33332
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
36816
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 33346... Line 36830...
33346
 
36830
 
33347
      if (this.isSetSuccess()) {
36831
      if (this.isSetSuccess()) {
33348
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
36832
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
33349
        {
36833
        {
33350
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
36834
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
33351
          for (Item _iter84 : this.success)
36835
          for (Item _iter92 : this.success)
33352
          {
36836
          {
33353
            _iter84.write(oprot);
36837
            _iter92.write(oprot);
33354
          }
36838
          }
33355
          oprot.writeListEnd();
36839
          oprot.writeListEnd();
33356
        }
36840
        }
33357
        oprot.writeFieldEnd();
36841
        oprot.writeFieldEnd();
33358
      }
36842
      }
Line 34104... Line 37588...
34104
        }
37588
        }
34105
        switch (field.id) {
37589
        switch (field.id) {
34106
          case 0: // SUCCESS
37590
          case 0: // SUCCESS
34107
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37591
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34108
              {
37592
              {
34109
                org.apache.thrift.protocol.TList _list85 = iprot.readListBegin();
37593
                org.apache.thrift.protocol.TList _list93 = iprot.readListBegin();
34110
                this.success = new ArrayList<Long>(_list85.size);
37594
                this.success = new ArrayList<Long>(_list93.size);
34111
                for (int _i86 = 0; _i86 < _list85.size; ++_i86)
37595
                for (int _i94 = 0; _i94 < _list93.size; ++_i94)
34112
                {
37596
                {
34113
                  long _elem87; // required
37597
                  long _elem95; // required
34114
                  _elem87 = iprot.readI64();
37598
                  _elem95 = iprot.readI64();
34115
                  this.success.add(_elem87);
37599
                  this.success.add(_elem95);
34116
                }
37600
                }
34117
                iprot.readListEnd();
37601
                iprot.readListEnd();
34118
              }
37602
              }
34119
            } else { 
37603
            } else { 
34120
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
37604
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 34134... Line 37618...
34134
 
37618
 
34135
      if (this.isSetSuccess()) {
37619
      if (this.isSetSuccess()) {
34136
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
37620
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34137
        {
37621
        {
34138
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
37622
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
34139
          for (long _iter88 : this.success)
37623
          for (long _iter96 : this.success)
34140
          {
37624
          {
34141
            oprot.writeI64(_iter88);
37625
            oprot.writeI64(_iter96);
34142
          }
37626
          }
34143
          oprot.writeListEnd();
37627
          oprot.writeListEnd();
34144
        }
37628
        }
34145
        oprot.writeFieldEnd();
37629
        oprot.writeFieldEnd();
34146
      }
37630
      }
Line 35896... Line 39380...
35896
        }
39380
        }
35897
        switch (field.id) {
39381
        switch (field.id) {
35898
          case 0: // SUCCESS
39382
          case 0: // SUCCESS
35899
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39383
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35900
              {
39384
              {
35901
                org.apache.thrift.protocol.TList _list89 = iprot.readListBegin();
39385
                org.apache.thrift.protocol.TList _list97 = iprot.readListBegin();
35902
                this.success = new ArrayList<String>(_list89.size);
39386
                this.success = new ArrayList<String>(_list97.size);
35903
                for (int _i90 = 0; _i90 < _list89.size; ++_i90)
39387
                for (int _i98 = 0; _i98 < _list97.size; ++_i98)
35904
                {
39388
                {
35905
                  String _elem91; // required
39389
                  String _elem99; // required
35906
                  _elem91 = iprot.readString();
39390
                  _elem99 = iprot.readString();
35907
                  this.success.add(_elem91);
39391
                  this.success.add(_elem99);
35908
                }
39392
                }
35909
                iprot.readListEnd();
39393
                iprot.readListEnd();
35910
              }
39394
              }
35911
            } else { 
39395
            } else { 
35912
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
39396
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 35926... Line 39410...
35926
 
39410
 
35927
      if (this.isSetSuccess()) {
39411
      if (this.isSetSuccess()) {
35928
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
39412
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
35929
        {
39413
        {
35930
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
39414
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
35931
          for (String _iter92 : this.success)
39415
          for (String _iter100 : this.success)
35932
          {
39416
          {
35933
            oprot.writeString(_iter92);
39417
            oprot.writeString(_iter100);
35934
          }
39418
          }
35935
          oprot.writeListEnd();
39419
          oprot.writeListEnd();
35936
        }
39420
        }
35937
        oprot.writeFieldEnd();
39421
        oprot.writeFieldEnd();
35938
      }
39422
      }
Line 36426... Line 39910...
36426
        }
39910
        }
36427
        switch (field.id) {
39911
        switch (field.id) {
36428
          case 0: // SUCCESS
39912
          case 0: // SUCCESS
36429
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39913
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
36430
              {
39914
              {
36431
                org.apache.thrift.protocol.TList _list93 = iprot.readListBegin();
39915
                org.apache.thrift.protocol.TList _list101 = iprot.readListBegin();
36432
                this.success = new ArrayList<String>(_list93.size);
39916
                this.success = new ArrayList<String>(_list101.size);
36433
                for (int _i94 = 0; _i94 < _list93.size; ++_i94)
39917
                for (int _i102 = 0; _i102 < _list101.size; ++_i102)
36434
                {
39918
                {
36435
                  String _elem95; // required
39919
                  String _elem103; // required
36436
                  _elem95 = iprot.readString();
39920
                  _elem103 = iprot.readString();
36437
                  this.success.add(_elem95);
39921
                  this.success.add(_elem103);
36438
                }
39922
                }
36439
                iprot.readListEnd();
39923
                iprot.readListEnd();
36440
              }
39924
              }
36441
            } else { 
39925
            } else { 
36442
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
39926
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 36456... Line 39940...
36456
 
39940
 
36457
      if (this.isSetSuccess()) {
39941
      if (this.isSetSuccess()) {
36458
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
39942
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
36459
        {
39943
        {
36460
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
39944
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
36461
          for (String _iter96 : this.success)
39945
          for (String _iter104 : this.success)
36462
          {
39946
          {
36463
            oprot.writeString(_iter96);
39947
            oprot.writeString(_iter104);
36464
          }
39948
          }
36465
          oprot.writeListEnd();
39949
          oprot.writeListEnd();
36466
        }
39950
        }
36467
        oprot.writeFieldEnd();
39951
        oprot.writeFieldEnd();
36468
      }
39952
      }
Line 36956... Line 40440...
36956
        }
40440
        }
36957
        switch (field.id) {
40441
        switch (field.id) {
36958
          case 0: // SUCCESS
40442
          case 0: // SUCCESS
36959
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40443
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
36960
              {
40444
              {
36961
                org.apache.thrift.protocol.TList _list97 = iprot.readListBegin();
40445
                org.apache.thrift.protocol.TList _list105 = iprot.readListBegin();
36962
                this.success = new ArrayList<Source>(_list97.size);
40446
                this.success = new ArrayList<Source>(_list105.size);
36963
                for (int _i98 = 0; _i98 < _list97.size; ++_i98)
40447
                for (int _i106 = 0; _i106 < _list105.size; ++_i106)
36964
                {
40448
                {
36965
                  Source _elem99; // required
40449
                  Source _elem107; // required
36966
                  _elem99 = new Source();
40450
                  _elem107 = new Source();
36967
                  _elem99.read(iprot);
40451
                  _elem107.read(iprot);
36968
                  this.success.add(_elem99);
40452
                  this.success.add(_elem107);
36969
                }
40453
                }
36970
                iprot.readListEnd();
40454
                iprot.readListEnd();
36971
              }
40455
              }
36972
            } else { 
40456
            } else { 
36973
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40457
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 36987... Line 40471...
36987
 
40471
 
36988
      if (this.isSetSuccess()) {
40472
      if (this.isSetSuccess()) {
36989
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40473
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
36990
        {
40474
        {
36991
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
40475
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
36992
          for (Source _iter100 : this.success)
40476
          for (Source _iter108 : this.success)
36993
          {
40477
          {
36994
            _iter100.write(oprot);
40478
            _iter108.write(oprot);
36995
          }
40479
          }
36996
          oprot.writeListEnd();
40480
          oprot.writeListEnd();
36997
        }
40481
        }
36998
        oprot.writeFieldEnd();
40482
        oprot.writeFieldEnd();
36999
      }
40483
      }
Line 38993... Line 42477...
38993
        }
42477
        }
38994
        switch (field.id) {
42478
        switch (field.id) {
38995
          case 0: // SUCCESS
42479
          case 0: // SUCCESS
38996
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42480
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38997
              {
42481
              {
38998
                org.apache.thrift.protocol.TList _list101 = iprot.readListBegin();
42482
                org.apache.thrift.protocol.TList _list109 = iprot.readListBegin();
38999
                this.success = new ArrayList<SourceItemPricing>(_list101.size);
42483
                this.success = new ArrayList<SourceItemPricing>(_list109.size);
39000
                for (int _i102 = 0; _i102 < _list101.size; ++_i102)
42484
                for (int _i110 = 0; _i110 < _list109.size; ++_i110)
39001
                {
42485
                {
39002
                  SourceItemPricing _elem103; // required
42486
                  SourceItemPricing _elem111; // required
39003
                  _elem103 = new SourceItemPricing();
42487
                  _elem111 = new SourceItemPricing();
39004
                  _elem103.read(iprot);
42488
                  _elem111.read(iprot);
39005
                  this.success.add(_elem103);
42489
                  this.success.add(_elem111);
39006
                }
42490
                }
39007
                iprot.readListEnd();
42491
                iprot.readListEnd();
39008
              }
42492
              }
39009
            } else { 
42493
            } else { 
39010
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42494
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 39032... Line 42516...
39032
 
42516
 
39033
      if (this.isSetSuccess()) {
42517
      if (this.isSetSuccess()) {
39034
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42518
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
39035
        {
42519
        {
39036
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42520
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
39037
          for (SourceItemPricing _iter104 : this.success)
42521
          for (SourceItemPricing _iter112 : this.success)
39038
          {
42522
          {
39039
            _iter104.write(oprot);
42523
            _iter112.write(oprot);
39040
          }
42524
          }
39041
          oprot.writeListEnd();
42525
          oprot.writeListEnd();
39042
        }
42526
        }
39043
        oprot.writeFieldEnd();
42527
        oprot.writeFieldEnd();
39044
      } else if (this.isSetCex()) {
42528
      } else if (this.isSetCex()) {
Line 40240... Line 43724...
40240
        }
43724
        }
40241
        switch (field.id) {
43725
        switch (field.id) {
40242
          case 1: // SEARCH_TERMS
43726
          case 1: // SEARCH_TERMS
40243
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43727
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40244
              {
43728
              {
40245
                org.apache.thrift.protocol.TList _list105 = iprot.readListBegin();
43729
                org.apache.thrift.protocol.TList _list113 = iprot.readListBegin();
40246
                this.searchTerms = new ArrayList<String>(_list105.size);
43730
                this.searchTerms = new ArrayList<String>(_list113.size);
40247
                for (int _i106 = 0; _i106 < _list105.size; ++_i106)
43731
                for (int _i114 = 0; _i114 < _list113.size; ++_i114)
40248
                {
43732
                {
40249
                  String _elem107; // required
43733
                  String _elem115; // required
40250
                  _elem107 = iprot.readString();
43734
                  _elem115 = iprot.readString();
40251
                  this.searchTerms.add(_elem107);
43735
                  this.searchTerms.add(_elem115);
40252
                }
43736
                }
40253
                iprot.readListEnd();
43737
                iprot.readListEnd();
40254
              }
43738
              }
40255
            } else { 
43739
            } else { 
40256
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43740
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 40287... Line 43771...
40287
      oprot.writeStructBegin(STRUCT_DESC);
43771
      oprot.writeStructBegin(STRUCT_DESC);
40288
      if (this.searchTerms != null) {
43772
      if (this.searchTerms != null) {
40289
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
43773
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
40290
        {
43774
        {
40291
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
43775
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
40292
          for (String _iter108 : this.searchTerms)
43776
          for (String _iter116 : this.searchTerms)
40293
          {
43777
          {
40294
            oprot.writeString(_iter108);
43778
            oprot.writeString(_iter116);
40295
          }
43779
          }
40296
          oprot.writeListEnd();
43780
          oprot.writeListEnd();
40297
        }
43781
        }
40298
        oprot.writeFieldEnd();
43782
        oprot.writeFieldEnd();
40299
      }
43783
      }
Line 40601... Line 44085...
40601
        }
44085
        }
40602
        switch (field.id) {
44086
        switch (field.id) {
40603
          case 0: // SUCCESS
44087
          case 0: // SUCCESS
40604
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44088
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40605
              {
44089
              {
40606
                org.apache.thrift.protocol.TList _list109 = iprot.readListBegin();
44090
                org.apache.thrift.protocol.TList _list117 = iprot.readListBegin();
40607
                this.success = new ArrayList<Item>(_list109.size);
44091
                this.success = new ArrayList<Item>(_list117.size);
40608
                for (int _i110 = 0; _i110 < _list109.size; ++_i110)
44092
                for (int _i118 = 0; _i118 < _list117.size; ++_i118)
40609
                {
44093
                {
40610
                  Item _elem111; // required
44094
                  Item _elem119; // required
40611
                  _elem111 = new Item();
44095
                  _elem119 = new Item();
40612
                  _elem111.read(iprot);
44096
                  _elem119.read(iprot);
40613
                  this.success.add(_elem111);
44097
                  this.success.add(_elem119);
40614
                }
44098
                }
40615
                iprot.readListEnd();
44099
                iprot.readListEnd();
40616
              }
44100
              }
40617
            } else { 
44101
            } else { 
40618
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
44102
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 40632... Line 44116...
40632
 
44116
 
40633
      if (this.isSetSuccess()) {
44117
      if (this.isSetSuccess()) {
40634
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
44118
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40635
        {
44119
        {
40636
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
44120
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
40637
          for (Item _iter112 : this.success)
44121
          for (Item _iter120 : this.success)
40638
          {
44122
          {
40639
            _iter112.write(oprot);
44123
            _iter120.write(oprot);
40640
          }
44124
          }
40641
          oprot.writeListEnd();
44125
          oprot.writeListEnd();
40642
        }
44126
        }
40643
        oprot.writeFieldEnd();
44127
        oprot.writeFieldEnd();
40644
      }
44128
      }
Line 40932... Line 44416...
40932
        }
44416
        }
40933
        switch (field.id) {
44417
        switch (field.id) {
40934
          case 1: // SEARCH_TERMS
44418
          case 1: // SEARCH_TERMS
40935
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44419
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40936
              {
44420
              {
40937
                org.apache.thrift.protocol.TList _list113 = iprot.readListBegin();
44421
                org.apache.thrift.protocol.TList _list121 = iprot.readListBegin();
40938
                this.searchTerms = new ArrayList<String>(_list113.size);
44422
                this.searchTerms = new ArrayList<String>(_list121.size);
40939
                for (int _i114 = 0; _i114 < _list113.size; ++_i114)
44423
                for (int _i122 = 0; _i122 < _list121.size; ++_i122)
40940
                {
44424
                {
40941
                  String _elem115; // required
44425
                  String _elem123; // required
40942
                  _elem115 = iprot.readString();
44426
                  _elem123 = iprot.readString();
40943
                  this.searchTerms.add(_elem115);
44427
                  this.searchTerms.add(_elem123);
40944
                }
44428
                }
40945
                iprot.readListEnd();
44429
                iprot.readListEnd();
40946
              }
44430
              }
40947
            } else { 
44431
            } else { 
40948
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
44432
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 40963... Line 44447...
40963
      oprot.writeStructBegin(STRUCT_DESC);
44447
      oprot.writeStructBegin(STRUCT_DESC);
40964
      if (this.searchTerms != null) {
44448
      if (this.searchTerms != null) {
40965
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
44449
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
40966
        {
44450
        {
40967
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
44451
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
40968
          for (String _iter116 : this.searchTerms)
44452
          for (String _iter124 : this.searchTerms)
40969
          {
44453
          {
40970
            oprot.writeString(_iter116);
44454
            oprot.writeString(_iter124);
40971
          }
44455
          }
40972
          oprot.writeListEnd();
44456
          oprot.writeListEnd();
40973
        }
44457
        }
40974
        oprot.writeFieldEnd();
44458
        oprot.writeFieldEnd();
40975
      }
44459
      }
Line 41850... Line 45334...
41850
        }
45334
        }
41851
        switch (field.id) {
45335
        switch (field.id) {
41852
          case 0: // SUCCESS
45336
          case 0: // SUCCESS
41853
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45337
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41854
              {
45338
              {
41855
                org.apache.thrift.protocol.TList _list117 = iprot.readListBegin();
45339
                org.apache.thrift.protocol.TList _list125 = iprot.readListBegin();
41856
                this.success = new ArrayList<ProductNotificationRequest>(_list117.size);
45340
                this.success = new ArrayList<ProductNotificationRequest>(_list125.size);
41857
                for (int _i118 = 0; _i118 < _list117.size; ++_i118)
45341
                for (int _i126 = 0; _i126 < _list125.size; ++_i126)
41858
                {
45342
                {
41859
                  ProductNotificationRequest _elem119; // required
45343
                  ProductNotificationRequest _elem127; // required
41860
                  _elem119 = new ProductNotificationRequest();
45344
                  _elem127 = new ProductNotificationRequest();
41861
                  _elem119.read(iprot);
45345
                  _elem127.read(iprot);
41862
                  this.success.add(_elem119);
45346
                  this.success.add(_elem127);
41863
                }
45347
                }
41864
                iprot.readListEnd();
45348
                iprot.readListEnd();
41865
              }
45349
              }
41866
            } else { 
45350
            } else { 
41867
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45351
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41881... Line 45365...
41881
 
45365
 
41882
      if (this.isSetSuccess()) {
45366
      if (this.isSetSuccess()) {
41883
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
45367
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41884
        {
45368
        {
41885
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
45369
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41886
          for (ProductNotificationRequest _iter120 : this.success)
45370
          for (ProductNotificationRequest _iter128 : this.success)
41887
          {
45371
          {
41888
            _iter120.write(oprot);
45372
            _iter128.write(oprot);
41889
          }
45373
          }
41890
          oprot.writeListEnd();
45374
          oprot.writeListEnd();
41891
        }
45375
        }
41892
        oprot.writeFieldEnd();
45376
        oprot.writeFieldEnd();
41893
      }
45377
      }
Line 42475... Line 45959...
42475
        }
45959
        }
42476
        switch (field.id) {
45960
        switch (field.id) {
42477
          case 0: // SUCCESS
45961
          case 0: // SUCCESS
42478
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45962
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42479
              {
45963
              {
42480
                org.apache.thrift.protocol.TList _list121 = iprot.readListBegin();
45964
                org.apache.thrift.protocol.TList _list129 = iprot.readListBegin();
42481
                this.success = new ArrayList<ProductNotificationRequestCount>(_list121.size);
45965
                this.success = new ArrayList<ProductNotificationRequestCount>(_list129.size);
42482
                for (int _i122 = 0; _i122 < _list121.size; ++_i122)
45966
                for (int _i130 = 0; _i130 < _list129.size; ++_i130)
42483
                {
45967
                {
42484
                  ProductNotificationRequestCount _elem123; // required
45968
                  ProductNotificationRequestCount _elem131; // required
42485
                  _elem123 = new ProductNotificationRequestCount();
45969
                  _elem131 = new ProductNotificationRequestCount();
42486
                  _elem123.read(iprot);
45970
                  _elem131.read(iprot);
42487
                  this.success.add(_elem123);
45971
                  this.success.add(_elem131);
42488
                }
45972
                }
42489
                iprot.readListEnd();
45973
                iprot.readListEnd();
42490
              }
45974
              }
42491
            } else { 
45975
            } else { 
42492
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45976
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 42506... Line 45990...
42506
 
45990
 
42507
      if (this.isSetSuccess()) {
45991
      if (this.isSetSuccess()) {
42508
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
45992
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42509
        {
45993
        {
42510
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
45994
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42511
          for (ProductNotificationRequestCount _iter124 : this.success)
45995
          for (ProductNotificationRequestCount _iter132 : this.success)
42512
          {
45996
          {
42513
            _iter124.write(oprot);
45997
            _iter132.write(oprot);
42514
          }
45998
          }
42515
          oprot.writeListEnd();
45999
          oprot.writeListEnd();
42516
        }
46000
        }
42517
        oprot.writeFieldEnd();
46001
        oprot.writeFieldEnd();
42518
      }
46002
      }
Line 43925... Line 47409...
43925
        }
47409
        }
43926
        switch (field.id) {
47410
        switch (field.id) {
43927
          case 0: // SUCCESS
47411
          case 0: // SUCCESS
43928
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47412
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43929
              {
47413
              {
43930
                org.apache.thrift.protocol.TList _list125 = iprot.readListBegin();
47414
                org.apache.thrift.protocol.TList _list133 = iprot.readListBegin();
43931
                this.success = new ArrayList<Long>(_list125.size);
47415
                this.success = new ArrayList<Long>(_list133.size);
43932
                for (int _i126 = 0; _i126 < _list125.size; ++_i126)
47416
                for (int _i134 = 0; _i134 < _list133.size; ++_i134)
43933
                {
47417
                {
43934
                  long _elem127; // required
47418
                  long _elem135; // required
43935
                  _elem127 = iprot.readI64();
47419
                  _elem135 = iprot.readI64();
43936
                  this.success.add(_elem127);
47420
                  this.success.add(_elem135);
43937
                }
47421
                }
43938
                iprot.readListEnd();
47422
                iprot.readListEnd();
43939
              }
47423
              }
43940
            } else { 
47424
            } else { 
43941
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47425
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 43963... Line 47447...
43963
 
47447
 
43964
      if (this.isSetSuccess()) {
47448
      if (this.isSetSuccess()) {
43965
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47449
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43966
        {
47450
        {
43967
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
47451
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
43968
          for (long _iter128 : this.success)
47452
          for (long _iter136 : this.success)
43969
          {
47453
          {
43970
            oprot.writeI64(_iter128);
47454
            oprot.writeI64(_iter136);
43971
          }
47455
          }
43972
          oprot.writeListEnd();
47456
          oprot.writeListEnd();
43973
        }
47457
        }
43974
        oprot.writeFieldEnd();
47458
        oprot.writeFieldEnd();
43975
      } else if (this.isSetCex()) {
47459
      } else if (this.isSetCex()) {
Line 46838... Line 50322...
46838
        }
50322
        }
46839
        switch (field.id) {
50323
        switch (field.id) {
46840
          case 0: // SUCCESS
50324
          case 0: // SUCCESS
46841
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50325
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46842
              {
50326
              {
46843
                org.apache.thrift.protocol.TList _list129 = iprot.readListBegin();
50327
                org.apache.thrift.protocol.TList _list137 = iprot.readListBegin();
46844
                this.success = new ArrayList<VoucherItemMapping>(_list129.size);
50328
                this.success = new ArrayList<VoucherItemMapping>(_list137.size);
46845
                for (int _i130 = 0; _i130 < _list129.size; ++_i130)
50329
                for (int _i138 = 0; _i138 < _list137.size; ++_i138)
46846
                {
50330
                {
46847
                  VoucherItemMapping _elem131; // required
50331
                  VoucherItemMapping _elem139; // required
46848
                  _elem131 = new VoucherItemMapping();
50332
                  _elem139 = new VoucherItemMapping();
46849
                  _elem131.read(iprot);
50333
                  _elem139.read(iprot);
46850
                  this.success.add(_elem131);
50334
                  this.success.add(_elem139);
46851
                }
50335
                }
46852
                iprot.readListEnd();
50336
                iprot.readListEnd();
46853
              }
50337
              }
46854
            } else { 
50338
            } else { 
46855
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
50339
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46869... Line 50353...
46869
 
50353
 
46870
      if (this.isSetSuccess()) {
50354
      if (this.isSetSuccess()) {
46871
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50355
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46872
        {
50356
        {
46873
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
50357
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
46874
          for (VoucherItemMapping _iter132 : this.success)
50358
          for (VoucherItemMapping _iter140 : this.success)
46875
          {
50359
          {
46876
            _iter132.write(oprot);
50360
            _iter140.write(oprot);
46877
          }
50361
          }
46878
          oprot.writeListEnd();
50362
          oprot.writeListEnd();
46879
        }
50363
        }
46880
        oprot.writeFieldEnd();
50364
        oprot.writeFieldEnd();
46881
      }
50365
      }
Line 47203... Line 50687...
47203
      }
50687
      }
47204
    }
50688
    }
47205
 
50689
 
47206
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
50690
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
47207
      try {
50691
      try {
47208
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
47209
        __isset_bit_vector = new BitSet(1);
-
 
47210
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
50692
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
47211
      } catch (org.apache.thrift.TException te) {
50693
      } catch (org.apache.thrift.TException te) {
47212
        throw new java.io.IOException(te);
50694
        throw new java.io.IOException(te);
47213
      }
50695
      }
47214
    }
50696
    }