@lansweeper/discovery-sensor-proto 2.45.0 → 2.46.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.
@@ -52,11 +52,13 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacController',
52
52
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics', null, global);
53
53
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning', null, global);
54
54
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacDisplay', null, global);
55
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet', null, global);
55
56
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewall', null, global);
56
57
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire', null, global);
57
58
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacHardDisk', null, global);
58
59
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory', null, global);
59
60
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacModem', null, global);
61
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress', null, global);
60
62
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacNetwork', null, global);
61
63
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacNetworkVolume', null, global);
62
64
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacOpenPorts', null, global);
@@ -66,6 +68,8 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacSoftware', nu
66
68
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Memory', null, global);
67
69
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Modem', null, global);
68
70
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Monitor', null, global);
71
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress', null, global);
72
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume', null, global);
69
73
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Network', null, global);
70
74
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkAppleTalk', null, global);
71
75
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkDhcp', null, global);
@@ -1235,6 +1239,90 @@ if (goog.DEBUG && !COMPILED) {
1235
1239
  */
1236
1240
  proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics';
1237
1241
  }
1242
+ /**
1243
+ * Generated by JsPbCodeGenerator.
1244
+ * @param {Array=} opt_data Optional initial data array, typically from a
1245
+ * server response, or constructed directly in Javascript. The array is used
1246
+ * in place and becomes part of the constructed object. It is not cloned.
1247
+ * If no data is provided, the constructed object will be empty, but still
1248
+ * valid.
1249
+ * @extends {jspb.Message}
1250
+ * @constructor
1251
+ */
1252
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet = function(opt_data) {
1253
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1254
+ };
1255
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet, jspb.Message);
1256
+ if (goog.DEBUG && !COMPILED) {
1257
+ /**
1258
+ * @public
1259
+ * @override
1260
+ */
1261
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet';
1262
+ }
1263
+ /**
1264
+ * Generated by JsPbCodeGenerator.
1265
+ * @param {Array=} opt_data Optional initial data array, typically from a
1266
+ * server response, or constructed directly in Javascript. The array is used
1267
+ * in place and becomes part of the constructed object. It is not cloned.
1268
+ * If no data is provided, the constructed object will be empty, but still
1269
+ * valid.
1270
+ * @extends {jspb.Message}
1271
+ * @constructor
1272
+ */
1273
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress = function(opt_data) {
1274
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.repeatedFields_, null);
1275
+ };
1276
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress, jspb.Message);
1277
+ if (goog.DEBUG && !COMPILED) {
1278
+ /**
1279
+ * @public
1280
+ * @override
1281
+ */
1282
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress';
1283
+ }
1284
+ /**
1285
+ * Generated by JsPbCodeGenerator.
1286
+ * @param {Array=} opt_data Optional initial data array, typically from a
1287
+ * server response, or constructed directly in Javascript. The array is used
1288
+ * in place and becomes part of the constructed object. It is not cloned.
1289
+ * If no data is provided, the constructed object will be empty, but still
1290
+ * valid.
1291
+ * @extends {jspb.Message}
1292
+ * @constructor
1293
+ */
1294
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress = function(opt_data) {
1295
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.repeatedFields_, null);
1296
+ };
1297
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress, jspb.Message);
1298
+ if (goog.DEBUG && !COMPILED) {
1299
+ /**
1300
+ * @public
1301
+ * @override
1302
+ */
1303
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress';
1304
+ }
1305
+ /**
1306
+ * Generated by JsPbCodeGenerator.
1307
+ * @param {Array=} opt_data Optional initial data array, typically from a
1308
+ * server response, or constructed directly in Javascript. The array is used
1309
+ * in place and becomes part of the constructed object. It is not cloned.
1310
+ * If no data is provided, the constructed object will be empty, but still
1311
+ * valid.
1312
+ * @extends {jspb.Message}
1313
+ * @constructor
1314
+ */
1315
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume = function(opt_data) {
1316
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1317
+ };
1318
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume, jspb.Message);
1319
+ if (goog.DEBUG && !COMPILED) {
1320
+ /**
1321
+ * @public
1322
+ * @override
1323
+ */
1324
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume';
1325
+ }
1238
1326
 
