@lansweeper/discovery-sensor-proto 2.30.0 → 2.31.1

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.
@@ -1438,6 +1438,31 @@ export class SystemHardware extends jspb.Message {
1438
1438
  getSmcVersionSystem(): google_protobuf_wrappers_pb.StringValue | undefined;
1439
1439
  setSmcVersionSystem(value?: google_protobuf_wrappers_pb.StringValue): SystemHardware;
1440
1440
 
1441
+ hasProvisioningUdid(): boolean;
1442
+ clearProvisioningUdid(): void;
1443
+ getProvisioningUdid(): google_protobuf_wrappers_pb.StringValue | undefined;
1444
+ setProvisioningUdid(value?: google_protobuf_wrappers_pb.StringValue): SystemHardware;
1445
+
1446
+ hasActivationLockStatus(): boolean;
1447
+ clearActivationLockStatus(): void;
1448
+ getActivationLockStatus(): google_protobuf_wrappers_pb.StringValue | undefined;
1449
+ setActivationLockStatus(value?: google_protobuf_wrappers_pb.StringValue): SystemHardware;
1450
+
1451
+ hasPlatformCpuHtt(): boolean;
1452
+ clearPlatformCpuHtt(): void;
1453
+ getPlatformCpuHtt(): google_protobuf_wrappers_pb.StringValue | undefined;
1454
+ setPlatformCpuHtt(value?: google_protobuf_wrappers_pb.StringValue): SystemHardware;
1455
+
1456
+ hasOsLoaderVersion(): boolean;
1457
+ clearOsLoaderVersion(): void;
1458
+ getOsLoaderVersion(): google_protobuf_wrappers_pb.StringValue | undefined;
1459
+ setOsLoaderVersion(value?: google_protobuf_wrappers_pb.StringValue): SystemHardware;
1460
+
1461
+ hasModelNumber(): boolean;
1462
+ clearModelNumber(): void;
1463
+ getModelNumber(): google_protobuf_wrappers_pb.StringValue | undefined;
1464
+ setModelNumber(value?: google_protobuf_wrappers_pb.StringValue): SystemHardware;
1465
+
1441
1466
  serializeBinary(): Uint8Array;
1442
1467
  toObject(includeInstance?: boolean): SystemHardware.AsObject;
1443
1468
  static toObject(includeInstance: boolean, msg: SystemHardware): SystemHardware.AsObject;
@@ -1463,6 +1488,11 @@ export namespace SystemHardware {
1463
1488
  packages?: google_protobuf_wrappers_pb.StringValue.AsObject,
1464
1489
  platformUuid?: google_protobuf_wrappers_pb.StringValue.AsObject,
1465
1490
  smcVersionSystem?: google_protobuf_wrappers_pb.StringValue.AsObject,
1491
+ provisioningUdid?: google_protobuf_wrappers_pb.StringValue.AsObject,
1492
+ activationLockStatus?: google_protobuf_wrappers_pb.StringValue.AsObject,
1493
+ platformCpuHtt?: google_protobuf_wrappers_pb.StringValue.AsObject,
1494
+ osLoaderVersion?: google_protobuf_wrappers_pb.StringValue.AsObject,
1495
+ modelNumber?: google_protobuf_wrappers_pb.StringValue.AsObject,
1466
1496
  }
1467
1497
  }
1468
1498
 
