@lansweeper/discovery-sensor-proto 2.18.0 → 2.19.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.
@@ -82,8 +82,6 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.PotsModem',
82
82
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Printer', null, global);
83
83
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver', null, global);
84
84
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverDevice', null, global);
85
- goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni', null, global);
86
- goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper', null, global);
87
85
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Process', null, global);
88
86
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Processor', null, global);
89
87
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.PsLog', null, global);
@@ -109,8 +107,6 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.SqlServerInf
109
107
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.SqlServerService', null, global);
110
108
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver', null, global);
111
109
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverPnpEntity', null, global);
112
- goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni', null, global);
113
- goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper', null, global);
114
110
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.SystemEnclosure', null, global);
115
111
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.SystemInfo', null, global);
116
112
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Tape', null, global);
@@ -945,48 +941,6 @@ if (goog.DEBUG && !COMPILED) {
945
941
  */
946
942
  proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver';
947
943
  }
948
- /**
949
- * Generated by JsPbCodeGenerator.
950
- * @param {Array=} opt_data Optional initial data array, typically from a
951
- * server response, or constructed directly in Javascript. The array is used
952
- * in place and becomes part of the constructed object. It is not cloned.
953
- * If no data is provided, the constructed object will be empty, but still
954
- * valid.
955
- * @extends {jspb.Message}
956
- * @constructor
957
- */
958
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper = function(opt_data) {
959
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
960
- };
961
- goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper, jspb.Message);
962
- if (goog.DEBUG && !COMPILED) {
963
- /**
964
- * @public
965
- * @override
966
- */
967
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper';
968
- }
969
- /**
970
- * Generated by JsPbCodeGenerator.
971
- * @param {Array=} opt_data Optional initial data array, typically from a
972
- * server response, or constructed directly in Javascript. The array is used
973
- * in place and becomes part of the constructed object. It is not cloned.
974
- * If no data is provided, the constructed object will be empty, but still
975
- * valid.
976
- * @extends {jspb.Message}
977
- * @constructor
978
- */
979
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni = function(opt_data) {
980
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
981
- };
982
- goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni, jspb.Message);
983
- if (goog.DEBUG && !COMPILED) {
984
- /**
985
- * @public
986
- * @override
987
- */
988
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni';
989
- }
990
944
  /**
991
945
  * Generated by JsPbCodeGenerator.
992
946
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1407,48 +1361,6 @@ if (goog.DEBUG && !COMPILED) {
1407
1361
  */
1408
1362
  proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver';
1409
1363
  }
1410
- /**
1411
- * Generated by JsPbCodeGenerator.
1412
- * @param {Array=} opt_data Optional initial data array, typically from a
1413
- * server response, or constructed directly in Javascript. The array is used
1414
- * in place and becomes part of the constructed object. It is not cloned.
1415
- * If no data is provided, the constructed object will be empty, but still
1416
- * valid.
1417
- * @extends {jspb.Message}
1418
- * @constructor
1419
- */
1420
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper = function(opt_data) {
1421
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1422
- };
1423
- goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper, jspb.Message);
1424
- if (goog.DEBUG && !COMPILED) {
1425
- /**
1426
- * @public
1427
- * @override
1428
- */
1429
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper';
1430
- }
1431
- /**
1432
- * Generated by JsPbCodeGenerator.
1433
- * @param {Array=} opt_data Optional initial data array, typically from a
1434
- * server response, or constructed directly in Javascript. The array is used
1435
- * in place and becomes part of the constructed object. It is not cloned.
1436
- * If no data is provided, the constructed object will be empty, but still
1437
- * valid.
1438
- * @extends {jspb.Message}
1439
- * @constructor
1440
- */
1441
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni = function(opt_data) {
1442
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1443
- };
1444
- goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni, jspb.Message);
1445
- if (goog.DEBUG && !COMPILED) {
1446
- /**
1447
- * @public
1448
- * @override
1449
- */
1450
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni';
1451
- }
1452
1364
  /**
1453
1365
  * Generated by JsPbCodeGenerator.
1454
1366
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -16462,7 +16374,10 @@ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.toObject = functio
16462
16374
  state: (f = msg.getState()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
16463
16375
  status: (f = msg.getStatus()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
16464
16376
  tagId: (f = msg.getTagId()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
16465
- systemDriverUniWrapper: (f = msg.getSystemDriverUniWrapper()) && proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.toObject(includeInstance, f)
16377
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
16378
+ description: (f = msg.getDescription()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
16379
+ caption: (f = msg.getCaption()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
16380
+ displayName: (f = msg.getDisplayName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
16466
16381
  };
16467
16382
 
16468
16383
  if (includeInstance) {
@@ -16570,9 +16485,24 @@ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.deserializeBinaryF
16570
16485
  msg.setTagId(value);
16571
16486
  break;
16572
16487
  case 15:
16573
- var value = new proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper;
16574
- reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.deserializeBinaryFromReader);
16575
- msg.setSystemDriverUniWrapper(value);
16488
+ var value = new google_protobuf_wrappers_pb.StringValue;
16489
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
16490
+ msg.setName(value);
16491
+ break;
16492
+ case 16:
16493
+ var value = new google_protobuf_wrappers_pb.StringValue;
16494
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
16495
+ msg.setDescription(value);
16496
+ break;
16497
+ case 17:
16498
+ var value = new google_protobuf_wrappers_pb.StringValue;
16499
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
16500
+ msg.setCaption(value);
16501
+ break;
16502
+ case 18:
16503
+ var value = new google_protobuf_wrappers_pb.StringValue;
16504
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
16505
+ msg.setDisplayName(value);
16576
16506
  break;
16577
16507
  default:
16578
16508
  reader.skipField();
@@ -16715,12 +16645,36 @@ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.serializeBinaryToW
16715
16645
  google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
16716
16646
  );
16717
16647
  }
16718
- f = message.getSystemDriverUniWrapper();
16648
+ f = message.getName();
16719
16649
  if (f != null) {
16720
16650
  writer.writeMessage(
16721
16651
  15,
16722
16652
  f,
16723
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.serializeBinaryToWriter
16653
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
16654
+ );
16655
+ }
16656
+ f = message.getDescription();
16657
+ if (f != null) {
16658
+ writer.writeMessage(
16659
+ 16,
16660
+ f,
16661
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
16662
+ );
16663
+ }
16664
+ f = message.getCaption();
16665
+ if (f != null) {
16666
+ writer.writeMessage(
16667
+ 17,
16668
+ f,
16669
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
16670
+ );
16671
+ }
16672
+ f = message.getDisplayName();
16673
+ if (f != null) {
16674
+ writer.writeMessage(
16675
+ 18,
16676
+ f,
16677
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
16724
16678
  );
16725
16679
  }
16726
16680
  };
@@ -17245,20 +17199,20 @@ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.hasTagId
17245
17199
 
17246
17200
 
17247
17201
  /**
17248
- * optional SystemDriverUniWrapper system_driver_uni_wrapper = 15;
17249
- * @return {?proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper}
17202
+ * optional google.protobuf.StringValue name = 15;
17203
+ * @return {?proto.google.protobuf.StringValue}
17250
17204
  */
