@lansweeper/discovery-sensor-proto 2.46.0 → 2.47.0

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.
@@ -63,6 +63,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacNetwork', nul
63
63
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacNetworkVolume', null, global);
64
64
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacOpenPorts', null, global);
65
65
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo', null, global);
66
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters', null, global);
66
67
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacSecureElements', null, global);
67
68
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacSoftware', null, global);
68
69
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Memory', null, global);
@@ -81,6 +82,8 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkIpv6', nu
81
82
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkProxies', null, global);
82
83
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkVolume', null, global);
83
84
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Power', null, global);
85
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Printer', null, global);
86
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter', null, global);
84
87
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.ServiceRule', null, global);
85
88
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Software', null, global);
86
89
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware', null, global);
@@ -1323,6 +1326,69 @@ if (goog.DEBUG && !COMPILED) {
1323
1326
  */
1324
1327
  proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume';
1325
1328
  }
1329
+ /**
1330
+ * Generated by JsPbCodeGenerator.
1331
+ * @param {Array=} opt_data Optional initial data array, typically from a
1332
+ * server response, or constructed directly in Javascript. The array is used
1333
+ * in place and becomes part of the constructed object. It is not cloned.
1334
+ * If no data is provided, the constructed object will be empty, but still
1335
+ * valid.
1336
+ * @extends {jspb.Message}
1337
+ * @constructor
1338
+ */
1339
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters = function(opt_data) {
1340
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters.repeatedFields_, null);
1341
+ };
1342
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters, jspb.Message);
1343
+ if (goog.DEBUG && !COMPILED) {
1344
+ /**
1345
+ * @public
1346
+ * @override
1347
+ */
1348
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters';
1349
+ }
1350
+ /**
1351
+ * Generated by JsPbCodeGenerator.
1352
+ * @param {Array=} opt_data Optional initial data array, typically from a
1353
+ * server response, or constructed directly in Javascript. The array is used
1354
+ * in place and becomes part of the constructed object. It is not cloned.
1355
+ * If no data is provided, the constructed object will be empty, but still
1356
+ * valid.
1357
+ * @extends {jspb.Message}
1358
+ * @constructor
1359
+ */
1360
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer = function(opt_data) {
1361
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.Printer.repeatedFields_, null);
1362
+ };
1363
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.Printer, jspb.Message);
1364
+ if (goog.DEBUG && !COMPILED) {
1365
+ /**
1366
+ * @public
1367
+ * @override
1368
+ */
1369
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.Printer';
1370
+ }
1371
+ /**
1372
+ * Generated by JsPbCodeGenerator.
1373
+ * @param {Array=} opt_data Optional initial data array, typically from a
1374
+ * server response, or constructed directly in Javascript. The array is used
1375
+ * in place and becomes part of the constructed object. It is not cloned.
1376
+ * If no data is provided, the constructed object will be empty, but still
1377
+ * valid.
1378
+ * @extends {jspb.Message}
1379
+ * @constructor
1380
+ */
1381
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter = function(opt_data) {
1382
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1383
+ };
1384
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter, jspb.Message);
1385
+ if (goog.DEBUG && !COMPILED) {
1386
+ /**
1387
+ * @public
1388
+ * @override
1389
+ */
1390
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter';
1391
+ }
1326
1392
 