@@ -11516,7 +11516,12 @@ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.toObject = function(
11516
11516
  serialNumber: (f = msg.getSerialNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
11517
11517
  packages: (f = msg.getPackages()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
11518
11518
  platformUuid: (f = msg.getPlatformUuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
11519
- smcVersionSystem: (f = msg.getSmcVersionSystem()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
11519
+ smcVersionSystem: (f = msg.getSmcVersionSystem()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
11520
+ provisioningUdid: (f = msg.getProvisioningUdid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
11521
+ activationLockStatus: (f = msg.getActivationLockStatus()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
11522
+ platformCpuHtt: (f = msg.getPlatformCpuHtt()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
11523
+ osLoaderVersion: (f = msg.getOsLoaderVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
11524
+ modelNumber: (f = msg.getModelNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
11520
11525
  };
11521
11526
 
11522
11527
  if (includeInstance) {
@@ -11618,6 +11623,31 @@ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.deserializeBinaryFro
11618
11623
  reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
11619
11624
  msg.setSmcVersionSystem(value);
11620
11625
  break;
11626
+ case 14:
11627
+ var value = new google_protobuf_wrappers_pb.StringValue;
11628
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
11629
+ msg.setProvisioningUdid(value);
11630
+ break;
11631
+ case 15:
11632
+ var value = new google_protobuf_wrappers_pb.StringValue;
11633
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
11634
+ msg.setActivationLockStatus(value);
11635
+ break;
11636
+ case 16:
11637
+ var value = new google_protobuf_wrappers_pb.StringValue;
11638
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
11639
+ msg.setPlatformCpuHtt(value);
11640
+ break;
11641
+ case 17:
11642
+ var value = new google_protobuf_wrappers_pb.StringValue;
11643
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
11644
+ msg.setOsLoaderVersion(value);
11645
+ break;
11646
+ case 18:
11647
+ var value = new google_protobuf_wrappers_pb.StringValue;
11648
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
11649
+ msg.setModelNumber(value);
11650
+ break;
11621
11651
  default:
11622
11652
  reader.skipField();
11623
11653
  break;
@@ -11751,6 +11781,46 @@ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.serializeBinaryToWri
11751
11781
  google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
11752
11782
  );
11753
11783
  }
11784
+ f = message.getProvisioningUdid();
11785
+ if (f != null) {
11786
+ writer.writeMessage(
11787
+ 14,
11788
+ f,
11789
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
11790
+ );
11791
+ }
11792
+ f = message.getActivationLockStatus();
11793
+ if (f != null) {
11794
+ writer.writeMessage(
11795
+ 15,
11796
+ f,
11797
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
11798
+ );
11799
+ }
11800
+ f = message.getPlatformCpuHtt();
11801
+ if (f != null) {
11802
+ writer.writeMessage(
11803
+ 16,
11804
+ f,
11805
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
11806
+ );
11807
+ }
11808
+ f = message.getOsLoaderVersion();
11809
+ if (f != null) {
11810
+ writer.writeMessage(
11811
+ 17,
11812
+ f,
11813
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
11814
+ );
11815
+ }
11816
+ f = message.getModelNumber();
11817
+ if (f != null) {
11818
+ writer.writeMessage(
11819
+ 18,
11820
+ f,
11821
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
11822
+ );
11823
+ }
11754
11824
  };
11755
11825
 
11756
11826
 
@@ -12235,6 +12305,191 @@ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.hasSmcVers
12235
12305
  };
12236
12306
 
12237
12307
 
12308
+ /**
12309
+ * optional google.protobuf.StringValue provisioning_udid = 14;
12310
+ * @return {?proto.google.protobuf.StringValue}
12311
+ */
12312
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.getProvisioningUdid = function() {
12313
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12314
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 14));
12315
+ };
12316
+
12317
+
12318
+ /**
12319
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12320
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
12321
+ */
12322
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.setProvisioningUdid = function(value) {
12323
+ return jspb.Message.setWrapperField(this, 14, value);
12324
+ };
12325
+
12326
+
12327
+ /**
12328
+ * Clears the message field making it undefined.
12329
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
12330
+ */
12331
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.clearProvisioningUdid = function() {
12332
+ return this.setProvisioningUdid(undefined);
12333
+ };
12334
+
12335
+
12336
+ /**
12337
+ * Returns whether this field is set.
12338
+ * @return {boolean}
12339
+ */
12340
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.hasProvisioningUdid = function() {
12341
+ return jspb.Message.getField(this, 14) != null;
12342
+ };
12343
+
12344
+
12345
+ /**
12346
+ * optional google.protobuf.StringValue activation_lock_status = 15;
12347
+ * @return {?proto.google.protobuf.StringValue}
12348
+ */
12349
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.getActivationLockStatus = function() {
12350
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12351
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 15));
12352
+ };
12353
+
12354
+
12355
+ /**
12356
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12357
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
12358
+ */
12359
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.setActivationLockStatus = function(value) {
12360
+ return jspb.Message.setWrapperField(this, 15, value);
12361
+ };
12362
+
12363
+
12364
+ /**
12365
+ * Clears the message field making it undefined.
12366
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
12367
+ */
12368
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.clearActivationLockStatus = function() {
12369
+ return this.setActivationLockStatus(undefined);
12370
+ };
12371
+
12372
+
12373
+ /**
12374
+ * Returns whether this field is set.
12375
+ * @return {boolean}
12376
+ */
12377
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.hasActivationLockStatus = function() {
12378
+ return jspb.Message.getField(this, 15) != null;
12379
+ };
12380
+
12381
+
12382
+ /**
12383
+ * optional google.protobuf.StringValue platform_cpu_htt = 16;
12384
+ * @return {?proto.google.protobuf.StringValue}
12385
+ */
12386
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.getPlatformCpuHtt = function() {
12387
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12388
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 16));
12389
+ };
12390
+
12391
+
12392
+ /**
12393
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12394
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
12395
+ */
12396
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.setPlatformCpuHtt = function(value) {
12397
+ return jspb.Message.setWrapperField(this, 16, value);
12398
+ };
12399
+
12400
+
12401
+ /**
12402
+ * Clears the message field making it undefined.
12403
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
12404
+ */
12405
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.clearPlatformCpuHtt = function() {
12406
+ return this.setPlatformCpuHtt(undefined);
12407
+ };
12408
+
12409
+
12410
+ /**
12411
+ * Returns whether this field is set.
12412
+ * @return {boolean}
12413
+ */
12414
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.hasPlatformCpuHtt = function() {
12415
+ return jspb.Message.getField(this, 16) != null;
12416
+ };
12417
+
12418
+
12419
+ /**
12420
+ * optional google.protobuf.StringValue os_loader_version = 17;
12421
+ * @return {?proto.google.protobuf.StringValue}
12422
+ */
12423
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.getOsLoaderVersion = function() {
12424
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12425
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 17));
12426
+ };
12427
+
12428
+
12429
+ /**
12430
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12431
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
12432
+ */
12433
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.setOsLoaderVersion = function(value) {
12434
+ return jspb.Message.setWrapperField(this, 17, value);
12435
+ };
12436
+
12437
+
12438
+ /**
12439
+ * Clears the message field making it undefined.
12440
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
12441
+ */
12442
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.clearOsLoaderVersion = function() {
12443
+ return this.setOsLoaderVersion(undefined);
12444
+ };
12445
+
12446
+
12447
+ /**
12448
+ * Returns whether this field is set.
12449
+ * @return {boolean}
12450
+ */
12451
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.hasOsLoaderVersion = function() {
12452
+ return jspb.Message.getField(this, 17) != null;
12453
+ };
12454
+
12455
+
12456
+ /**
12457
+ * optional google.protobuf.StringValue model_number = 18;
12458
+ * @return {?proto.google.protobuf.StringValue}
12459
+ */
12460
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.getModelNumber = function() {
12461
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12462
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 18));
12463
+ };
12464
+
12465
+
12466
+ /**
12467
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12468
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
12469
+ */
12470
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.setModelNumber = function(value) {
12471
+ return jspb.Message.setWrapperField(this, 18, value);
12472
+ };
12473
+
12474
+
12475
+ /**
12476
+ * Clears the message field making it undefined.
12477
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
12478
+ */
12479
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.clearModelNumber = function() {
12480
+ return this.setModelNumber(undefined);
12481
+ };
12482
+
12483
+
12484
+ /**
12485
+ * Returns whether this field is set.
12486
+ * @return {boolean}
12487
+ */
12488
+ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.hasModelNumber = function() {
12489
+ return jspb.Message.getField(this, 18) != null;
12490
+ };
12491
+
12492
+
12238
12493
 
