@lansweeper/multitenant-api-grpc 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,22 +19,14 @@ var sites_pb = require('./sites_pb.js');
19
19
  goog.object.extend(proto, sites_pb);
20
20
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateInstallRequest', null, global);
21
21
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateInstallResponse', null, global);
22
- goog.exportSymbol('proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest', null, global);
23
- goog.exportSymbol('proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse', null, global);
24
- goog.exportSymbol('proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest', null, global);
25
- goog.exportSymbol('proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse', null, global);
26
22
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest', null, global);
27
23
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse', null, global);
28
24
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest', null, global);
29
25
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsCountResponse', null, global);
30
26
  goog.exportSymbol('proto.lansweeper.multitenant.v1.Install', null, global);
31
27
  goog.exportSymbol('proto.lansweeper.multitenant.v1.InstallCredentials', null, global);
32
- goog.exportSymbol('proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest', null, global);
33
- goog.exportSymbol('proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse', null, global);
34
28
  goog.exportSymbol('proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest', null, global);
35
29
  goog.exportSymbol('proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse', null, global);
36
- goog.exportSymbol('proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest', null, global);
37
- goog.exportSymbol('proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse', null, global);
38
30
  goog.exportSymbol('proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest', null, global);
39
31
  goog.exportSymbol('proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse', null, global);
40
32
  goog.exportSymbol('proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest', null, global);
@@ -271,48 +263,6 @@ if (goog.DEBUG && !COMPILED) {
271
263
  */
272
264
  proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse.displayName = 'proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse';
273
265
  }
274
- /**
275
- * Generated by JsPbCodeGenerator.
276
- * @param {Array=} opt_data Optional initial data array, typically from a
277
- * server response, or constructed directly in Javascript. The array is used
278
- * in place and becomes part of the constructed object. It is not cloned.
279
- * If no data is provided, the constructed object will be empty, but still
280
- * valid.
281
- * @extends {jspb.Message}
282
- * @constructor
283
- */
284
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest = function(opt_data) {
285
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
286
- };
287
- goog.inherits(proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest, jspb.Message);
288
- if (goog.DEBUG && !COMPILED) {
289
- /**
290
- * @public
291
- * @override
292
- */
293
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.displayName = 'proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest';
294
- }
295
- /**
296
- * Generated by JsPbCodeGenerator.
297
- * @param {Array=} opt_data Optional initial data array, typically from a
298
- * server response, or constructed directly in Javascript. The array is used
299
- * in place and becomes part of the constructed object. It is not cloned.
300
- * If no data is provided, the constructed object will be empty, but still
301
- * valid.
302
- * @extends {jspb.Message}
303
- * @constructor
304
- */
305
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse = function(opt_data) {
306
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
307
- };
308
- goog.inherits(proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse, jspb.Message);
309
- if (goog.DEBUG && !COMPILED) {
310
- /**
311
- * @public
312
- * @override
313
- */
314
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.displayName = 'proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse';
315
- }
316
266
  /**
317
267
  * Generated by JsPbCodeGenerator.
318
268
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -355,48 +305,6 @@ if (goog.DEBUG && !COMPILED) {
355
305
  */
356
306
  proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.displayName = 'proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse';
357
307
  }
358
- /**
359
- * Generated by JsPbCodeGenerator.
360
- * @param {Array=} opt_data Optional initial data array, typically from a
361
- * server response, or constructed directly in Javascript. The array is used
362
- * in place and becomes part of the constructed object. It is not cloned.
363
- * If no data is provided, the constructed object will be empty, but still
364
- * valid.
365
- * @extends {jspb.Message}
366
- * @constructor
367
- */
368
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest = function(opt_data) {
369
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
370
- };
371
- goog.inherits(proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest, jspb.Message);
372
- if (goog.DEBUG && !COMPILED) {
373
- /**
374
- * @public
375
- * @override
376
- */
377
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.displayName = 'proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest';
378
- }
379
- /**
380
- * Generated by JsPbCodeGenerator.
381
- * @param {Array=} opt_data Optional initial data array, typically from a
382
- * server response, or constructed directly in Javascript. The array is used
383
- * in place and becomes part of the constructed object. It is not cloned.
384
- * If no data is provided, the constructed object will be empty, but still
385
- * valid.
386
- * @extends {jspb.Message}
387
- * @constructor
388
- */
389
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse = function(opt_data) {
390
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
391
- };
392
- goog.inherits(proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse, jspb.Message);
393
- if (goog.DEBUG && !COMPILED) {
394
- /**
395
- * @public
396
- * @override
397
- */
398
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.displayName = 'proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse';
399
- }
400
308
  /**
401
309
  * Generated by JsPbCodeGenerator.
402
310
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -439,90 +347,6 @@ if (goog.DEBUG && !COMPILED) {
439
347
  */
440
348
  proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.displayName = 'proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse';
441
349
  }
442
- /**
443
- * Generated by JsPbCodeGenerator.
444
- * @param {Array=} opt_data Optional initial data array, typically from a
445
- * server response, or constructed directly in Javascript. The array is used
446
- * in place and becomes part of the constructed object. It is not cloned.
447
- * If no data is provided, the constructed object will be empty, but still
448
- * valid.
449
- * @extends {jspb.Message}
450
- * @constructor
451
- */
452
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest = function(opt_data) {
453
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
454
- };
455
- goog.inherits(proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest, jspb.Message);
456
- if (goog.DEBUG && !COMPILED) {
457
- /**
458
- * @public
459
- * @override
460
- */
461
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.displayName = 'proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest';
462
- }
463
- /**
464
- * Generated by JsPbCodeGenerator.
465
- * @param {Array=} opt_data Optional initial data array, typically from a
466
- * server response, or constructed directly in Javascript. The array is used
467
- * in place and becomes part of the constructed object. It is not cloned.
468
- * If no data is provided, the constructed object will be empty, but still
469
- * valid.
470
- * @extends {jspb.Message}
471
- * @constructor
472
- */
473
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse = function(opt_data) {
474
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
475
- };
476
- goog.inherits(proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse, jspb.Message);
477
- if (goog.DEBUG && !COMPILED) {
478
- /**
479
- * @public
480
- * @override
481
- */
482
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.displayName = 'proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse';
483
- }
484
- /**
485
- * Generated by JsPbCodeGenerator.
486
- * @param {Array=} opt_data Optional initial data array, typically from a
487
- * server response, or constructed directly in Javascript. The array is used
488
- * in place and becomes part of the constructed object. It is not cloned.
489
- * If no data is provided, the constructed object will be empty, but still
490
- * valid.
491
- * @extends {jspb.Message}
492
- * @constructor
493
- */
494
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest = function(opt_data) {
495
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
496
- };
497
- goog.inherits(proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest, jspb.Message);
498
- if (goog.DEBUG && !COMPILED) {
499
- /**
500
- * @public
501
- * @override
502
- */
503
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.displayName = 'proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest';
504
- }
505
- /**
506
- * Generated by JsPbCodeGenerator.
507
- * @param {Array=} opt_data Optional initial data array, typically from a
508
- * server response, or constructed directly in Javascript. The array is used
509
- * in place and becomes part of the constructed object. It is not cloned.
510
- * If no data is provided, the constructed object will be empty, but still
511
- * valid.
512
- * @extends {jspb.Message}
513
- * @constructor
514
- */
515
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse = function(opt_data) {
516
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
517
- };
518
- goog.inherits(proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse, jspb.Message);
519
- if (goog.DEBUG && !COMPILED) {
520
- /**
521
- * @public
522
- * @override
523
- */
524
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.displayName = 'proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse';
525
- }
526
350
 
527
351
 
528
352
 
@@ -1572,9 +1396,7 @@ proto.lansweeper.multitenant.v1.CreateInstallRequest.toObject = function(include
1572
1396
  status: jspb.Message.getFieldWithDefault(msg, 5, ""),
1573
1397
  fqdn: jspb.Message.getFieldWithDefault(msg, 6, ""),
1574
1398
  createdById: jspb.Message.getFieldWithDefault(msg, 7, ""),
1575
- createSqsQueue: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
1576
- siteMode: jspb.Message.getFieldWithDefault(msg, 9, 0),
1577
- license: jspb.Message.getFieldWithDefault(msg, 10, "")
1399
+ createSqsQueue: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
1578
1400
  };
1579
1401
 
1580
1402
  if (includeInstance) {
@@ -1639,14 +1461,6 @@ proto.lansweeper.multitenant.v1.CreateInstallRequest.deserializeBinaryFromReader
1639
1461
  var value = /** @type {boolean} */ (reader.readBool());
1640
1462
  msg.setCreateSqsQueue(value);
1641
1463
  break;
1642
- case 9:
1643
- var value = /** @type {!proto.lansweeper.multitenant.v1.SiteMode} */ (reader.readEnum());
1644
- msg.setSiteMode(value);
1645
- break;
1646
- case 10:
1647
- var value = /** @type {string} */ (reader.readString());
1648
- msg.setLicense(value);
1649
- break;
1650
1464
  default:
1651
1465
  reader.skipField();
1652
1466
  break;
@@ -1725,20 +1539,6 @@ proto.lansweeper.multitenant.v1.CreateInstallRequest.serializeBinaryToWriter = f
1725
1539
  f
1726
1540
  );
1727
1541
  }
1728
- f = message.getSiteMode();
1729
- if (f !== 0.0) {
1730
- writer.writeEnum(
1731
- 9,
1732
- f
1733
- );
1734
- }
1735
- f = message.getLicense();
1736
- if (f.length > 0) {
1737
- writer.writeString(
1738
- 10,
1739
- f
1740
- );
1741
- }
1742
1542
  };
1743
1543
 
1744
1544
 
@@ -1868,42 +1668,6 @@ proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.setCreateSqsQueue
1868
1668
  };
1869
1669
 
1870
1670
 