17251
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.getSystemDriverUniWrapper = function() {
17252
- return /** @type{?proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper} */ (
17253
- jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper, 15));
17205
+ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.getName = function() {
17206
+ return /** @type{?proto.google.protobuf.StringValue} */ (
17207
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 15));
17254
17208
  };
17255
17209
 
17256
17210
 
17257
17211
  /**
17258
- * @param {?proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper|undefined} value
17212
+ * @param {?proto.google.protobuf.StringValue|undefined} value
17259
17213
  * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver} returns this
17260
17214
  */
17261
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.setSystemDriverUniWrapper = function(value) {
17215
+ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.setName = function(value) {
17262
17216
  return jspb.Message.setWrapperField(this, 15, value);
17263
17217
  };
17264
17218
 
@@ -17267,8 +17221,8 @@ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.setSyste
17267
17221
  * Clears the message field making it undefined.
17268
17222
  * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver} returns this
17269
17223
  */
17270
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.clearSystemDriverUniWrapper = function() {
17271
- return this.setSystemDriverUniWrapper(undefined);
17224
+ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.clearName = function() {
17225
+ return this.setName(undefined);
17272
17226
  };
17273
17227
 
17274
17228
 
@@ -17276,180 +17230,110 @@ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.clearSys
17276
17230
  * Returns whether this field is set.
17277
17231
  * @return {boolean}
17278
17232
  */
17279
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.hasSystemDriverUniWrapper = function() {
17233
+ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.hasName = function() {
17280
17234
  return jspb.Message.getField(this, 15) != null;
17281
17235
  };
17282
17236
 
17283
17237
 
17284
-
17285
-
17286
-
17287
- if (jspb.Message.GENERATE_TO_OBJECT) {
17288
17238
  /**
17289
- * Creates an object representation of this proto.
17290
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
17291
- * Optional fields that are not set will be set to undefined.
17292
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17293
- * For the list of reserved names please see:
17294
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17295
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17296
- * JSPB instance for transitional soy proto support:
17297
- * http://goto/soy-param-migration
17298
- * @return {!Object}
17239
+ * optional google.protobuf.StringValue description = 16;
17240
+ * @return {?proto.google.protobuf.StringValue}
17299
17241
  */
17300
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.prototype.toObject = function(opt_includeInstance) {
17301
- return proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.toObject(opt_includeInstance, this);
17242
+ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.getDescription = function() {
17243
+ return /** @type{?proto.google.protobuf.StringValue} */ (
17244
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 16));
17302
17245
  };
17303
17246
 
17304
17247
 
17305
17248
  /**
17306
- * Static version of the {@see toObject} method.
17307
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17308
- * the JSPB instance for transitional soy proto support:
17309
- * http://goto/soy-param-migration
17310
- * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper} msg The msg instance to transform.
17311
- * @return {!Object}
17312
- * @suppress {unusedLocalVariables} f is only used for nested messages
17313
- */
17314
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.toObject = function(includeInstance, msg) {
17315
- var f, obj = {
17316
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
17317
- systemDriverUni: (f = msg.getSystemDriverUni()) && proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.toObject(includeInstance, f)
17318
- };
17319
-
17320
- if (includeInstance) {
17321
- obj.$jspbMessageInstance = msg;
17322
- }
17323
- return obj;
17249
+ * @param {?proto.google.protobuf.StringValue|undefined} value
17250
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver} returns this
17251
+ */
17252
+ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.setDescription = function(value) {
17253
+ return jspb.Message.setWrapperField(this, 16, value);
17324
17254
  };
17325
- }
17326
17255
 
17327
17256
 
17328
17257
  /**
17329
- * Deserializes binary data (in protobuf wire format).
17330
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
17331
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper}
17258
+ * Clears the message field making it undefined.
17259
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver} returns this
17332
17260
  */
17333
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.deserializeBinary = function(bytes) {
17334
- var reader = new jspb.BinaryReader(bytes);
17335
- var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper;
17336
- return proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.deserializeBinaryFromReader(msg, reader);
17261
+ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.clearDescription = function() {
17262
+ return this.setDescription(undefined);
17337
17263
  };
17338
17264
 
17339
17265
 
17340
17266
  /**
17341
- * Deserializes binary data (in protobuf wire format) from the
17342
- * given reader into the given message object.
17343
- * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper} msg The message object to deserialize into.
17344
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17345
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper}
17267
+ * Returns whether this field is set.
17268
+ * @return {boolean}
17346
17269
  */
17347
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.deserializeBinaryFromReader = function(msg, reader) {
17348
- while (reader.nextField()) {
17349
- if (reader.isEndGroup()) {
17350
- break;
17351
- }
17352
- var field = reader.getFieldNumber();
17353
- switch (field) {
17354
- case 1:
17355
- var value = /** @type {string} */ (reader.readString());
17356
- msg.setName(value);
17357
- break;
17358
- case 2:
17359
- var value = new proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni;
17360
- reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.deserializeBinaryFromReader);
17361
- msg.setSystemDriverUni(value);
17362
- break;
17363
- default:
17364
- reader.skipField();
17365
- break;
17366
- }
17367
- }
17368
- return msg;
17270
+ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.hasDescription = function() {
17271
+ return jspb.Message.getField(this, 16) != null;
17369
17272
  };
17370
17273
 
17371
17274
 
17372
17275
  /**
17373
- * Serializes the message to binary data (in protobuf wire format).
17374
- * @return {!Uint8Array}
17276
+ * optional google.protobuf.StringValue caption = 17;
17277
+ * @return {?proto.google.protobuf.StringValue}
17375
17278
  */
17376
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.prototype.serializeBinary = function() {
17377
- var writer = new jspb.BinaryWriter();
17378
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.serializeBinaryToWriter(this, writer);
17379
- return writer.getResultBuffer();
17279
+ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.getCaption = function() {
17280
+ return /** @type{?proto.google.protobuf.StringValue} */ (
17281
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 17));
17380
17282
  };
17381
17283
 
17382
17284
 
17383
17285
  /**
17384
- * Serializes the given message to binary data (in protobuf wire
17385
- * format), writing to the given BinaryWriter.
17386
- * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper} message
17387
- * @param {!jspb.BinaryWriter} writer
17388
- * @suppress {unusedLocalVariables} f is only used for nested messages
17389
- */
17390
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.serializeBinaryToWriter = function(message, writer) {
17391
- var f = undefined;
17392
- f = message.getName();
17393
- if (f.length > 0) {
17394
- writer.writeString(
17395
- 1,
17396
- f
17397
- );
17398
- }
17399
- f = message.getSystemDriverUni();
17400
- if (f != null) {
17401
- writer.writeMessage(
17402
- 2,
17403
- f,
17404
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.serializeBinaryToWriter
17405
- );
17406
- }
17286
+ * @param {?proto.google.protobuf.StringValue|undefined} value
17287
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver} returns this
17288
+ */
17289
+ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.setCaption = function(value) {
17290
+ return jspb.Message.setWrapperField(this, 17, value);
17407
17291
  };
17408
17292
 
17409
17293
 
17410
17294
  /**
17411
- * optional string name = 1;
17412
- * @return {string}
17295
+ * Clears the message field making it undefined.
17296
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver} returns this
17413
17297
  */
17414
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.prototype.getName = function() {
17415
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
17298
+ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.clearCaption = function() {
17299
+ return this.setCaption(undefined);
17416
17300
  };
17417
17301
 
17418
17302
 
17419
17303
  /**
17420
- * @param {string} value
17421
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper} returns this
17304
+ * Returns whether this field is set.
17305
+ * @return {boolean}
17422
17306
  */
17423
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.prototype.setName = function(value) {
17424
- return jspb.Message.setProto3StringField(this, 1, value);
17307
+ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.hasCaption = function() {
17308
+ return jspb.Message.getField(this, 17) != null;
17425
17309
  };
17426
17310
 
17427
17311
 
17428
17312
  /**
17429
- * optional SystemDriverUni system_driver_uni = 2;
17430
- * @return {?proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni}
17313
+ * optional google.protobuf.StringValue display_name = 18;
17314
+ * @return {?proto.google.protobuf.StringValue}
17431
17315
  */
17432
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.prototype.getSystemDriverUni = function() {
17433
- return /** @type{?proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni} */ (
17434
- jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni, 2));
17316
+ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.getDisplayName = function() {
17317
+ return /** @type{?proto.google.protobuf.StringValue} */ (
17318
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 18));
17435
17319
  };
17436
17320
 
17437
17321
 
17438
17322
  /**
17439
- * @param {?proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni|undefined} value
17440
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper} returns this
17323
+ * @param {?proto.google.protobuf.StringValue|undefined} value
17324
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver} returns this
17441
17325
  */
17442
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.prototype.setSystemDriverUni = function(value) {
17443
- return jspb.Message.setWrapperField(this, 2, value);
17326
+ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.setDisplayName = function(value) {
17327
+ return jspb.Message.setWrapperField(this, 18, value);
17444
17328
  };
17445
17329
 
17446
17330
 
17447
17331
  /**
17448
17332
  * Clears the message field making it undefined.
17449
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper} returns this
17333
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver} returns this
17450
17334
  */
17451
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.prototype.clearSystemDriverUni = function() {
17452
- return this.setSystemDriverUni(undefined);
17335
+ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.clearDisplayName = function() {
17336
+ return this.setDisplayName(undefined);
17453
17337
  };
17454
17338
 
17455
17339
 
@@ -17457,12 +17341,19 @@ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.prototyp
17457
17341
  * Returns whether this field is set.
17458
17342
  * @return {boolean}
17459
17343
  */
17460
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUniWrapper.prototype.hasSystemDriverUni = function() {
17461
- return jspb.Message.getField(this, 2) != null;
17344
+ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver.prototype.hasDisplayName = function() {
17345
+ return jspb.Message.getField(this, 18) != null;
17462
17346
  };
17463
17347
 
17464
17348
 
17465
17349
 
17350
+ /**
17351
+ * List of repeated fields within this message type.
17352
+ * @private {!Array<number>}
17353
+ * @const
17354
+ */
17355
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsSound.repeatedFields_ = [1];
17356
+
17466
17357
 
17467
17358
 
17468
17359
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -17478,8 +17369,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
17478
17369
  * http://goto/soy-param-migration
17479
17370
  * @return {!Object}
17480
17371
  */
17481
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.prototype.toObject = function(opt_includeInstance) {
17482
- return proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.toObject(opt_includeInstance, this);
17372
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsSound.prototype.toObject = function(opt_includeInstance) {
17373
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsSound.toObject(opt_includeInstance, this);
17483
17374
  };
17484
17375
 
17485
17376
 
@@ -17488,16 +17379,14 @@ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.prototype.toObj
17488
17379
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17489
17380
  * the JSPB instance for transitional soy proto support:
17490
17381
  * http://goto/soy-param-migration
17491
- * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni} msg The msg instance to transform.
17382
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsSound} msg The msg instance to transform.
17492
17383
  * @return {!Object}
17493
17384
  * @suppress {unusedLocalVariables} f is only used for nested messages
17494
17385
  */
17495
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.toObject = function(includeInstance, msg) {
17386
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsSound.toObject = function(includeInstance, msg) {
17496
17387
  var f, obj = {
17497
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
17498
- description: jspb.Message.getFieldWithDefault(msg, 2, ""),
17499
- caption: jspb.Message.getFieldWithDefault(msg, 3, ""),
17500
- displayname: jspb.Message.getFieldWithDefault(msg, 4, "")
17388
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
17389
+ proto.com.lansweeper.discovery.sensor.windows.v1.Sound.toObject, includeInstance)
17501
17390
  };
17502
17391
 
17503
17392
  if (includeInstance) {
@@ -17511,232 +17400,7 @@ proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.toObject = func
17511
17400
  /**
17512
17401
  * Deserializes binary data (in protobuf wire format).
17513
17402
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
17514
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni}
17515
- */
17516
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.deserializeBinary = function(bytes) {
17517
- var reader = new jspb.BinaryReader(bytes);
17518
- var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni;
17519
- return proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.deserializeBinaryFromReader(msg, reader);
17520
- };
17521
-
17522
-
17523
- /**
17524
- * Deserializes binary data (in protobuf wire format) from the
17525
- * given reader into the given message object.
17526
- * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni} msg The message object to deserialize into.
17527
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17528
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni}
17529
- */
17530
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.deserializeBinaryFromReader = function(msg, reader) {
17531
- while (reader.nextField()) {
17532
- if (reader.isEndGroup()) {
17533
- break;
17534
- }
17535
- var field = reader.getFieldNumber();
17536
- switch (field) {
17537
- case 1:
17538
- var value = /** @type {string} */ (reader.readString());
17539
- msg.setName(value);
17540
- break;
17541
- case 2:
17542
- var value = /** @type {string} */ (reader.readString());
17543
- msg.setDescription(value);
17544
- break;
17545
- case 3:
17546
- var value = /** @type {string} */ (reader.readString());
17547
- msg.setCaption(value);
17548
- break;
17549
- case 4:
17550
- var value = /** @type {string} */ (reader.readString());
17551
- msg.setDisplayname(value);
17552
- break;
17553
- default:
17554
- reader.skipField();
17555
- break;
17556
- }
17557
- }
17558
- return msg;
17559
- };
17560
-
17561
-
17562
- /**
17563
- * Serializes the message to binary data (in protobuf wire format).
17564
- * @return {!Uint8Array}
17565
- */
17566
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.prototype.serializeBinary = function() {
17567
- var writer = new jspb.BinaryWriter();
17568
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.serializeBinaryToWriter(this, writer);
17569
- return writer.getResultBuffer();
17570
- };
17571
-
17572
-
17573
- /**
17574
- * Serializes the given message to binary data (in protobuf wire
17575
- * format), writing to the given BinaryWriter.
17576
- * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni} message
17577
- * @param {!jspb.BinaryWriter} writer
17578
- * @suppress {unusedLocalVariables} f is only used for nested messages
17579
- */
17580
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.serializeBinaryToWriter = function(message, writer) {
17581
- var f = undefined;
17582
- f = message.getName();
17583
- if (f.length > 0) {
17584
- writer.writeString(
17585
- 1,
17586
- f
17587
- );
17588
- }
17589
- f = message.getDescription();
17590
- if (f.length > 0) {
17591
- writer.writeString(
17592
- 2,
17593
- f
17594
- );
17595
- }
17596
- f = message.getCaption();
17597
- if (f.length > 0) {
17598
- writer.writeString(
17599
- 3,
17600
- f
17601
- );
17602
- }
17603
- f = message.getDisplayname();
17604
- if (f.length > 0) {
17605
- writer.writeString(
17606
- 4,
17607
- f
17608
- );
17609
- }
17610
- };
17611
-
17612
-
17613
- /**
17614
- * optional string name = 1;
17615
- * @return {string}
17616
- */
17617
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.prototype.getName = function() {
17618
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
17619
- };
17620
-
17621
-
17622
- /**
17623
- * @param {string} value
17624
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni} returns this
17625
- */
17626
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.prototype.setName = function(value) {
17627
- return jspb.Message.setProto3StringField(this, 1, value);
17628
- };
17629
-
17630
-
17631
- /**
17632
- * optional string description = 2;
17633
- * @return {string}
17634
- */
17635
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.prototype.getDescription = function() {
17636
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
17637
- };
17638
-
17639
-
17640
- /**
17641
- * @param {string} value
17642
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni} returns this
17643
- */
17644
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.prototype.setDescription = function(value) {
17645
- return jspb.Message.setProto3StringField(this, 2, value);
17646
- };
17647
-
17648
-
17649
- /**
17650
- * optional string caption = 3;
17651
- * @return {string}
17652
- */
17653
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.prototype.getCaption = function() {
17654
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
17655
- };
17656
-
17657
-
17658
- /**
17659
- * @param {string} value
17660
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni} returns this
17661
- */
17662
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.prototype.setCaption = function(value) {
17663
- return jspb.Message.setProto3StringField(this, 3, value);
17664
- };
17665
-
17666
-
17667
- /**
17668
- * optional string displayName = 4;
17669
- * @return {string}
17670
- */
17671
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.prototype.getDisplayname = function() {
17672
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
17673
- };
17674
-
17675
-
17676
- /**
17677
- * @param {string} value
17678
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni} returns this
17679
- */
17680
- proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverUni.prototype.setDisplayname = function(value) {
17681
- return jspb.Message.setProto3StringField(this, 4, value);
17682
- };
17683
-
17684
-
17685
-
17686
- /**
17687
- * List of repeated fields within this message type.
17688
- * @private {!Array<number>}
17689
- * @const
17690
- */
17691
- proto.com.lansweeper.discovery.sensor.windows.v1.WindowsSound.repeatedFields_ = [1];
17692
-
17693
-
17694
-
17695
- if (jspb.Message.GENERATE_TO_OBJECT) {
17696
- /**
17697
- * Creates an object representation of this proto.
17698
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
17699
- * Optional fields that are not set will be set to undefined.
17700
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17701
- * For the list of reserved names please see:
17702
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17703
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17704
- * JSPB instance for transitional soy proto support:
17705
- * http://goto/soy-param-migration
17706
- * @return {!Object}
17707
- */
17708
- proto.com.lansweeper.discovery.sensor.windows.v1.WindowsSound.prototype.toObject = function(opt_includeInstance) {
17709
- return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsSound.toObject(opt_includeInstance, this);
17710
- };
17711
-
17712
-
17713
- /**
17714
- * Static version of the {@see toObject} method.
17715
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17716
- * the JSPB instance for transitional soy proto support:
17717
- * http://goto/soy-param-migration
17718
- * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsSound} msg The msg instance to transform.
17719
- * @return {!Object}
17720
- * @suppress {unusedLocalVariables} f is only used for nested messages
17721
- */
17722
- proto.com.lansweeper.discovery.sensor.windows.v1.WindowsSound.toObject = function(includeInstance, msg) {
17723
- var f, obj = {
17724
- entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
17725
- proto.com.lansweeper.discovery.sensor.windows.v1.Sound.toObject, includeInstance)
17726
- };
17727
-
17728
- if (includeInstance) {
17729
- obj.$jspbMessageInstance = msg;
17730
- }
17731
- return obj;
17732
- };
17733
- }
17734
-
17735
-
17736
- /**
17737
- * Deserializes binary data (in protobuf wire format).
17738
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
17739
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsSound}
17403
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsSound}
17740
17404
  */
17741
17405
  proto.com.lansweeper.discovery.sensor.windows.v1.WindowsSound.deserializeBinary = function(bytes) {
17742
17406
  var reader = new jspb.BinaryReader(bytes);
@@ -23856,7 +23520,10 @@ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.toObject = functi
23856
23520
  infPath: (f = msg.getInfPath()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23857
23521
  printerEnvironment: (f = msg.getPrinterEnvironment()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23858
23522
  printProcessor: (f = msg.getPrintProcessor()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23859
- printerDriverUniWrapper: (f = msg.getPrinterDriverUniWrapper()) && proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.toObject(includeInstance, f)
23523
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23524
+ provider: (f = msg.getProvider()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23525
+ supportedPlatform: (f = msg.getSupportedPlatform()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23526
+ manufacturer: (f = msg.getManufacturer()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
23860
23527
  };
23861
23528
 
23862
23529
  if (includeInstance) {
@@ -23969,9 +23636,24 @@ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.deserializeBinary
23969
23636
  msg.setPrintProcessor(value);
23970
23637
  break;
23971
23638
  case 16:
23972
- var value = new proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper;
23973
- reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.deserializeBinaryFromReader);
23974
- msg.setPrinterDriverUniWrapper(value);
23639
+ var value = new google_protobuf_wrappers_pb.StringValue;
23640
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23641
+ msg.setName(value);
23642
+ break;
23643
+ case 17:
23644
+ var value = new google_protobuf_wrappers_pb.StringValue;
23645
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23646
+ msg.setProvider(value);
23647
+ break;
23648
+ case 18:
23649
+ var value = new google_protobuf_wrappers_pb.StringValue;
23650
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23651
+ msg.setSupportedPlatform(value);
23652
+ break;
23653
+ case 19:
23654
+ var value = new google_protobuf_wrappers_pb.StringValue;
23655
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23656
+ msg.setManufacturer(value);
23975
23657
  break;
23976
23658
  default:
23977
23659
  reader.skipField();
@@ -24122,12 +23804,36 @@ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.serializeBinaryTo
24122
23804
  google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24123
23805
  );
24124
23806
  }
24125
- f = message.getPrinterDriverUniWrapper();
23807
+ f = message.getName();
24126
23808
  if (f != null) {
24127
23809
  writer.writeMessage(
24128
23810
  16,
24129
23811
  f,
24130
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.serializeBinaryToWriter
23812
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23813
+ );
23814
+ }
23815
+ f = message.getProvider();
23816
+ if (f != null) {
23817
+ writer.writeMessage(
23818
+ 17,
23819
+ f,
23820
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23821
+ );
23822
+ }
23823
+ f = message.getSupportedPlatform();
23824
+ if (f != null) {
23825
+ writer.writeMessage(
23826
+ 18,
23827
+ f,
23828
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23829
+ );
23830
+ }
23831
+ f = message.getManufacturer();
23832
+ if (f != null) {
23833
+ writer.writeMessage(
23834
+ 19,
23835
+ f,
23836
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24131
23837
  );
24132
23838
  }
24133
23839
  };
@@ -24689,20 +24395,20 @@ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.hasPrin
24689
24395
 
24690
24396
 
24691
24397
  /**
24692
- * optional PrinterDriverUniWrapper printer_driver_uni_wrapper = 16;
24693
- * @return {?proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper}
24398
+ * optional google.protobuf.StringValue name = 16;
24399
+ * @return {?proto.google.protobuf.StringValue}
24694
24400
  */
24695
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.getPrinterDriverUniWrapper = function() {
24696
- return /** @type{?proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper} */ (
24697
- jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper, 16));
24401
+ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.getName = function() {
24402
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24403
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 16));
24698
24404
  };
24699
24405
 
24700
24406
 
24701
24407
  /**
24702
- * @param {?proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper|undefined} value
24408
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24703
24409
  * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver} returns this
24704
24410
  */
24705
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.setPrinterDriverUniWrapper = function(value) {
24411
+ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.setName = function(value) {
24706
24412
  return jspb.Message.setWrapperField(this, 16, value);
24707
24413
  };
24708
24414
 
@@ -24711,8 +24417,8 @@ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.setPrin
24711
24417
  * Clears the message field making it undefined.
24712
24418
  * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver} returns this
24713
24419
  */
24714
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.clearPrinterDriverUniWrapper = function() {
24715
- return this.setPrinterDriverUniWrapper(undefined);
24420
+ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.clearName = function() {
24421
+ return this.setName(undefined);
24716
24422
  };
24717
24423
 
24718
24424
 
@@ -24720,180 +24426,36 @@ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.clearPr
24720
24426
  * Returns whether this field is set.
24721
24427
  * @return {boolean}
24722
24428
  */
24723
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.hasPrinterDriverUniWrapper = function() {
24429
+ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.hasName = function() {
24724
24430
  return jspb.Message.getField(this, 16) != null;
24725
24431
  };
24726
24432
 
24727
24433
 
24434
+ /**
24435
+ * optional google.protobuf.StringValue provider = 17;
24436
+ * @return {?proto.google.protobuf.StringValue}
24437
+ */
24438
+ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.getProvider = function() {
24439
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24440
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 17));
24441
+ };
24728
24442
 
24729
24443
 
24730
-
24731
- if (jspb.Message.GENERATE_TO_OBJECT) {
24732
24444
  /**
24733
- * Creates an object representation of this proto.
24734
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
24735
- * Optional fields that are not set will be set to undefined.
24736
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
24737
- * For the list of reserved names please see:
24738
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
24739
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
24740
- * JSPB instance for transitional soy proto support:
24741
- * http://goto/soy-param-migration
24742
- * @return {!Object}
24743
- */
24744
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.prototype.toObject = function(opt_includeInstance) {
24745
- return proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.toObject(opt_includeInstance, this);
24746
- };
24747
-
24748
-
24749
- /**
24750
- * Static version of the {@see toObject} method.
24751
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24752
- * the JSPB instance for transitional soy proto support:
24753
- * http://goto/soy-param-migration
24754
- * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper} msg The msg instance to transform.
24755
- * @return {!Object}
24756
- * @suppress {unusedLocalVariables} f is only used for nested messages
24757
- */
24758
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.toObject = function(includeInstance, msg) {
24759
- var f, obj = {
24760
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
24761
- printerDriverUni: (f = msg.getPrinterDriverUni()) && proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.toObject(includeInstance, f)
24762
- };
24763
-
24764
- if (includeInstance) {
24765
- obj.$jspbMessageInstance = msg;
24766
- }
24767
- return obj;
24768
- };
24769
- }
24770
-
24771
-
24772
- /**
24773
- * Deserializes binary data (in protobuf wire format).
24774
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
24775
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper}
24776
- */
24777
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.deserializeBinary = function(bytes) {
24778
- var reader = new jspb.BinaryReader(bytes);
24779
- var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper;
24780
- return proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.deserializeBinaryFromReader(msg, reader);
24781
- };
24782
-
24783
-
24784
- /**
24785
- * Deserializes binary data (in protobuf wire format) from the
24786
- * given reader into the given message object.
24787
- * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper} msg The message object to deserialize into.
24788
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24789
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper}
24790
- */
24791
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.deserializeBinaryFromReader = function(msg, reader) {
24792
- while (reader.nextField()) {
24793
- if (reader.isEndGroup()) {
24794
- break;
24795
- }
24796
- var field = reader.getFieldNumber();
24797
- switch (field) {
24798
- case 1:
24799
- var value = /** @type {string} */ (reader.readString());
24800
- msg.setName(value);
24801
- break;
24802
- case 2:
24803
- var value = new proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni;
24804
- reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.deserializeBinaryFromReader);
24805
- msg.setPrinterDriverUni(value);
24806
- break;
24807
- default:
24808
- reader.skipField();
24809
- break;
24810
- }
24811
- }
24812
- return msg;
24813
- };
24814
-
24815
-
24816
- /**
24817
- * Serializes the message to binary data (in protobuf wire format).
24818
- * @return {!Uint8Array}
24819
- */
24820
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.prototype.serializeBinary = function() {
24821
- var writer = new jspb.BinaryWriter();
24822
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.serializeBinaryToWriter(this, writer);
24823
- return writer.getResultBuffer();
24824
- };
24825
-
24826
-
24827
- /**
24828
- * Serializes the given message to binary data (in protobuf wire
24829
- * format), writing to the given BinaryWriter.
24830
- * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper} message
24831
- * @param {!jspb.BinaryWriter} writer
24832
- * @suppress {unusedLocalVariables} f is only used for nested messages
24833
- */
24834
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.serializeBinaryToWriter = function(message, writer) {
24835
- var f = undefined;
24836
- f = message.getName();
24837
- if (f.length > 0) {
24838
- writer.writeString(
24839
- 1,
24840
- f
24841
- );
24842
- }
24843
- f = message.getPrinterDriverUni();
24844
- if (f != null) {
24845
- writer.writeMessage(
24846
- 2,
24847
- f,
24848
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.serializeBinaryToWriter
24849
- );
24850
- }
24851
- };
24852
-
24853
-
24854
- /**
24855
- * optional string name = 1;
24856
- * @return {string}
24857
- */
24858
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.prototype.getName = function() {
24859
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
24860
- };
24861
-
24862
-
24863
- /**
24864
- * @param {string} value
24865
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper} returns this
24866
- */
24867
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.prototype.setName = function(value) {
24868
- return jspb.Message.setProto3StringField(this, 1, value);
24869
- };
24870
-
24871
-
24872
- /**
24873
- * optional PrinterDriverUni printer_driver_uni = 2;
24874
- * @return {?proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni}
24875
- */
24876
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.prototype.getPrinterDriverUni = function() {
24877
- return /** @type{?proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni} */ (
24878
- jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni, 2));
24879
- };
24880
-
24881
-
24882
- /**
24883
- * @param {?proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni|undefined} value
24884
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper} returns this
24445
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24446
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver} returns this
24885
24447
  */
24886
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.prototype.setPrinterDriverUni = function(value) {
24887
- return jspb.Message.setWrapperField(this, 2, value);
24448
+ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.setProvider = function(value) {
24449
+ return jspb.Message.setWrapperField(this, 17, value);
24888
24450
  };
24889
24451
 
24890
24452
 
24891
24453
  /**
24892
24454
  * Clears the message field making it undefined.
24893
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper} returns this
24455
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver} returns this
24894
24456
  */
24895
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.prototype.clearPrinterDriverUni = function() {
24896
- return this.setPrinterDriverUni(undefined);
24457
+ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.clearProvider = function() {
24458
+ return this.setProvider(undefined);
24897
24459
  };
24898
24460
 
24899
24461
 
@@ -24901,228 +24463,82 @@ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.prototy
24901
24463
  * Returns whether this field is set.
24902
24464
  * @return {boolean}
24903
24465
  */
24904
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUniWrapper.prototype.hasPrinterDriverUni = function() {
24905
- return jspb.Message.getField(this, 2) != null;
24906
- };
24907
-
24908
-
24909
-
24910
-
24911
-
24912
- if (jspb.Message.GENERATE_TO_OBJECT) {
24913
- /**
24914
- * Creates an object representation of this proto.
24915
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
24916
- * Optional fields that are not set will be set to undefined.
24917
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
24918
- * For the list of reserved names please see:
24919
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
24920
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
24921
- * JSPB instance for transitional soy proto support:
24922
- * http://goto/soy-param-migration
24923
- * @return {!Object}
24924
- */
24925
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.prototype.toObject = function(opt_includeInstance) {
24926
- return proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.toObject(opt_includeInstance, this);
24927
- };
24928
-
24929
-
24930
- /**
24931
- * Static version of the {@see toObject} method.
24932
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24933
- * the JSPB instance for transitional soy proto support:
24934
- * http://goto/soy-param-migration
24935
- * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni} msg The msg instance to transform.
24936
- * @return {!Object}
24937
- * @suppress {unusedLocalVariables} f is only used for nested messages
24938
- */
24939
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.toObject = function(includeInstance, msg) {
24940
- var f, obj = {
24941
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
24942
- provider: jspb.Message.getFieldWithDefault(msg, 2, ""),
24943
- supportedPlatform: jspb.Message.getFieldWithDefault(msg, 3, ""),
24944
- manufacturer: jspb.Message.getFieldWithDefault(msg, 4, "")
24945
- };
24946
-
24947
- if (includeInstance) {
24948
- obj.$jspbMessageInstance = msg;
24949
- }
24950
- return obj;
24951
- };
24952
- }
24953
-
24954
-
24955
- /**
24956
- * Deserializes binary data (in protobuf wire format).
24957
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
24958
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni}
24959
- */
24960
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.deserializeBinary = function(bytes) {
24961
- var reader = new jspb.BinaryReader(bytes);
24962
- var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni;
24963
- return proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.deserializeBinaryFromReader(msg, reader);
24964
- };
24965
-
24966
-
24967
- /**
24968
- * Deserializes binary data (in protobuf wire format) from the
24969
- * given reader into the given message object.
24970
- * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni} msg The message object to deserialize into.
24971
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24972
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni}
24973
- */
24974
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.deserializeBinaryFromReader = function(msg, reader) {
24975
- while (reader.nextField()) {
24976
- if (reader.isEndGroup()) {
24977
- break;
24978
- }
24979
- var field = reader.getFieldNumber();
24980
- switch (field) {
24981
- case 1:
24982
- var value = /** @type {string} */ (reader.readString());
24983
- msg.setName(value);
24984
- break;
24985
- case 2:
24986
- var value = /** @type {string} */ (reader.readString());
24987
- msg.setProvider(value);
24988
- break;
24989
- case 3:
24990
- var value = /** @type {string} */ (reader.readString());
24991
- msg.setSupportedPlatform(value);
24992
- break;
24993
- case 4:
24994
- var value = /** @type {string} */ (reader.readString());
24995
- msg.setManufacturer(value);
24996
- break;
24997
- default:
24998
- reader.skipField();
24999
- break;
25000
- }
25001
- }
25002
- return msg;
25003
- };
25004
-
25005
-
25006
- /**
25007
- * Serializes the message to binary data (in protobuf wire format).
25008
- * @return {!Uint8Array}
25009
- */
25010
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.prototype.serializeBinary = function() {
25011
- var writer = new jspb.BinaryWriter();
25012
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.serializeBinaryToWriter(this, writer);
25013
- return writer.getResultBuffer();
25014
- };
25015
-
25016
-
25017
- /**
25018
- * Serializes the given message to binary data (in protobuf wire
25019
- * format), writing to the given BinaryWriter.
25020
- * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni} message
25021
- * @param {!jspb.BinaryWriter} writer
25022
- * @suppress {unusedLocalVariables} f is only used for nested messages
25023
- */
25024
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.serializeBinaryToWriter = function(message, writer) {
25025
- var f = undefined;
25026
- f = message.getName();
25027
- if (f.length > 0) {
25028
- writer.writeString(
25029
- 1,
25030
- f
25031
- );
25032
- }
25033
- f = message.getProvider();
25034
- if (f.length > 0) {
25035
- writer.writeString(
25036
- 2,
25037
- f
25038
- );
25039
- }
25040
- f = message.getSupportedPlatform();
25041
- if (f.length > 0) {
25042
- writer.writeString(
25043
- 3,
25044
- f
25045
- );
25046
- }
25047
- f = message.getManufacturer();
25048
- if (f.length > 0) {
25049
- writer.writeString(
25050
- 4,
25051
- f
25052
- );
25053
- }
24466
+ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.hasProvider = function() {
24467
+ return jspb.Message.getField(this, 17) != null;
25054
24468
  };
25055
24469
 
25056
24470
 
25057
24471
  /**
25058
- * optional string name = 1;
25059
- * @return {string}
24472
+ * optional google.protobuf.StringValue supported_platform = 18;
24473
+ * @return {?proto.google.protobuf.StringValue}
25060
24474
  */
25061
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.prototype.getName = function() {
25062
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
24475
+ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.getSupportedPlatform = function() {
24476
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24477
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 18));
25063
24478
  };
25064
24479
 
25065
24480
 
25066
24481
  /**
25067
- * @param {string} value
25068
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni} returns this
25069
- */
25070
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.prototype.setName = function(value) {
25071
- return jspb.Message.setProto3StringField(this, 1, value);
24482
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24483
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver} returns this
24484
+ */
24485
+ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.setSupportedPlatform = function(value) {
24486
+ return jspb.Message.setWrapperField(this, 18, value);
25072
24487
  };
25073
24488
 
25074
24489
 
25075
24490
  /**
25076
- * optional string provider = 2;
25077
- * @return {string}
24491
+ * Clears the message field making it undefined.
24492
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver} returns this
25078
24493
  */
25079
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.prototype.getProvider = function() {
25080
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
24494
+ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.clearSupportedPlatform = function() {
24495
+ return this.setSupportedPlatform(undefined);
25081
24496
  };
25082
24497
 
25083
24498
 
25084
24499
  /**
25085
- * @param {string} value
25086
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni} returns this
24500
+ * Returns whether this field is set.
24501
+ * @return {boolean}
25087
24502
  */
25088
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.prototype.setProvider = function(value) {
25089
- return jspb.Message.setProto3StringField(this, 2, value);
24503
+ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.hasSupportedPlatform = function() {
24504
+ return jspb.Message.getField(this, 18) != null;
25090
24505
  };
25091
24506
 
25092
24507
 
25093
24508
  /**
25094
- * optional string supported_platform = 3;
25095
- * @return {string}
24509
+ * optional google.protobuf.StringValue manufacturer = 19;
24510
+ * @return {?proto.google.protobuf.StringValue}
25096
24511
  */
25097
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.prototype.getSupportedPlatform = function() {
25098
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
24512
+ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.getManufacturer = function() {
24513
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24514
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 19));
25099
24515
  };
25100
24516
 
25101
24517
 
25102
24518
  /**
25103
- * @param {string} value
25104
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni} returns this
25105
- */
25106
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.prototype.setSupportedPlatform = function(value) {
25107
- return jspb.Message.setProto3StringField(this, 3, value);
24519
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24520
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver} returns this
24521
+ */
24522
+ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.setManufacturer = function(value) {
24523
+ return jspb.Message.setWrapperField(this, 19, value);
25108
24524
  };
25109
24525
 
25110
24526
 
25111
24527
  /**
25112
- * optional string manufacturer = 4;
25113
- * @return {string}
24528
+ * Clears the message field making it undefined.
24529
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver} returns this
25114
24530
  */
25115
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.prototype.getManufacturer = function() {
25116
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
24531
+ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.clearManufacturer = function() {
24532
+ return this.setManufacturer(undefined);
25117
24533
  };
25118
24534
 
25119
24535
 
25120
24536
  /**
25121
- * @param {string} value
25122
- * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni} returns this
24537
+ * Returns whether this field is set.
24538
+ * @return {boolean}
25123
24539
  */
25124
- proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverUni.prototype.setManufacturer = function(value) {
25125
- return jspb.Message.setProto3StringField(this, 4, value);
24540
+ proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriver.prototype.hasManufacturer = function() {
24541
+ return jspb.Message.getField(this, 19) != null;
25126
24542
  };
25127
24543
 
25128
24544