12239
12494
  /**
12240
12495
  * List of repeated fields within this message type.
@@ -7,24 +7,24 @@
7
7
  import * as jspb from "google-protobuf";
8
8
  import * as import_discovery_common_pb from "./import/discovery_common_pb";
9
9
 
10
- export class SnmpInfo extends jspb.Message {
10
+ export class Snmp extends jspb.Message {
11
11
 
12
12
  hasData(): boolean;
13
13
  clearData(): void;
14
14
  getData(): import_discovery_common_pb.SnmpInfo | undefined;
15
- setData(value?: import_discovery_common_pb.SnmpInfo): SnmpInfo;
15
+ setData(value?: import_discovery_common_pb.SnmpInfo): Snmp;
16
16
 
17
17
  serializeBinary(): Uint8Array;
18
- toObject(includeInstance?: boolean): SnmpInfo.AsObject;
19
- static toObject(includeInstance: boolean, msg: SnmpInfo): SnmpInfo.AsObject;
18
+ toObject(includeInstance?: boolean): Snmp.AsObject;
19
+ static toObject(includeInstance: boolean, msg: Snmp): Snmp.AsObject;
20
20
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
21
21
  static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
22
- static serializeBinaryToWriter(message: SnmpInfo, writer: jspb.BinaryWriter): void;
23
- static deserializeBinary(bytes: Uint8Array): SnmpInfo;
24
- static deserializeBinaryFromReader(message: SnmpInfo, reader: jspb.BinaryReader): SnmpInfo;
22
+ static serializeBinaryToWriter(message: Snmp, writer: jspb.BinaryWriter): void;
23
+ static deserializeBinary(bytes: Uint8Array): Snmp;
24
+ static deserializeBinaryFromReader(message: Snmp, reader: jspb.BinaryReader): Snmp;
25
25
  }
26
26
 
27
- export namespace SnmpInfo {
27
+ export namespace Snmp {
28
28
  export type AsObject = {
29
29
  data?: import_discovery_common_pb.SnmpInfo.AsObject,
30
30
  }
@@ -23,7 +23,7 @@ var global = (function() {
23
23
 
24
24
  var import_discovery_common_pb = require('./import/discovery_common_pb.js');
25
25
  goog.object.extend(proto, import_discovery_common_pb);
26
- goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo', null, global);
26
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.Snmp', null, global);
27
27
  /**
28
28
  * Generated by JsPbCodeGenerator.
29
29
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -34,16 +34,16 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo', nul
34
34
  * @extends {jspb.Message}
35
35
  * @constructor
36
36
  */