1239
1327
  /**
1240
1328
  * List of repeated fields within this message type.
@@ -24152,4 +24240,2156 @@ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.hasResult = f
24152
24240
  };
24153
24241
 
24154
24242
 
24243
+
24244
+
24245
+
24246
+ if (jspb.Message.GENERATE_TO_OBJECT) {
24247
+ /**
24248
+ * Creates an object representation of this proto.
24249
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
24250
+ * Optional fields that are not set will be set to undefined.
24251
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
24252
+ * For the list of reserved names please see:
24253
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
24254
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
24255
+ * JSPB instance for transitional soy proto support:
24256
+ * http://goto/soy-param-migration
24257
+ * @return {!Object}
24258
+ */
24259
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.toObject = function(opt_includeInstance) {
24260
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.toObject(opt_includeInstance, this);
24261
+ };
24262
+
24263
+
24264
+ /**
24265
+ * Static version of the {@see toObject} method.
24266
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24267
+ * the JSPB instance for transitional soy proto support:
24268
+ * http://goto/soy-param-migration
24269
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} msg The msg instance to transform.
24270
+ * @return {!Object}
24271
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24272
+ */
24273
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.toObject = function(includeInstance, msg) {
24274
+ var f, obj = {
24275
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
24276
+ bsdDeviceName: (f = msg.getBsdDeviceName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
24277
+ avbSupport: (f = msg.getAvbSupport()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
24278
+ bus: (f = msg.getBus()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
24279
+ deviceId: (f = msg.getDeviceId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
24280
+ driver: (f = msg.getDriver()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
24281
+ macAddress: (f = msg.getMacAddress()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
24282
+ maxLinkSpeed: (f = msg.getMaxLinkSpeed()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
24283
+ pcieLinkSpeed: (f = msg.getPcieLinkSpeed()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
24284
+ pcieLinkWidth: (f = msg.getPcieLinkWidth()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
24285
+ revisionId: (f = msg.getRevisionId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
24286
+ subsystemId: (f = msg.getSubsystemId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
24287
+ subsystemVendorId: (f = msg.getSubsystemVendorId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
24288
+ vendorId: (f = msg.getVendorId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
24289
+ };
24290
+
24291
+ if (includeInstance) {
24292
+ obj.$jspbMessageInstance = msg;
24293
+ }
24294
+ return obj;
24295
+ };
24296
+ }
24297
+
24298
+
24299
+ /**
24300
+ * Deserializes binary data (in protobuf wire format).
24301
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
24302
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet}
24303
+ */
24304
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.deserializeBinary = function(bytes) {
24305
+ var reader = new jspb.BinaryReader(bytes);
24306
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet;
24307
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.deserializeBinaryFromReader(msg, reader);
24308
+ };
24309
+
24310
+
24311
+ /**
24312
+ * Deserializes binary data (in protobuf wire format) from the
24313
+ * given reader into the given message object.
24314
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} msg The message object to deserialize into.
24315
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24316
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet}
24317
+ */
24318
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.deserializeBinaryFromReader = function(msg, reader) {
24319
+ while (reader.nextField()) {
24320
+ if (reader.isEndGroup()) {
24321
+ break;
24322
+ }
24323
+ var field = reader.getFieldNumber();
24324
+ switch (field) {
24325
+ case 1:
24326
+ var value = new google_protobuf_wrappers_pb.StringValue;
24327
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
24328
+ msg.setName(value);
24329
+ break;
24330
+ case 2:
24331
+ var value = new google_protobuf_wrappers_pb.StringValue;
24332
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
24333
+ msg.setBsdDeviceName(value);
24334
+ break;
24335
+ case 3:
24336
+ var value = new google_protobuf_wrappers_pb.StringValue;
24337
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
24338
+ msg.setAvbSupport(value);
24339
+ break;
24340
+ case 4:
24341
+ var value = new google_protobuf_wrappers_pb.StringValue;
24342
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
24343
+ msg.setBus(value);
24344
+ break;
24345
+ case 5:
24346
+ var value = new google_protobuf_wrappers_pb.StringValue;
24347
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
24348
+ msg.setDeviceId(value);
24349
+ break;
24350
+ case 6:
24351
+ var value = new google_protobuf_wrappers_pb.StringValue;
24352
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
24353
+ msg.setDriver(value);
24354
+ break;
24355
+ case 7:
24356
+ var value = new google_protobuf_wrappers_pb.StringValue;
24357
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
24358
+ msg.setMacAddress(value);
24359
+ break;
24360
+ case 8:
24361
+ var value = new google_protobuf_wrappers_pb.StringValue;
24362
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
24363
+ msg.setMaxLinkSpeed(value);
24364
+ break;
24365
+ case 9:
24366
+ var value = new google_protobuf_wrappers_pb.StringValue;
24367
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
24368
+ msg.setPcieLinkSpeed(value);
24369
+ break;
24370
+ case 10:
24371
+ var value = new google_protobuf_wrappers_pb.StringValue;
24372
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
24373
+ msg.setPcieLinkWidth(value);
24374
+ break;
24375
+ case 11:
24376
+ var value = new google_protobuf_wrappers_pb.StringValue;
24377
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
24378
+ msg.setRevisionId(value);
24379
+ break;
24380
+ case 12:
24381
+ var value = new google_protobuf_wrappers_pb.StringValue;
24382
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
24383
+ msg.setSubsystemId(value);
24384
+ break;
24385
+ case 13:
24386
+ var value = new google_protobuf_wrappers_pb.StringValue;
24387
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
24388
+ msg.setSubsystemVendorId(value);
24389
+ break;
24390
+ case 14:
24391
+ var value = new google_protobuf_wrappers_pb.StringValue;
24392
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
24393
+ msg.setVendorId(value);
24394
+ break;
24395
+ default:
24396
+ reader.skipField();
24397
+ break;
24398
+ }
24399
+ }
24400
+ return msg;
24401
+ };
24402
+
24403
+
24404
+ /**
24405
+ * Serializes the message to binary data (in protobuf wire format).
24406
+ * @return {!Uint8Array}
24407
+ */
24408
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.serializeBinary = function() {
24409
+ var writer = new jspb.BinaryWriter();
24410
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.serializeBinaryToWriter(this, writer);
24411
+ return writer.getResultBuffer();
24412
+ };
24413
+
24414
+
24415
+ /**
24416
+ * Serializes the given message to binary data (in protobuf wire
24417
+ * format), writing to the given BinaryWriter.
24418
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} message
24419
+ * @param {!jspb.BinaryWriter} writer
24420
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24421
+ */
24422
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.serializeBinaryToWriter = function(message, writer) {
24423
+ var f = undefined;
24424
+ f = message.getName();
24425
+ if (f != null) {
24426
+ writer.writeMessage(
24427
+ 1,
24428
+ f,
24429
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24430
+ );
24431
+ }
24432
+ f = message.getBsdDeviceName();
24433
+ if (f != null) {
24434
+ writer.writeMessage(
24435
+ 2,
24436
+ f,
24437
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24438
+ );
24439
+ }
24440
+ f = message.getAvbSupport();
24441
+ if (f != null) {
24442
+ writer.writeMessage(
24443
+ 3,
24444
+ f,
24445
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24446
+ );
24447
+ }
24448
+ f = message.getBus();
24449
+ if (f != null) {
24450
+ writer.writeMessage(
24451
+ 4,
24452
+ f,
24453
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24454
+ );
24455
+ }
24456
+ f = message.getDeviceId();
24457
+ if (f != null) {
24458
+ writer.writeMessage(
24459
+ 5,
24460
+ f,
24461
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24462
+ );
24463
+ }
24464
+ f = message.getDriver();
24465
+ if (f != null) {
24466
+ writer.writeMessage(
24467
+ 6,
24468
+ f,
24469
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24470
+ );
24471
+ }
24472
+ f = message.getMacAddress();
24473
+ if (f != null) {
24474
+ writer.writeMessage(
24475
+ 7,
24476
+ f,
24477
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24478
+ );
24479
+ }
24480
+ f = message.getMaxLinkSpeed();
24481
+ if (f != null) {
24482
+ writer.writeMessage(
24483
+ 8,
24484
+ f,
24485
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24486
+ );
24487
+ }
24488
+ f = message.getPcieLinkSpeed();
24489
+ if (f != null) {
24490
+ writer.writeMessage(
24491
+ 9,
24492
+ f,
24493
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24494
+ );
24495
+ }
24496
+ f = message.getPcieLinkWidth();
24497
+ if (f != null) {
24498
+ writer.writeMessage(
24499
+ 10,
24500
+ f,
24501
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24502
+ );
24503
+ }
24504
+ f = message.getRevisionId();
24505
+ if (f != null) {
24506
+ writer.writeMessage(
24507
+ 11,
24508
+ f,
24509
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24510
+ );
24511
+ }
24512
+ f = message.getSubsystemId();
24513
+ if (f != null) {
24514
+ writer.writeMessage(
24515
+ 12,
24516
+ f,
24517
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24518
+ );
24519
+ }
24520
+ f = message.getSubsystemVendorId();
24521
+ if (f != null) {
24522
+ writer.writeMessage(
24523
+ 13,
24524
+ f,
24525
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24526
+ );
24527
+ }
24528
+ f = message.getVendorId();
24529
+ if (f != null) {
24530
+ writer.writeMessage(
24531
+ 14,
24532
+ f,
24533
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24534
+ );
24535
+ }
24536
+ };
24537
+
24538
+
24539
+ /**
24540
+ * optional google.protobuf.StringValue name = 1;
24541
+ * @return {?proto.google.protobuf.StringValue}
24542
+ */
24543
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.getName = function() {
24544
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24545
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
24546
+ };
24547
+
24548
+
24549
+ /**
24550
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24551
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24552
+ */
24553
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.setName = function(value) {
24554
+ return jspb.Message.setWrapperField(this, 1, value);
24555
+ };
24556
+
24557
+
24558
+ /**
24559
+ * Clears the message field making it undefined.
24560
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24561
+ */
24562
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.clearName = function() {
24563
+ return this.setName(undefined);
24564
+ };
24565
+
24566
+
24567
+ /**
24568
+ * Returns whether this field is set.
24569
+ * @return {boolean}
24570
+ */
24571
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.hasName = function() {
24572
+ return jspb.Message.getField(this, 1) != null;
24573
+ };
24574
+
24575
+
24576
+ /**
24577
+ * optional google.protobuf.StringValue bsd_device_name = 2;
24578
+ * @return {?proto.google.protobuf.StringValue}
24579
+ */
24580
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.getBsdDeviceName = function() {
24581
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24582
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
24583
+ };
24584
+
24585
+
24586
+ /**
24587
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24588
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24589
+ */
24590
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.setBsdDeviceName = function(value) {
24591
+ return jspb.Message.setWrapperField(this, 2, value);
24592
+ };
24593
+
24594
+
24595
+ /**
24596
+ * Clears the message field making it undefined.
24597
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24598
+ */
24599
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.clearBsdDeviceName = function() {
24600
+ return this.setBsdDeviceName(undefined);
24601
+ };
24602
+
24603
+
24604
+ /**
24605
+ * Returns whether this field is set.
24606
+ * @return {boolean}
24607
+ */
24608
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.hasBsdDeviceName = function() {
24609
+ return jspb.Message.getField(this, 2) != null;
24610
+ };
24611
+
24612
+
24613
+ /**
24614
+ * optional google.protobuf.StringValue avb_support = 3;
24615
+ * @return {?proto.google.protobuf.StringValue}
24616
+ */
24617
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.getAvbSupport = function() {
24618
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24619
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
24620
+ };
24621
+
24622
+
24623
+ /**
24624
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24625
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24626
+ */
24627
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.setAvbSupport = function(value) {
24628
+ return jspb.Message.setWrapperField(this, 3, value);
24629
+ };
24630
+
24631
+
24632
+ /**
24633
+ * Clears the message field making it undefined.
24634
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24635
+ */
24636
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.clearAvbSupport = function() {
24637
+ return this.setAvbSupport(undefined);
24638
+ };
24639
+
24640
+
24641
+ /**
24642
+ * Returns whether this field is set.
24643
+ * @return {boolean}
24644
+ */
24645
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.hasAvbSupport = function() {
24646
+ return jspb.Message.getField(this, 3) != null;
24647
+ };
24648
+
24649
+
24650
+ /**
24651
+ * optional google.protobuf.StringValue bus = 4;
24652
+ * @return {?proto.google.protobuf.StringValue}
24653
+ */
24654
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.getBus = function() {
24655
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24656
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
24657
+ };
24658
+
24659
+
24660
+ /**
24661
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24662
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24663
+ */
24664
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.setBus = function(value) {
24665
+ return jspb.Message.setWrapperField(this, 4, value);
24666
+ };
24667
+
24668
+
24669
+ /**
24670
+ * Clears the message field making it undefined.
24671
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24672
+ */
24673
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.clearBus = function() {
24674
+ return this.setBus(undefined);
24675
+ };
24676
+
24677
+
24678
+ /**
24679
+ * Returns whether this field is set.
24680
+ * @return {boolean}
24681
+ */
24682
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.hasBus = function() {
24683
+ return jspb.Message.getField(this, 4) != null;
24684
+ };
24685
+
24686
+
24687
+ /**
24688
+ * optional google.protobuf.StringValue device_id = 5;
24689
+ * @return {?proto.google.protobuf.StringValue}
24690
+ */
24691
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.getDeviceId = function() {
24692
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24693
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
24694
+ };
24695
+
24696
+
24697
+ /**
24698
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24699
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24700
+ */
24701
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.setDeviceId = function(value) {
24702
+ return jspb.Message.setWrapperField(this, 5, value);
24703
+ };
24704
+
24705
+
24706
+ /**
24707
+ * Clears the message field making it undefined.
24708
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24709
+ */
24710
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.clearDeviceId = function() {
24711
+ return this.setDeviceId(undefined);
24712
+ };
24713
+
24714
+
24715
+ /**
24716
+ * Returns whether this field is set.
24717
+ * @return {boolean}
24718
+ */
24719
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.hasDeviceId = function() {
24720
+ return jspb.Message.getField(this, 5) != null;
24721
+ };
24722
+
24723
+
24724
+ /**
24725
+ * optional google.protobuf.StringValue driver = 6;
24726
+ * @return {?proto.google.protobuf.StringValue}
24727
+ */
24728
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.getDriver = function() {
24729
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24730
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
24731
+ };
24732
+
24733
+
24734
+ /**
24735
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24736
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24737
+ */
24738
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.setDriver = function(value) {
24739
+ return jspb.Message.setWrapperField(this, 6, value);
24740
+ };
24741
+
24742
+
24743
+ /**
24744
+ * Clears the message field making it undefined.
24745
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24746
+ */
24747
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.clearDriver = function() {
24748
+ return this.setDriver(undefined);
24749
+ };
24750
+
24751
+
24752
+ /**
24753
+ * Returns whether this field is set.
24754
+ * @return {boolean}
24755
+ */
24756
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.hasDriver = function() {
24757
+ return jspb.Message.getField(this, 6) != null;
24758
+ };
24759
+
24760
+
24761
+ /**
24762
+ * optional google.protobuf.StringValue mac_address = 7;
24763
+ * @return {?proto.google.protobuf.StringValue}
24764
+ */
24765
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.getMacAddress = function() {
24766
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24767
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
24768
+ };
24769
+
24770
+
24771
+ /**
24772
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24773
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24774
+ */
24775
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.setMacAddress = function(value) {
24776
+ return jspb.Message.setWrapperField(this, 7, value);
24777
+ };
24778
+
24779
+
24780
+ /**
24781
+ * Clears the message field making it undefined.
24782
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24783
+ */
24784
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.clearMacAddress = function() {
24785
+ return this.setMacAddress(undefined);
24786
+ };
24787
+
24788
+
24789
+ /**
24790
+ * Returns whether this field is set.
24791
+ * @return {boolean}
24792
+ */
24793
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.hasMacAddress = function() {
24794
+ return jspb.Message.getField(this, 7) != null;
24795
+ };
24796
+
24797
+
24798
+ /**
24799
+ * optional google.protobuf.StringValue max_link_speed = 8;
24800
+ * @return {?proto.google.protobuf.StringValue}
24801
+ */
24802
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.getMaxLinkSpeed = function() {
24803
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24804
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
24805
+ };
24806
+
24807
+
24808
+ /**
24809
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24810
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24811
+ */
24812
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.setMaxLinkSpeed = function(value) {
24813
+ return jspb.Message.setWrapperField(this, 8, value);
24814
+ };
24815
+
24816
+
24817
+ /**
24818
+ * Clears the message field making it undefined.
24819
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24820
+ */
24821
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.clearMaxLinkSpeed = function() {
24822
+ return this.setMaxLinkSpeed(undefined);
24823
+ };
24824
+
24825
+
24826
+ /**
24827
+ * Returns whether this field is set.
24828
+ * @return {boolean}
24829
+ */
24830
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.hasMaxLinkSpeed = function() {
24831
+ return jspb.Message.getField(this, 8) != null;
24832
+ };
24833
+
24834
+
24835
+ /**
24836
+ * optional google.protobuf.StringValue pcie_link_speed = 9;
24837
+ * @return {?proto.google.protobuf.StringValue}
24838
+ */
24839
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.getPcieLinkSpeed = function() {
24840
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24841
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 9));
24842
+ };
24843
+
24844
+
24845
+ /**
24846
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24847
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24848
+ */
24849
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.setPcieLinkSpeed = function(value) {
24850
+ return jspb.Message.setWrapperField(this, 9, value);
24851
+ };
24852
+
24853
+
24854
+ /**
24855
+ * Clears the message field making it undefined.
24856
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24857
+ */
24858
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.clearPcieLinkSpeed = function() {
24859
+ return this.setPcieLinkSpeed(undefined);
24860
+ };
24861
+
24862
+
24863
+ /**
24864
+ * Returns whether this field is set.
24865
+ * @return {boolean}
24866
+ */
24867
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.hasPcieLinkSpeed = function() {
24868
+ return jspb.Message.getField(this, 9) != null;
24869
+ };
24870
+
24871
+
24872
+ /**
24873
+ * optional google.protobuf.StringValue pcie_link_width = 10;
24874
+ * @return {?proto.google.protobuf.StringValue}
24875
+ */
24876
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.getPcieLinkWidth = function() {
24877
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24878
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 10));
24879
+ };
24880
+
24881
+
24882
+ /**
24883
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24884
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24885
+ */
24886
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.setPcieLinkWidth = function(value) {
24887
+ return jspb.Message.setWrapperField(this, 10, value);
24888
+ };
24889
+
24890
+
24891
+ /**
24892
+ * Clears the message field making it undefined.
24893
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24894
+ */
24895
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.clearPcieLinkWidth = function() {
24896
+ return this.setPcieLinkWidth(undefined);
24897
+ };
24898
+
24899
+
24900
+ /**
24901
+ * Returns whether this field is set.
24902
+ * @return {boolean}
24903
+ */
24904
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.hasPcieLinkWidth = function() {
24905
+ return jspb.Message.getField(this, 10) != null;
24906
+ };
24907
+
24908
+
24909
+ /**
24910
+ * optional google.protobuf.StringValue revision_id = 11;
24911
+ * @return {?proto.google.protobuf.StringValue}
24912
+ */
24913
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.getRevisionId = function() {
24914
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24915
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 11));
24916
+ };
24917
+
24918
+
24919
+ /**
24920
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24921
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24922
+ */
24923
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.setRevisionId = function(value) {
24924
+ return jspb.Message.setWrapperField(this, 11, value);
24925
+ };
24926
+
24927
+
24928
+ /**
24929
+ * Clears the message field making it undefined.
24930
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24931
+ */
24932
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.clearRevisionId = function() {
24933
+ return this.setRevisionId(undefined);
24934
+ };
24935
+
24936
+
24937
+ /**
24938
+ * Returns whether this field is set.
24939
+ * @return {boolean}
24940
+ */
24941
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.hasRevisionId = function() {
24942
+ return jspb.Message.getField(this, 11) != null;
24943
+ };
24944
+
24945
+
24946
+ /**
24947
+ * optional google.protobuf.StringValue subsystem_id = 12;
24948
+ * @return {?proto.google.protobuf.StringValue}
24949
+ */
24950
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.getSubsystemId = function() {
24951
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24952
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 12));
24953
+ };
24954
+
24955
+
24956
+ /**
24957
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24958
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24959
+ */
24960
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.setSubsystemId = function(value) {
24961
+ return jspb.Message.setWrapperField(this, 12, value);
24962
+ };
24963
+
24964
+
24965
+ /**
24966
+ * Clears the message field making it undefined.
24967
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24968
+ */
24969
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.clearSubsystemId = function() {
24970
+ return this.setSubsystemId(undefined);
24971
+ };
24972
+
24973
+
24974
+ /**
24975
+ * Returns whether this field is set.
24976
+ * @return {boolean}
24977
+ */
24978
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.hasSubsystemId = function() {
24979
+ return jspb.Message.getField(this, 12) != null;
24980
+ };
24981
+
24982
+
24983
+ /**
24984
+ * optional google.protobuf.StringValue subsystem_vendor_id = 13;
24985
+ * @return {?proto.google.protobuf.StringValue}
24986
+ */
24987
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.getSubsystemVendorId = function() {
24988
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24989
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 13));
24990
+ };
24991
+
24992
+
24993
+ /**
24994
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24995
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
24996
+ */
24997
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.setSubsystemVendorId = function(value) {
24998
+ return jspb.Message.setWrapperField(this, 13, value);
24999
+ };
25000
+
25001
+
25002
+ /**
25003
+ * Clears the message field making it undefined.
25004
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
25005
+ */
25006
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.clearSubsystemVendorId = function() {
25007
+ return this.setSubsystemVendorId(undefined);
25008
+ };
25009
+
25010
+
25011
+ /**
25012
+ * Returns whether this field is set.
25013
+ * @return {boolean}
25014
+ */
25015
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.hasSubsystemVendorId = function() {
25016
+ return jspb.Message.getField(this, 13) != null;
25017
+ };
25018
+
25019
+
25020
+ /**
25021
+ * optional google.protobuf.StringValue vendor_id = 14;
25022
+ * @return {?proto.google.protobuf.StringValue}
25023
+ */
25024
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.getVendorId = function() {
25025
+ return /** @type{?proto.google.protobuf.StringValue} */ (
25026
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 14));
25027
+ };
25028
+
25029
+
25030
+ /**
25031
+ * @param {?proto.google.protobuf.StringValue|undefined} value
25032
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
25033
+ */
25034
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.setVendorId = function(value) {
25035
+ return jspb.Message.setWrapperField(this, 14, value);
25036
+ };
25037
+
25038
+
25039
+ /**
25040
+ * Clears the message field making it undefined.
25041
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet} returns this
25042
+ */
25043
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.clearVendorId = function() {
25044
+ return this.setVendorId(undefined);
25045
+ };
25046
+
25047
+
25048
+ /**
25049
+ * Returns whether this field is set.
25050
+ * @return {boolean}
25051
+ */
25052
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacEthernet.prototype.hasVendorId = function() {
25053
+ return jspb.Message.getField(this, 14) != null;
25054
+ };
25055
+
25056
+
25057
+
25058
+ /**
25059
+ * List of repeated fields within this message type.
25060
+ * @private {!Array<number>}
25061
+ * @const
25062
+ */
25063
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.repeatedFields_ = [2];
25064
+
25065
+
25066
+
25067
+ if (jspb.Message.GENERATE_TO_OBJECT) {
25068
+ /**
25069
+ * Creates an object representation of this proto.
25070
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
25071
+ * Optional fields that are not set will be set to undefined.
25072
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
25073
+ * For the list of reserved names please see:
25074
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
25075
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
25076
+ * JSPB instance for transitional soy proto support:
25077
+ * http://goto/soy-param-migration
25078
+ * @return {!Object}
25079
+ */
25080
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.prototype.toObject = function(opt_includeInstance) {
25081
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.toObject(opt_includeInstance, this);
25082
+ };
25083
+
25084
+
25085
+ /**
25086
+ * Static version of the {@see toObject} method.
25087
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
25088
+ * the JSPB instance for transitional soy proto support:
25089
+ * http://goto/soy-param-migration
25090
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress} msg The msg instance to transform.
25091
+ * @return {!Object}
25092
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25093
+ */
25094
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.toObject = function(includeInstance, msg) {
25095
+ var f, obj = {
25096
+ controllerName: (f = msg.getControllerName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
25097
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
25098
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.toObject, includeInstance)
25099
+ };
25100
+
25101
+ if (includeInstance) {
25102
+ obj.$jspbMessageInstance = msg;
25103
+ }
25104
+ return obj;
25105
+ };
25106
+ }
25107
+
25108
+
25109
+ /**
25110
+ * Deserializes binary data (in protobuf wire format).
25111
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
25112
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress}
25113
+ */
25114
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.deserializeBinary = function(bytes) {
25115
+ var reader = new jspb.BinaryReader(bytes);
25116
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress;
25117
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.deserializeBinaryFromReader(msg, reader);
25118
+ };
25119
+
25120
+
25121
+ /**
25122
+ * Deserializes binary data (in protobuf wire format) from the
25123
+ * given reader into the given message object.
25124
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress} msg The message object to deserialize into.
25125
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
25126
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress}
25127
+ */
25128
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.deserializeBinaryFromReader = function(msg, reader) {
25129
+ while (reader.nextField()) {
25130
+ if (reader.isEndGroup()) {
25131
+ break;
25132
+ }
25133
+ var field = reader.getFieldNumber();
25134
+ switch (field) {
25135
+ case 1:
25136
+ var value = new google_protobuf_wrappers_pb.StringValue;
25137
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
25138
+ msg.setControllerName(value);
25139
+ break;
25140
+ case 2:
25141
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress;
25142
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.deserializeBinaryFromReader);
25143
+ msg.addEntries(value);
25144
+ break;
25145
+ default:
25146
+ reader.skipField();
25147
+ break;
25148
+ }
25149
+ }
25150
+ return msg;
25151
+ };
25152
+
25153
+
25154
+ /**
25155
+ * Serializes the message to binary data (in protobuf wire format).
25156
+ * @return {!Uint8Array}
25157
+ */
25158
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.prototype.serializeBinary = function() {
25159
+ var writer = new jspb.BinaryWriter();
25160
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.serializeBinaryToWriter(this, writer);
25161
+ return writer.getResultBuffer();
25162
+ };
25163
+
25164
+
25165
+ /**
25166
+ * Serializes the given message to binary data (in protobuf wire
25167
+ * format), writing to the given BinaryWriter.
25168
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress} message
25169
+ * @param {!jspb.BinaryWriter} writer
25170
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25171
+ */
25172
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.serializeBinaryToWriter = function(message, writer) {
25173
+ var f = undefined;
25174
+ f = message.getControllerName();
25175
+ if (f != null) {
25176
+ writer.writeMessage(
25177
+ 1,
25178
+ f,
25179
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
25180
+ );
25181
+ }
25182
+ f = message.getEntriesList();
25183
+ if (f.length > 0) {
25184
+ writer.writeRepeatedMessage(
25185
+ 2,
25186
+ f,
25187
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.serializeBinaryToWriter
25188
+ );
25189
+ }
25190
+ };
25191
+
25192
+
25193
+ /**
25194
+ * optional google.protobuf.StringValue controller_name = 1;
25195
+ * @return {?proto.google.protobuf.StringValue}
25196
+ */
25197
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.prototype.getControllerName = function() {
25198
+ return /** @type{?proto.google.protobuf.StringValue} */ (
25199
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
25200
+ };
25201
+
25202
+
25203
+ /**
25204
+ * @param {?proto.google.protobuf.StringValue|undefined} value
25205
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress} returns this
25206
+ */
25207
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.prototype.setControllerName = function(value) {
25208
+ return jspb.Message.setWrapperField(this, 1, value);
25209
+ };
25210
+
25211
+
25212
+ /**
25213
+ * Clears the message field making it undefined.
25214
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress} returns this
25215
+ */
25216
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.prototype.clearControllerName = function() {
25217
+ return this.setControllerName(undefined);
25218
+ };
25219
+
25220
+
25221
+ /**
25222
+ * Returns whether this field is set.
25223
+ * @return {boolean}
25224
+ */
25225
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.prototype.hasControllerName = function() {
25226
+ return jspb.Message.getField(this, 1) != null;
25227
+ };
25228
+
25229
+
25230
+ /**
25231
+ * repeated NVMExpress entries = 2;
25232
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress>}
25233
+ */
25234
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.prototype.getEntriesList = function() {
25235
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress>} */ (
25236
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress, 2));
25237
+ };
25238
+
25239
+
25240
+ /**
25241
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress>} value
25242
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress} returns this
25243
+ */
25244
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.prototype.setEntriesList = function(value) {
25245
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
25246
+ };
25247
+
25248
+
25249
+ /**
25250
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress=} opt_value
25251
+ * @param {number=} opt_index
25252
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress}
25253
+ */
25254
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.prototype.addEntries = function(opt_value, opt_index) {
25255
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress, opt_index);
25256
+ };
25257
+
25258
+
25259
+ /**
25260
+ * Clears the list making it empty but non-null.
25261
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress} returns this
25262
+ */
25263
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacNVMExpress.prototype.clearEntriesList = function() {
25264
+ return this.setEntriesList([]);
25265
+ };
25266
+
25267
+
25268
+
25269
+ /**
25270
+ * List of repeated fields within this message type.
25271
+ * @private {!Array<number>}
25272
+ * @const
25273
+ */
25274
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.repeatedFields_ = [13];
25275
+
25276
+
25277
+
25278
+ if (jspb.Message.GENERATE_TO_OBJECT) {
25279
+ /**
25280
+ * Creates an object representation of this proto.
25281
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
25282
+ * Optional fields that are not set will be set to undefined.
25283
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
25284
+ * For the list of reserved names please see:
25285
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
25286
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
25287
+ * JSPB instance for transitional soy proto support:
25288
+ * http://goto/soy-param-migration
25289
+ * @return {!Object}
25290
+ */
25291
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.toObject = function(opt_includeInstance) {
25292
+ return proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.toObject(opt_includeInstance, this);
25293
+ };
25294
+
25295
+
25296
+ /**
25297
+ * Static version of the {@see toObject} method.
25298
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
25299
+ * the JSPB instance for transitional soy proto support:
25300
+ * http://goto/soy-param-migration
25301
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} msg The msg instance to transform.
25302
+ * @return {!Object}
25303
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25304
+ */
25305
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.toObject = function(includeInstance, msg) {
25306
+ var f, obj = {
25307
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
25308
+ bsdName: (f = msg.getBsdName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
25309
+ detachableDrive: (f = msg.getDetachableDrive()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
25310
+ deviceModel: (f = msg.getDeviceModel()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
25311
+ deviceRevision: (f = msg.getDeviceRevision()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
25312
+ deviceSerialNumber: (f = msg.getDeviceSerialNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
25313
+ partitionMapType: (f = msg.getPartitionMapType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
25314
+ removableMedia: (f = msg.getRemovableMedia()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
25315
+ size: (f = msg.getSize()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
25316
+ sizeInBytes: (f = msg.getSizeInBytes()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
25317
+ smartStatus: (f = msg.getSmartStatus()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
25318
+ trimSupport: (f = msg.getTrimSupport()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
25319
+ volumesList: jspb.Message.toObjectList(msg.getVolumesList(),
25320
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.toObject, includeInstance)
25321
+ };
25322
+
25323
+ if (includeInstance) {
25324
+ obj.$jspbMessageInstance = msg;
25325
+ }
25326
+ return obj;
25327
+ };
25328
+ }
25329
+
25330
+
25331
+ /**
25332
+ * Deserializes binary data (in protobuf wire format).
25333
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
25334
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress}
25335
+ */
25336
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.deserializeBinary = function(bytes) {
25337
+ var reader = new jspb.BinaryReader(bytes);
25338
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress;
25339
+ return proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.deserializeBinaryFromReader(msg, reader);
25340
+ };
25341
+
25342
+
25343
+ /**
25344
+ * Deserializes binary data (in protobuf wire format) from the
25345
+ * given reader into the given message object.
25346
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} msg The message object to deserialize into.
25347
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
25348
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress}
25349
+ */
25350
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.deserializeBinaryFromReader = function(msg, reader) {
25351
+ while (reader.nextField()) {
25352
+ if (reader.isEndGroup()) {
25353
+ break;
25354
+ }
25355
+ var field = reader.getFieldNumber();
25356
+ switch (field) {
25357
+ case 1:
25358
+ var value = new google_protobuf_wrappers_pb.StringValue;
25359
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
25360
+ msg.setName(value);
25361
+ break;
25362
+ case 2:
25363
+ var value = new google_protobuf_wrappers_pb.StringValue;
25364
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
25365
+ msg.setBsdName(value);
25366
+ break;
25367
+ case 3:
25368
+ var value = new google_protobuf_wrappers_pb.StringValue;
25369
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
25370
+ msg.setDetachableDrive(value);
25371
+ break;
25372
+ case 4:
25373
+ var value = new google_protobuf_wrappers_pb.StringValue;
25374
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
25375
+ msg.setDeviceModel(value);
25376
+ break;
25377
+ case 5:
25378
+ var value = new google_protobuf_wrappers_pb.StringValue;
25379
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
25380
+ msg.setDeviceRevision(value);
25381
+ break;
25382
+ case 6:
25383
+ var value = new google_protobuf_wrappers_pb.StringValue;
25384
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
25385
+ msg.setDeviceSerialNumber(value);
25386
+ break;
25387
+ case 7:
25388
+ var value = new google_protobuf_wrappers_pb.StringValue;
25389
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
25390
+ msg.setPartitionMapType(value);
25391
+ break;
25392
+ case 8:
25393
+ var value = new google_protobuf_wrappers_pb.StringValue;
25394
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
25395
+ msg.setRemovableMedia(value);
25396
+ break;
25397
+ case 9:
25398
+ var value = new google_protobuf_wrappers_pb.StringValue;
25399
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
25400
+ msg.setSize(value);
25401
+ break;
25402
+ case 10:
25403
+ var value = new google_protobuf_wrappers_pb.StringValue;
25404
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
25405
+ msg.setSizeInBytes(value);
25406
+ break;
25407
+ case 11:
25408
+ var value = new google_protobuf_wrappers_pb.StringValue;
25409
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
25410
+ msg.setSmartStatus(value);
25411
+ break;
25412
+ case 12:
25413
+ var value = new google_protobuf_wrappers_pb.StringValue;
25414
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
25415
+ msg.setTrimSupport(value);
25416
+ break;
25417
+ case 13:
25418
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume;
25419
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.deserializeBinaryFromReader);
25420
+ msg.addVolumes(value);
25421
+ break;
25422
+ default:
25423
+ reader.skipField();
25424
+ break;
25425
+ }
25426
+ }
25427
+ return msg;
25428
+ };
25429
+
25430
+
25431
+ /**
25432
+ * Serializes the message to binary data (in protobuf wire format).
25433
+ * @return {!Uint8Array}
25434
+ */
25435
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.serializeBinary = function() {
25436
+ var writer = new jspb.BinaryWriter();
25437
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.serializeBinaryToWriter(this, writer);
25438
+ return writer.getResultBuffer();
25439
+ };
25440
+
25441
+
25442
+ /**
25443
+ * Serializes the given message to binary data (in protobuf wire
25444
+ * format), writing to the given BinaryWriter.
25445
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} message
25446
+ * @param {!jspb.BinaryWriter} writer
25447
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25448
+ */
25449
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.serializeBinaryToWriter = function(message, writer) {
25450
+ var f = undefined;
25451
+ f = message.getName();
25452
+ if (f != null) {
25453
+ writer.writeMessage(
25454
+ 1,
25455
+ f,
25456
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
25457
+ );
25458
+ }
25459
+ f = message.getBsdName();
25460
+ if (f != null) {
25461
+ writer.writeMessage(
25462
+ 2,
25463
+ f,
25464
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
25465
+ );
25466
+ }
25467
+ f = message.getDetachableDrive();
25468
+ if (f != null) {
25469
+ writer.writeMessage(
25470
+ 3,
25471
+ f,
25472
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
25473
+ );
25474
+ }
25475
+ f = message.getDeviceModel();
25476
+ if (f != null) {
25477
+ writer.writeMessage(
25478
+ 4,
25479
+ f,
25480
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
25481
+ );
25482
+ }
25483
+ f = message.getDeviceRevision();
25484
+ if (f != null) {
25485
+ writer.writeMessage(
25486
+ 5,
25487
+ f,
25488
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
25489
+ );
25490
+ }
25491
+ f = message.getDeviceSerialNumber();
25492
+ if (f != null) {
25493
+ writer.writeMessage(
25494
+ 6,
25495
+ f,
25496
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
25497
+ );
25498
+ }
25499
+ f = message.getPartitionMapType();
25500
+ if (f != null) {
25501
+ writer.writeMessage(
25502
+ 7,
25503
+ f,
25504
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
25505
+ );
25506
+ }
25507
+ f = message.getRemovableMedia();
25508
+ if (f != null) {
25509
+ writer.writeMessage(
25510
+ 8,
25511
+ f,
25512
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
25513
+ );
25514
+ }
25515
+ f = message.getSize();
25516
+ if (f != null) {
25517
+ writer.writeMessage(
25518
+ 9,
25519
+ f,
25520
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
25521
+ );
25522
+ }
25523
+ f = message.getSizeInBytes();
25524
+ if (f != null) {
25525
+ writer.writeMessage(
25526
+ 10,
25527
+ f,
25528
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
25529
+ );
25530
+ }
25531
+ f = message.getSmartStatus();
25532
+ if (f != null) {
25533
+ writer.writeMessage(
25534
+ 11,
25535
+ f,
25536
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
25537
+ );
25538
+ }
25539
+ f = message.getTrimSupport();
25540
+ if (f != null) {
25541
+ writer.writeMessage(
25542
+ 12,
25543
+ f,
25544
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
25545
+ );
25546
+ }
25547
+ f = message.getVolumesList();
25548
+ if (f.length > 0) {
25549
+ writer.writeRepeatedMessage(
25550
+ 13,
25551
+ f,
25552
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.serializeBinaryToWriter
25553
+ );
25554
+ }
25555
+ };
25556
+
25557
+
25558
+ /**
25559
+ * optional google.protobuf.StringValue name = 1;
25560
+ * @return {?proto.google.protobuf.StringValue}
25561
+ */
25562
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.getName = function() {
25563
+ return /** @type{?proto.google.protobuf.StringValue} */ (
25564
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
25565
+ };
25566
+
25567
+
25568
+ /**
25569
+ * @param {?proto.google.protobuf.StringValue|undefined} value
25570
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25571
+ */
25572
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.setName = function(value) {
25573
+ return jspb.Message.setWrapperField(this, 1, value);
25574
+ };
25575
+
25576
+
25577
+ /**
25578
+ * Clears the message field making it undefined.
25579
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25580
+ */
25581
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.clearName = function() {
25582
+ return this.setName(undefined);
25583
+ };
25584
+
25585
+
25586
+ /**
25587
+ * Returns whether this field is set.
25588
+ * @return {boolean}
25589
+ */
25590
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.hasName = function() {
25591
+ return jspb.Message.getField(this, 1) != null;
25592
+ };
25593
+
25594
+
25595
+ /**
25596
+ * optional google.protobuf.StringValue bsd_name = 2;
25597
+ * @return {?proto.google.protobuf.StringValue}
25598
+ */
25599
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.getBsdName = function() {
25600
+ return /** @type{?proto.google.protobuf.StringValue} */ (
25601
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
25602
+ };
25603
+
25604
+
25605
+ /**
25606
+ * @param {?proto.google.protobuf.StringValue|undefined} value
25607
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25608
+ */
25609
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.setBsdName = function(value) {
25610
+ return jspb.Message.setWrapperField(this, 2, value);
25611
+ };
25612
+
25613
+
25614
+ /**
25615
+ * Clears the message field making it undefined.
25616
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25617
+ */
25618
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.clearBsdName = function() {
25619
+ return this.setBsdName(undefined);
25620
+ };
25621
+
25622
+
25623
+ /**
25624
+ * Returns whether this field is set.
25625
+ * @return {boolean}
25626
+ */
25627
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.hasBsdName = function() {
25628
+ return jspb.Message.getField(this, 2) != null;
25629
+ };
25630
+
25631
+
25632
+ /**
25633
+ * optional google.protobuf.StringValue detachable_drive = 3;
25634
+ * @return {?proto.google.protobuf.StringValue}
25635
+ */
25636
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.getDetachableDrive = function() {
25637
+ return /** @type{?proto.google.protobuf.StringValue} */ (
25638
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
25639
+ };
25640
+
25641
+
25642
+ /**
25643
+ * @param {?proto.google.protobuf.StringValue|undefined} value
25644
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25645
+ */
25646
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.setDetachableDrive = function(value) {
25647
+ return jspb.Message.setWrapperField(this, 3, value);
25648
+ };
25649
+
25650
+
25651
+ /**
25652
+ * Clears the message field making it undefined.
25653
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25654
+ */
25655
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.clearDetachableDrive = function() {
25656
+ return this.setDetachableDrive(undefined);
25657
+ };
25658
+
25659
+
25660
+ /**
25661
+ * Returns whether this field is set.
25662
+ * @return {boolean}
25663
+ */
25664
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.hasDetachableDrive = function() {
25665
+ return jspb.Message.getField(this, 3) != null;
25666
+ };
25667
+
25668
+
25669
+ /**
25670
+ * optional google.protobuf.StringValue device_model = 4;
25671
+ * @return {?proto.google.protobuf.StringValue}
25672
+ */
25673
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.getDeviceModel = function() {
25674
+ return /** @type{?proto.google.protobuf.StringValue} */ (
25675
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
25676
+ };
25677
+
25678
+
25679
+ /**
25680
+ * @param {?proto.google.protobuf.StringValue|undefined} value
25681
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25682
+ */
25683
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.setDeviceModel = function(value) {
25684
+ return jspb.Message.setWrapperField(this, 4, value);
25685
+ };
25686
+
25687
+
25688
+ /**
25689
+ * Clears the message field making it undefined.
25690
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25691
+ */
25692
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.clearDeviceModel = function() {
25693
+ return this.setDeviceModel(undefined);
25694
+ };
25695
+
25696
+
25697
+ /**
25698
+ * Returns whether this field is set.
25699
+ * @return {boolean}
25700
+ */
25701
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.hasDeviceModel = function() {
25702
+ return jspb.Message.getField(this, 4) != null;
25703
+ };
25704
+
25705
+
25706
+ /**
25707
+ * optional google.protobuf.StringValue device_revision = 5;
25708
+ * @return {?proto.google.protobuf.StringValue}
25709
+ */
25710
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.getDeviceRevision = function() {
25711
+ return /** @type{?proto.google.protobuf.StringValue} */ (
25712
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
25713
+ };
25714
+
25715
+
25716
+ /**
25717
+ * @param {?proto.google.protobuf.StringValue|undefined} value
25718
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25719
+ */
25720
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.setDeviceRevision = function(value) {
25721
+ return jspb.Message.setWrapperField(this, 5, value);
25722
+ };
25723
+
25724
+
25725
+ /**
25726
+ * Clears the message field making it undefined.
25727
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25728
+ */
25729
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.clearDeviceRevision = function() {
25730
+ return this.setDeviceRevision(undefined);
25731
+ };
25732
+
25733
+
25734
+ /**
25735
+ * Returns whether this field is set.
25736
+ * @return {boolean}
25737
+ */
25738
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.hasDeviceRevision = function() {
25739
+ return jspb.Message.getField(this, 5) != null;
25740
+ };
25741
+
25742
+
25743
+ /**
25744
+ * optional google.protobuf.StringValue device_serial_number = 6;
25745
+ * @return {?proto.google.protobuf.StringValue}
25746
+ */
25747
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.getDeviceSerialNumber = function() {
25748
+ return /** @type{?proto.google.protobuf.StringValue} */ (
25749
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
25750
+ };
25751
+
25752
+
25753
+ /**
25754
+ * @param {?proto.google.protobuf.StringValue|undefined} value
25755
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25756
+ */
25757
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.setDeviceSerialNumber = function(value) {
25758
+ return jspb.Message.setWrapperField(this, 6, value);
25759
+ };
25760
+
25761
+
25762
+ /**
25763
+ * Clears the message field making it undefined.
25764
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25765
+ */
25766
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.clearDeviceSerialNumber = function() {
25767
+ return this.setDeviceSerialNumber(undefined);
25768
+ };
25769
+
25770
+
25771
+ /**
25772
+ * Returns whether this field is set.
25773
+ * @return {boolean}
25774
+ */
25775
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.hasDeviceSerialNumber = function() {
25776
+ return jspb.Message.getField(this, 6) != null;
25777
+ };
25778
+
25779
+
25780
+ /**
25781
+ * optional google.protobuf.StringValue partition_map_type = 7;
25782
+ * @return {?proto.google.protobuf.StringValue}
25783
+ */
25784
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.getPartitionMapType = function() {
25785
+ return /** @type{?proto.google.protobuf.StringValue} */ (
25786
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
25787
+ };
25788
+
25789
+
25790
+ /**
25791
+ * @param {?proto.google.protobuf.StringValue|undefined} value
25792
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25793
+ */
25794
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.setPartitionMapType = function(value) {
25795
+ return jspb.Message.setWrapperField(this, 7, value);
25796
+ };
25797
+
25798
+
25799
+ /**
25800
+ * Clears the message field making it undefined.
25801
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25802
+ */
25803
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.clearPartitionMapType = function() {
25804
+ return this.setPartitionMapType(undefined);
25805
+ };
25806
+
25807
+
25808
+ /**
25809
+ * Returns whether this field is set.
25810
+ * @return {boolean}
25811
+ */
25812
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.hasPartitionMapType = function() {
25813
+ return jspb.Message.getField(this, 7) != null;
25814
+ };
25815
+
25816
+
25817
+ /**
25818
+ * optional google.protobuf.StringValue removable_media = 8;
25819
+ * @return {?proto.google.protobuf.StringValue}
25820
+ */
25821
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.getRemovableMedia = function() {
25822
+ return /** @type{?proto.google.protobuf.StringValue} */ (
25823
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
25824
+ };
25825
+
25826
+
25827
+ /**
25828
+ * @param {?proto.google.protobuf.StringValue|undefined} value
25829
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25830
+ */
25831
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.setRemovableMedia = function(value) {
25832
+ return jspb.Message.setWrapperField(this, 8, value);
25833
+ };
25834
+
25835
+
25836
+ /**
25837
+ * Clears the message field making it undefined.
25838
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25839
+ */
25840
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.clearRemovableMedia = function() {
25841
+ return this.setRemovableMedia(undefined);
25842
+ };
25843
+
25844
+
25845
+ /**
25846
+ * Returns whether this field is set.
25847
+ * @return {boolean}
25848
+ */
25849
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.hasRemovableMedia = function() {
25850
+ return jspb.Message.getField(this, 8) != null;
25851
+ };
25852
+
25853
+
25854
+ /**
25855
+ * optional google.protobuf.StringValue size = 9;
25856
+ * @return {?proto.google.protobuf.StringValue}
25857
+ */
25858
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.getSize = function() {
25859
+ return /** @type{?proto.google.protobuf.StringValue} */ (
25860
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 9));
25861
+ };
25862
+
25863
+
25864
+ /**
25865
+ * @param {?proto.google.protobuf.StringValue|undefined} value
25866
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25867
+ */
25868
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.setSize = function(value) {
25869
+ return jspb.Message.setWrapperField(this, 9, value);
25870
+ };
25871
+
25872
+
25873
+ /**
25874
+ * Clears the message field making it undefined.
25875
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25876
+ */
25877
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.clearSize = function() {
25878
+ return this.setSize(undefined);
25879
+ };
25880
+
25881
+
25882
+ /**
25883
+ * Returns whether this field is set.
25884
+ * @return {boolean}
25885
+ */
25886
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.hasSize = function() {
25887
+ return jspb.Message.getField(this, 9) != null;
25888
+ };
25889
+
25890
+
25891
+ /**
25892
+ * optional google.protobuf.StringValue size_in_bytes = 10;
25893
+ * @return {?proto.google.protobuf.StringValue}
25894
+ */
25895
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.getSizeInBytes = function() {
25896
+ return /** @type{?proto.google.protobuf.StringValue} */ (
25897
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 10));
25898
+ };
25899
+
25900
+
25901
+ /**
25902
+ * @param {?proto.google.protobuf.StringValue|undefined} value
25903
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25904
+ */
25905
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.setSizeInBytes = function(value) {
25906
+ return jspb.Message.setWrapperField(this, 10, value);
25907
+ };
25908
+
25909
+
25910
+ /**
25911
+ * Clears the message field making it undefined.
25912
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25913
+ */
25914
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.clearSizeInBytes = function() {
25915
+ return this.setSizeInBytes(undefined);
25916
+ };
25917
+
25918
+
25919
+ /**
25920
+ * Returns whether this field is set.
25921
+ * @return {boolean}
25922
+ */
25923
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.hasSizeInBytes = function() {
25924
+ return jspb.Message.getField(this, 10) != null;
25925
+ };
25926
+
25927
+
25928
+ /**
25929
+ * optional google.protobuf.StringValue smart_status = 11;
25930
+ * @return {?proto.google.protobuf.StringValue}
25931
+ */
25932
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.getSmartStatus = function() {
25933
+ return /** @type{?proto.google.protobuf.StringValue} */ (
25934
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 11));
25935
+ };
25936
+
25937
+
25938
+ /**
25939
+ * @param {?proto.google.protobuf.StringValue|undefined} value
25940
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25941
+ */
25942
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.setSmartStatus = function(value) {
25943
+ return jspb.Message.setWrapperField(this, 11, value);
25944
+ };
25945
+
25946
+
25947
+ /**
25948
+ * Clears the message field making it undefined.
25949
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25950
+ */
25951
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.clearSmartStatus = function() {
25952
+ return this.setSmartStatus(undefined);
25953
+ };
25954
+
25955
+
25956
+ /**
25957
+ * Returns whether this field is set.
25958
+ * @return {boolean}
25959
+ */
25960
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.hasSmartStatus = function() {
25961
+ return jspb.Message.getField(this, 11) != null;
25962
+ };
25963
+
25964
+
25965
+ /**
25966
+ * optional google.protobuf.StringValue trim_support = 12;
25967
+ * @return {?proto.google.protobuf.StringValue}
25968
+ */
25969
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.getTrimSupport = function() {
25970
+ return /** @type{?proto.google.protobuf.StringValue} */ (
25971
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 12));
25972
+ };
25973
+
25974
+
25975
+ /**
25976
+ * @param {?proto.google.protobuf.StringValue|undefined} value
25977
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25978
+ */
25979
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.setTrimSupport = function(value) {
25980
+ return jspb.Message.setWrapperField(this, 12, value);
25981
+ };
25982
+
25983
+
25984
+ /**
25985
+ * Clears the message field making it undefined.
25986
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
25987
+ */
25988
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.clearTrimSupport = function() {
25989
+ return this.setTrimSupport(undefined);
25990
+ };
25991
+
25992
+
25993
+ /**
25994
+ * Returns whether this field is set.
25995
+ * @return {boolean}
25996
+ */
25997
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.hasTrimSupport = function() {
25998
+ return jspb.Message.getField(this, 12) != null;
25999
+ };
26000
+
26001
+
26002
+ /**
26003
+ * repeated NVMExpressVolume volumes = 13;
26004
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume>}
26005
+ */
26006
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.getVolumesList = function() {
26007
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume>} */ (
26008
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume, 13));
26009
+ };
26010
+
26011
+
26012
+ /**
26013
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume>} value
26014
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
26015
+ */
26016
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.setVolumesList = function(value) {
26017
+ return jspb.Message.setRepeatedWrapperField(this, 13, value);
26018
+ };
26019
+
26020
+
26021
+ /**
26022
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume=} opt_value
26023
+ * @param {number=} opt_index
26024
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume}
26025
+ */
26026
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.addVolumes = function(opt_value, opt_index) {
26027
+ return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume, opt_index);
26028
+ };
26029
+
26030
+
26031
+ /**
26032
+ * Clears the list making it empty but non-null.
26033
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress} returns this
26034
+ */
26035
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpress.prototype.clearVolumesList = function() {
26036
+ return this.setVolumesList([]);
26037
+ };
26038
+
26039
+
26040
+
26041
+
26042
+
26043
+ if (jspb.Message.GENERATE_TO_OBJECT) {
26044
+ /**
26045
+ * Creates an object representation of this proto.
26046
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
26047
+ * Optional fields that are not set will be set to undefined.
26048
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
26049
+ * For the list of reserved names please see:
26050
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
26051
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
26052
+ * JSPB instance for transitional soy proto support:
26053
+ * http://goto/soy-param-migration
26054
+ * @return {!Object}
26055
+ */
26056
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.toObject = function(opt_includeInstance) {
26057
+ return proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.toObject(opt_includeInstance, this);
26058
+ };
26059
+
26060
+
26061
+ /**
26062
+ * Static version of the {@see toObject} method.
26063
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
26064
+ * the JSPB instance for transitional soy proto support:
26065
+ * http://goto/soy-param-migration
26066
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume} msg The msg instance to transform.
26067
+ * @return {!Object}
26068
+ * @suppress {unusedLocalVariables} f is only used for nested messages
26069
+ */
26070
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.toObject = function(includeInstance, msg) {
26071
+ var f, obj = {
26072
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26073
+ bsdName: (f = msg.getBsdName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26074
+ ioContent: (f = msg.getIoContent()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26075
+ size: (f = msg.getSize()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26076
+ sizeInBytes: (f = msg.getSizeInBytes()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
26077
+ };
26078
+
26079
+ if (includeInstance) {
26080
+ obj.$jspbMessageInstance = msg;
26081
+ }
26082
+ return obj;
26083
+ };
26084
+ }
26085
+
26086
+
26087
+ /**
26088
+ * Deserializes binary data (in protobuf wire format).
26089
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
26090
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume}
26091
+ */
26092
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.deserializeBinary = function(bytes) {
26093
+ var reader = new jspb.BinaryReader(bytes);
26094
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume;
26095
+ return proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.deserializeBinaryFromReader(msg, reader);
26096
+ };
26097
+
26098
+
26099
+ /**
26100
+ * Deserializes binary data (in protobuf wire format) from the
26101
+ * given reader into the given message object.
26102
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume} msg The message object to deserialize into.
26103
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
26104
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume}
26105
+ */
26106
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.deserializeBinaryFromReader = function(msg, reader) {
26107
+ while (reader.nextField()) {
26108
+ if (reader.isEndGroup()) {
26109
+ break;
26110
+ }
26111
+ var field = reader.getFieldNumber();
26112
+ switch (field) {
26113
+ case 1:
26114
+ var value = new google_protobuf_wrappers_pb.StringValue;
26115
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26116
+ msg.setName(value);
26117
+ break;
26118
+ case 2:
26119
+ var value = new google_protobuf_wrappers_pb.StringValue;
26120
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26121
+ msg.setBsdName(value);
26122
+ break;
26123
+ case 3:
26124
+ var value = new google_protobuf_wrappers_pb.StringValue;
26125
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26126
+ msg.setIoContent(value);
26127
+ break;
26128
+ case 4:
26129
+ var value = new google_protobuf_wrappers_pb.StringValue;
26130
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26131
+ msg.setSize(value);
26132
+ break;
26133
+ case 5:
26134
+ var value = new google_protobuf_wrappers_pb.StringValue;
26135
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26136
+ msg.setSizeInBytes(value);
26137
+ break;
26138
+ default:
26139
+ reader.skipField();
26140
+ break;
26141
+ }
26142
+ }
26143
+ return msg;
26144
+ };
26145
+
26146
+
26147
+ /**
26148
+ * Serializes the message to binary data (in protobuf wire format).
26149
+ * @return {!Uint8Array}
26150
+ */
26151
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.serializeBinary = function() {
26152
+ var writer = new jspb.BinaryWriter();
26153
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.serializeBinaryToWriter(this, writer);
26154
+ return writer.getResultBuffer();
26155
+ };
26156
+
26157
+
26158
+ /**
26159
+ * Serializes the given message to binary data (in protobuf wire
26160
+ * format), writing to the given BinaryWriter.
26161
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume} message
26162
+ * @param {!jspb.BinaryWriter} writer
26163
+ * @suppress {unusedLocalVariables} f is only used for nested messages
26164
+ */
26165
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.serializeBinaryToWriter = function(message, writer) {
26166
+ var f = undefined;
26167
+ f = message.getName();
26168
+ if (f != null) {
26169
+ writer.writeMessage(
26170
+ 1,
26171
+ f,
26172
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26173
+ );
26174
+ }
26175
+ f = message.getBsdName();
26176
+ if (f != null) {
26177
+ writer.writeMessage(
26178
+ 2,
26179
+ f,
26180
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26181
+ );
26182
+ }
26183
+ f = message.getIoContent();
26184
+ if (f != null) {
26185
+ writer.writeMessage(
26186
+ 3,
26187
+ f,
26188
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26189
+ );
26190
+ }
26191
+ f = message.getSize();
26192
+ if (f != null) {
26193
+ writer.writeMessage(
26194
+ 4,
26195
+ f,
26196
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26197
+ );
26198
+ }
26199
+ f = message.getSizeInBytes();
26200
+ if (f != null) {
26201
+ writer.writeMessage(
26202
+ 5,
26203
+ f,
26204
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26205
+ );
26206
+ }
26207
+ };
26208
+
26209
+
26210
+ /**
26211
+ * optional google.protobuf.StringValue name = 1;
26212
+ * @return {?proto.google.protobuf.StringValue}
26213
+ */
26214
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.getName = function() {
26215
+ return /** @type{?proto.google.protobuf.StringValue} */ (
26216
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
26217
+ };
26218
+
26219
+
26220
+ /**
26221
+ * @param {?proto.google.protobuf.StringValue|undefined} value
26222
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume} returns this
26223
+ */
26224
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.setName = function(value) {
26225
+ return jspb.Message.setWrapperField(this, 1, value);
26226
+ };
26227
+
26228
+
26229
+ /**
26230
+ * Clears the message field making it undefined.
26231
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume} returns this
26232
+ */
26233
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.clearName = function() {
26234
+ return this.setName(undefined);
26235
+ };
26236
+
26237
+
26238
+ /**
26239
+ * Returns whether this field is set.
26240
+ * @return {boolean}
26241
+ */
26242
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.hasName = function() {
26243
+ return jspb.Message.getField(this, 1) != null;
26244
+ };
26245
+
26246
+
26247
+ /**
26248
+ * optional google.protobuf.StringValue bsd_name = 2;
26249
+ * @return {?proto.google.protobuf.StringValue}
26250
+ */
26251
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.getBsdName = function() {
26252
+ return /** @type{?proto.google.protobuf.StringValue} */ (
26253
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
26254
+ };
26255
+
26256
+
26257
+ /**
26258
+ * @param {?proto.google.protobuf.StringValue|undefined} value
26259
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume} returns this
26260
+ */
26261
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.setBsdName = function(value) {
26262
+ return jspb.Message.setWrapperField(this, 2, value);
26263
+ };
26264
+
26265
+
26266
+ /**
26267
+ * Clears the message field making it undefined.
26268
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume} returns this
26269
+ */
26270
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.clearBsdName = function() {
26271
+ return this.setBsdName(undefined);
26272
+ };
26273
+
26274
+
26275
+ /**
26276
+ * Returns whether this field is set.
26277
+ * @return {boolean}
26278
+ */
26279
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.hasBsdName = function() {
26280
+ return jspb.Message.getField(this, 2) != null;
26281
+ };
26282
+
26283
+
26284
+ /**
26285
+ * optional google.protobuf.StringValue io_content = 3;
26286
+ * @return {?proto.google.protobuf.StringValue}
26287
+ */
26288
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.getIoContent = function() {
26289
+ return /** @type{?proto.google.protobuf.StringValue} */ (
26290
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
26291
+ };
26292
+
26293
+
26294
+ /**
26295
+ * @param {?proto.google.protobuf.StringValue|undefined} value
26296
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume} returns this
26297
+ */
26298
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.setIoContent = function(value) {
26299
+ return jspb.Message.setWrapperField(this, 3, value);
26300
+ };
26301
+
26302
+
26303
+ /**
26304
+ * Clears the message field making it undefined.
26305
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume} returns this
26306
+ */
26307
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.clearIoContent = function() {
26308
+ return this.setIoContent(undefined);
26309
+ };
26310
+
26311
+
26312
+ /**
26313
+ * Returns whether this field is set.
26314
+ * @return {boolean}
26315
+ */
26316
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.hasIoContent = function() {
26317
+ return jspb.Message.getField(this, 3) != null;
26318
+ };
26319
+
26320
+
26321
+ /**
26322
+ * optional google.protobuf.StringValue size = 4;
26323
+ * @return {?proto.google.protobuf.StringValue}
26324
+ */
26325
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.getSize = function() {
26326
+ return /** @type{?proto.google.protobuf.StringValue} */ (
26327
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
26328
+ };
26329
+
26330
+
26331
+ /**
26332
+ * @param {?proto.google.protobuf.StringValue|undefined} value
26333
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume} returns this
26334
+ */
26335
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.setSize = function(value) {
26336
+ return jspb.Message.setWrapperField(this, 4, value);
26337
+ };
26338
+
26339
+
26340
+ /**
26341
+ * Clears the message field making it undefined.
26342
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume} returns this
26343
+ */
26344
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.clearSize = function() {
26345
+ return this.setSize(undefined);
26346
+ };
26347
+
26348
+
26349
+ /**
26350
+ * Returns whether this field is set.
26351
+ * @return {boolean}
26352
+ */
26353
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.hasSize = function() {
26354
+ return jspb.Message.getField(this, 4) != null;
26355
+ };
26356
+
26357
+
26358
+ /**
26359
+ * optional google.protobuf.StringValue size_in_bytes = 5;
26360
+ * @return {?proto.google.protobuf.StringValue}
26361
+ */
26362
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.getSizeInBytes = function() {
26363
+ return /** @type{?proto.google.protobuf.StringValue} */ (
26364
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
26365
+ };
26366
+
26367
+
26368
+ /**
26369
+ * @param {?proto.google.protobuf.StringValue|undefined} value
26370
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume} returns this
26371
+ */
26372
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.setSizeInBytes = function(value) {
26373
+ return jspb.Message.setWrapperField(this, 5, value);
26374
+ };
26375
+
26376
+
26377
+ /**
26378
+ * Clears the message field making it undefined.
26379
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume} returns this
26380
+ */
26381
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.clearSizeInBytes = function() {
26382
+ return this.setSizeInBytes(undefined);
26383
+ };
26384
+
26385
+
26386
+ /**
26387
+ * Returns whether this field is set.
26388
+ * @return {boolean}
26389
+ */
26390
+ proto.com.lansweeper.discovery.sensor.mac.v1.NVMExpressVolume.prototype.hasSizeInBytes = function() {
26391
+ return jspb.Message.getField(this, 5) != null;
26392
+ };
26393
+
26394
+
24155
26395
  goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.mac.v1);