1327
1393
  /**
1328
1394
  * List of repeated fields within this message type.
@@ -26392,4 +26458,1750 @@ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.hasSizeI
26392
26458
  };
26393
26459
 
26394
26460
 
26461
+
26462
+ /**
26463
+ * List of repeated fields within this message type.
26464
+ * @private {!Array<number>}
26465
+ * @const
26466
+ */
26467
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters.repeatedFields_ = [1];
26468
+
26469
+
26470
+
26471
+ if (jspb.Message.GENERATE_TO_OBJECT) {
26472
+ /**
26473
+ * Creates an object representation of this proto.
26474
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
26475
+ * Optional fields that are not set will be set to undefined.
26476
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
26477
+ * For the list of reserved names please see:
26478
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
26479
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
26480
+ * JSPB instance for transitional soy proto support:
26481
+ * http://goto/soy-param-migration
26482
+ * @return {!Object}
26483
+ */
26484
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters.prototype.toObject = function(opt_includeInstance) {
26485
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters.toObject(opt_includeInstance, this);
26486
+ };
26487
+
26488
+
26489
+ /**
26490
+ * Static version of the {@see toObject} method.
26491
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
26492
+ * the JSPB instance for transitional soy proto support:
26493
+ * http://goto/soy-param-migration
26494
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters} msg The msg instance to transform.
26495
+ * @return {!Object}
26496
+ * @suppress {unusedLocalVariables} f is only used for nested messages
26497
+ */
26498
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters.toObject = function(includeInstance, msg) {
26499
+ var f, obj = {
26500
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
26501
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.toObject, includeInstance)
26502
+ };
26503
+
26504
+ if (includeInstance) {
26505
+ obj.$jspbMessageInstance = msg;
26506
+ }
26507
+ return obj;
26508
+ };
26509
+ }
26510
+
26511
+
26512
+ /**
26513
+ * Deserializes binary data (in protobuf wire format).
26514
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
26515
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters}
26516
+ */
26517
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters.deserializeBinary = function(bytes) {
26518
+ var reader = new jspb.BinaryReader(bytes);
26519
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters;
26520
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters.deserializeBinaryFromReader(msg, reader);
26521
+ };
26522
+
26523
+
26524
+ /**
26525
+ * Deserializes binary data (in protobuf wire format) from the
26526
+ * given reader into the given message object.
26527
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters} msg The message object to deserialize into.
26528
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
26529
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters}
26530
+ */
26531
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters.deserializeBinaryFromReader = function(msg, reader) {
26532
+ while (reader.nextField()) {
26533
+ if (reader.isEndGroup()) {
26534
+ break;
26535
+ }
26536
+ var field = reader.getFieldNumber();
26537
+ switch (field) {
26538
+ case 1:
26539
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.Printer;
26540
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.Printer.deserializeBinaryFromReader);
26541
+ msg.addEntries(value);
26542
+ break;
26543
+ default:
26544
+ reader.skipField();
26545
+ break;
26546
+ }
26547
+ }
26548
+ return msg;
26549
+ };
26550
+
26551
+
26552
+ /**
26553
+ * Serializes the message to binary data (in protobuf wire format).
26554
+ * @return {!Uint8Array}
26555
+ */
26556
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters.prototype.serializeBinary = function() {
26557
+ var writer = new jspb.BinaryWriter();
26558
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters.serializeBinaryToWriter(this, writer);
26559
+ return writer.getResultBuffer();
26560
+ };
26561
+
26562
+
26563
+ /**
26564
+ * Serializes the given message to binary data (in protobuf wire
26565
+ * format), writing to the given BinaryWriter.
26566
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters} message
26567
+ * @param {!jspb.BinaryWriter} writer
26568
+ * @suppress {unusedLocalVariables} f is only used for nested messages
26569
+ */
26570
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters.serializeBinaryToWriter = function(message, writer) {
26571
+ var f = undefined;
26572
+ f = message.getEntriesList();
26573
+ if (f.length > 0) {
26574
+ writer.writeRepeatedMessage(
26575
+ 1,
26576
+ f,
26577
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.serializeBinaryToWriter
26578
+ );
26579
+ }
26580
+ };
26581
+
26582
+
26583
+ /**
26584
+ * repeated Printer entries = 1;
26585
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Printer>}
26586
+ */
26587
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters.prototype.getEntriesList = function() {
26588
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Printer>} */ (
26589
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.Printer, 1));
26590
+ };
26591
+
26592
+
26593
+ /**
26594
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Printer>} value
26595
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters} returns this
26596
+ */
26597
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters.prototype.setEntriesList = function(value) {
26598
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
26599
+ };
26600
+
26601
+
26602
+ /**
26603
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer=} opt_value
26604
+ * @param {number=} opt_index
26605
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer}
26606
+ */
26607
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters.prototype.addEntries = function(opt_value, opt_index) {
26608
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.Printer, opt_index);
26609
+ };
26610
+
26611
+
26612
+ /**
26613
+ * Clears the list making it empty but non-null.
26614
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters} returns this
26615
+ */
26616
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters.prototype.clearEntriesList = function() {
26617
+ return this.setEntriesList([]);
26618
+ };
26619
+
26620
+
26621
+
26622
+ /**
26623
+ * List of repeated fields within this message type.
26624
+ * @private {!Array<number>}
26625
+ * @const
26626
+ */
26627
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.repeatedFields_ = [4];
26628
+
26629
+
26630
+
26631
+ if (jspb.Message.GENERATE_TO_OBJECT) {
26632
+ /**
26633
+ * Creates an object representation of this proto.
26634
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
26635
+ * Optional fields that are not set will be set to undefined.
26636
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
26637
+ * For the list of reserved names please see:
26638
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
26639
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
26640
+ * JSPB instance for transitional soy proto support:
26641
+ * http://goto/soy-param-migration
26642
+ * @return {!Object}
26643
+ */
26644
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.toObject = function(opt_includeInstance) {
26645
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Printer.toObject(opt_includeInstance, this);
26646
+ };
26647
+
26648
+
26649
+ /**
26650
+ * Static version of the {@see toObject} method.
26651
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
26652
+ * the JSPB instance for transitional soy proto support:
26653
+ * http://goto/soy-param-migration
26654
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} msg The msg instance to transform.
26655
+ * @return {!Object}
26656
+ * @suppress {unusedLocalVariables} f is only used for nested messages
26657
+ */
26658
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.toObject = function(includeInstance, msg) {
26659
+ var f, obj = {
26660
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26661
+ airprintVersion: (f = msg.getAirprintVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26662
+ creationDate: (f = msg.getCreationDate()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26663
+ cupsFiltersList: jspb.Message.toObjectList(msg.getCupsFiltersList(),
26664
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.toObject, includeInstance),
26665
+ cupsVersion: (f = msg.getCupsVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26666
+ pb_default: (f = msg.getDefault()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26667
+ driverVersion: (f = msg.getDriverVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26668
+ faxSupport: (f = msg.getFaxSupport()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26669
+ ppd: (f = msg.getPpd()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26670
+ ppdFileVersion: (f = msg.getPpdFileVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26671
+ printerCommands: (f = msg.getPrinterCommands()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26672
+ printerFirmwareVersion: (f = msg.getPrinterFirmwareVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26673
+ printerPdes: (f = msg.getPrinterPdes()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26674
+ printerSharing: (f = msg.getPrinterSharing()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26675
+ printServer: (f = msg.getPrintServer()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26676
+ psVersion: (f = msg.getPsVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26677
+ scanner: (f = msg.getScanner()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26678
+ scannerUuid: (f = msg.getScannerUuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26679
+ scannerAppBundlePath: (f = msg.getScannerAppBundlePath()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26680
+ scannerAppPath: (f = msg.getScannerAppPath()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26681
+ scannerAppVersion: (f = msg.getScannerAppVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26682
+ shared: (f = msg.getShared()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26683
+ status: (f = msg.getStatus()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26684
+ urfVersion: (f = msg.getUrfVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26685
+ uri: (f = msg.getUri()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
26686
+ };
26687
+
26688
+ if (includeInstance) {
26689
+ obj.$jspbMessageInstance = msg;
26690
+ }
26691
+ return obj;
26692
+ };
26693
+ }
26694
+
26695
+
26696
+ /**
26697
+ * Deserializes binary data (in protobuf wire format).
26698
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
26699
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer}
26700
+ */
26701
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.deserializeBinary = function(bytes) {
26702
+ var reader = new jspb.BinaryReader(bytes);
26703
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.Printer;
26704
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Printer.deserializeBinaryFromReader(msg, reader);
26705
+ };
26706
+
26707
+
26708
+ /**
26709
+ * Deserializes binary data (in protobuf wire format) from the
26710
+ * given reader into the given message object.
26711
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} msg The message object to deserialize into.
26712
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
26713
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer}
26714
+ */
26715
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.deserializeBinaryFromReader = function(msg, reader) {
26716
+ while (reader.nextField()) {
26717
+ if (reader.isEndGroup()) {
26718
+ break;
26719
+ }
26720
+ var field = reader.getFieldNumber();
26721
+ switch (field) {
26722
+ case 1:
26723
+ var value = new google_protobuf_wrappers_pb.StringValue;
26724
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26725
+ msg.setName(value);
26726
+ break;
26727
+ case 2:
26728
+ var value = new google_protobuf_wrappers_pb.StringValue;
26729
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26730
+ msg.setAirprintVersion(value);
26731
+ break;
26732
+ case 3:
26733
+ var value = new google_protobuf_wrappers_pb.StringValue;
26734
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26735
+ msg.setCreationDate(value);
26736
+ break;
26737
+ case 4:
26738
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter;
26739
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.deserializeBinaryFromReader);
26740
+ msg.addCupsFilters(value);
26741
+ break;
26742
+ case 5:
26743
+ var value = new google_protobuf_wrappers_pb.StringValue;
26744
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26745
+ msg.setCupsVersion(value);
26746
+ break;
26747
+ case 6:
26748
+ var value = new google_protobuf_wrappers_pb.StringValue;
26749
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26750
+ msg.setDefault(value);
26751
+ break;
26752
+ case 7:
26753
+ var value = new google_protobuf_wrappers_pb.StringValue;
26754
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26755
+ msg.setDriverVersion(value);
26756
+ break;
26757
+ case 8:
26758
+ var value = new google_protobuf_wrappers_pb.StringValue;
26759
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26760
+ msg.setFaxSupport(value);
26761
+ break;
26762
+ case 9:
26763
+ var value = new google_protobuf_wrappers_pb.StringValue;
26764
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26765
+ msg.setPpd(value);
26766
+ break;
26767
+ case 10:
26768
+ var value = new google_protobuf_wrappers_pb.StringValue;
26769
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26770
+ msg.setPpdFileVersion(value);
26771
+ break;
26772
+ case 11:
26773
+ var value = new google_protobuf_wrappers_pb.StringValue;
26774
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26775
+ msg.setPrinterCommands(value);
26776
+ break;
26777
+ case 12:
26778
+ var value = new google_protobuf_wrappers_pb.StringValue;
26779
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26780
+ msg.setPrinterFirmwareVersion(value);
26781
+ break;
26782
+ case 13:
26783
+ var value = new google_protobuf_wrappers_pb.StringValue;
26784
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26785
+ msg.setPrinterPdes(value);
26786
+ break;
26787
+ case 14:
26788
+ var value = new google_protobuf_wrappers_pb.StringValue;
26789
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26790
+ msg.setPrinterSharing(value);
26791
+ break;
26792
+ case 15:
26793
+ var value = new google_protobuf_wrappers_pb.StringValue;
26794
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26795
+ msg.setPrintServer(value);
26796
+ break;
26797
+ case 16:
26798
+ var value = new google_protobuf_wrappers_pb.StringValue;
26799
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26800
+ msg.setPsVersion(value);
26801
+ break;
26802
+ case 17:
26803
+ var value = new google_protobuf_wrappers_pb.StringValue;
26804
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26805
+ msg.setScanner(value);
26806
+ break;
26807
+ case 18:
26808
+ var value = new google_protobuf_wrappers_pb.StringValue;
26809
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26810
+ msg.setScannerUuid(value);
26811
+ break;
26812
+ case 19:
26813
+ var value = new google_protobuf_wrappers_pb.StringValue;
26814
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26815
+ msg.setScannerAppBundlePath(value);
26816
+ break;
26817
+ case 20:
26818
+ var value = new google_protobuf_wrappers_pb.StringValue;
26819
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26820
+ msg.setScannerAppPath(value);
26821
+ break;
26822
+ case 21:
26823
+ var value = new google_protobuf_wrappers_pb.StringValue;
26824
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26825
+ msg.setScannerAppVersion(value);
26826
+ break;
26827
+ case 22:
26828
+ var value = new google_protobuf_wrappers_pb.StringValue;
26829
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26830
+ msg.setShared(value);
26831
+ break;
26832
+ case 23:
26833
+ var value = new google_protobuf_wrappers_pb.StringValue;
26834
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26835
+ msg.setStatus(value);
26836
+ break;
26837
+ case 24:
26838
+ var value = new google_protobuf_wrappers_pb.StringValue;
26839
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26840
+ msg.setUrfVersion(value);
26841
+ break;
26842
+ case 25:
26843
+ var value = new google_protobuf_wrappers_pb.StringValue;
26844
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26845
+ msg.setUri(value);
26846
+ break;
26847
+ default:
26848
+ reader.skipField();
26849
+ break;
26850
+ }
26851
+ }
26852
+ return msg;
26853
+ };
26854
+
26855
+
26856
+ /**
26857
+ * Serializes the message to binary data (in protobuf wire format).
26858
+ * @return {!Uint8Array}
26859
+ */
26860
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.serializeBinary = function() {
26861
+ var writer = new jspb.BinaryWriter();
26862
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.serializeBinaryToWriter(this, writer);
26863
+ return writer.getResultBuffer();
26864
+ };
26865
+
26866
+
26867
+ /**
26868
+ * Serializes the given message to binary data (in protobuf wire
26869
+ * format), writing to the given BinaryWriter.
26870
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} message
26871
+ * @param {!jspb.BinaryWriter} writer
26872
+ * @suppress {unusedLocalVariables} f is only used for nested messages
26873
+ */
26874
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.serializeBinaryToWriter = function(message, writer) {
26875
+ var f = undefined;
26876
+ f = message.getName();
26877
+ if (f != null) {
26878
+ writer.writeMessage(
26879
+ 1,
26880
+ f,
26881
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26882
+ );
26883
+ }
26884
+ f = message.getAirprintVersion();
26885
+ if (f != null) {
26886
+ writer.writeMessage(
26887
+ 2,
26888
+ f,
26889
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26890
+ );
26891
+ }
26892
+ f = message.getCreationDate();
26893
+ if (f != null) {
26894
+ writer.writeMessage(
26895
+ 3,
26896
+ f,
26897
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26898
+ );
26899
+ }
26900
+ f = message.getCupsFiltersList();
26901
+ if (f.length > 0) {
26902
+ writer.writeRepeatedMessage(
26903
+ 4,
26904
+ f,
26905
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.serializeBinaryToWriter
26906
+ );
26907
+ }
26908
+ f = message.getCupsVersion();
26909
+ if (f != null) {
26910
+ writer.writeMessage(
26911
+ 5,
26912
+ f,
26913
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26914
+ );
26915
+ }
26916
+ f = message.getDefault();
26917
+ if (f != null) {
26918
+ writer.writeMessage(
26919
+ 6,
26920
+ f,
26921
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26922
+ );
26923
+ }
26924
+ f = message.getDriverVersion();
26925
+ if (f != null) {
26926
+ writer.writeMessage(
26927
+ 7,
26928
+ f,
26929
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26930
+ );
26931
+ }
26932
+ f = message.getFaxSupport();
26933
+ if (f != null) {
26934
+ writer.writeMessage(
26935
+ 8,
26936
+ f,
26937
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26938
+ );
26939
+ }
26940
+ f = message.getPpd();
26941
+ if (f != null) {
26942
+ writer.writeMessage(
26943
+ 9,
26944
+ f,
26945
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26946
+ );
26947
+ }
26948
+ f = message.getPpdFileVersion();
26949
+ if (f != null) {
26950
+ writer.writeMessage(
26951
+ 10,
26952
+ f,
26953
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26954
+ );
26955
+ }
26956
+ f = message.getPrinterCommands();
26957
+ if (f != null) {
26958
+ writer.writeMessage(
26959
+ 11,
26960
+ f,
26961
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26962
+ );
26963
+ }
26964
+ f = message.getPrinterFirmwareVersion();
26965
+ if (f != null) {
26966
+ writer.writeMessage(
26967
+ 12,
26968
+ f,
26969
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26970
+ );
26971
+ }
26972
+ f = message.getPrinterPdes();
26973
+ if (f != null) {
26974
+ writer.writeMessage(
26975
+ 13,
26976
+ f,
26977
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26978
+ );
26979
+ }
26980
+ f = message.getPrinterSharing();
26981
+ if (f != null) {
26982
+ writer.writeMessage(
26983
+ 14,
26984
+ f,
26985
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26986
+ );
26987
+ }
26988
+ f = message.getPrintServer();
26989
+ if (f != null) {
26990
+ writer.writeMessage(
26991
+ 15,
26992
+ f,
26993
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26994
+ );
26995
+ }
26996
+ f = message.getPsVersion();
26997
+ if (f != null) {
26998
+ writer.writeMessage(
26999
+ 16,
27000
+ f,
27001
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
27002
+ );
27003
+ }
27004
+ f = message.getScanner();
27005
+ if (f != null) {
27006
+ writer.writeMessage(
27007
+ 17,
27008
+ f,
27009
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
27010
+ );
27011
+ }
27012
+ f = message.getScannerUuid();
27013
+ if (f != null) {
27014
+ writer.writeMessage(
27015
+ 18,
27016
+ f,
27017
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
27018
+ );
27019
+ }
27020
+ f = message.getScannerAppBundlePath();
27021
+ if (f != null) {
27022
+ writer.writeMessage(
27023
+ 19,
27024
+ f,
27025
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
27026
+ );
27027
+ }
27028
+ f = message.getScannerAppPath();
27029
+ if (f != null) {
27030
+ writer.writeMessage(
27031
+ 20,
27032
+ f,
27033
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
27034
+ );
27035
+ }
27036
+ f = message.getScannerAppVersion();
27037
+ if (f != null) {
27038
+ writer.writeMessage(
27039
+ 21,
27040
+ f,
27041
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
27042
+ );
27043
+ }
27044
+ f = message.getShared();
27045
+ if (f != null) {
27046
+ writer.writeMessage(
27047
+ 22,
27048
+ f,
27049
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
27050
+ );
27051
+ }
27052
+ f = message.getStatus();
27053
+ if (f != null) {
27054
+ writer.writeMessage(
27055
+ 23,
27056
+ f,
27057
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
27058
+ );
27059
+ }
27060
+ f = message.getUrfVersion();
27061
+ if (f != null) {
27062
+ writer.writeMessage(
27063
+ 24,
27064
+ f,
27065
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
27066
+ );
27067
+ }
27068
+ f = message.getUri();
27069
+ if (f != null) {
27070
+ writer.writeMessage(
27071
+ 25,
27072
+ f,
27073
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
27074
+ );
27075
+ }
27076
+ };
27077
+
27078
+
27079
+ /**
27080
+ * optional google.protobuf.StringValue name = 1;
27081
+ * @return {?proto.google.protobuf.StringValue}
27082
+ */
27083
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getName = function() {
27084
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27085
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
27086
+ };
27087
+
27088
+
27089
+ /**
27090
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27091
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27092
+ */
27093
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setName = function(value) {
27094
+ return jspb.Message.setWrapperField(this, 1, value);
27095
+ };
27096
+
27097
+
27098
+ /**
27099
+ * Clears the message field making it undefined.
27100
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27101
+ */
27102
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearName = function() {
27103
+ return this.setName(undefined);
27104
+ };
27105
+
27106
+
27107
+ /**
27108
+ * Returns whether this field is set.
27109
+ * @return {boolean}
27110
+ */
27111
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasName = function() {
27112
+ return jspb.Message.getField(this, 1) != null;
27113
+ };
27114
+
27115
+
27116
+ /**
27117
+ * optional google.protobuf.StringValue airprint_version = 2;
27118
+ * @return {?proto.google.protobuf.StringValue}
27119
+ */
27120
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getAirprintVersion = function() {
27121
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27122
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
27123
+ };
27124
+
27125
+
27126
+ /**
27127
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27128
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27129
+ */
27130
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setAirprintVersion = function(value) {
27131
+ return jspb.Message.setWrapperField(this, 2, value);
27132
+ };
27133
+
27134
+
27135
+ /**
27136
+ * Clears the message field making it undefined.
27137
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27138
+ */
27139
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearAirprintVersion = function() {
27140
+ return this.setAirprintVersion(undefined);
27141
+ };
27142
+
27143
+
27144
+ /**
27145
+ * Returns whether this field is set.
27146
+ * @return {boolean}
27147
+ */
27148
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasAirprintVersion = function() {
27149
+ return jspb.Message.getField(this, 2) != null;
27150
+ };
27151
+
27152
+
27153
+ /**
27154
+ * optional google.protobuf.StringValue creation_date = 3;
27155
+ * @return {?proto.google.protobuf.StringValue}
27156
+ */
27157
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getCreationDate = function() {
27158
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27159
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
27160
+ };
27161
+
27162
+
27163
+ /**
27164
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27165
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27166
+ */
27167
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setCreationDate = function(value) {
27168
+ return jspb.Message.setWrapperField(this, 3, value);
27169
+ };
27170
+
27171
+
27172
+ /**
27173
+ * Clears the message field making it undefined.
27174
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27175
+ */
27176
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearCreationDate = function() {
27177
+ return this.setCreationDate(undefined);
27178
+ };
27179
+
27180
+
27181
+ /**
27182
+ * Returns whether this field is set.
27183
+ * @return {boolean}
27184
+ */
27185
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasCreationDate = function() {
27186
+ return jspb.Message.getField(this, 3) != null;
27187
+ };
27188
+
27189
+
27190
+ /**
27191
+ * repeated PrinterCupsFilter cups_filters = 4;
27192
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter>}
27193
+ */
27194
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getCupsFiltersList = function() {
27195
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter>} */ (
27196
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter, 4));
27197
+ };
27198
+
27199
+
27200
+ /**
27201
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter>} value
27202
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27203
+ */
27204
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setCupsFiltersList = function(value) {
27205
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
27206
+ };
27207
+
27208
+
27209
+ /**
27210
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter=} opt_value
27211
+ * @param {number=} opt_index
27212
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter}
27213
+ */
27214
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.addCupsFilters = function(opt_value, opt_index) {
27215
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter, opt_index);
27216
+ };
27217
+
27218
+
27219
+ /**
27220
+ * Clears the list making it empty but non-null.
27221
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27222
+ */
27223
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearCupsFiltersList = function() {
27224
+ return this.setCupsFiltersList([]);
27225
+ };
27226
+
27227
+
27228
+ /**
27229
+ * optional google.protobuf.StringValue cups_version = 5;
27230
+ * @return {?proto.google.protobuf.StringValue}
27231
+ */
27232
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getCupsVersion = function() {
27233
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27234
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
27235
+ };
27236
+
27237
+
27238
+ /**
27239
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27240
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27241
+ */
27242
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setCupsVersion = function(value) {
27243
+ return jspb.Message.setWrapperField(this, 5, value);
27244
+ };
27245
+
27246
+
27247
+ /**
27248
+ * Clears the message field making it undefined.
27249
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27250
+ */
27251
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearCupsVersion = function() {
27252
+ return this.setCupsVersion(undefined);
27253
+ };
27254
+
27255
+
27256
+ /**
27257
+ * Returns whether this field is set.
27258
+ * @return {boolean}
27259
+ */
27260
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasCupsVersion = function() {
27261
+ return jspb.Message.getField(this, 5) != null;
27262
+ };
27263
+
27264
+
27265
+ /**
27266
+ * optional google.protobuf.StringValue default = 6;
27267
+ * @return {?proto.google.protobuf.StringValue}
27268
+ */
27269
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getDefault = function() {
27270
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27271
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
27272
+ };
27273
+
27274
+
27275
+ /**
27276
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27277
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27278
+ */
27279
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setDefault = function(value) {
27280
+ return jspb.Message.setWrapperField(this, 6, value);
27281
+ };
27282
+
27283
+
27284
+ /**
27285
+ * Clears the message field making it undefined.
27286
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27287
+ */
27288
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearDefault = function() {
27289
+ return this.setDefault(undefined);
27290
+ };
27291
+
27292
+
27293
+ /**
27294
+ * Returns whether this field is set.
27295
+ * @return {boolean}
27296
+ */
27297
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasDefault = function() {
27298
+ return jspb.Message.getField(this, 6) != null;
27299
+ };
27300
+
27301
+
27302
+ /**
27303
+ * optional google.protobuf.StringValue driver_version = 7;
27304
+ * @return {?proto.google.protobuf.StringValue}
27305
+ */
27306
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getDriverVersion = function() {
27307
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27308
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
27309
+ };
27310
+
27311
+
27312
+ /**
27313
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27314
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27315
+ */
27316
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setDriverVersion = function(value) {
27317
+ return jspb.Message.setWrapperField(this, 7, value);
27318
+ };
27319
+
27320
+
27321
+ /**
27322
+ * Clears the message field making it undefined.
27323
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27324
+ */
27325
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearDriverVersion = function() {
27326
+ return this.setDriverVersion(undefined);
27327
+ };
27328
+
27329
+
27330
+ /**
27331
+ * Returns whether this field is set.
27332
+ * @return {boolean}
27333
+ */
27334
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasDriverVersion = function() {
27335
+ return jspb.Message.getField(this, 7) != null;
27336
+ };
27337
+
27338
+
27339
+ /**
27340
+ * optional google.protobuf.StringValue fax_support = 8;
27341
+ * @return {?proto.google.protobuf.StringValue}
27342
+ */
27343
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getFaxSupport = function() {
27344
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27345
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
27346
+ };
27347
+
27348
+
27349
+ /**
27350
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27351
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27352
+ */
27353
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setFaxSupport = function(value) {
27354
+ return jspb.Message.setWrapperField(this, 8, value);
27355
+ };
27356
+
27357
+
27358
+ /**
27359
+ * Clears the message field making it undefined.
27360
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27361
+ */
27362
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearFaxSupport = function() {
27363
+ return this.setFaxSupport(undefined);
27364
+ };
27365
+
27366
+
27367
+ /**
27368
+ * Returns whether this field is set.
27369
+ * @return {boolean}
27370
+ */
27371
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasFaxSupport = function() {
27372
+ return jspb.Message.getField(this, 8) != null;
27373
+ };
27374
+
27375
+
27376
+ /**
27377
+ * optional google.protobuf.StringValue ppd = 9;
27378
+ * @return {?proto.google.protobuf.StringValue}
27379
+ */
27380
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getPpd = function() {
27381
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27382
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 9));
27383
+ };
27384
+
27385
+
27386
+ /**
27387
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27388
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27389
+ */
27390
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setPpd = function(value) {
27391
+ return jspb.Message.setWrapperField(this, 9, value);
27392
+ };
27393
+
27394
+
27395
+ /**
27396
+ * Clears the message field making it undefined.
27397
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27398
+ */
27399
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearPpd = function() {
27400
+ return this.setPpd(undefined);
27401
+ };
27402
+
27403
+
27404
+ /**
27405
+ * Returns whether this field is set.
27406
+ * @return {boolean}
27407
+ */
27408
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasPpd = function() {
27409
+ return jspb.Message.getField(this, 9) != null;
27410
+ };
27411
+
27412
+
27413
+ /**
27414
+ * optional google.protobuf.StringValue ppd_file_version = 10;
27415
+ * @return {?proto.google.protobuf.StringValue}
27416
+ */
27417
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getPpdFileVersion = function() {
27418
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27419
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 10));
27420
+ };
27421
+
27422
+
27423
+ /**
27424
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27425
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27426
+ */
27427
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setPpdFileVersion = function(value) {
27428
+ return jspb.Message.setWrapperField(this, 10, value);
27429
+ };
27430
+
27431
+
27432
+ /**
27433
+ * Clears the message field making it undefined.
27434
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27435
+ */
27436
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearPpdFileVersion = function() {
27437
+ return this.setPpdFileVersion(undefined);
27438
+ };
27439
+
27440
+
27441
+ /**
27442
+ * Returns whether this field is set.
27443
+ * @return {boolean}
27444
+ */
27445
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasPpdFileVersion = function() {
27446
+ return jspb.Message.getField(this, 10) != null;
27447
+ };
27448
+
27449
+
27450
+ /**
27451
+ * optional google.protobuf.StringValue printer_commands = 11;
27452
+ * @return {?proto.google.protobuf.StringValue}
27453
+ */
27454
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getPrinterCommands = function() {
27455
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27456
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 11));
27457
+ };
27458
+
27459
+
27460
+ /**
27461
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27462
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27463
+ */
27464
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setPrinterCommands = function(value) {
27465
+ return jspb.Message.setWrapperField(this, 11, value);
27466
+ };
27467
+
27468
+
27469
+ /**
27470
+ * Clears the message field making it undefined.
27471
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27472
+ */
27473
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearPrinterCommands = function() {
27474
+ return this.setPrinterCommands(undefined);
27475
+ };
27476
+
27477
+
27478
+ /**
27479
+ * Returns whether this field is set.
27480
+ * @return {boolean}
27481
+ */
27482
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasPrinterCommands = function() {
27483
+ return jspb.Message.getField(this, 11) != null;
27484
+ };
27485
+
27486
+
27487
+ /**
27488
+ * optional google.protobuf.StringValue printer_firmware_version = 12;
27489
+ * @return {?proto.google.protobuf.StringValue}
27490
+ */
27491
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getPrinterFirmwareVersion = function() {
27492
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27493
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 12));
27494
+ };
27495
+
27496
+
27497
+ /**
27498
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27499
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27500
+ */
27501
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setPrinterFirmwareVersion = function(value) {
27502
+ return jspb.Message.setWrapperField(this, 12, value);
27503
+ };
27504
+
27505
+
27506
+ /**
27507
+ * Clears the message field making it undefined.
27508
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27509
+ */
27510
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearPrinterFirmwareVersion = function() {
27511
+ return this.setPrinterFirmwareVersion(undefined);
27512
+ };
27513
+
27514
+
27515
+ /**
27516
+ * Returns whether this field is set.
27517
+ * @return {boolean}
27518
+ */
27519
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasPrinterFirmwareVersion = function() {
27520
+ return jspb.Message.getField(this, 12) != null;
27521
+ };
27522
+
27523
+
27524
+ /**
27525
+ * optional google.protobuf.StringValue printer_pdes = 13;
27526
+ * @return {?proto.google.protobuf.StringValue}
27527
+ */
27528
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getPrinterPdes = function() {
27529
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27530
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 13));
27531
+ };
27532
+
27533
+
27534
+ /**
27535
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27536
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27537
+ */
27538
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setPrinterPdes = function(value) {
27539
+ return jspb.Message.setWrapperField(this, 13, value);
27540
+ };
27541
+
27542
+
27543
+ /**
27544
+ * Clears the message field making it undefined.
27545
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27546
+ */
27547
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearPrinterPdes = function() {
27548
+ return this.setPrinterPdes(undefined);
27549
+ };
27550
+
27551
+
27552
+ /**
27553
+ * Returns whether this field is set.
27554
+ * @return {boolean}
27555
+ */
27556
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasPrinterPdes = function() {
27557
+ return jspb.Message.getField(this, 13) != null;
27558
+ };
27559
+
27560
+
27561
+ /**
27562
+ * optional google.protobuf.StringValue printer_sharing = 14;
27563
+ * @return {?proto.google.protobuf.StringValue}
27564
+ */
27565
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getPrinterSharing = function() {
27566
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27567
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 14));
27568
+ };
27569
+
27570
+
27571
+ /**
27572
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27573
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27574
+ */
27575
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setPrinterSharing = function(value) {
27576
+ return jspb.Message.setWrapperField(this, 14, value);
27577
+ };
27578
+
27579
+
27580
+ /**
27581
+ * Clears the message field making it undefined.
27582
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27583
+ */
27584
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearPrinterSharing = function() {
27585
+ return this.setPrinterSharing(undefined);
27586
+ };
27587
+
27588
+
27589
+ /**
27590
+ * Returns whether this field is set.
27591
+ * @return {boolean}
27592
+ */
27593
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasPrinterSharing = function() {
27594
+ return jspb.Message.getField(this, 14) != null;
27595
+ };
27596
+
27597
+
27598
+ /**
27599
+ * optional google.protobuf.StringValue print_server = 15;
27600
+ * @return {?proto.google.protobuf.StringValue}
27601
+ */
27602
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getPrintServer = function() {
27603
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27604
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 15));
27605
+ };
27606
+
27607
+
27608
+ /**
27609
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27610
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27611
+ */
27612
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setPrintServer = function(value) {
27613
+ return jspb.Message.setWrapperField(this, 15, value);
27614
+ };
27615
+
27616
+
27617
+ /**
27618
+ * Clears the message field making it undefined.
27619
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27620
+ */
27621
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearPrintServer = function() {
27622
+ return this.setPrintServer(undefined);
27623
+ };
27624
+
27625
+
27626
+ /**
27627
+ * Returns whether this field is set.
27628
+ * @return {boolean}
27629
+ */
27630
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasPrintServer = function() {
27631
+ return jspb.Message.getField(this, 15) != null;
27632
+ };
27633
+
27634
+
27635
+ /**
27636
+ * optional google.protobuf.StringValue ps_version = 16;
27637
+ * @return {?proto.google.protobuf.StringValue}
27638
+ */
27639
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getPsVersion = function() {
27640
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27641
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 16));
27642
+ };
27643
+
27644
+
27645
+ /**
27646
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27647
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27648
+ */
27649
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setPsVersion = function(value) {
27650
+ return jspb.Message.setWrapperField(this, 16, value);
27651
+ };
27652
+
27653
+
27654
+ /**
27655
+ * Clears the message field making it undefined.
27656
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27657
+ */
27658
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearPsVersion = function() {
27659
+ return this.setPsVersion(undefined);
27660
+ };
27661
+
27662
+
27663
+ /**
27664
+ * Returns whether this field is set.
27665
+ * @return {boolean}
27666
+ */
27667
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasPsVersion = function() {
27668
+ return jspb.Message.getField(this, 16) != null;
27669
+ };
27670
+
27671
+
27672
+ /**
27673
+ * optional google.protobuf.StringValue scanner = 17;
27674
+ * @return {?proto.google.protobuf.StringValue}
27675
+ */
27676
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getScanner = function() {
27677
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27678
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 17));
27679
+ };
27680
+
27681
+
27682
+ /**
27683
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27684
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27685
+ */
27686
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setScanner = function(value) {
27687
+ return jspb.Message.setWrapperField(this, 17, value);
27688
+ };
27689
+
27690
+
27691
+ /**
27692
+ * Clears the message field making it undefined.
27693
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27694
+ */
27695
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearScanner = function() {
27696
+ return this.setScanner(undefined);
27697
+ };
27698
+
27699
+
27700
+ /**
27701
+ * Returns whether this field is set.
27702
+ * @return {boolean}
27703
+ */
27704
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasScanner = function() {
27705
+ return jspb.Message.getField(this, 17) != null;
27706
+ };
27707
+
27708
+
27709
+ /**
27710
+ * optional google.protobuf.StringValue scanner_uuid = 18;
27711
+ * @return {?proto.google.protobuf.StringValue}
27712
+ */
27713
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getScannerUuid = function() {
27714
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27715
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 18));
27716
+ };
27717
+
27718
+
27719
+ /**
27720
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27721
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27722
+ */
27723
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setScannerUuid = function(value) {
27724
+ return jspb.Message.setWrapperField(this, 18, value);
27725
+ };
27726
+
27727
+
27728
+ /**
27729
+ * Clears the message field making it undefined.
27730
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27731
+ */
27732
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearScannerUuid = function() {
27733
+ return this.setScannerUuid(undefined);
27734
+ };
27735
+
27736
+
27737
+ /**
27738
+ * Returns whether this field is set.
27739
+ * @return {boolean}
27740
+ */
27741
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasScannerUuid = function() {
27742
+ return jspb.Message.getField(this, 18) != null;
27743
+ };
27744
+
27745
+
27746
+ /**
27747
+ * optional google.protobuf.StringValue scanner_app_bundle_path = 19;
27748
+ * @return {?proto.google.protobuf.StringValue}
27749
+ */
27750
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getScannerAppBundlePath = function() {
27751
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27752
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 19));
27753
+ };
27754
+
27755
+
27756
+ /**
27757
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27758
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27759
+ */
27760
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setScannerAppBundlePath = function(value) {
27761
+ return jspb.Message.setWrapperField(this, 19, value);
27762
+ };
27763
+
27764
+
27765
+ /**
27766
+ * Clears the message field making it undefined.
27767
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27768
+ */
27769
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearScannerAppBundlePath = function() {
27770
+ return this.setScannerAppBundlePath(undefined);
27771
+ };
27772
+
27773
+
27774
+ /**
27775
+ * Returns whether this field is set.
27776
+ * @return {boolean}
27777
+ */
27778
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasScannerAppBundlePath = function() {
27779
+ return jspb.Message.getField(this, 19) != null;
27780
+ };
27781
+
27782
+
27783
+ /**
27784
+ * optional google.protobuf.StringValue scanner_app_path = 20;
27785
+ * @return {?proto.google.protobuf.StringValue}
27786
+ */
27787
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getScannerAppPath = function() {
27788
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27789
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 20));
27790
+ };
27791
+
27792
+
27793
+ /**
27794
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27795
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27796
+ */
27797
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setScannerAppPath = function(value) {
27798
+ return jspb.Message.setWrapperField(this, 20, value);
27799
+ };
27800
+
27801
+
27802
+ /**
27803
+ * Clears the message field making it undefined.
27804
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27805
+ */
27806
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearScannerAppPath = function() {
27807
+ return this.setScannerAppPath(undefined);
27808
+ };
27809
+
27810
+
27811
+ /**
27812
+ * Returns whether this field is set.
27813
+ * @return {boolean}
27814
+ */
27815
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasScannerAppPath = function() {
27816
+ return jspb.Message.getField(this, 20) != null;
27817
+ };
27818
+
27819
+
27820
+ /**
27821
+ * optional google.protobuf.StringValue scanner_app_version = 21;
27822
+ * @return {?proto.google.protobuf.StringValue}
27823
+ */
27824
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getScannerAppVersion = function() {
27825
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27826
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 21));
27827
+ };
27828
+
27829
+
27830
+ /**
27831
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27832
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27833
+ */
27834
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setScannerAppVersion = function(value) {
27835
+ return jspb.Message.setWrapperField(this, 21, value);
27836
+ };
27837
+
27838
+
27839
+ /**
27840
+ * Clears the message field making it undefined.
27841
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27842
+ */
27843
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearScannerAppVersion = function() {
27844
+ return this.setScannerAppVersion(undefined);
27845
+ };
27846
+
27847
+
27848
+ /**
27849
+ * Returns whether this field is set.
27850
+ * @return {boolean}
27851
+ */
27852
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasScannerAppVersion = function() {
27853
+ return jspb.Message.getField(this, 21) != null;
27854
+ };
27855
+
27856
+
27857
+ /**
27858
+ * optional google.protobuf.StringValue shared = 22;
27859
+ * @return {?proto.google.protobuf.StringValue}
27860
+ */
27861
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getShared = function() {
27862
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27863
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 22));
27864
+ };
27865
+
27866
+
27867
+ /**
27868
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27869
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27870
+ */
27871
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setShared = function(value) {
27872
+ return jspb.Message.setWrapperField(this, 22, value);
27873
+ };
27874
+
27875
+
27876
+ /**
27877
+ * Clears the message field making it undefined.
27878
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27879
+ */
27880
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearShared = function() {
27881
+ return this.setShared(undefined);
27882
+ };
27883
+
27884
+
27885
+ /**
27886
+ * Returns whether this field is set.
27887
+ * @return {boolean}
27888
+ */
27889
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasShared = function() {
27890
+ return jspb.Message.getField(this, 22) != null;
27891
+ };
27892
+
27893
+
27894
+ /**
27895
+ * optional google.protobuf.StringValue status = 23;
27896
+ * @return {?proto.google.protobuf.StringValue}
27897
+ */
27898
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getStatus = function() {
27899
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27900
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 23));
27901
+ };
27902
+
27903
+
27904
+ /**
27905
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27906
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27907
+ */
27908
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setStatus = function(value) {
27909
+ return jspb.Message.setWrapperField(this, 23, value);
27910
+ };
27911
+
27912
+
27913
+ /**
27914
+ * Clears the message field making it undefined.
27915
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27916
+ */
27917
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearStatus = function() {
27918
+ return this.setStatus(undefined);
27919
+ };
27920
+
27921
+
27922
+ /**
27923
+ * Returns whether this field is set.
27924
+ * @return {boolean}
27925
+ */
27926
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasStatus = function() {
27927
+ return jspb.Message.getField(this, 23) != null;
27928
+ };
27929
+
27930
+
27931
+ /**
27932
+ * optional google.protobuf.StringValue urf_version = 24;
27933
+ * @return {?proto.google.protobuf.StringValue}
27934
+ */
27935
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getUrfVersion = function() {
27936
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27937
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 24));
27938
+ };
27939
+
27940
+
27941
+ /**
27942
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27943
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27944
+ */
27945
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setUrfVersion = function(value) {
27946
+ return jspb.Message.setWrapperField(this, 24, value);
27947
+ };
27948
+
27949
+
27950
+ /**
27951
+ * Clears the message field making it undefined.
27952
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27953
+ */
27954
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearUrfVersion = function() {
27955
+ return this.setUrfVersion(undefined);
27956
+ };
27957
+
27958
+
27959
+ /**
27960
+ * Returns whether this field is set.
27961
+ * @return {boolean}
27962
+ */
27963
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasUrfVersion = function() {
27964
+ return jspb.Message.getField(this, 24) != null;
27965
+ };
27966
+
27967
+
27968
+ /**
27969
+ * optional google.protobuf.StringValue uri = 25;
27970
+ * @return {?proto.google.protobuf.StringValue}
27971
+ */
27972
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.getUri = function() {
27973
+ return /** @type{?proto.google.protobuf.StringValue} */ (
27974
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 25));
27975
+ };
27976
+
27977
+
27978
+ /**
27979
+ * @param {?proto.google.protobuf.StringValue|undefined} value
27980
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27981
+ */
27982
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.setUri = function(value) {
27983
+ return jspb.Message.setWrapperField(this, 25, value);
27984
+ };
27985
+
27986
+
27987
+ /**
27988
+ * Clears the message field making it undefined.
27989
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Printer} returns this
27990
+ */
27991
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.clearUri = function() {
27992
+ return this.setUri(undefined);
27993
+ };
27994
+
27995
+
27996
+ /**
27997
+ * Returns whether this field is set.
27998
+ * @return {boolean}
27999
+ */
28000
+ proto.com.lansweeper.discovery.sensor.mac.v1.Printer.prototype.hasUri = function() {
28001
+ return jspb.Message.getField(this, 25) != null;
28002
+ };
28003
+
28004
+
28005
+
28006
+
28007
+
28008
+ if (jspb.Message.GENERATE_TO_OBJECT) {
28009
+ /**
28010
+ * Creates an object representation of this proto.
28011
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
28012
+ * Optional fields that are not set will be set to undefined.
28013
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
28014
+ * For the list of reserved names please see:
28015
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
28016
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
28017
+ * JSPB instance for transitional soy proto support:
28018
+ * http://goto/soy-param-migration
28019
+ * @return {!Object}
28020
+ */
28021
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.prototype.toObject = function(opt_includeInstance) {
28022
+ return proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.toObject(opt_includeInstance, this);
28023
+ };
28024
+
28025
+
28026
+ /**
28027
+ * Static version of the {@see toObject} method.
28028
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
28029
+ * the JSPB instance for transitional soy proto support:
28030
+ * http://goto/soy-param-migration
28031
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter} msg The msg instance to transform.
28032
+ * @return {!Object}
28033
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28034
+ */
28035
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.toObject = function(includeInstance, msg) {
28036
+ var f, obj = {
28037
+ imageType: (f = msg.getImageType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
28038
+ imageTypeSetting: (f = msg.getImageTypeSetting()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
28039
+ };
28040
+
28041
+ if (includeInstance) {
28042
+ obj.$jspbMessageInstance = msg;
28043
+ }
28044
+ return obj;
28045
+ };
28046
+ }
28047
+
28048
+
28049
+ /**
28050
+ * Deserializes binary data (in protobuf wire format).
28051
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
28052
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter}
28053
+ */
28054
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.deserializeBinary = function(bytes) {
28055
+ var reader = new jspb.BinaryReader(bytes);
28056
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter;
28057
+ return proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.deserializeBinaryFromReader(msg, reader);
28058
+ };
28059
+
28060
+
28061
+ /**
28062
+ * Deserializes binary data (in protobuf wire format) from the
28063
+ * given reader into the given message object.
28064
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter} msg The message object to deserialize into.
28065
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
28066
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter}
28067
+ */
28068
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.deserializeBinaryFromReader = function(msg, reader) {
28069
+ while (reader.nextField()) {
28070
+ if (reader.isEndGroup()) {
28071
+ break;
28072
+ }
28073
+ var field = reader.getFieldNumber();
28074
+ switch (field) {
28075
+ case 1:
28076
+ var value = new google_protobuf_wrappers_pb.StringValue;
28077
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
28078
+ msg.setImageType(value);
28079
+ break;
28080
+ case 2:
28081
+ var value = new google_protobuf_wrappers_pb.StringValue;
28082
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
28083
+ msg.setImageTypeSetting(value);
28084
+ break;
28085
+ default:
28086
+ reader.skipField();
28087
+ break;
28088
+ }
28089
+ }
28090
+ return msg;
28091
+ };
28092
+
28093
+
28094
+ /**
28095
+ * Serializes the message to binary data (in protobuf wire format).
28096
+ * @return {!Uint8Array}
28097
+ */
28098
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.prototype.serializeBinary = function() {
28099
+ var writer = new jspb.BinaryWriter();
28100
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.serializeBinaryToWriter(this, writer);
28101
+ return writer.getResultBuffer();
28102
+ };
28103
+
28104
+
28105
+ /**
28106
+ * Serializes the given message to binary data (in protobuf wire
28107
+ * format), writing to the given BinaryWriter.
28108
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter} message
28109
+ * @param {!jspb.BinaryWriter} writer
28110
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28111
+ */
28112
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.serializeBinaryToWriter = function(message, writer) {
28113
+ var f = undefined;
28114
+ f = message.getImageType();
28115
+ if (f != null) {
28116
+ writer.writeMessage(
28117
+ 1,
28118
+ f,
28119
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
28120
+ );
28121
+ }
28122
+ f = message.getImageTypeSetting();
28123
+ if (f != null) {
28124
+ writer.writeMessage(
28125
+ 2,
28126
+ f,
28127
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
28128
+ );
28129
+ }
28130
+ };
28131
+
28132
+
28133
+ /**
28134
+ * optional google.protobuf.StringValue image_type = 1;
28135
+ * @return {?proto.google.protobuf.StringValue}
28136
+ */
28137
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.prototype.getImageType = function() {
28138
+ return /** @type{?proto.google.protobuf.StringValue} */ (
28139
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
28140
+ };
28141
+
28142
+
28143
+ /**
28144
+ * @param {?proto.google.protobuf.StringValue|undefined} value
28145
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter} returns this
28146
+ */
28147
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.prototype.setImageType = function(value) {
28148
+ return jspb.Message.setWrapperField(this, 1, value);
28149
+ };
28150
+
28151
+
28152
+ /**
28153
+ * Clears the message field making it undefined.
28154
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter} returns this
28155
+ */
28156
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.prototype.clearImageType = function() {
28157
+ return this.setImageType(undefined);
28158
+ };
28159
+
28160
+
28161
+ /**
28162
+ * Returns whether this field is set.
28163
+ * @return {boolean}
28164
+ */
28165
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.prototype.hasImageType = function() {
28166
+ return jspb.Message.getField(this, 1) != null;
28167
+ };
28168
+
28169
+
28170
+ /**
28171
+ * optional google.protobuf.StringValue image_type_setting = 2;
28172
+ * @return {?proto.google.protobuf.StringValue}
28173
+ */
28174
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.prototype.getImageTypeSetting = function() {
28175
+ return /** @type{?proto.google.protobuf.StringValue} */ (
28176
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
28177
+ };
28178
+
28179
+
28180
+ /**
28181
+ * @param {?proto.google.protobuf.StringValue|undefined} value
28182
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter} returns this
28183
+ */
28184
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.prototype.setImageTypeSetting = function(value) {
28185
+ return jspb.Message.setWrapperField(this, 2, value);
28186
+ };
28187
+
28188
+
28189
+ /**
28190
+ * Clears the message field making it undefined.
28191
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter} returns this
28192
+ */
28193
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.prototype.clearImageTypeSetting = function() {
28194
+ return this.setImageTypeSetting(undefined);
28195
+ };
28196
+
28197
+
28198
+ /**
28199
+ * Returns whether this field is set.
28200
+ * @return {boolean}
28201
+ */
28202
+ proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter.prototype.hasImageTypeSetting = function() {
28203
+ return jspb.Message.getField(this, 2) != null;
28204
+ };
28205
+
28206
+
26395
28207
  goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.mac.v1);