37
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo = function(opt_data) {
37
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp = function(opt_data) {
38
38
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
39
39
  };
40
- goog.inherits(proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo, jspb.Message);
40
+ goog.inherits(proto.com.lansweeper.discovery.sensor.other.v1.Snmp, jspb.Message);
41
41
  if (goog.DEBUG && !COMPILED) {
42
42
  /**
43
43
  * @public
44
44
  * @override
45
45
  */
46
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.displayName = 'proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo';
46
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.displayName = 'proto.com.lansweeper.discovery.sensor.other.v1.Snmp';
47
47
  }
48
48
 
49
49
 
@@ -61,8 +61,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
61
61
  * http://goto/soy-param-migration
62
62
  * @return {!Object}
63
63
  */
64
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.toObject = function(opt_includeInstance) {
65
- return proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.toObject(opt_includeInstance, this);
64
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.toObject = function(opt_includeInstance) {
65
+ return proto.com.lansweeper.discovery.sensor.other.v1.Snmp.toObject(opt_includeInstance, this);
66
66
  };
67
67
 
68
68
 
@@ -71,11 +71,11 @@ proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.toObject = fun
71
71
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
72
72
  * the JSPB instance for transitional soy proto support:
73
73
  * http://goto/soy-param-migration
74
- * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo} msg The msg instance to transform.
74
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} msg The msg instance to transform.
75
75
  * @return {!Object}
76
76
  * @suppress {unusedLocalVariables} f is only used for nested messages
77
77
  */