1871
- /**
1872
- * optional SiteMode site_mode = 9;
1873
- * @return {!proto.lansweeper.multitenant.v1.SiteMode}
1874
- */
1875
- proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.getSiteMode = function() {
1876
- return /** @type {!proto.lansweeper.multitenant.v1.SiteMode} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
1877
- };
1878
-
1879
-
1880
- /**
1881
- * @param {!proto.lansweeper.multitenant.v1.SiteMode} value
1882
- * @return {!proto.lansweeper.multitenant.v1.CreateInstallRequest} returns this
1883
- */
1884
- proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.setSiteMode = function(value) {
1885
- return jspb.Message.setProto3EnumField(this, 9, value);
1886
- };
1887
-
1888
-
1889
- /**
1890
- * optional string license = 10;
1891
- * @return {string}
1892
- */
1893
- proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.getLicense = function() {
1894
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
1895
- };
1896
-
1897
-
1898
- /**
1899
- * @param {string} value
1900
- * @return {!proto.lansweeper.multitenant.v1.CreateInstallRequest} returns this
1901
- */
1902
- proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.setLicense = function(value) {
1903
- return jspb.Message.setProto3StringField(this, 10, value);
1904
- };
1905
-
1906
-
1907
1671
 
1908
1672
 
1909
1673
 
@@ -2794,8 +2558,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2794
2558
  * http://goto/soy-param-migration
2795
2559
  * @return {!Object}
2796
2560
  */
2797
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.prototype.toObject = function(opt_includeInstance) {
2798
- return proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.toObject(opt_includeInstance, this);
2561
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.prototype.toObject = function(opt_includeInstance) {
2562
+ return proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.toObject(opt_includeInstance, this);
2799
2563
  };
2800
2564
 
2801
2565
 
@@ -2804,13 +2568,14 @@ proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.prototype.toObjec
2804
2568
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2805
2569
  * the JSPB instance for transitional soy proto support:
2806
2570
  * http://goto/soy-param-migration
2807
- * @param {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest} msg The msg instance to transform.
2571
+ * @param {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest} msg The msg instance to transform.
2808
2572
  * @return {!Object}
2809
2573
  * @suppress {unusedLocalVariables} f is only used for nested messages
2810
2574
  */
2811
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.toObject = function(includeInstance, msg) {
2575
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.toObject = function(includeInstance, msg) {
2812
2576
  var f, obj = {
2813
- clientId: jspb.Message.getFieldWithDefault(msg, 1, "")
2577
+ clientId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2578
+ trackId: jspb.Message.getFieldWithDefault(msg, 2, "")
2814
2579
  };
2815
2580
 
2816
2581
  if (includeInstance) {
@@ -2824,23 +2589,23 @@ proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.toObject = functi
2824
2589
  /**
2825
2590
  * Deserializes binary data (in protobuf wire format).
2826
2591
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2827
- * @return {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest}
2592
+ * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest}
2828
2593
  */
2829
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.deserializeBinary = function(bytes) {
2594
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.deserializeBinary = function(bytes) {
2830
2595
  var reader = new jspb.BinaryReader(bytes);
2831
- var msg = new proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest;
2832
- return proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.deserializeBinaryFromReader(msg, reader);
2596
+ var msg = new proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest;
2597
+ return proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.deserializeBinaryFromReader(msg, reader);
2833
2598
  };
2834
2599
 
2835
2600
 
2836
2601
  /**
2837
2602
  * Deserializes binary data (in protobuf wire format) from the
2838
2603
  * given reader into the given message object.
2839
- * @param {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest} msg The message object to deserialize into.
2604
+ * @param {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest} msg The message object to deserialize into.
2840
2605
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2841
- * @return {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest}
2606
+ * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest}
2842
2607
  */
2843
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.deserializeBinaryFromReader = function(msg, reader) {
2608
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.deserializeBinaryFromReader = function(msg, reader) {
2844
2609
  while (reader.nextField()) {
2845
2610
  if (reader.isEndGroup()) {
2846
2611
  break;
@@ -2851,6 +2616,10 @@ proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.deserializeBinary
2851
2616
  var value = /** @type {string} */ (reader.readString());
2852
2617
  msg.setClientId(value);
2853
2618
  break;
2619
+ case 2:
2620
+ var value = /** @type {string} */ (reader.readString());
2621
+ msg.setTrackId(value);
2622
+ break;
2854
2623
  default:
2855
2624
  reader.skipField();
2856
2625
  break;
@@ -2864,9 +2633,9 @@ proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.deserializeBinary
2864
2633
  * Serializes the message to binary data (in protobuf wire format).
2865
2634
  * @return {!Uint8Array}
2866
2635
  */
2867
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.prototype.serializeBinary = function() {
2636
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.prototype.serializeBinary = function() {
2868
2637
  var writer = new jspb.BinaryWriter();
2869
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.serializeBinaryToWriter(this, writer);
2638
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.serializeBinaryToWriter(this, writer);
2870
2639
  return writer.getResultBuffer();
2871
2640
  };
2872
2641
 
@@ -2874,11 +2643,11 @@ proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.prototype.seriali
2874
2643
  /**
2875
2644
  * Serializes the given message to binary data (in protobuf wire
2876
2645
  * format), writing to the given BinaryWriter.
2877
- * @param {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest} message
2646
+ * @param {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest} message
2878
2647
  * @param {!jspb.BinaryWriter} writer
2879
2648
  * @suppress {unusedLocalVariables} f is only used for nested messages
2880
2649
  */
2881
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.serializeBinaryToWriter = function(message, writer) {
2650
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.serializeBinaryToWriter = function(message, writer) {
2882
2651
  var f = undefined;
2883
2652
  f = message.getClientId();
2884
2653
  if (f.length > 0) {
@@ -2887,6 +2656,13 @@ proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.serializeBinaryTo
2887
2656
  f
2888
2657
  );
2889
2658
  }
2659
+ f = message.getTrackId();
2660
+ if (f.length > 0) {
2661
+ writer.writeString(
2662
+ 2,
2663
+ f
2664
+ );
2665
+ }
2890
2666
  };
2891
2667
 
2892
2668
 
@@ -2894,20 +2670,38 @@ proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.serializeBinaryTo
2894
2670
  * optional string client_id = 1;
2895
2671
  * @return {string}
2896
2672
  */
2897
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.prototype.getClientId = function() {
2673
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.prototype.getClientId = function() {
2898
2674
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2899
2675
  };
2900
2676
 
2901
2677
 
2902
2678
  /**
2903
2679
  * @param {string} value
2904
- * @return {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest} returns this
2680
+ * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest} returns this
2905
2681
  */
2906
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.prototype.setClientId = function(value) {
2682
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.prototype.setClientId = function(value) {
2907
2683
  return jspb.Message.setProto3StringField(this, 1, value);
2908
2684
  };
2909
2685
 
2910
2686
 
2687
+ /**
2688
+ * optional string track_id = 2;
2689
+ * @return {string}
2690
+ */
2691
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.prototype.getTrackId = function() {
2692
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2693
+ };
2694
+
2695
+
2696
+ /**
2697
+ * @param {string} value
2698
+ * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest} returns this
2699
+ */
2700
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.prototype.setTrackId = function(value) {
2701
+ return jspb.Message.setProto3StringField(this, 2, value);
2702
+ };
2703
+
2704
+
2911
2705
 
2912
2706
 
2913
2707
 
@@ -2924,8 +2718,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2924
2718
  * http://goto/soy-param-migration
2925
2719
  * @return {!Object}
2926
2720
  */
2927
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.prototype.toObject = function(opt_includeInstance) {
2928
- return proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.toObject(opt_includeInstance, this);
2721
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.toObject = function(opt_includeInstance) {
2722
+ return proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.toObject(opt_includeInstance, this);
2929
2723
  };
2930
2724
 
2931
2725
 
@@ -2934,13 +2728,17 @@ proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.prototype.toObje
2934
2728
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2935
2729
  * the JSPB instance for transitional soy proto support:
2936
2730
  * http://goto/soy-param-migration
2937
- * @param {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse} msg The msg instance to transform.
2731
+ * @param {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} msg The msg instance to transform.
2938
2732
  * @return {!Object}
2939
2733
  * @suppress {unusedLocalVariables} f is only used for nested messages
2940
2734
  */
2941
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.toObject = function(includeInstance, msg) {
2735
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.toObject = function(includeInstance, msg) {
2942
2736
  var f, obj = {
2943
- success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
2737
+ success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
2738
+ siteId: jspb.Message.getFieldWithDefault(msg, 2, ""),
2739
+ oldInstallId: jspb.Message.getFieldWithDefault(msg, 3, ""),
2740
+ newInstallId: jspb.Message.getFieldWithDefault(msg, 4, ""),
2741
+ credentials: (f = msg.getCredentials()) && proto.lansweeper.multitenant.v1.InstallCredentials.toObject(includeInstance, f)
2944
2742
  };
2945
2743
 
2946
2744
  if (includeInstance) {
@@ -2954,23 +2752,23 @@ proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.toObject = funct
2954
2752
  /**
2955
2753
  * Deserializes binary data (in protobuf wire format).
2956
2754
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2957
- * @return {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse}
2755
+ * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse}
2958
2756
  */
2959
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.deserializeBinary = function(bytes) {
2757
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.deserializeBinary = function(bytes) {
2960
2758
  var reader = new jspb.BinaryReader(bytes);
2961
- var msg = new proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse;
2962
- return proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.deserializeBinaryFromReader(msg, reader);
2759
+ var msg = new proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse;
2760
+ return proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.deserializeBinaryFromReader(msg, reader);
2963
2761
  };
2964
2762
 
2965
2763
 
2966
2764
  /**
2967
2765
  * Deserializes binary data (in protobuf wire format) from the
2968
2766
  * given reader into the given message object.
2969
- * @param {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse} msg The message object to deserialize into.
2767
+ * @param {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} msg The message object to deserialize into.
2970
2768
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2971
- * @return {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse}
2769
+ * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse}
2972
2770
  */
2973
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.deserializeBinaryFromReader = function(msg, reader) {
2771
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.deserializeBinaryFromReader = function(msg, reader) {
2974
2772
  while (reader.nextField()) {
2975
2773
  if (reader.isEndGroup()) {
2976
2774
  break;
@@ -2981,1216 +2779,22 @@ proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.deserializeBinar
2981
2779
  var value = /** @type {boolean} */ (reader.readBool());
2982
2780
  msg.setSuccess(value);
2983
2781
  break;
2984
- default:
2985
- reader.skipField();
2782
+ case 2:
2783
+ var value = /** @type {string} */ (reader.readString());
2784
+ msg.setSiteId(value);
2986
2785
  break;
2987
- }
2988
- }
2989
- return msg;
2990
- };
2991
-
2992
-
2993
- /**
2994
- * Serializes the message to binary data (in protobuf wire format).
2995
- * @return {!Uint8Array}
2996
- */
2997
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.prototype.serializeBinary = function() {
2998
- var writer = new jspb.BinaryWriter();
2999
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.serializeBinaryToWriter(this, writer);
3000
- return writer.getResultBuffer();
3001
- };
3002
-
3003
-
3004
- /**
3005
- * Serializes the given message to binary data (in protobuf wire
3006
- * format), writing to the given BinaryWriter.
3007
- * @param {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse} message
3008
- * @param {!jspb.BinaryWriter} writer
3009
- * @suppress {unusedLocalVariables} f is only used for nested messages
3010
- */
3011
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.serializeBinaryToWriter = function(message, writer) {
3012
- var f = undefined;
3013
- f = message.getSuccess();
3014
- if (f) {
3015
- writer.writeBool(
3016
- 1,
3017
- f
3018
- );
3019
- }
3020
- };
3021
-
3022
-
3023
- /**
3024
- * optional bool success = 1;
3025
- * @return {boolean}
3026
- */
3027
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.prototype.getSuccess = function() {
3028
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
3029
- };
3030
-
3031
-
3032
- /**
3033
- * @param {boolean} value
3034
- * @return {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse} returns this
3035
- */
3036
- proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.prototype.setSuccess = function(value) {
3037
- return jspb.Message.setProto3BooleanField(this, 1, value);
3038
- };
3039
-
3040
-
3041
-
3042
-
3043
-
3044
- if (jspb.Message.GENERATE_TO_OBJECT) {
3045
- /**
3046
- * Creates an object representation of this proto.
3047
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3048
- * Optional fields that are not set will be set to undefined.
3049
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3050
- * For the list of reserved names please see:
3051
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3052
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3053
- * JSPB instance for transitional soy proto support:
3054
- * http://goto/soy-param-migration
3055
- * @return {!Object}
3056
- */
3057
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.prototype.toObject = function(opt_includeInstance) {
3058
- return proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.toObject(opt_includeInstance, this);
3059
- };
3060
-
3061
-
3062
- /**
3063
- * Static version of the {@see toObject} method.
3064
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3065
- * the JSPB instance for transitional soy proto support:
3066
- * http://goto/soy-param-migration
3067
- * @param {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest} msg The msg instance to transform.
3068
- * @return {!Object}
3069
- * @suppress {unusedLocalVariables} f is only used for nested messages
3070
- */
3071
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.toObject = function(includeInstance, msg) {
3072
- var f, obj = {
3073
- clientId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3074
- trackId: jspb.Message.getFieldWithDefault(msg, 2, "")
3075
- };
3076
-
3077
- if (includeInstance) {
3078
- obj.$jspbMessageInstance = msg;
3079
- }
3080
- return obj;
3081
- };
3082
- }
3083
-
3084
-
3085
- /**
3086
- * Deserializes binary data (in protobuf wire format).
3087
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3088
- * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest}
3089
- */
3090
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.deserializeBinary = function(bytes) {
3091
- var reader = new jspb.BinaryReader(bytes);
3092
- var msg = new proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest;
3093
- return proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.deserializeBinaryFromReader(msg, reader);
3094
- };
3095
-
3096
-
3097
- /**
3098
- * Deserializes binary data (in protobuf wire format) from the
3099
- * given reader into the given message object.
3100
- * @param {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest} msg The message object to deserialize into.
3101
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3102
- * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest}
3103
- */
3104
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.deserializeBinaryFromReader = function(msg, reader) {
3105
- while (reader.nextField()) {
3106
- if (reader.isEndGroup()) {
3107
- break;
3108
- }
3109
- var field = reader.getFieldNumber();
3110
- switch (field) {
3111
- case 1:
3112
- var value = /** @type {string} */ (reader.readString());
3113
- msg.setClientId(value);
3114
- break;
3115
- case 2:
3116
- var value = /** @type {string} */ (reader.readString());
3117
- msg.setTrackId(value);
3118
- break;
3119
- default:
3120
- reader.skipField();
3121
- break;
3122
- }
3123
- }
3124
- return msg;
3125
- };
3126
-
3127
-
3128
- /**
3129
- * Serializes the message to binary data (in protobuf wire format).
3130
- * @return {!Uint8Array}
3131
- */
3132
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.prototype.serializeBinary = function() {
3133
- var writer = new jspb.BinaryWriter();
3134
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.serializeBinaryToWriter(this, writer);
3135
- return writer.getResultBuffer();
3136
- };
3137
-
3138
-
3139
- /**
3140
- * Serializes the given message to binary data (in protobuf wire
3141
- * format), writing to the given BinaryWriter.
3142
- * @param {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest} message
3143
- * @param {!jspb.BinaryWriter} writer
3144
- * @suppress {unusedLocalVariables} f is only used for nested messages
3145
- */
3146
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.serializeBinaryToWriter = function(message, writer) {
3147
- var f = undefined;
3148
- f = message.getClientId();
3149
- if (f.length > 0) {
3150
- writer.writeString(
3151
- 1,
3152
- f
3153
- );
3154
- }
3155
- f = message.getTrackId();
3156
- if (f.length > 0) {
3157
- writer.writeString(
3158
- 2,
3159
- f
3160
- );
3161
- }
3162
- };
3163
-
3164
-
3165
- /**
3166
- * optional string client_id = 1;
3167
- * @return {string}
3168
- */
3169
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.prototype.getClientId = function() {
3170
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3171
- };
3172
-
3173
-
3174
- /**
3175
- * @param {string} value
3176
- * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest} returns this
3177
- */
3178
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.prototype.setClientId = function(value) {
3179
- return jspb.Message.setProto3StringField(this, 1, value);
3180
- };
3181
-
3182
-
3183
- /**
3184
- * optional string track_id = 2;
3185
- * @return {string}
3186
- */
3187
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.prototype.getTrackId = function() {
3188
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3189
- };
3190
-
3191
-
3192
- /**
3193
- * @param {string} value
3194
- * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest} returns this
3195
- */
3196
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.prototype.setTrackId = function(value) {
3197
- return jspb.Message.setProto3StringField(this, 2, value);
3198
- };
3199
-
3200
-
3201
-
3202
-
3203
-
3204
- if (jspb.Message.GENERATE_TO_OBJECT) {
3205
- /**
3206
- * Creates an object representation of this proto.
3207
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3208
- * Optional fields that are not set will be set to undefined.
3209
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3210
- * For the list of reserved names please see:
3211
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3212
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3213
- * JSPB instance for transitional soy proto support:
3214
- * http://goto/soy-param-migration
3215
- * @return {!Object}
3216
- */
3217
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.toObject = function(opt_includeInstance) {
3218
- return proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.toObject(opt_includeInstance, this);
3219
- };
3220
-
3221
-
3222
- /**
3223
- * Static version of the {@see toObject} method.
3224
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3225
- * the JSPB instance for transitional soy proto support:
3226
- * http://goto/soy-param-migration
3227
- * @param {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} msg The msg instance to transform.
3228
- * @return {!Object}
3229
- * @suppress {unusedLocalVariables} f is only used for nested messages
3230
- */
3231
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.toObject = function(includeInstance, msg) {
3232
- var f, obj = {
3233
- success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
3234
- siteId: jspb.Message.getFieldWithDefault(msg, 2, ""),
3235
- oldInstallId: jspb.Message.getFieldWithDefault(msg, 3, ""),
3236
- newInstallId: jspb.Message.getFieldWithDefault(msg, 4, ""),
3237
- credentials: (f = msg.getCredentials()) && proto.lansweeper.multitenant.v1.InstallCredentials.toObject(includeInstance, f)
3238
- };
3239
-
3240
- if (includeInstance) {
3241
- obj.$jspbMessageInstance = msg;
3242
- }
3243
- return obj;
3244
- };
3245
- }
3246
-
3247
-
3248
- /**
3249
- * Deserializes binary data (in protobuf wire format).
3250
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3251
- * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse}
3252
- */
3253
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.deserializeBinary = function(bytes) {
3254
- var reader = new jspb.BinaryReader(bytes);
3255
- var msg = new proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse;
3256
- return proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.deserializeBinaryFromReader(msg, reader);
3257
- };
3258
-
3259
-
3260
- /**
3261
- * Deserializes binary data (in protobuf wire format) from the
3262
- * given reader into the given message object.
3263
- * @param {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} msg The message object to deserialize into.
3264
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3265
- * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse}
3266
- */
3267
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.deserializeBinaryFromReader = function(msg, reader) {
3268
- while (reader.nextField()) {
3269
- if (reader.isEndGroup()) {
3270
- break;
3271
- }
3272
- var field = reader.getFieldNumber();
3273
- switch (field) {
3274
- case 1:
3275
- var value = /** @type {boolean} */ (reader.readBool());
3276
- msg.setSuccess(value);
3277
- break;
3278
- case 2:
3279
- var value = /** @type {string} */ (reader.readString());
3280
- msg.setSiteId(value);
3281
- break;
3282
- case 3:
3283
- var value = /** @type {string} */ (reader.readString());
3284
- msg.setOldInstallId(value);
3285
- break;
3286
- case 4:
3287
- var value = /** @type {string} */ (reader.readString());
3288
- msg.setNewInstallId(value);
3289
- break;
3290
- case 5:
3291
- var value = new proto.lansweeper.multitenant.v1.InstallCredentials;
3292
- reader.readMessage(value,proto.lansweeper.multitenant.v1.InstallCredentials.deserializeBinaryFromReader);
3293
- msg.setCredentials(value);
3294
- break;
3295
- default:
3296
- reader.skipField();
3297
- break;
3298
- }
3299
- }
3300
- return msg;
3301
- };
3302
-
3303
-
3304
- /**
3305
- * Serializes the message to binary data (in protobuf wire format).
3306
- * @return {!Uint8Array}
3307
- */
3308
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.serializeBinary = function() {
3309
- var writer = new jspb.BinaryWriter();
3310
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.serializeBinaryToWriter(this, writer);
3311
- return writer.getResultBuffer();
3312
- };
3313
-
3314
-
3315
- /**
3316
- * Serializes the given message to binary data (in protobuf wire
3317
- * format), writing to the given BinaryWriter.
3318
- * @param {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} message
3319
- * @param {!jspb.BinaryWriter} writer
3320
- * @suppress {unusedLocalVariables} f is only used for nested messages
3321
- */
3322
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.serializeBinaryToWriter = function(message, writer) {
3323
- var f = undefined;
3324
- f = message.getSuccess();
3325
- if (f) {
3326
- writer.writeBool(
3327
- 1,
3328
- f
3329
- );
3330
- }
3331
- f = message.getSiteId();
3332
- if (f.length > 0) {
3333
- writer.writeString(
3334
- 2,
3335
- f
3336
- );
3337
- }
3338
- f = message.getOldInstallId();
3339
- if (f.length > 0) {
3340
- writer.writeString(
3341
- 3,
3342
- f
3343
- );
3344
- }
3345
- f = message.getNewInstallId();
3346
- if (f.length > 0) {
3347
- writer.writeString(
3348
- 4,
3349
- f
3350
- );
3351
- }
3352
- f = message.getCredentials();
3353
- if (f != null) {
3354
- writer.writeMessage(
3355
- 5,
3356
- f,
3357
- proto.lansweeper.multitenant.v1.InstallCredentials.serializeBinaryToWriter
3358
- );
3359
- }
3360
- };
3361
-
3362
-
3363
- /**
3364
- * optional bool success = 1;
3365
- * @return {boolean}
3366
- */
3367
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.getSuccess = function() {
3368
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
3369
- };
3370
-
3371
-
3372
- /**
3373
- * @param {boolean} value
3374
- * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} returns this
3375
- */
3376
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.setSuccess = function(value) {
3377
- return jspb.Message.setProto3BooleanField(this, 1, value);
3378
- };
3379
-
3380
-
3381
- /**
3382
- * optional string site_id = 2;
3383
- * @return {string}
3384
- */
3385
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.getSiteId = function() {
3386
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3387
- };
3388
-
3389
-
3390
- /**
3391
- * @param {string} value
3392
- * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} returns this
3393
- */
3394
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.setSiteId = function(value) {
3395
- return jspb.Message.setProto3StringField(this, 2, value);
3396
- };
3397
-
3398
-
3399
- /**
3400
- * optional string old_install_id = 3;
3401
- * @return {string}
3402
- */
3403
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.getOldInstallId = function() {
3404
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3405
- };
3406
-
3407
-
3408
- /**
3409
- * @param {string} value
3410
- * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} returns this
3411
- */
3412
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.setOldInstallId = function(value) {
3413
- return jspb.Message.setProto3StringField(this, 3, value);
3414
- };
3415
-
3416
-
3417
- /**
3418
- * optional string new_install_id = 4;
3419
- * @return {string}
3420
- */
3421
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.getNewInstallId = function() {
3422
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3423
- };
3424
-
3425
-
3426
- /**
3427
- * @param {string} value
3428
- * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} returns this
3429
- */
3430
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.setNewInstallId = function(value) {
3431
- return jspb.Message.setProto3StringField(this, 4, value);
3432
- };
3433
-
3434
-
3435
- /**
3436
- * optional InstallCredentials credentials = 5;
3437
- * @return {?proto.lansweeper.multitenant.v1.InstallCredentials}
3438
- */
3439
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.getCredentials = function() {
3440
- return /** @type{?proto.lansweeper.multitenant.v1.InstallCredentials} */ (
3441
- jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.InstallCredentials, 5));
3442
- };
3443
-
3444
-
3445
- /**
3446
- * @param {?proto.lansweeper.multitenant.v1.InstallCredentials|undefined} value
3447
- * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} returns this
3448
- */
3449
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.setCredentials = function(value) {
3450
- return jspb.Message.setWrapperField(this, 5, value);
3451
- };
3452
-
3453
-
3454
- /**
3455
- * Clears the message field making it undefined.
3456
- * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} returns this
3457
- */
3458
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.clearCredentials = function() {
3459
- return this.setCredentials(undefined);
3460
- };
3461
-
3462
-
3463
- /**
3464
- * Returns whether this field is set.
3465
- * @return {boolean}
3466
- */
3467
- proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.hasCredentials = function() {
3468
- return jspb.Message.getField(this, 5) != null;
3469
- };
3470
-
3471
-
3472
-
3473
-
3474
-
3475
- if (jspb.Message.GENERATE_TO_OBJECT) {
3476
- /**
3477
- * Creates an object representation of this proto.
3478
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3479
- * Optional fields that are not set will be set to undefined.
3480
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3481
- * For the list of reserved names please see:
3482
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3483
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3484
- * JSPB instance for transitional soy proto support:
3485
- * http://goto/soy-param-migration
3486
- * @return {!Object}
3487
- */
3488
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.prototype.toObject = function(opt_includeInstance) {
3489
- return proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.toObject(opt_includeInstance, this);
3490
- };
3491
-
3492
-
3493
- /**
3494
- * Static version of the {@see toObject} method.
3495
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3496
- * the JSPB instance for transitional soy proto support:
3497
- * http://goto/soy-param-migration
3498
- * @param {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest} msg The msg instance to transform.
3499
- * @return {!Object}
3500
- * @suppress {unusedLocalVariables} f is only used for nested messages
3501
- */
3502
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.toObject = function(includeInstance, msg) {
3503
- var f, obj = {
3504
- clientId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3505
- trackId: jspb.Message.getFieldWithDefault(msg, 2, "")
3506
- };
3507
-
3508
- if (includeInstance) {
3509
- obj.$jspbMessageInstance = msg;
3510
- }
3511
- return obj;
3512
- };
3513
- }
3514
-
3515
-
3516
- /**
3517
- * Deserializes binary data (in protobuf wire format).
3518
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3519
- * @return {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest}
3520
- */
3521
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.deserializeBinary = function(bytes) {
3522
- var reader = new jspb.BinaryReader(bytes);
3523
- var msg = new proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest;
3524
- return proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.deserializeBinaryFromReader(msg, reader);
3525
- };
3526
-
3527
-
3528
- /**
3529
- * Deserializes binary data (in protobuf wire format) from the
3530
- * given reader into the given message object.
3531
- * @param {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest} msg The message object to deserialize into.
3532
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3533
- * @return {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest}
3534
- */
3535
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.deserializeBinaryFromReader = function(msg, reader) {
3536
- while (reader.nextField()) {
3537
- if (reader.isEndGroup()) {
3538
- break;
3539
- }
3540
- var field = reader.getFieldNumber();
3541
- switch (field) {
3542
- case 1:
3543
- var value = /** @type {string} */ (reader.readString());
3544
- msg.setClientId(value);
3545
- break;
3546
- case 2:
3547
- var value = /** @type {string} */ (reader.readString());
3548
- msg.setTrackId(value);
3549
- break;
3550
- default:
3551
- reader.skipField();
3552
- break;
3553
- }
3554
- }
3555
- return msg;
3556
- };
3557
-
3558
-
3559
- /**
3560
- * Serializes the message to binary data (in protobuf wire format).
3561
- * @return {!Uint8Array}
3562
- */
3563
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.prototype.serializeBinary = function() {
3564
- var writer = new jspb.BinaryWriter();
3565
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.serializeBinaryToWriter(this, writer);
3566
- return writer.getResultBuffer();
3567
- };
3568
-
3569
-
3570
- /**
3571
- * Serializes the given message to binary data (in protobuf wire
3572
- * format), writing to the given BinaryWriter.
3573
- * @param {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest} message
3574
- * @param {!jspb.BinaryWriter} writer
3575
- * @suppress {unusedLocalVariables} f is only used for nested messages
3576
- */
3577
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.serializeBinaryToWriter = function(message, writer) {
3578
- var f = undefined;
3579
- f = message.getClientId();
3580
- if (f.length > 0) {
3581
- writer.writeString(
3582
- 1,
3583
- f
3584
- );
3585
- }
3586
- f = message.getTrackId();
3587
- if (f.length > 0) {
3588
- writer.writeString(
3589
- 2,
3590
- f
3591
- );
3592
- }
3593
- };
3594
-
3595
-
3596
- /**
3597
- * optional string client_id = 1;
3598
- * @return {string}
3599
- */
3600
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.prototype.getClientId = function() {
3601
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3602
- };
3603
-
3604
-
3605
- /**
3606
- * @param {string} value
3607
- * @return {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest} returns this
3608
- */
3609
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.prototype.setClientId = function(value) {
3610
- return jspb.Message.setProto3StringField(this, 1, value);
3611
- };
3612
-
3613
-
3614
- /**
3615
- * optional string track_id = 2;
3616
- * @return {string}
3617
- */
3618
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.prototype.getTrackId = function() {
3619
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3620
- };
3621
-
3622
-
3623
- /**
3624
- * @param {string} value
3625
- * @return {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest} returns this
3626
- */
3627
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.prototype.setTrackId = function(value) {
3628
- return jspb.Message.setProto3StringField(this, 2, value);
3629
- };
3630
-
3631
-
3632
-
3633
-
3634
-
3635
- if (jspb.Message.GENERATE_TO_OBJECT) {
3636
- /**
3637
- * Creates an object representation of this proto.
3638
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3639
- * Optional fields that are not set will be set to undefined.
3640
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3641
- * For the list of reserved names please see:
3642
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3643
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3644
- * JSPB instance for transitional soy proto support:
3645
- * http://goto/soy-param-migration
3646
- * @return {!Object}
3647
- */
3648
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.prototype.toObject = function(opt_includeInstance) {
3649
- return proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.toObject(opt_includeInstance, this);
3650
- };
3651
-
3652
-
3653
- /**
3654
- * Static version of the {@see toObject} method.
3655
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3656
- * the JSPB instance for transitional soy proto support:
3657
- * http://goto/soy-param-migration
3658
- * @param {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse} msg The msg instance to transform.
3659
- * @return {!Object}
3660
- * @suppress {unusedLocalVariables} f is only used for nested messages
3661
- */
3662
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.toObject = function(includeInstance, msg) {
3663
- var f, obj = {
3664
- success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
3665
- };
3666
-
3667
- if (includeInstance) {
3668
- obj.$jspbMessageInstance = msg;
3669
- }
3670
- return obj;
3671
- };
3672
- }
3673
-
3674
-
3675
- /**
3676
- * Deserializes binary data (in protobuf wire format).
3677
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3678
- * @return {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse}
3679
- */
3680
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.deserializeBinary = function(bytes) {
3681
- var reader = new jspb.BinaryReader(bytes);
3682
- var msg = new proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse;
3683
- return proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.deserializeBinaryFromReader(msg, reader);
3684
- };
3685
-
3686
-
3687
- /**
3688
- * Deserializes binary data (in protobuf wire format) from the
3689
- * given reader into the given message object.
3690
- * @param {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse} msg The message object to deserialize into.
3691
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3692
- * @return {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse}
3693
- */
3694
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.deserializeBinaryFromReader = function(msg, reader) {
3695
- while (reader.nextField()) {
3696
- if (reader.isEndGroup()) {
3697
- break;
3698
- }
3699
- var field = reader.getFieldNumber();
3700
- switch (field) {
3701
- case 1:
3702
- var value = /** @type {boolean} */ (reader.readBool());
3703
- msg.setSuccess(value);
3704
- break;
3705
- default:
3706
- reader.skipField();
3707
- break;
3708
- }
3709
- }
3710
- return msg;
3711
- };
3712
-
3713
-
3714
- /**
3715
- * Serializes the message to binary data (in protobuf wire format).
3716
- * @return {!Uint8Array}
3717
- */
3718
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.prototype.serializeBinary = function() {
3719
- var writer = new jspb.BinaryWriter();
3720
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.serializeBinaryToWriter(this, writer);
3721
- return writer.getResultBuffer();
3722
- };
3723
-
3724
-
3725
- /**
3726
- * Serializes the given message to binary data (in protobuf wire
3727
- * format), writing to the given BinaryWriter.
3728
- * @param {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse} message
3729
- * @param {!jspb.BinaryWriter} writer
3730
- * @suppress {unusedLocalVariables} f is only used for nested messages
3731
- */
3732
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.serializeBinaryToWriter = function(message, writer) {
3733
- var f = undefined;
3734
- f = message.getSuccess();
3735
- if (f) {
3736
- writer.writeBool(
3737
- 1,
3738
- f
3739
- );
3740
- }
3741
- };
3742
-
3743
-
3744
- /**
3745
- * optional bool success = 1;
3746
- * @return {boolean}
3747
- */
3748
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.prototype.getSuccess = function() {
3749
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
3750
- };
3751
-
3752
-
3753
- /**
3754
- * @param {boolean} value
3755
- * @return {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse} returns this
3756
- */
3757
- proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.prototype.setSuccess = function(value) {
3758
- return jspb.Message.setProto3BooleanField(this, 1, value);
3759
- };
3760
-
3761
-
3762
-
3763
-
3764
-
3765
- if (jspb.Message.GENERATE_TO_OBJECT) {
3766
- /**
3767
- * Creates an object representation of this proto.
3768
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3769
- * Optional fields that are not set will be set to undefined.
3770
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3771
- * For the list of reserved names please see:
3772
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3773
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3774
- * JSPB instance for transitional soy proto support:
3775
- * http://goto/soy-param-migration
3776
- * @return {!Object}
3777
- */
3778
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.toObject = function(opt_includeInstance) {
3779
- return proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.toObject(opt_includeInstance, this);
3780
- };
3781
-
3782
-
3783
- /**
3784
- * Static version of the {@see toObject} method.
3785
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3786
- * the JSPB instance for transitional soy proto support:
3787
- * http://goto/soy-param-migration
3788
- * @param {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} msg The msg instance to transform.
3789
- * @return {!Object}
3790
- * @suppress {unusedLocalVariables} f is only used for nested messages
3791
- */
3792
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.toObject = function(includeInstance, msg) {
3793
- var f, obj = {
3794
- clientId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3795
- trackId: jspb.Message.getFieldWithDefault(msg, 2, ""),
3796
- removeData: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
3797
- fromOnprem: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
3798
- };
3799
-
3800
- if (includeInstance) {
3801
- obj.$jspbMessageInstance = msg;
3802
- }
3803
- return obj;
3804
- };
3805
- }
3806
-
3807
-
3808
- /**
3809
- * Deserializes binary data (in protobuf wire format).
3810
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3811
- * @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest}
3812
- */
3813
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.deserializeBinary = function(bytes) {
3814
- var reader = new jspb.BinaryReader(bytes);
3815
- var msg = new proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest;
3816
- return proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.deserializeBinaryFromReader(msg, reader);
3817
- };
3818
-
3819
-
3820
- /**
3821
- * Deserializes binary data (in protobuf wire format) from the
3822
- * given reader into the given message object.
3823
- * @param {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} msg The message object to deserialize into.
3824
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3825
- * @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest}
3826
- */
3827
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.deserializeBinaryFromReader = function(msg, reader) {
3828
- while (reader.nextField()) {
3829
- if (reader.isEndGroup()) {
3830
- break;
3831
- }
3832
- var field = reader.getFieldNumber();
3833
- switch (field) {
3834
- case 1:
3835
- var value = /** @type {string} */ (reader.readString());
3836
- msg.setClientId(value);
3837
- break;
3838
- case 2:
3839
- var value = /** @type {string} */ (reader.readString());
3840
- msg.setTrackId(value);
3841
- break;
3842
- case 3:
3843
- var value = /** @type {boolean} */ (reader.readBool());
3844
- msg.setRemoveData(value);
3845
- break;
3846
- case 4:
3847
- var value = /** @type {boolean} */ (reader.readBool());
3848
- msg.setFromOnprem(value);
3849
- break;
3850
- default:
3851
- reader.skipField();
3852
- break;
3853
- }
3854
- }
3855
- return msg;
3856
- };
3857
-
3858
-
3859
- /**
3860
- * Serializes the message to binary data (in protobuf wire format).
3861
- * @return {!Uint8Array}
3862
- */
3863
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.serializeBinary = function() {
3864
- var writer = new jspb.BinaryWriter();
3865
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.serializeBinaryToWriter(this, writer);
3866
- return writer.getResultBuffer();
3867
- };
3868
-
3869
-
3870
- /**
3871
- * Serializes the given message to binary data (in protobuf wire
3872
- * format), writing to the given BinaryWriter.
3873
- * @param {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} message
3874
- * @param {!jspb.BinaryWriter} writer
3875
- * @suppress {unusedLocalVariables} f is only used for nested messages
3876
- */
3877
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.serializeBinaryToWriter = function(message, writer) {
3878
- var f = undefined;
3879
- f = message.getClientId();
3880
- if (f.length > 0) {
3881
- writer.writeString(
3882
- 1,
3883
- f
3884
- );
3885
- }
3886
- f = message.getTrackId();
3887
- if (f.length > 0) {
3888
- writer.writeString(
3889
- 2,
3890
- f
3891
- );
3892
- }
3893
- f = message.getRemoveData();
3894
- if (f) {
3895
- writer.writeBool(
3896
- 3,
3897
- f
3898
- );
3899
- }
3900
- f = message.getFromOnprem();
3901
- if (f) {
3902
- writer.writeBool(
3903
- 4,
3904
- f
3905
- );
3906
- }
3907
- };
3908
-
3909
-
3910
- /**
3911
- * optional string client_id = 1;
3912
- * @return {string}
3913
- */
3914
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.getClientId = function() {
3915
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3916
- };
3917
-
3918
-
3919
- /**
3920
- * @param {string} value
3921
- * @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} returns this
3922
- */
3923
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.setClientId = function(value) {
3924
- return jspb.Message.setProto3StringField(this, 1, value);
3925
- };
3926
-
3927
-
3928
- /**
3929
- * optional string track_id = 2;
3930
- * @return {string}
3931
- */
3932
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.getTrackId = function() {
3933
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3934
- };
3935
-
3936
-
3937
- /**
3938
- * @param {string} value
3939
- * @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} returns this
3940
- */
3941
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.setTrackId = function(value) {
3942
- return jspb.Message.setProto3StringField(this, 2, value);
3943
- };
3944
-
3945
-
3946
- /**
3947
- * optional bool remove_data = 3;
3948
- * @return {boolean}
3949
- */
3950
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.getRemoveData = function() {
3951
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
3952
- };
3953
-
3954
-
3955
- /**
3956
- * @param {boolean} value
3957
- * @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} returns this
3958
- */
3959
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.setRemoveData = function(value) {
3960
- return jspb.Message.setProto3BooleanField(this, 3, value);
3961
- };
3962
-
3963
-
3964
- /**
3965
- * optional bool from_onprem = 4;
3966
- * @return {boolean}
3967
- */
3968
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.getFromOnprem = function() {
3969
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
3970
- };
3971
-
3972
-
3973
- /**
3974
- * @param {boolean} value
3975
- * @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} returns this
3976
- */
3977
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.setFromOnprem = function(value) {
3978
- return jspb.Message.setProto3BooleanField(this, 4, value);
3979
- };
3980
-
3981
-
3982
-
3983
-
3984
-
3985
- if (jspb.Message.GENERATE_TO_OBJECT) {
3986
- /**
3987
- * Creates an object representation of this proto.
3988
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3989
- * Optional fields that are not set will be set to undefined.
3990
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3991
- * For the list of reserved names please see:
3992
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3993
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3994
- * JSPB instance for transitional soy proto support:
3995
- * http://goto/soy-param-migration
3996
- * @return {!Object}
3997
- */
3998
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.prototype.toObject = function(opt_includeInstance) {
3999
- return proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.toObject(opt_includeInstance, this);
4000
- };
4001
-
4002
-
4003
- /**
4004
- * Static version of the {@see toObject} method.
4005
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4006
- * the JSPB instance for transitional soy proto support:
4007
- * http://goto/soy-param-migration
4008
- * @param {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse} msg The msg instance to transform.
4009
- * @return {!Object}
4010
- * @suppress {unusedLocalVariables} f is only used for nested messages
4011
- */
4012
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.toObject = function(includeInstance, msg) {
4013
- var f, obj = {
4014
- success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
4015
- };
4016
-
4017
- if (includeInstance) {
4018
- obj.$jspbMessageInstance = msg;
4019
- }
4020
- return obj;
4021
- };
4022
- }
4023
-
4024
-
4025
- /**
4026
- * Deserializes binary data (in protobuf wire format).
4027
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
4028
- * @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse}
4029
- */
4030
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.deserializeBinary = function(bytes) {
4031
- var reader = new jspb.BinaryReader(bytes);
4032
- var msg = new proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse;
4033
- return proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.deserializeBinaryFromReader(msg, reader);
4034
- };
4035
-
4036
-
4037
- /**
4038
- * Deserializes binary data (in protobuf wire format) from the
4039
- * given reader into the given message object.
4040
- * @param {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse} msg The message object to deserialize into.
4041
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4042
- * @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse}
4043
- */
4044
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.deserializeBinaryFromReader = function(msg, reader) {
4045
- while (reader.nextField()) {
4046
- if (reader.isEndGroup()) {
4047
- break;
4048
- }
4049
- var field = reader.getFieldNumber();
4050
- switch (field) {
4051
- case 1:
4052
- var value = /** @type {boolean} */ (reader.readBool());
4053
- msg.setSuccess(value);
4054
- break;
4055
- default:
4056
- reader.skipField();
4057
- break;
4058
- }
4059
- }
4060
- return msg;
4061
- };
4062
-
4063
-
4064
- /**
4065
- * Serializes the message to binary data (in protobuf wire format).
4066
- * @return {!Uint8Array}
4067
- */
4068
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.prototype.serializeBinary = function() {
4069
- var writer = new jspb.BinaryWriter();
4070
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.serializeBinaryToWriter(this, writer);
4071
- return writer.getResultBuffer();
4072
- };
4073
-
4074
-
4075
- /**
4076
- * Serializes the given message to binary data (in protobuf wire
4077
- * format), writing to the given BinaryWriter.
4078
- * @param {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse} message
4079
- * @param {!jspb.BinaryWriter} writer
4080
- * @suppress {unusedLocalVariables} f is only used for nested messages
4081
- */
4082
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.serializeBinaryToWriter = function(message, writer) {
4083
- var f = undefined;
4084
- f = message.getSuccess();
4085
- if (f) {
4086
- writer.writeBool(
4087
- 1,
4088
- f
4089
- );
4090
- }
4091
- };
4092
-
4093
-
4094
- /**
4095
- * optional bool success = 1;
4096
- * @return {boolean}
4097
- */
4098
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.prototype.getSuccess = function() {
4099
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
4100
- };
4101
-
4102
-
4103
- /**
4104
- * @param {boolean} value
4105
- * @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse} returns this
4106
- */
4107
- proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.prototype.setSuccess = function(value) {
4108
- return jspb.Message.setProto3BooleanField(this, 1, value);
4109
- };
4110
-
4111
-
4112
-
4113
-
4114
-
4115
- if (jspb.Message.GENERATE_TO_OBJECT) {
4116
- /**
4117
- * Creates an object representation of this proto.
4118
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
4119
- * Optional fields that are not set will be set to undefined.
4120
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4121
- * For the list of reserved names please see:
4122
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4123
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4124
- * JSPB instance for transitional soy proto support:
4125
- * http://goto/soy-param-migration
4126
- * @return {!Object}
4127
- */
4128
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.prototype.toObject = function(opt_includeInstance) {
4129
- return proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.toObject(opt_includeInstance, this);
4130
- };
4131
-
4132
-
4133
- /**
4134
- * Static version of the {@see toObject} method.
4135
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4136
- * the JSPB instance for transitional soy proto support:
4137
- * http://goto/soy-param-migration
4138
- * @param {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest} msg The msg instance to transform.
4139
- * @return {!Object}
4140
- * @suppress {unusedLocalVariables} f is only used for nested messages
4141
- */
4142
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.toObject = function(includeInstance, msg) {
4143
- var f, obj = {
4144
- clientId: jspb.Message.getFieldWithDefault(msg, 1, ""),
4145
- trackId: jspb.Message.getFieldWithDefault(msg, 2, ""),
4146
- pushId: jspb.Message.getFieldWithDefault(msg, 3, "")
4147
- };
4148
-
4149
- if (includeInstance) {
4150
- obj.$jspbMessageInstance = msg;
4151
- }
4152
- return obj;
4153
- };
4154
- }
4155
-
4156
-
4157
- /**
4158
- * Deserializes binary data (in protobuf wire format).
4159
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
4160
- * @return {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest}
4161
- */
4162
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.deserializeBinary = function(bytes) {
4163
- var reader = new jspb.BinaryReader(bytes);
4164
- var msg = new proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest;
4165
- return proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.deserializeBinaryFromReader(msg, reader);
4166
- };
4167
-
4168
-
4169
- /**
4170
- * Deserializes binary data (in protobuf wire format) from the
4171
- * given reader into the given message object.
4172
- * @param {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest} msg The message object to deserialize into.
4173
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4174
- * @return {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest}
4175
- */
4176
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.deserializeBinaryFromReader = function(msg, reader) {
4177
- while (reader.nextField()) {
4178
- if (reader.isEndGroup()) {
4179
- break;
4180
- }
4181
- var field = reader.getFieldNumber();
4182
- switch (field) {
4183
- case 1:
2786
+ case 3:
4184
2787
  var value = /** @type {string} */ (reader.readString());
4185
- msg.setClientId(value);
2788
+ msg.setOldInstallId(value);
4186
2789
  break;
4187
- case 2:
2790
+ case 4:
4188
2791
  var value = /** @type {string} */ (reader.readString());
4189
- msg.setTrackId(value);
2792
+ msg.setNewInstallId(value);
4190
2793
  break;
4191
- case 3:
4192
- var value = /** @type {string} */ (reader.readString());
4193
- msg.setPushId(value);
2794
+ case 5:
2795
+ var value = new proto.lansweeper.multitenant.v1.InstallCredentials;
2796
+ reader.readMessage(value,proto.lansweeper.multitenant.v1.InstallCredentials.deserializeBinaryFromReader);
2797
+ msg.setCredentials(value);
4194
2798
  break;
4195
2799
  default:
4196
2800
  reader.skipField();
@@ -4205,9 +2809,9 @@ proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.deserializeBin
4205
2809
  * Serializes the message to binary data (in protobuf wire format).
4206
2810
  * @return {!Uint8Array}
4207
2811
  */
4208
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.prototype.serializeBinary = function() {
2812
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.serializeBinary = function() {
4209
2813
  var writer = new jspb.BinaryWriter();
4210
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.serializeBinaryToWriter(this, writer);
2814
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.serializeBinaryToWriter(this, writer);
4211
2815
  return writer.getResultBuffer();
4212
2816
  };
4213
2817
 
@@ -4215,217 +2819,157 @@ proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.prototype.seri
4215
2819
  /**
4216
2820
  * Serializes the given message to binary data (in protobuf wire
4217
2821
  * format), writing to the given BinaryWriter.
4218
- * @param {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest} message
2822
+ * @param {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} message
4219
2823
  * @param {!jspb.BinaryWriter} writer
4220
2824
  * @suppress {unusedLocalVariables} f is only used for nested messages
4221
2825
  */
4222
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.serializeBinaryToWriter = function(message, writer) {
2826
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.serializeBinaryToWriter = function(message, writer) {
4223
2827
  var f = undefined;
4224
- f = message.getClientId();
4225
- if (f.length > 0) {
4226
- writer.writeString(
2828
+ f = message.getSuccess();
2829
+ if (f) {
2830
+ writer.writeBool(
4227
2831
  1,
4228
2832
  f
4229
2833
  );
4230
2834
  }
4231
- f = message.getTrackId();
2835
+ f = message.getSiteId();
4232
2836
  if (f.length > 0) {
4233
2837
  writer.writeString(
4234
2838
  2,
4235
2839
  f
4236
2840
  );
4237
2841
  }
4238
- f = message.getPushId();
2842
+ f = message.getOldInstallId();
4239
2843
  if (f.length > 0) {
4240
2844
  writer.writeString(
4241
2845
  3,
4242
2846
  f
4243
2847
  );
4244
2848
  }
2849
+ f = message.getNewInstallId();
2850
+ if (f.length > 0) {
2851
+ writer.writeString(
2852
+ 4,
2853
+ f
2854
+ );
2855
+ }
2856
+ f = message.getCredentials();
2857
+ if (f != null) {
2858
+ writer.writeMessage(
2859
+ 5,
2860
+ f,
2861
+ proto.lansweeper.multitenant.v1.InstallCredentials.serializeBinaryToWriter
2862
+ );
2863
+ }
4245
2864
  };
4246
2865
 
4247
2866
 
4248
2867
  /**
4249
- * optional string client_id = 1;
4250
- * @return {string}
2868
+ * optional bool success = 1;
2869
+ * @return {boolean}
4251
2870
  */
4252
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.prototype.getClientId = function() {
4253
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2871
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.getSuccess = function() {
2872
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
4254
2873
  };
4255
2874
 
4256
2875
 
4257
2876
  /**
4258
- * @param {string} value
4259
- * @return {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest} returns this
2877
+ * @param {boolean} value
2878
+ * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} returns this
4260
2879
  */
4261
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.prototype.setClientId = function(value) {
4262
- return jspb.Message.setProto3StringField(this, 1, value);
2880
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.setSuccess = function(value) {
2881
+ return jspb.Message.setProto3BooleanField(this, 1, value);
4263
2882
  };
4264
2883
 
4265
2884
 
4266
2885
  /**
4267
- * optional string track_id = 2;
2886
+ * optional string site_id = 2;
4268
2887
  * @return {string}
4269
2888
  */
4270
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.prototype.getTrackId = function() {
2889
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.getSiteId = function() {
4271
2890
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4272
2891
  };
4273
2892
 
4274
2893
 
4275
2894
  /**
4276
2895
  * @param {string} value
4277
- * @return {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest} returns this
2896
+ * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} returns this
4278
2897
  */
4279
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.prototype.setTrackId = function(value) {
2898
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.setSiteId = function(value) {
4280
2899
  return jspb.Message.setProto3StringField(this, 2, value);
4281
2900
  };
4282
2901
 
4283
2902
 
4284
2903
  /**
4285
- * optional string push_id = 3;
2904
+ * optional string old_install_id = 3;
4286
2905
  * @return {string}
4287
2906
  */
4288
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.prototype.getPushId = function() {
2907
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.getOldInstallId = function() {
4289
2908
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4290
2909
  };
4291
2910
 
4292
2911
 
4293
2912
  /**
4294
2913
  * @param {string} value
4295
- * @return {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest} returns this
2914
+ * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} returns this
4296
2915
  */
4297
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.prototype.setPushId = function(value) {
2916
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.setOldInstallId = function(value) {
4298
2917
  return jspb.Message.setProto3StringField(this, 3, value);
4299
2918
  };
4300
2919
 
4301
2920
 
4302
-
4303
-
4304
-
4305
- if (jspb.Message.GENERATE_TO_OBJECT) {
4306
- /**
4307
- * Creates an object representation of this proto.
4308
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
4309
- * Optional fields that are not set will be set to undefined.
4310
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4311
- * For the list of reserved names please see:
4312
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4313
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4314
- * JSPB instance for transitional soy proto support:
4315
- * http://goto/soy-param-migration
4316
- * @return {!Object}
4317
- */
4318
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.prototype.toObject = function(opt_includeInstance) {
4319
- return proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.toObject(opt_includeInstance, this);
4320
- };
4321
-
4322
-
4323
- /**
4324
- * Static version of the {@see toObject} method.
4325
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4326
- * the JSPB instance for transitional soy proto support:
4327
- * http://goto/soy-param-migration
4328
- * @param {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse} msg The msg instance to transform.
4329
- * @return {!Object}
4330
- * @suppress {unusedLocalVariables} f is only used for nested messages
4331
- */
4332
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.toObject = function(includeInstance, msg) {
4333
- var f, obj = {
4334
- pushId: jspb.Message.getFieldWithDefault(msg, 1, "")
4335
- };
4336
-
4337
- if (includeInstance) {
4338
- obj.$jspbMessageInstance = msg;
4339
- }
4340
- return obj;
4341
- };
4342
- }
4343
-
4344
-
4345
2921
  /**
4346
- * Deserializes binary data (in protobuf wire format).
4347
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
4348
- * @return {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse}
2922
+ * optional string new_install_id = 4;
2923
+ * @return {string}
4349
2924
  */
4350
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.deserializeBinary = function(bytes) {
4351
- var reader = new jspb.BinaryReader(bytes);
4352
- var msg = new proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse;
4353
- return proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.deserializeBinaryFromReader(msg, reader);
2925
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.getNewInstallId = function() {
2926
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4354
2927
  };
4355
2928
 
4356
2929
 
4357
2930
  /**
4358
- * Deserializes binary data (in protobuf wire format) from the
4359
- * given reader into the given message object.
4360
- * @param {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse} msg The message object to deserialize into.
4361
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4362
- * @return {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse}
2931
+ * @param {string} value
2932
+ * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} returns this
4363
2933
  */
4364
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.deserializeBinaryFromReader = function(msg, reader) {
4365
- while (reader.nextField()) {
4366
- if (reader.isEndGroup()) {
4367
- break;
4368
- }
4369
- var field = reader.getFieldNumber();
4370
- switch (field) {
4371
- case 1:
4372
- var value = /** @type {string} */ (reader.readString());
4373
- msg.setPushId(value);
4374
- break;
4375
- default:
4376
- reader.skipField();
4377
- break;
4378
- }
4379
- }
4380
- return msg;
2934
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.setNewInstallId = function(value) {
2935
+ return jspb.Message.setProto3StringField(this, 4, value);
4381
2936
  };
4382
2937
 
4383
2938
 
4384
2939
  /**
4385
- * Serializes the message to binary data (in protobuf wire format).
4386
- * @return {!Uint8Array}
2940
+ * optional InstallCredentials credentials = 5;
2941
+ * @return {?proto.lansweeper.multitenant.v1.InstallCredentials}
4387
2942
  */
4388
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.prototype.serializeBinary = function() {
4389
- var writer = new jspb.BinaryWriter();
4390
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.serializeBinaryToWriter(this, writer);
4391
- return writer.getResultBuffer();
2943
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.getCredentials = function() {
2944
+ return /** @type{?proto.lansweeper.multitenant.v1.InstallCredentials} */ (
2945
+ jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.InstallCredentials, 5));
4392
2946
  };
4393
2947
 
4394
2948
 
4395
2949
  /**
4396
- * Serializes the given message to binary data (in protobuf wire
4397
- * format), writing to the given BinaryWriter.
4398
- * @param {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse} message
4399
- * @param {!jspb.BinaryWriter} writer
4400
- * @suppress {unusedLocalVariables} f is only used for nested messages
4401
- */
4402
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.serializeBinaryToWriter = function(message, writer) {
4403
- var f = undefined;
4404
- f = message.getPushId();
4405
- if (f.length > 0) {
4406
- writer.writeString(
4407
- 1,
4408
- f
4409
- );
4410
- }
2950
+ * @param {?proto.lansweeper.multitenant.v1.InstallCredentials|undefined} value
2951
+ * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} returns this
2952
+ */
2953
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.setCredentials = function(value) {
2954
+ return jspb.Message.setWrapperField(this, 5, value);
4411
2955
  };
4412
2956
 
4413
2957
 
4414
2958
  /**
4415
- * optional string push_id = 1;
4416
- * @return {string}
2959
+ * Clears the message field making it undefined.
2960
+ * @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} returns this
4417
2961
  */
4418
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.prototype.getPushId = function() {
4419
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2962
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.clearCredentials = function() {
2963
+ return this.setCredentials(undefined);
4420
2964
  };
4421
2965
 
4422
2966
 
4423
2967
  /**
4424
- * @param {string} value
4425
- * @return {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse} returns this
2968
+ * Returns whether this field is set.
2969
+ * @return {boolean}
4426
2970
  */
4427
- proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.prototype.setPushId = function(value) {
4428
- return jspb.Message.setProto3StringField(this, 1, value);
2971
+ proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.hasCredentials = function() {
2972
+ return jspb.Message.getField(this, 5) != null;
4429
2973
  };
4430
2974
 
4431
2975
 
@@ -4445,8 +2989,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
4445
2989
  * http://goto/soy-param-migration
4446
2990
  * @return {!Object}
4447
2991
  */
4448
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.toObject = function(opt_includeInstance) {
4449
- return proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.toObject(opt_includeInstance, this);
2992
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.toObject = function(opt_includeInstance) {
2993
+ return proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.toObject(opt_includeInstance, this);
4450
2994
  };
4451
2995
 
4452
2996
 
@@ -4455,16 +2999,16 @@ proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.toO
4455
2999
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4456
3000
  * the JSPB instance for transitional soy proto support:
4457
3001
  * http://goto/soy-param-migration
4458
- * @param {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest} msg The msg instance to transform.
3002
+ * @param {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} msg The msg instance to transform.
4459
3003
  * @return {!Object}
4460
3004
  * @suppress {unusedLocalVariables} f is only used for nested messages
4461
3005
  */
4462
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.toObject = function(includeInstance, msg) {
3006
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.toObject = function(includeInstance, msg) {
4463
3007
  var f, obj = {
4464
3008
  clientId: jspb.Message.getFieldWithDefault(msg, 1, ""),
4465
3009
  trackId: jspb.Message.getFieldWithDefault(msg, 2, ""),
4466
- pushId: jspb.Message.getFieldWithDefault(msg, 3, ""),
4467
- error: jspb.Message.getFieldWithDefault(msg, 4, "")
3010
+ removeData: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
3011
+ fromOnprem: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
4468
3012
  };
4469
3013
 
4470
3014
  if (includeInstance) {
@@ -4478,23 +3022,23 @@ proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.toObject = fu
4478
3022
  /**
4479
3023
  * Deserializes binary data (in protobuf wire format).
4480
3024
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
4481
- * @return {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest}
3025
+ * @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest}
4482
3026
  */
4483
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.deserializeBinary = function(bytes) {
3027
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.deserializeBinary = function(bytes) {
4484
3028
  var reader = new jspb.BinaryReader(bytes);
4485
- var msg = new proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest;
4486
- return proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.deserializeBinaryFromReader(msg, reader);
3029
+ var msg = new proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest;
3030
+ return proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.deserializeBinaryFromReader(msg, reader);
4487
3031
  };
4488
3032
 
4489
3033
 
4490
3034
  /**
4491
3035
  * Deserializes binary data (in protobuf wire format) from the
4492
3036
  * given reader into the given message object.
4493
- * @param {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest} msg The message object to deserialize into.
3037
+ * @param {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} msg The message object to deserialize into.
4494
3038
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4495
- * @return {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest}
3039
+ * @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest}
4496
3040
  */
4497
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.deserializeBinaryFromReader = function(msg, reader) {
3041
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.deserializeBinaryFromReader = function(msg, reader) {
4498
3042
  while (reader.nextField()) {
4499
3043
  if (reader.isEndGroup()) {
4500
3044
  break;
@@ -4510,12 +3054,12 @@ proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.deserializeBi
4510
3054
  msg.setTrackId(value);
4511
3055
  break;
4512
3056
  case 3:
4513
- var value = /** @type {string} */ (reader.readString());
4514
- msg.setPushId(value);
3057
+ var value = /** @type {boolean} */ (reader.readBool());
3058
+ msg.setRemoveData(value);
4515
3059
  break;
4516
3060
  case 4:
4517
- var value = /** @type {string} */ (reader.readString());
4518
- msg.setError(value);
3061
+ var value = /** @type {boolean} */ (reader.readBool());
3062
+ msg.setFromOnprem(value);
4519
3063
  break;
4520
3064
  default:
4521
3065
  reader.skipField();
@@ -4530,9 +3074,9 @@ proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.deserializeBi
4530
3074
  * Serializes the message to binary data (in protobuf wire format).
4531
3075
  * @return {!Uint8Array}
4532
3076
  */
4533
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.serializeBinary = function() {
3077
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.serializeBinary = function() {
4534
3078
  var writer = new jspb.BinaryWriter();
4535
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.serializeBinaryToWriter(this, writer);
3079
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.serializeBinaryToWriter(this, writer);
4536
3080
  return writer.getResultBuffer();
4537
3081
  };
4538
3082
 
@@ -4540,11 +3084,11 @@ proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.ser
4540
3084
  /**
4541
3085
  * Serializes the given message to binary data (in protobuf wire
4542
3086
  * format), writing to the given BinaryWriter.
4543
- * @param {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest} message
3087
+ * @param {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} message
4544
3088
  * @param {!jspb.BinaryWriter} writer
4545
3089
  * @suppress {unusedLocalVariables} f is only used for nested messages
4546
3090
  */
4547
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.serializeBinaryToWriter = function(message, writer) {
3091
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.serializeBinaryToWriter = function(message, writer) {
4548
3092
  var f = undefined;
4549
3093
  f = message.getClientId();
4550
3094
  if (f.length > 0) {
@@ -4560,16 +3104,16 @@ proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.serializeBina
4560
3104
  f
4561
3105
  );
4562
3106
  }
4563
- f = message.getPushId();
4564
- if (f.length > 0) {
4565
- writer.writeString(
3107
+ f = message.getRemoveData();
3108
+ if (f) {
3109
+ writer.writeBool(
4566
3110
  3,
4567
3111
  f
4568
3112
  );
4569
3113
  }
4570
- f = message.getError();
4571
- if (f.length > 0) {
4572
- writer.writeString(
3114
+ f = message.getFromOnprem();
3115
+ if (f) {
3116
+ writer.writeBool(
4573
3117
  4,
4574
3118
  f
4575
3119
  );
@@ -4581,16 +3125,16 @@ proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.serializeBina
4581
3125
  * optional string client_id = 1;
4582
3126
  * @return {string}
4583
3127
  */
4584
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.getClientId = function() {
3128
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.getClientId = function() {
4585
3129
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4586
3130
  };
4587
3131
 
4588
3132
 
4589
3133
  /**
4590
3134
  * @param {string} value
4591
- * @return {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest} returns this
3135
+ * @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} returns this
4592
3136
  */
4593
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.setClientId = function(value) {
3137
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.setClientId = function(value) {
4594
3138
  return jspb.Message.setProto3StringField(this, 1, value);
4595
3139
  };
4596
3140
 
@@ -4599,53 +3143,53 @@ proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.set
4599
3143
  * optional string track_id = 2;
4600
3144
  * @return {string}
4601
3145
  */
4602
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.getTrackId = function() {
3146
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.getTrackId = function() {
4603
3147
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4604
3148
  };
4605
3149
 
4606
3150
 
4607
3151
  /**
4608
3152
  * @param {string} value
4609
- * @return {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest} returns this
3153
+ * @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} returns this
4610
3154
  */
4611
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.setTrackId = function(value) {
3155
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.setTrackId = function(value) {
4612
3156
  return jspb.Message.setProto3StringField(this, 2, value);
4613
3157
  };
4614
3158
 
4615
3159
 
4616
3160
  /**
4617
- * optional string push_id = 3;
4618
- * @return {string}
3161
+ * optional bool remove_data = 3;
3162
+ * @return {boolean}
4619
3163
  */
4620
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.getPushId = function() {
4621
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3164
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.getRemoveData = function() {
3165
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
4622
3166
  };
4623
3167
 
4624
3168
 
4625
3169
  /**
4626
- * @param {string} value
4627
- * @return {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest} returns this
3170
+ * @param {boolean} value
3171
+ * @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} returns this
4628
3172
  */
4629
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.setPushId = function(value) {
4630
- return jspb.Message.setProto3StringField(this, 3, value);
3173
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.setRemoveData = function(value) {
3174
+ return jspb.Message.setProto3BooleanField(this, 3, value);
4631
3175
  };
4632
3176
 
4633
3177
 
4634
3178
  /**
4635
- * optional string error = 4;
4636
- * @return {string}
3179
+ * optional bool from_onprem = 4;
3180
+ * @return {boolean}
4637
3181
  */
4638
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.getError = function() {
4639
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3182
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.getFromOnprem = function() {
3183
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
4640
3184
  };
4641
3185
 
4642
3186
 
4643
3187
  /**
4644
- * @param {string} value
4645
- * @return {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest} returns this
3188
+ * @param {boolean} value
3189
+ * @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} returns this
4646
3190
  */
4647
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.setError = function(value) {
4648
- return jspb.Message.setProto3StringField(this, 4, value);
3191
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.setFromOnprem = function(value) {
3192
+ return jspb.Message.setProto3BooleanField(this, 4, value);
4649
3193
  };
4650
3194
 
4651
3195
 
@@ -4665,8 +3209,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
4665
3209
  * http://goto/soy-param-migration
4666
3210
  * @return {!Object}
4667
3211
  */
4668
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.prototype.toObject = function(opt_includeInstance) {
4669
- return proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.toObject(opt_includeInstance, this);
3212
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.prototype.toObject = function(opt_includeInstance) {
3213
+ return proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.toObject(opt_includeInstance, this);
4670
3214
  };
4671
3215
 
4672
3216
 
@@ -4675,11 +3219,11 @@ proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.prototype.to
4675
3219
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4676
3220
  * the JSPB instance for transitional soy proto support:
4677
3221
  * http://goto/soy-param-migration
4678
- * @param {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse} msg The msg instance to transform.
3222
+ * @param {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse} msg The msg instance to transform.
4679
3223
  * @return {!Object}
4680
3224
  * @suppress {unusedLocalVariables} f is only used for nested messages
4681
3225
  */
4682
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.toObject = function(includeInstance, msg) {
3226
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.toObject = function(includeInstance, msg) {
4683
3227
  var f, obj = {
4684
3228
  success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
4685
3229
  };
@@ -4695,23 +3239,23 @@ proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.toObject = f
4695
3239
  /**
4696
3240
  * Deserializes binary data (in protobuf wire format).
4697
3241
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
4698
- * @return {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse}
3242
+ * @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse}
4699
3243
  */
4700
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.deserializeBinary = function(bytes) {
3244
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.deserializeBinary = function(bytes) {
4701
3245
  var reader = new jspb.BinaryReader(bytes);
4702
- var msg = new proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse;
4703
- return proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.deserializeBinaryFromReader(msg, reader);
3246
+ var msg = new proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse;
3247
+ return proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.deserializeBinaryFromReader(msg, reader);
4704
3248
  };
4705
3249
 
4706
3250
 
4707
3251
  /**
4708
3252
  * Deserializes binary data (in protobuf wire format) from the
4709
3253
  * given reader into the given message object.
4710
- * @param {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse} msg The message object to deserialize into.
3254
+ * @param {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse} msg The message object to deserialize into.
4711
3255
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4712
- * @return {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse}
3256
+ * @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse}
4713
3257
  */
4714
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.deserializeBinaryFromReader = function(msg, reader) {
3258
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.deserializeBinaryFromReader = function(msg, reader) {
4715
3259
  while (reader.nextField()) {
4716
3260
  if (reader.isEndGroup()) {
4717
3261
  break;
@@ -4735,9 +3279,9 @@ proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.deserializeB
4735
3279
  * Serializes the message to binary data (in protobuf wire format).
4736
3280
  * @return {!Uint8Array}
4737
3281
  */
4738
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.prototype.serializeBinary = function() {
3282
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.prototype.serializeBinary = function() {
4739
3283
  var writer = new jspb.BinaryWriter();
4740
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.serializeBinaryToWriter(this, writer);
3284
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.serializeBinaryToWriter(this, writer);
4741
3285
  return writer.getResultBuffer();
4742
3286
  };
4743
3287
 
@@ -4745,11 +3289,11 @@ proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.prototype.se
4745
3289
  /**
4746
3290
  * Serializes the given message to binary data (in protobuf wire
4747
3291
  * format), writing to the given BinaryWriter.
4748
- * @param {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse} message
3292
+ * @param {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse} message
4749
3293
  * @param {!jspb.BinaryWriter} writer
4750
3294
  * @suppress {unusedLocalVariables} f is only used for nested messages
4751
3295
  */
4752
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.serializeBinaryToWriter = function(message, writer) {
3296
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.serializeBinaryToWriter = function(message, writer) {
4753
3297
  var f = undefined;
4754
3298
  f = message.getSuccess();
4755
3299
  if (f) {
@@ -4765,16 +3309,16 @@ proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.serializeBin
4765
3309
  * optional bool success = 1;
4766
3310
  * @return {boolean}
4767
3311
  */
4768
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.prototype.getSuccess = function() {
3312
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.prototype.getSuccess = function() {
4769
3313
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
4770
3314
  };
4771
3315
 
4772
3316
 
4773
3317
  /**
4774
3318
  * @param {boolean} value
4775
- * @return {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse} returns this
3319
+ * @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse} returns this
4776
3320
  */
4777
- proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.prototype.setSuccess = function(value) {
3321
+ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.prototype.setSuccess = function(value) {
4778
3322
  return jspb.Message.setProto3BooleanField(this, 1, value);
4779
3323
  };
4780
3324