@lansweeper/multitenant-api-grpc 0.4.40 → 0.4.42

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.
@@ -21,7 +21,13 @@ var global = (function() {
21
21
  return Function('return this')();
22
22
  }.call(null));
23
23
 
24
+ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
25
+ goog.object.extend(proto, google_protobuf_timestamp_pb);
26
+ goog.exportSymbol('proto.lansweeper.shared.limits.v1.Assets', null, global);
27
+ goog.exportSymbol('proto.lansweeper.shared.limits.v1.BaseLimit', null, global);
24
28
  goog.exportSymbol('proto.lansweeper.shared.limits.v1.CalculateRiskInsights', null, global);
29
+ goog.exportSymbol('proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities', null, global);
30
+ goog.exportSymbol('proto.lansweeper.shared.limits.v1.RiskInsights', null, global);
25
31
  goog.exportSymbol('proto.lansweeper.shared.limits.v1.RiskInsightsSeverity', null, global);
26
32
  goog.exportSymbol('proto.lansweeper.shared.limits.v1.SiteLimits', null, global);
27
33
  goog.exportSymbol('proto.lansweeper.shared.limits.v1.SiteLimitsTiers', null, global);
@@ -46,6 +52,90 @@ if (goog.DEBUG && !COMPILED) {
46
52
  */
47
53
  proto.lansweeper.shared.limits.v1.CalculateRiskInsights.displayName = 'proto.lansweeper.shared.limits.v1.CalculateRiskInsights';
48
54
  }
55
+ /**
56
+ * Generated by JsPbCodeGenerator.
57
+ * @param {Array=} opt_data Optional initial data array, typically from a
58
+ * server response, or constructed directly in Javascript. The array is used
59
+ * in place and becomes part of the constructed object. It is not cloned.
60
+ * If no data is provided, the constructed object will be empty, but still
61
+ * valid.
62
+ * @extends {jspb.Message}
63
+ * @constructor
64
+ */
65
+ proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities = function(opt_data) {
66
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
67
+ };
68
+ goog.inherits(proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities, jspb.Message);
69
+ if (goog.DEBUG && !COMPILED) {
70
+ /**
71
+ * @public
72
+ * @override
73
+ */
74
+ proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.displayName = 'proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities';
75
+ }
76
+ /**
77
+ * Generated by JsPbCodeGenerator.
78
+ * @param {Array=} opt_data Optional initial data array, typically from a
79
+ * server response, or constructed directly in Javascript. The array is used
80
+ * in place and becomes part of the constructed object. It is not cloned.
81
+ * If no data is provided, the constructed object will be empty, but still
82
+ * valid.
83
+ * @extends {jspb.Message}
84
+ * @constructor
85
+ */
86
+ proto.lansweeper.shared.limits.v1.BaseLimit = function(opt_data) {
87
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.shared.limits.v1.BaseLimit.repeatedFields_, null);
88
+ };
89
+ goog.inherits(proto.lansweeper.shared.limits.v1.BaseLimit, jspb.Message);
90
+ if (goog.DEBUG && !COMPILED) {
91
+ /**
92
+ * @public
93
+ * @override
94
+ */
95
+ proto.lansweeper.shared.limits.v1.BaseLimit.displayName = 'proto.lansweeper.shared.limits.v1.BaseLimit';
96
+ }
97
+ /**
98
+ * Generated by JsPbCodeGenerator.
99
+ * @param {Array=} opt_data Optional initial data array, typically from a
100
+ * server response, or constructed directly in Javascript. The array is used
101
+ * in place and becomes part of the constructed object. It is not cloned.
102
+ * If no data is provided, the constructed object will be empty, but still
103
+ * valid.
104
+ * @extends {jspb.Message}
105
+ * @constructor
106
+ */
107
+ proto.lansweeper.shared.limits.v1.RiskInsights = function(opt_data) {
108
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
109
+ };
110
+ goog.inherits(proto.lansweeper.shared.limits.v1.RiskInsights, jspb.Message);
111
+ if (goog.DEBUG && !COMPILED) {
112
+ /**
113
+ * @public
114
+ * @override
115
+ */
116
+ proto.lansweeper.shared.limits.v1.RiskInsights.displayName = 'proto.lansweeper.shared.limits.v1.RiskInsights';
117
+ }
118
+ /**
119
+ * Generated by JsPbCodeGenerator.
120
+ * @param {Array=} opt_data Optional initial data array, typically from a
121
+ * server response, or constructed directly in Javascript. The array is used
122
+ * in place and becomes part of the constructed object. It is not cloned.
123
+ * If no data is provided, the constructed object will be empty, but still
124
+ * valid.
125
+ * @extends {jspb.Message}
126
+ * @constructor
127
+ */
128
+ proto.lansweeper.shared.limits.v1.Assets = function(opt_data) {
129
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
130
+ };
131
+ goog.inherits(proto.lansweeper.shared.limits.v1.Assets, jspb.Message);
132
+ if (goog.DEBUG && !COMPILED) {
133
+ /**
134
+ * @public
135
+ * @override
136
+ */
137
+ proto.lansweeper.shared.limits.v1.Assets.displayName = 'proto.lansweeper.shared.limits.v1.Assets';
138
+ }
49
139
  /**
50
140
  * Generated by JsPbCodeGenerator.
51
141
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -327,8 +417,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
327
417
  * http://goto/soy-param-migration
328
418
  * @return {!Object}
329
419
  */