78
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.toObject = function(includeInstance, msg) {
78
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.toObject = function(includeInstance, msg) {
79
79
  var f, obj = {
80
80
  data: (f = msg.getData()) && import_discovery_common_pb.SnmpInfo.toObject(includeInstance, f)
81
81
  };
@@ -91,23 +91,23 @@ proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.toObject = function(incl
91
91
  /**
92
92
  * Deserializes binary data (in protobuf wire format).
93
93
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
94
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo}
94
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp}
95
95
  */
96
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.deserializeBinary = function(bytes) {
96
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.deserializeBinary = function(bytes) {
97
97
  var reader = new jspb.BinaryReader(bytes);
98
- var msg = new proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo;
99
- return proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.deserializeBinaryFromReader(msg, reader);
98
+ var msg = new proto.com.lansweeper.discovery.sensor.other.v1.Snmp;
99
+ return proto.com.lansweeper.discovery.sensor.other.v1.Snmp.deserializeBinaryFromReader(msg, reader);
100
100
  };
101
101
 
102
102
 
103
103
  /**
104
104
  * Deserializes binary data (in protobuf wire format) from the
105
105
  * given reader into the given message object.
106
- * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo} msg The message object to deserialize into.
106
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} msg The message object to deserialize into.
107
107
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
108
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo}
108
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp}
109
109
  */
110
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.deserializeBinaryFromReader = function(msg, reader) {
110
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.deserializeBinaryFromReader = function(msg, reader) {
111
111
  while (reader.nextField()) {
112
112
  if (reader.isEndGroup()) {
113
113
  break;
@@ -132,9 +132,9 @@ proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.deserializeBinaryFromRea
132
132
  * Serializes the message to binary data (in protobuf wire format).
133
133
  * @return {!Uint8Array}
134
134
  */
135
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.serializeBinary = function() {
135
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.serializeBinary = function() {
136
136
  var writer = new jspb.BinaryWriter();
137
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.serializeBinaryToWriter(this, writer);
137
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.serializeBinaryToWriter(this, writer);
138
138
  return writer.getResultBuffer();
139
139
  };
140
140
 
@@ -142,11 +142,11 @@ proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.serializeBinar
142
142
  /**
143
143
  * Serializes the given message to binary data (in protobuf wire
144
144
  * format), writing to the given BinaryWriter.
145
- * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo} message
145
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} message
146
146
  * @param {!jspb.BinaryWriter} writer
147
147
  * @suppress {unusedLocalVariables} f is only used for nested messages
148
148
  */
149
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.serializeBinaryToWriter = function(message, writer) {
149
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.serializeBinaryToWriter = function(message, writer) {
150
150
  var f = undefined;
151
151
  f = message.getData();
152
152
  if (f != null) {
@@ -163,7 +163,7 @@ proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.serializeBinaryToWriter
163
163
  * optional com.lansweeper.discovery.sensor.common.v1.SnmpInfo data = 1;
164
164
  * @return {?proto.com.lansweeper.discovery.sensor.common.v1.SnmpInfo}
165
165
  */
166
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.getData = function() {
166
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.getData = function() {
167
167
  return /** @type{?proto.com.lansweeper.discovery.sensor.common.v1.SnmpInfo} */ (
168
168
  jspb.Message.getWrapperField(this, import_discovery_common_pb.SnmpInfo, 1));
169
169
  };
@@ -171,18 +171,18 @@ proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.getData = func
171
171
 
172
172
  /**
173
173
  * @param {?proto.com.lansweeper.discovery.sensor.common.v1.SnmpInfo|undefined} value
174
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo} returns this
174
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} returns this
175
175
  */
176
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.setData = function(value) {
176
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.setData = function(value) {
177
177
  return jspb.Message.setWrapperField(this, 1, value);
178
178
  };
179
179
 
180
180
 
181
181
  /**
182
182
  * Clears the message field making it undefined.
183
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo} returns this
183
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} returns this
184
184
  */
185
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.clearData = function() {
185
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.clearData = function() {
186
186
  return this.setData(undefined);
187
187
  };
188
188
 
@@ -191,7 +191,7 @@ proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.clearData = fu
191
191
  * Returns whether this field is set.
192
192
  * @return {boolean}
193
193
  */
194
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.hasData = function() {
194
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.hasData = function() {
195
195
  return jspb.Message.getField(this, 1) != null;
196
196
  };
197
197