330
- proto.lansweeper.shared.limits.v1.SiteLimits.prototype.toObject = function(opt_includeInstance) {
331
- return proto.lansweeper.shared.limits.v1.SiteLimits.toObject(opt_includeInstance, this);
420
+ proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.prototype.toObject = function(opt_includeInstance) {
421
+ return proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.toObject(opt_includeInstance, this);
332
422
  };
333
423
 
334
424
 
@@ -337,14 +427,14 @@ proto.lansweeper.shared.limits.v1.SiteLimits.prototype.toObject = function(opt_i
337
427
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
338
428
  * the JSPB instance for transitional soy proto support:
339
429
  * http://goto/soy-param-migration
340
- * @param {!proto.lansweeper.shared.limits.v1.SiteLimits} msg The msg instance to transform.
430
+ * @param {!proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities} msg The msg instance to transform.
341
431
  * @return {!Object}
342
432
  * @suppress {unusedLocalVariables} f is only used for nested messages
343
433
  */
344
- proto.lansweeper.shared.limits.v1.SiteLimits.toObject = function(includeInstance, msg) {
434
+ proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.toObject = function(includeInstance, msg) {
345
435
  var f, obj = {
346
- tier: jspb.Message.getFieldWithDefault(msg, 1, 0),
347
- calculateRiskInsights: (f = msg.getCalculateRiskInsights()) && proto.lansweeper.shared.limits.v1.CalculateRiskInsights.toObject(includeInstance, f)
436
+ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
437
+ expiresAt: (f = msg.getExpiresAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
348
438
  };
349
439
 
350
440
  if (includeInstance) {
@@ -358,23 +448,23 @@ proto.lansweeper.shared.limits.v1.SiteLimits.toObject = function(includeInstance
358
448
  /**
359
449
  * Deserializes binary data (in protobuf wire format).
360
450
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
361
- * @return {!proto.lansweeper.shared.limits.v1.SiteLimits}
451
+ * @return {!proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities}
362
452
  */
363
- proto.lansweeper.shared.limits.v1.SiteLimits.deserializeBinary = function(bytes) {
453
+ proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.deserializeBinary = function(bytes) {
364
454
  var reader = new jspb.BinaryReader(bytes);
365
- var msg = new proto.lansweeper.shared.limits.v1.SiteLimits;
366
- return proto.lansweeper.shared.limits.v1.SiteLimits.deserializeBinaryFromReader(msg, reader);
455
+ var msg = new proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities;
456
+ return proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.deserializeBinaryFromReader(msg, reader);
367
457
  };
368
458
 
369
459
 
370
460
  /**
371
461
  * Deserializes binary data (in protobuf wire format) from the
372
462
  * given reader into the given message object.
373
- * @param {!proto.lansweeper.shared.limits.v1.SiteLimits} msg The message object to deserialize into.
463
+ * @param {!proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities} msg The message object to deserialize into.
374
464
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
375
- * @return {!proto.lansweeper.shared.limits.v1.SiteLimits}
465
+ * @return {!proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities}
376
466
  */
377
- proto.lansweeper.shared.limits.v1.SiteLimits.deserializeBinaryFromReader = function(msg, reader) {
467
+ proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.deserializeBinaryFromReader = function(msg, reader) {
378
468
  while (reader.nextField()) {
379
469
  if (reader.isEndGroup()) {
380
470
  break;
@@ -382,13 +472,13 @@ proto.lansweeper.shared.limits.v1.SiteLimits.deserializeBinaryFromReader = funct
382
472
  var field = reader.getFieldNumber();
383
473
  switch (field) {
384
474
  case 1:
385
- var value = /** @type {!proto.lansweeper.shared.limits.v1.SiteLimitsTiers} */ (reader.readEnum());
386
- msg.setTier(value);
475
+ var value = /** @type {string} */ (reader.readString());
476
+ msg.setKey(value);
387
477
  break;
388
478
  case 2:
389
- var value = new proto.lansweeper.shared.limits.v1.CalculateRiskInsights;
390
- reader.readMessage(value,proto.lansweeper.shared.limits.v1.CalculateRiskInsights.deserializeBinaryFromReader);
391
- msg.setCalculateRiskInsights(value);
479
+ var value = new google_protobuf_timestamp_pb.Timestamp;
480
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
481
+ msg.setExpiresAt(value);
392
482
  break;
393
483
  default:
394
484
  reader.skipField();
@@ -403,9 +493,9 @@ proto.lansweeper.shared.limits.v1.SiteLimits.deserializeBinaryFromReader = funct
403
493
  * Serializes the message to binary data (in protobuf wire format).
404
494
  * @return {!Uint8Array}
405
495
  */
406
- proto.lansweeper.shared.limits.v1.SiteLimits.prototype.serializeBinary = function() {
496
+ proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.prototype.serializeBinary = function() {
407
497
  var writer = new jspb.BinaryWriter();
408
- proto.lansweeper.shared.limits.v1.SiteLimits.serializeBinaryToWriter(this, writer);
498
+ proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.serializeBinaryToWriter(this, writer);
409
499
  return writer.getResultBuffer();
410
500
  };
411
501
 
@@ -413,73 +503,73 @@ proto.lansweeper.shared.limits.v1.SiteLimits.prototype.serializeBinary = functio
413
503
  /**
414
504
  * Serializes the given message to binary data (in protobuf wire
415
505
  * format), writing to the given BinaryWriter.
416
- * @param {!proto.lansweeper.shared.limits.v1.SiteLimits} message
506
+ * @param {!proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities} message
417
507
  * @param {!jspb.BinaryWriter} writer
418
508
  * @suppress {unusedLocalVariables} f is only used for nested messages
419
509
  */
420
- proto.lansweeper.shared.limits.v1.SiteLimits.serializeBinaryToWriter = function(message, writer) {
510
+ proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.serializeBinaryToWriter = function(message, writer) {
421
511
  var f = undefined;
422
- f = message.getTier();
423
- if (f !== 0.0) {
424
- writer.writeEnum(
512
+ f = message.getKey();
513
+ if (f.length > 0) {
514
+ writer.writeString(
425
515
  1,
426
516
  f
427
517
  );
428
518
  }
429
- f = message.getCalculateRiskInsights();
519
+ f = message.getExpiresAt();
430
520
  if (f != null) {
431
521
  writer.writeMessage(
432
522
  2,
433
523
  f,
434
- proto.lansweeper.shared.limits.v1.CalculateRiskInsights.serializeBinaryToWriter
524
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
435
525
  );
436
526
  }
437
527
  };
438
528
 
439
529
 
440
530
  /**
441
- * optional SiteLimitsTiers tier = 1;
442
- * @return {!proto.lansweeper.shared.limits.v1.SiteLimitsTiers}
531
+ * optional string key = 1;
532
+ * @return {string}
443
533
  */
444
- proto.lansweeper.shared.limits.v1.SiteLimits.prototype.getTier = function() {
445
- return /** @type {!proto.lansweeper.shared.limits.v1.SiteLimitsTiers} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
534
+ proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.prototype.getKey = function() {
535
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
446
536
  };
447
537
 
448
538
 
449
539
  /**
450
- * @param {!proto.lansweeper.shared.limits.v1.SiteLimitsTiers} value
451
- * @return {!proto.lansweeper.shared.limits.v1.SiteLimits} returns this
540
+ * @param {string} value
541
+ * @return {!proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities} returns this
452
542
  */
453
- proto.lansweeper.shared.limits.v1.SiteLimits.prototype.setTier = function(value) {
454
- return jspb.Message.setProto3EnumField(this, 1, value);
543
+ proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.prototype.setKey = function(value) {
544
+ return jspb.Message.setProto3StringField(this, 1, value);
455
545
  };
456
546
 
457
547
 
458
548
  /**
459
- * optional CalculateRiskInsights calculate_risk_insights = 2;
460
- * @return {?proto.lansweeper.shared.limits.v1.CalculateRiskInsights}
549
+ * optional google.protobuf.Timestamp expires_at = 2;
550
+ * @return {?proto.google.protobuf.Timestamp}
461
551
  */
462
- proto.lansweeper.shared.limits.v1.SiteLimits.prototype.getCalculateRiskInsights = function() {
463
- return /** @type{?proto.lansweeper.shared.limits.v1.CalculateRiskInsights} */ (
464
- jspb.Message.getWrapperField(this, proto.lansweeper.shared.limits.v1.CalculateRiskInsights, 2));
552
+ proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.prototype.getExpiresAt = function() {
553
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
554
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
465
555
  };
466
556
 
467
557
 
468
558
  /**
469
- * @param {?proto.lansweeper.shared.limits.v1.CalculateRiskInsights|undefined} value
470
- * @return {!proto.lansweeper.shared.limits.v1.SiteLimits} returns this
559
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
560
+ * @return {!proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities} returns this
471
561
  */
472
- proto.lansweeper.shared.limits.v1.SiteLimits.prototype.setCalculateRiskInsights = function(value) {
562
+ proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.prototype.setExpiresAt = function(value) {
473
563
  return jspb.Message.setWrapperField(this, 2, value);
474
564
  };
475
565
 
476
566
 
477
567
  /**
478
568
  * Clears the message field making it undefined.
479
- * @return {!proto.lansweeper.shared.limits.v1.SiteLimits} returns this
569
+ * @return {!proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities} returns this
480
570
  */
481
- proto.lansweeper.shared.limits.v1.SiteLimits.prototype.clearCalculateRiskInsights = function() {
482
- return this.setCalculateRiskInsights(undefined);
571
+ proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.prototype.clearExpiresAt = function() {
572
+ return this.setExpiresAt(undefined);
483
573
  };
484
574
 
485
575
 
@@ -487,11 +577,735 @@ proto.lansweeper.shared.limits.v1.SiteLimits.prototype.clearCalculateRiskInsight
487
577
  * Returns whether this field is set.
488
578
  * @return {boolean}
489
579
  */
490
- proto.lansweeper.shared.limits.v1.SiteLimits.prototype.hasCalculateRiskInsights = function() {
580
+ proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.prototype.hasExpiresAt = function() {
491
581
  return jspb.Message.getField(this, 2) != null;
492
582
  };
493
583
 
494
584
 
585
+
586
+ /**
587
+ * List of repeated fields within this message type.
588
+ * @private {!Array<number>}
589
+ * @const
590
+ */
591
+ proto.lansweeper.shared.limits.v1.BaseLimit.repeatedFields_ = [3];
592
+
593
+
594
+
595
+ if (jspb.Message.GENERATE_TO_OBJECT) {
596
+ /**
597
+ * Creates an object representation of this proto.
598
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
599
+ * Optional fields that are not set will be set to undefined.
600
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
601
+ * For the list of reserved names please see:
602
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
603
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
604
+ * JSPB instance for transitional soy proto support:
605
+ * http://goto/soy-param-migration
606
+ * @return {!Object}
607
+ */
608
+ proto.lansweeper.shared.limits.v1.BaseLimit.prototype.toObject = function(opt_includeInstance) {
609
+ return proto.lansweeper.shared.limits.v1.BaseLimit.toObject(opt_includeInstance, this);
610
+ };
611
+
612
+
613
+ /**
614
+ * Static version of the {@see toObject} method.
615
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
616
+ * the JSPB instance for transitional soy proto support:
617
+ * http://goto/soy-param-migration
618
+ * @param {!proto.lansweeper.shared.limits.v1.BaseLimit} msg The msg instance to transform.
619
+ * @return {!Object}
620
+ * @suppress {unusedLocalVariables} f is only used for nested messages
621
+ */
622
+ proto.lansweeper.shared.limits.v1.BaseLimit.toObject = function(includeInstance, msg) {
623
+ var f, obj = {
624
+ value: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
625
+ allowedEntitiesList: jspb.Message.toObjectList(msg.getAllowedEntitiesList(),
626
+ proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.toObject, includeInstance)
627
+ };
628
+
629
+ if (includeInstance) {
630
+ obj.$jspbMessageInstance = msg;
631
+ }
632
+ return obj;
633
+ };
634
+ }
635
+
636
+
637
+ /**
638
+ * Deserializes binary data (in protobuf wire format).
639
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
640
+ * @return {!proto.lansweeper.shared.limits.v1.BaseLimit}
641
+ */
642
+ proto.lansweeper.shared.limits.v1.BaseLimit.deserializeBinary = function(bytes) {
643
+ var reader = new jspb.BinaryReader(bytes);
644
+ var msg = new proto.lansweeper.shared.limits.v1.BaseLimit;
645
+ return proto.lansweeper.shared.limits.v1.BaseLimit.deserializeBinaryFromReader(msg, reader);
646
+ };
647
+
648
+
649
+ /**
650
+ * Deserializes binary data (in protobuf wire format) from the
651
+ * given reader into the given message object.
652
+ * @param {!proto.lansweeper.shared.limits.v1.BaseLimit} msg The message object to deserialize into.
653
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
654
+ * @return {!proto.lansweeper.shared.limits.v1.BaseLimit}
655
+ */
656
+ proto.lansweeper.shared.limits.v1.BaseLimit.deserializeBinaryFromReader = function(msg, reader) {
657
+ while (reader.nextField()) {
658
+ if (reader.isEndGroup()) {
659
+ break;
660
+ }
661
+ var field = reader.getFieldNumber();
662
+ switch (field) {
663
+ case 1:
664
+ var value = /** @type {boolean} */ (reader.readBool());
665
+ msg.setValue(value);
666
+ break;
667
+ case 3:
668
+ var value = new proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities;
669
+ reader.readMessage(value,proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.deserializeBinaryFromReader);
670
+ msg.addAllowedEntities(value);
671
+ break;
672
+ default:
673
+ reader.skipField();
674
+ break;
675
+ }
676
+ }
677
+ return msg;
678
+ };
679
+
680
+
681
+ /**
682
+ * Serializes the message to binary data (in protobuf wire format).
683
+ * @return {!Uint8Array}
684
+ */
685
+ proto.lansweeper.shared.limits.v1.BaseLimit.prototype.serializeBinary = function() {
686
+ var writer = new jspb.BinaryWriter();
687
+ proto.lansweeper.shared.limits.v1.BaseLimit.serializeBinaryToWriter(this, writer);
688
+ return writer.getResultBuffer();
689
+ };
690
+
691
+
692
+ /**
693
+ * Serializes the given message to binary data (in protobuf wire
694
+ * format), writing to the given BinaryWriter.
695
+ * @param {!proto.lansweeper.shared.limits.v1.BaseLimit} message
696
+ * @param {!jspb.BinaryWriter} writer
697
+ * @suppress {unusedLocalVariables} f is only used for nested messages
698
+ */
699
+ proto.lansweeper.shared.limits.v1.BaseLimit.serializeBinaryToWriter = function(message, writer) {
700
+ var f = undefined;
701
+ f = message.getValue();
702
+ if (f) {
703
+ writer.writeBool(
704
+ 1,
705
+ f
706
+ );
707
+ }
708
+ f = message.getAllowedEntitiesList();
709
+ if (f.length > 0) {
710
+ writer.writeRepeatedMessage(
711
+ 3,
712
+ f,
713
+ proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities.serializeBinaryToWriter
714
+ );
715
+ }
716
+ };
717
+
718
+
719
+ /**
720
+ * optional bool value = 1;
721
+ * @return {boolean}
722
+ */
723
+ proto.lansweeper.shared.limits.v1.BaseLimit.prototype.getValue = function() {
724
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
725
+ };
726
+
727
+
728
+ /**
729
+ * @param {boolean} value
730
+ * @return {!proto.lansweeper.shared.limits.v1.BaseLimit} returns this
731
+ */
732
+ proto.lansweeper.shared.limits.v1.BaseLimit.prototype.setValue = function(value) {
733
+ return jspb.Message.setProto3BooleanField(this, 1, value);
734
+ };
735
+
736
+
737
+ /**
738
+ * repeated ExpirableAllowedEntities allowed_entities = 3;
739
+ * @return {!Array<!proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities>}
740
+ */
741
+ proto.lansweeper.shared.limits.v1.BaseLimit.prototype.getAllowedEntitiesList = function() {
742
+ return /** @type{!Array<!proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities>} */ (
743
+ jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities, 3));
744
+ };
745
+
746
+
747
+ /**
748
+ * @param {!Array<!proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities>} value
749
+ * @return {!proto.lansweeper.shared.limits.v1.BaseLimit} returns this
750
+ */
751
+ proto.lansweeper.shared.limits.v1.BaseLimit.prototype.setAllowedEntitiesList = function(value) {
752
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
753
+ };
754
+
755
+
756
+ /**
757
+ * @param {!proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities=} opt_value
758
+ * @param {number=} opt_index
759
+ * @return {!proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities}
760
+ */
761
+ proto.lansweeper.shared.limits.v1.BaseLimit.prototype.addAllowedEntities = function(opt_value, opt_index) {
762
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities, opt_index);
763
+ };
764
+
765
+
766
+ /**
767
+ * Clears the list making it empty but non-null.
768
+ * @return {!proto.lansweeper.shared.limits.v1.BaseLimit} returns this
769
+ */
770
+ proto.lansweeper.shared.limits.v1.BaseLimit.prototype.clearAllowedEntitiesList = function() {
771
+ return this.setAllowedEntitiesList([]);
772
+ };
773
+
774
+
775
+
776
+
777
+
778
+ if (jspb.Message.GENERATE_TO_OBJECT) {
779
+ /**
780
+ * Creates an object representation of this proto.
781
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
782
+ * Optional fields that are not set will be set to undefined.
783
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
784
+ * For the list of reserved names please see:
785
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
786
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
787
+ * JSPB instance for transitional soy proto support:
788
+ * http://goto/soy-param-migration
789
+ * @return {!Object}
790
+ */
791
+ proto.lansweeper.shared.limits.v1.RiskInsights.prototype.toObject = function(opt_includeInstance) {
792
+ return proto.lansweeper.shared.limits.v1.RiskInsights.toObject(opt_includeInstance, this);
793
+ };
794
+
795
+
796
+ /**
797
+ * Static version of the {@see toObject} method.
798
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
799
+ * the JSPB instance for transitional soy proto support:
800
+ * http://goto/soy-param-migration
801
+ * @param {!proto.lansweeper.shared.limits.v1.RiskInsights} msg The msg instance to transform.
802
+ * @return {!Object}
803
+ * @suppress {unusedLocalVariables} f is only used for nested messages
804
+ */
805
+ proto.lansweeper.shared.limits.v1.RiskInsights.toObject = function(includeInstance, msg) {
806
+ var f, obj = {
807
+ viewAssets: (f = msg.getViewAssets()) && proto.lansweeper.shared.limits.v1.BaseLimit.toObject(includeInstance, f)
808
+ };
809
+
810
+ if (includeInstance) {
811
+ obj.$jspbMessageInstance = msg;
812
+ }
813
+ return obj;
814
+ };
815
+ }
816
+
817
+
818
+ /**
819
+ * Deserializes binary data (in protobuf wire format).
820
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
821
+ * @return {!proto.lansweeper.shared.limits.v1.RiskInsights}
822
+ */
823
+ proto.lansweeper.shared.limits.v1.RiskInsights.deserializeBinary = function(bytes) {
824
+ var reader = new jspb.BinaryReader(bytes);
825
+ var msg = new proto.lansweeper.shared.limits.v1.RiskInsights;
826
+ return proto.lansweeper.shared.limits.v1.RiskInsights.deserializeBinaryFromReader(msg, reader);
827
+ };
828
+
829
+
830
+ /**
831
+ * Deserializes binary data (in protobuf wire format) from the
832
+ * given reader into the given message object.
833
+ * @param {!proto.lansweeper.shared.limits.v1.RiskInsights} msg The message object to deserialize into.
834
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
835
+ * @return {!proto.lansweeper.shared.limits.v1.RiskInsights}
836
+ */
837
+ proto.lansweeper.shared.limits.v1.RiskInsights.deserializeBinaryFromReader = function(msg, reader) {
838
+ while (reader.nextField()) {
839
+ if (reader.isEndGroup()) {
840
+ break;
841
+ }
842
+ var field = reader.getFieldNumber();
843
+ switch (field) {
844
+ case 1:
845
+ var value = new proto.lansweeper.shared.limits.v1.BaseLimit;
846
+ reader.readMessage(value,proto.lansweeper.shared.limits.v1.BaseLimit.deserializeBinaryFromReader);
847
+ msg.setViewAssets(value);
848
+ break;
849
+ default:
850
+ reader.skipField();
851
+ break;
852
+ }
853
+ }
854
+ return msg;
855
+ };
856
+
857
+
858
+ /**
859
+ * Serializes the message to binary data (in protobuf wire format).
860
+ * @return {!Uint8Array}
861
+ */
862
+ proto.lansweeper.shared.limits.v1.RiskInsights.prototype.serializeBinary = function() {
863
+ var writer = new jspb.BinaryWriter();
864
+ proto.lansweeper.shared.limits.v1.RiskInsights.serializeBinaryToWriter(this, writer);
865
+ return writer.getResultBuffer();
866
+ };
867
+
868
+
869
+ /**
870
+ * Serializes the given message to binary data (in protobuf wire
871
+ * format), writing to the given BinaryWriter.
872
+ * @param {!proto.lansweeper.shared.limits.v1.RiskInsights} message
873
+ * @param {!jspb.BinaryWriter} writer
874
+ * @suppress {unusedLocalVariables} f is only used for nested messages
875
+ */
876
+ proto.lansweeper.shared.limits.v1.RiskInsights.serializeBinaryToWriter = function(message, writer) {
877
+ var f = undefined;
878
+ f = message.getViewAssets();
879
+ if (f != null) {
880
+ writer.writeMessage(
881
+ 1,
882
+ f,
883
+ proto.lansweeper.shared.limits.v1.BaseLimit.serializeBinaryToWriter
884
+ );
885
+ }
886
+ };
887
+
888
+
889
+ /**
890
+ * optional BaseLimit view_assets = 1;
891
+ * @return {?proto.lansweeper.shared.limits.v1.BaseLimit}
892
+ */
893
+ proto.lansweeper.shared.limits.v1.RiskInsights.prototype.getViewAssets = function() {
894
+ return /** @type{?proto.lansweeper.shared.limits.v1.BaseLimit} */ (
895
+ jspb.Message.getWrapperField(this, proto.lansweeper.shared.limits.v1.BaseLimit, 1));
896
+ };
897
+
898
+
899
+ /**
900
+ * @param {?proto.lansweeper.shared.limits.v1.BaseLimit|undefined} value
901
+ * @return {!proto.lansweeper.shared.limits.v1.RiskInsights} returns this
902
+ */
903
+ proto.lansweeper.shared.limits.v1.RiskInsights.prototype.setViewAssets = function(value) {
904
+ return jspb.Message.setWrapperField(this, 1, value);
905
+ };
906
+
907
+
908
+ /**
909
+ * Clears the message field making it undefined.
910
+ * @return {!proto.lansweeper.shared.limits.v1.RiskInsights} returns this
911
+ */
912
+ proto.lansweeper.shared.limits.v1.RiskInsights.prototype.clearViewAssets = function() {
913
+ return this.setViewAssets(undefined);
914
+ };
915
+
916
+
917
+ /**
918
+ * Returns whether this field is set.
919
+ * @return {boolean}
920
+ */
921
+ proto.lansweeper.shared.limits.v1.RiskInsights.prototype.hasViewAssets = function() {
922
+ return jspb.Message.getField(this, 1) != null;
923
+ };
924
+
925
+
926
+
927
+
928
+
929
+ if (jspb.Message.GENERATE_TO_OBJECT) {
930
+ /**
931
+ * Creates an object representation of this proto.
932
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
933
+ * Optional fields that are not set will be set to undefined.
934
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
935
+ * For the list of reserved names please see:
936
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
937
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
938
+ * JSPB instance for transitional soy proto support:
939
+ * http://goto/soy-param-migration
940
+ * @return {!Object}
941
+ */
942
+ proto.lansweeper.shared.limits.v1.Assets.prototype.toObject = function(opt_includeInstance) {
943
+ return proto.lansweeper.shared.limits.v1.Assets.toObject(opt_includeInstance, this);
944
+ };
945
+
946
+
947
+ /**
948
+ * Static version of the {@see toObject} method.
949
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
950
+ * the JSPB instance for transitional soy proto support:
951
+ * http://goto/soy-param-migration
952
+ * @param {!proto.lansweeper.shared.limits.v1.Assets} msg The msg instance to transform.
953
+ * @return {!Object}
954
+ * @suppress {unusedLocalVariables} f is only used for nested messages
955
+ */
956
+ proto.lansweeper.shared.limits.v1.Assets.toObject = function(includeInstance, msg) {
957
+ var f, obj = {
958
+ viewRiskInsights: (f = msg.getViewRiskInsights()) && proto.lansweeper.shared.limits.v1.BaseLimit.toObject(includeInstance, f)
959
+ };
960
+
961
+ if (includeInstance) {
962
+ obj.$jspbMessageInstance = msg;
963
+ }
964
+ return obj;
965
+ };
966
+ }
967
+
968
+
969
+ /**
970
+ * Deserializes binary data (in protobuf wire format).
971
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
972
+ * @return {!proto.lansweeper.shared.limits.v1.Assets}
973
+ */
974
+ proto.lansweeper.shared.limits.v1.Assets.deserializeBinary = function(bytes) {
975
+ var reader = new jspb.BinaryReader(bytes);
976
+ var msg = new proto.lansweeper.shared.limits.v1.Assets;
977
+ return proto.lansweeper.shared.limits.v1.Assets.deserializeBinaryFromReader(msg, reader);
978
+ };
979
+
980
+
981
+ /**
982
+ * Deserializes binary data (in protobuf wire format) from the
983
+ * given reader into the given message object.
984
+ * @param {!proto.lansweeper.shared.limits.v1.Assets} msg The message object to deserialize into.
985
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
986
+ * @return {!proto.lansweeper.shared.limits.v1.Assets}
987
+ */
988
+ proto.lansweeper.shared.limits.v1.Assets.deserializeBinaryFromReader = function(msg, reader) {
989
+ while (reader.nextField()) {
990
+ if (reader.isEndGroup()) {
991
+ break;
992
+ }
993
+ var field = reader.getFieldNumber();
994
+ switch (field) {
995
+ case 1:
996
+ var value = new proto.lansweeper.shared.limits.v1.BaseLimit;
997
+ reader.readMessage(value,proto.lansweeper.shared.limits.v1.BaseLimit.deserializeBinaryFromReader);
998
+ msg.setViewRiskInsights(value);
999
+ break;
1000
+ default:
1001
+ reader.skipField();
1002
+ break;
1003
+ }
1004
+ }
1005
+ return msg;
1006
+ };
1007
+
1008
+
1009
+ /**
1010
+ * Serializes the message to binary data (in protobuf wire format).
1011
+ * @return {!Uint8Array}
1012
+ */
1013
+ proto.lansweeper.shared.limits.v1.Assets.prototype.serializeBinary = function() {
1014
+ var writer = new jspb.BinaryWriter();
1015
+ proto.lansweeper.shared.limits.v1.Assets.serializeBinaryToWriter(this, writer);
1016
+ return writer.getResultBuffer();
1017
+ };
1018
+
1019
+
1020
+ /**
1021
+ * Serializes the given message to binary data (in protobuf wire
1022
+ * format), writing to the given BinaryWriter.
1023
+ * @param {!proto.lansweeper.shared.limits.v1.Assets} message
1024
+ * @param {!jspb.BinaryWriter} writer
1025
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1026
+ */
1027
+ proto.lansweeper.shared.limits.v1.Assets.serializeBinaryToWriter = function(message, writer) {
1028
+ var f = undefined;
1029
+ f = message.getViewRiskInsights();
1030
+ if (f != null) {
1031
+ writer.writeMessage(
1032
+ 1,
1033
+ f,
1034
+ proto.lansweeper.shared.limits.v1.BaseLimit.serializeBinaryToWriter
1035
+ );
1036
+ }
1037
+ };
1038
+
1039
+
1040
+ /**
1041
+ * optional BaseLimit view_risk_insights = 1;
1042
+ * @return {?proto.lansweeper.shared.limits.v1.BaseLimit}
1043
+ */
1044
+ proto.lansweeper.shared.limits.v1.Assets.prototype.getViewRiskInsights = function() {
1045
+ return /** @type{?proto.lansweeper.shared.limits.v1.BaseLimit} */ (
1046
+ jspb.Message.getWrapperField(this, proto.lansweeper.shared.limits.v1.BaseLimit, 1));
1047
+ };
1048
+
1049
+
1050
+ /**
1051
+ * @param {?proto.lansweeper.shared.limits.v1.BaseLimit|undefined} value
1052
+ * @return {!proto.lansweeper.shared.limits.v1.Assets} returns this
1053
+ */
1054
+ proto.lansweeper.shared.limits.v1.Assets.prototype.setViewRiskInsights = function(value) {
1055
+ return jspb.Message.setWrapperField(this, 1, value);
1056
+ };
1057
+
1058
+
1059
+ /**
1060
+ * Clears the message field making it undefined.
1061
+ * @return {!proto.lansweeper.shared.limits.v1.Assets} returns this
1062
+ */
1063
+ proto.lansweeper.shared.limits.v1.Assets.prototype.clearViewRiskInsights = function() {
1064
+ return this.setViewRiskInsights(undefined);
1065
+ };
1066
+
1067
+
1068
+ /**
1069
+ * Returns whether this field is set.
1070
+ * @return {boolean}
1071
+ */
1072
+ proto.lansweeper.shared.limits.v1.Assets.prototype.hasViewRiskInsights = function() {
1073
+ return jspb.Message.getField(this, 1) != null;
1074
+ };
1075
+
1076
+
1077
+
1078
+
1079
+
1080
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1081
+ /**
1082
+ * Creates an object representation of this proto.
1083
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1084
+ * Optional fields that are not set will be set to undefined.
1085
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1086
+ * For the list of reserved names please see:
1087
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1088
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1089
+ * JSPB instance for transitional soy proto support:
1090
+ * http://goto/soy-param-migration
1091
+ * @return {!Object}
1092
+ */
1093
+ proto.lansweeper.shared.limits.v1.SiteLimits.prototype.toObject = function(opt_includeInstance) {
1094
+ return proto.lansweeper.shared.limits.v1.SiteLimits.toObject(opt_includeInstance, this);
1095
+ };
1096
+
1097
+
1098
+ /**
1099
+ * Static version of the {@see toObject} method.
1100
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1101
+ * the JSPB instance for transitional soy proto support:
1102
+ * http://goto/soy-param-migration
1103
+ * @param {!proto.lansweeper.shared.limits.v1.SiteLimits} msg The msg instance to transform.
1104
+ * @return {!Object}
1105
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1106
+ */
1107
+ proto.lansweeper.shared.limits.v1.SiteLimits.toObject = function(includeInstance, msg) {
1108
+ var f, obj = {
1109
+ tier: jspb.Message.getFieldWithDefault(msg, 1, 0),
1110
+ riskInsights: (f = msg.getRiskInsights()) && proto.lansweeper.shared.limits.v1.RiskInsights.toObject(includeInstance, f),
1111
+ assets: (f = msg.getAssets()) && proto.lansweeper.shared.limits.v1.Assets.toObject(includeInstance, f)
1112
+ };
1113
+
1114
+ if (includeInstance) {
1115
+ obj.$jspbMessageInstance = msg;
1116
+ }
1117
+ return obj;
1118
+ };
1119
+ }
1120
+
1121
+
1122
+ /**
1123
+ * Deserializes binary data (in protobuf wire format).
1124
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1125
+ * @return {!proto.lansweeper.shared.limits.v1.SiteLimits}
1126
+ */
1127
+ proto.lansweeper.shared.limits.v1.SiteLimits.deserializeBinary = function(bytes) {
1128
+ var reader = new jspb.BinaryReader(bytes);
1129
+ var msg = new proto.lansweeper.shared.limits.v1.SiteLimits;
1130
+ return proto.lansweeper.shared.limits.v1.SiteLimits.deserializeBinaryFromReader(msg, reader);
1131
+ };
1132
+
1133
+
1134
+ /**
1135
+ * Deserializes binary data (in protobuf wire format) from the
1136
+ * given reader into the given message object.
1137
+ * @param {!proto.lansweeper.shared.limits.v1.SiteLimits} msg The message object to deserialize into.
1138
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1139
+ * @return {!proto.lansweeper.shared.limits.v1.SiteLimits}
1140
+ */
1141
+ proto.lansweeper.shared.limits.v1.SiteLimits.deserializeBinaryFromReader = function(msg, reader) {
1142
+ while (reader.nextField()) {
1143
+ if (reader.isEndGroup()) {
1144
+ break;
1145
+ }
1146
+ var field = reader.getFieldNumber();
1147
+ switch (field) {
1148
+ case 1:
1149
+ var value = /** @type {!proto.lansweeper.shared.limits.v1.SiteLimitsTiers} */ (reader.readEnum());
1150
+ msg.setTier(value);
1151
+ break;
1152
+ case 3:
1153
+ var value = new proto.lansweeper.shared.limits.v1.RiskInsights;
1154
+ reader.readMessage(value,proto.lansweeper.shared.limits.v1.RiskInsights.deserializeBinaryFromReader);
1155
+ msg.setRiskInsights(value);
1156
+ break;
1157
+ case 4:
1158
+ var value = new proto.lansweeper.shared.limits.v1.Assets;
1159
+ reader.readMessage(value,proto.lansweeper.shared.limits.v1.Assets.deserializeBinaryFromReader);
1160
+ msg.setAssets(value);
1161
+ break;
1162
+ default:
1163
+ reader.skipField();
1164
+ break;
1165
+ }
1166
+ }
1167
+ return msg;
1168
+ };
1169
+
1170
+
1171
+ /**
1172
+ * Serializes the message to binary data (in protobuf wire format).
1173
+ * @return {!Uint8Array}
1174
+ */
1175
+ proto.lansweeper.shared.limits.v1.SiteLimits.prototype.serializeBinary = function() {
1176
+ var writer = new jspb.BinaryWriter();
1177
+ proto.lansweeper.shared.limits.v1.SiteLimits.serializeBinaryToWriter(this, writer);
1178
+ return writer.getResultBuffer();
1179
+ };
1180
+
1181
+
1182
+ /**
1183
+ * Serializes the given message to binary data (in protobuf wire
1184
+ * format), writing to the given BinaryWriter.
1185
+ * @param {!proto.lansweeper.shared.limits.v1.SiteLimits} message
1186
+ * @param {!jspb.BinaryWriter} writer
1187
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1188
+ */
1189
+ proto.lansweeper.shared.limits.v1.SiteLimits.serializeBinaryToWriter = function(message, writer) {
1190
+ var f = undefined;
1191
+ f = message.getTier();
1192
+ if (f !== 0.0) {
1193
+ writer.writeEnum(
1194
+ 1,
1195
+ f
1196
+ );
1197
+ }
1198
+ f = message.getRiskInsights();
1199
+ if (f != null) {
1200
+ writer.writeMessage(
1201
+ 3,
1202
+ f,
1203
+ proto.lansweeper.shared.limits.v1.RiskInsights.serializeBinaryToWriter
1204
+ );
1205
+ }
1206
+ f = message.getAssets();
1207
+ if (f != null) {
1208
+ writer.writeMessage(
1209
+ 4,
1210
+ f,
1211
+ proto.lansweeper.shared.limits.v1.Assets.serializeBinaryToWriter
1212
+ );
1213
+ }
1214
+ };
1215
+
1216
+
1217
+ /**
1218
+ * optional SiteLimitsTiers tier = 1;
1219
+ * @return {!proto.lansweeper.shared.limits.v1.SiteLimitsTiers}
1220
+ */
1221
+ proto.lansweeper.shared.limits.v1.SiteLimits.prototype.getTier = function() {
1222
+ return /** @type {!proto.lansweeper.shared.limits.v1.SiteLimitsTiers} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1223
+ };
1224
+
1225
+
1226
+ /**
1227
+ * @param {!proto.lansweeper.shared.limits.v1.SiteLimitsTiers} value
1228
+ * @return {!proto.lansweeper.shared.limits.v1.SiteLimits} returns this
1229
+ */
1230
+ proto.lansweeper.shared.limits.v1.SiteLimits.prototype.setTier = function(value) {
1231
+ return jspb.Message.setProto3EnumField(this, 1, value);
1232
+ };
1233
+
1234
+
1235
+ /**
1236
+ * optional RiskInsights risk_insights = 3;
1237
+ * @return {?proto.lansweeper.shared.limits.v1.RiskInsights}
1238
+ */
1239
+ proto.lansweeper.shared.limits.v1.SiteLimits.prototype.getRiskInsights = function() {
1240
+ return /** @type{?proto.lansweeper.shared.limits.v1.RiskInsights} */ (
1241
+ jspb.Message.getWrapperField(this, proto.lansweeper.shared.limits.v1.RiskInsights, 3));
1242
+ };
1243
+
1244
+
1245
+ /**
1246
+ * @param {?proto.lansweeper.shared.limits.v1.RiskInsights|undefined} value
1247
+ * @return {!proto.lansweeper.shared.limits.v1.SiteLimits} returns this
1248
+ */
1249
+ proto.lansweeper.shared.limits.v1.SiteLimits.prototype.setRiskInsights = function(value) {
1250
+ return jspb.Message.setWrapperField(this, 3, value);
1251
+ };
1252
+
1253
+
1254
+ /**
1255
+ * Clears the message field making it undefined.
1256
+ * @return {!proto.lansweeper.shared.limits.v1.SiteLimits} returns this
1257
+ */
1258
+ proto.lansweeper.shared.limits.v1.SiteLimits.prototype.clearRiskInsights = function() {
1259
+ return this.setRiskInsights(undefined);
1260
+ };
1261
+
1262
+
1263
+ /**
1264
+ * Returns whether this field is set.
1265
+ * @return {boolean}
1266
+ */
1267
+ proto.lansweeper.shared.limits.v1.SiteLimits.prototype.hasRiskInsights = function() {
1268
+ return jspb.Message.getField(this, 3) != null;
1269
+ };
1270
+
1271
+
1272
+ /**
1273
+ * optional Assets assets = 4;
1274
+ * @return {?proto.lansweeper.shared.limits.v1.Assets}
1275
+ */
1276
+ proto.lansweeper.shared.limits.v1.SiteLimits.prototype.getAssets = function() {
1277
+ return /** @type{?proto.lansweeper.shared.limits.v1.Assets} */ (
1278
+ jspb.Message.getWrapperField(this, proto.lansweeper.shared.limits.v1.Assets, 4));
1279
+ };
1280
+
1281
+
1282
+ /**
1283
+ * @param {?proto.lansweeper.shared.limits.v1.Assets|undefined} value
1284
+ * @return {!proto.lansweeper.shared.limits.v1.SiteLimits} returns this
1285
+ */
1286
+ proto.lansweeper.shared.limits.v1.SiteLimits.prototype.setAssets = function(value) {
1287
+ return jspb.Message.setWrapperField(this, 4, value);
1288
+ };
1289
+
1290
+
1291
+ /**
1292
+ * Clears the message field making it undefined.
1293
+ * @return {!proto.lansweeper.shared.limits.v1.SiteLimits} returns this
1294
+ */
1295
+ proto.lansweeper.shared.limits.v1.SiteLimits.prototype.clearAssets = function() {
1296
+ return this.setAssets(undefined);
1297
+ };
1298
+
1299
+
1300
+ /**
1301
+ * Returns whether this field is set.
1302
+ * @return {boolean}
1303
+ */
1304
+ proto.lansweeper.shared.limits.v1.SiteLimits.prototype.hasAssets = function() {
1305
+ return jspb.Message.getField(this, 4) != null;
1306
+ };
1307
+
1308
+
495
1309
  /**
496
1310
  * @enum {number}
497
1311
  */