@lansweeper/discovery-sensor-proto 2.44.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.
@@ -37,6 +37,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice'
37
37
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Camera', null, global);
38
38
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.CardReader', null, global);
39
39
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia', null, global);
40
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics', null, global);
40
41
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning', null, global);
41
42
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Display', null, global);
42
43
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Firewire', null, global);
@@ -47,13 +48,17 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo', n
47
48
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacBluetooth', null, global);
48
49
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera', null, global);
49
50
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader', null, global);
51
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacController', null, global);
52
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics', null, global);
50
53
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning', null, global);
51
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);
52
56
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewall', null, global);
53
57
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire', null, global);
54
58
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacHardDisk', null, global);
55
59
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory', null, global);
56
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);
57
62
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacNetwork', null, global);
58
63
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacNetworkVolume', null, global);
59
64
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacOpenPorts', null, global);
@@ -63,6 +68,8 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacSoftware', nu
63
68
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Memory', null, global);
64
69
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Modem', null, global);
65
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);
66
73
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Network', null, global);
67
74
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkAppleTalk', null, global);
68
75
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkDhcp', null, global);
@@ -1169,6 +1176,153 @@ if (goog.DEBUG && !COMPILED) {
1169
1176
  */
1170
1177
  proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.CardReader';
1171
1178
  }
1179
+ /**
1180
+ * Generated by JsPbCodeGenerator.
1181
+ * @param {Array=} opt_data Optional initial data array, typically from a
1182
+ * server response, or constructed directly in Javascript. The array is used
1183
+ * in place and becomes part of the constructed object. It is not cloned.
1184
+ * If no data is provided, the constructed object will be empty, but still
1185
+ * valid.
1186
+ * @extends {jspb.Message}
1187
+ * @constructor
1188
+ */
1189
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController = function(opt_data) {
1190
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1191
+ };
1192
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacController, jspb.Message);
1193
+ if (goog.DEBUG && !COMPILED) {
1194
+ /**
1195
+ * @public
1196
+ * @override
1197
+ */
1198
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacController';
1199
+ }
1200
+ /**
1201
+ * Generated by JsPbCodeGenerator.
1202
+ * @param {Array=} opt_data Optional initial data array, typically from a
1203
+ * server response, or constructed directly in Javascript. The array is used
1204
+ * in place and becomes part of the constructed object. It is not cloned.
1205
+ * If no data is provided, the constructed object will be empty, but still
1206
+ * valid.
1207
+ * @extends {jspb.Message}
1208
+ * @constructor
1209
+ */
1210
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics = function(opt_data) {
1211
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.repeatedFields_, null);
1212
+ };
1213
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics, jspb.Message);
1214
+ if (goog.DEBUG && !COMPILED) {
1215
+ /**
1216
+ * @public
1217
+ * @override
1218
+ */
1219
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics';
1220
+ }
1221
+ /**
1222
+ * Generated by JsPbCodeGenerator.
1223
+ * @param {Array=} opt_data Optional initial data array, typically from a
1224
+ * server response, or constructed directly in Javascript. The array is used
1225
+ * in place and becomes part of the constructed object. It is not cloned.
1226
+ * If no data is provided, the constructed object will be empty, but still
1227
+ * valid.
1228
+ * @extends {jspb.Message}
1229
+ * @constructor
1230
+ */
1231
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics = function(opt_data) {
1232
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1233
+ };
1234
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics, jspb.Message);
1235
+ if (goog.DEBUG && !COMPILED) {
1236
+ /**
1237
+ * @public
1238
+ * @override
1239
+ */
1240
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics';
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
+ }
1172
1326
 
1173
1327
  /**
1174
1328
  * List of repeated fields within this message type.
@@ -22961,4 +23115,3281 @@ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.hasVendorId =
22961
23115
  };
22962
23116
 
22963
23117
 
23118
+
23119
+
23120
+
23121
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23122
+ /**
23123
+ * Creates an object representation of this proto.
23124
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23125
+ * Optional fields that are not set will be set to undefined.
23126
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23127
+ * For the list of reserved names please see:
23128
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23129
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23130
+ * JSPB instance for transitional soy proto support:
23131
+ * http://goto/soy-param-migration
23132
+ * @return {!Object}
23133
+ */
23134
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.toObject = function(opt_includeInstance) {
23135
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacController.toObject(opt_includeInstance, this);
23136
+ };
23137
+
23138
+
23139
+ /**
23140
+ * Static version of the {@see toObject} method.
23141
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23142
+ * the JSPB instance for transitional soy proto support:
23143
+ * http://goto/soy-param-migration
23144
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} msg The msg instance to transform.
23145
+ * @return {!Object}
23146
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23147
+ */
23148
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.toObject = function(includeInstance, msg) {
23149
+ var f, obj = {
23150
+ bootUuid: (f = msg.getBootUuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23151
+ firmwareVersion: (f = msg.getFirmwareVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23152
+ extraBootPolicies: (f = msg.getExtraBootPolicies()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23153
+ modelIdentifier: (f = msg.getModelIdentifier()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23154
+ bootArgsFiltering: (f = msg.getBootArgsFiltering()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23155
+ kernelCtrr: (f = msg.getKernelCtrr()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23156
+ deviceMdmOperations: (f = msg.getDeviceMdmOperations()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23157
+ userMdmOperations: (f = msg.getUserMdmOperations()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23158
+ otherKernelExtensions: (f = msg.getOtherKernelExtensions()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23159
+ systemIntegrityProtection: (f = msg.getSystemIntegrityProtection()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23160
+ signedSystemVolume: (f = msg.getSignedSystemVolume()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23161
+ secureBoot: (f = msg.getSecureBoot()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
23162
+ };
23163
+
23164
+ if (includeInstance) {
23165
+ obj.$jspbMessageInstance = msg;
23166
+ }
23167
+ return obj;
23168
+ };
23169
+ }
23170
+
23171
+
23172
+ /**
23173
+ * Deserializes binary data (in protobuf wire format).
23174
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23175
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController}
23176
+ */
23177
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.deserializeBinary = function(bytes) {
23178
+ var reader = new jspb.BinaryReader(bytes);
23179
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacController;
23180
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacController.deserializeBinaryFromReader(msg, reader);
23181
+ };
23182
+
23183
+
23184
+ /**
23185
+ * Deserializes binary data (in protobuf wire format) from the
23186
+ * given reader into the given message object.
23187
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} msg The message object to deserialize into.
23188
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23189
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController}
23190
+ */
23191
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.deserializeBinaryFromReader = function(msg, reader) {
23192
+ while (reader.nextField()) {
23193
+ if (reader.isEndGroup()) {
23194
+ break;
23195
+ }
23196
+ var field = reader.getFieldNumber();
23197
+ switch (field) {
23198
+ case 1:
23199
+ var value = new google_protobuf_wrappers_pb.StringValue;
23200
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23201
+ msg.setBootUuid(value);
23202
+ break;
23203
+ case 2:
23204
+ var value = new google_protobuf_wrappers_pb.StringValue;
23205
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23206
+ msg.setFirmwareVersion(value);
23207
+ break;
23208
+ case 3:
23209
+ var value = new google_protobuf_wrappers_pb.StringValue;
23210
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23211
+ msg.setExtraBootPolicies(value);
23212
+ break;
23213
+ case 4:
23214
+ var value = new google_protobuf_wrappers_pb.StringValue;
23215
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23216
+ msg.setModelIdentifier(value);
23217
+ break;
23218
+ case 5:
23219
+ var value = new google_protobuf_wrappers_pb.StringValue;
23220
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23221
+ msg.setBootArgsFiltering(value);
23222
+ break;
23223
+ case 6:
23224
+ var value = new google_protobuf_wrappers_pb.StringValue;
23225
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23226
+ msg.setKernelCtrr(value);
23227
+ break;
23228
+ case 7:
23229
+ var value = new google_protobuf_wrappers_pb.StringValue;
23230
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23231
+ msg.setDeviceMdmOperations(value);
23232
+ break;
23233
+ case 8:
23234
+ var value = new google_protobuf_wrappers_pb.StringValue;
23235
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23236
+ msg.setUserMdmOperations(value);
23237
+ break;
23238
+ case 9:
23239
+ var value = new google_protobuf_wrappers_pb.StringValue;
23240
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23241
+ msg.setOtherKernelExtensions(value);
23242
+ break;
23243
+ case 10:
23244
+ var value = new google_protobuf_wrappers_pb.StringValue;
23245
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23246
+ msg.setSystemIntegrityProtection(value);
23247
+ break;
23248
+ case 11:
23249
+ var value = new google_protobuf_wrappers_pb.StringValue;
23250
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23251
+ msg.setSignedSystemVolume(value);
23252
+ break;
23253
+ case 12:
23254
+ var value = new google_protobuf_wrappers_pb.StringValue;
23255
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23256
+ msg.setSecureBoot(value);
23257
+ break;
23258
+ default:
23259
+ reader.skipField();
23260
+ break;
23261
+ }
23262
+ }
23263
+ return msg;
23264
+ };
23265
+
23266
+
23267
+ /**
23268
+ * Serializes the message to binary data (in protobuf wire format).
23269
+ * @return {!Uint8Array}
23270
+ */
23271
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.serializeBinary = function() {
23272
+ var writer = new jspb.BinaryWriter();
23273
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.serializeBinaryToWriter(this, writer);
23274
+ return writer.getResultBuffer();
23275
+ };
23276
+
23277
+
23278
+ /**
23279
+ * Serializes the given message to binary data (in protobuf wire
23280
+ * format), writing to the given BinaryWriter.
23281
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} message
23282
+ * @param {!jspb.BinaryWriter} writer
23283
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23284
+ */
23285
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.serializeBinaryToWriter = function(message, writer) {
23286
+ var f = undefined;
23287
+ f = message.getBootUuid();
23288
+ if (f != null) {
23289
+ writer.writeMessage(
23290
+ 1,
23291
+ f,
23292
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23293
+ );
23294
+ }
23295
+ f = message.getFirmwareVersion();
23296
+ if (f != null) {
23297
+ writer.writeMessage(
23298
+ 2,
23299
+ f,
23300
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23301
+ );
23302
+ }
23303
+ f = message.getExtraBootPolicies();
23304
+ if (f != null) {
23305
+ writer.writeMessage(
23306
+ 3,
23307
+ f,
23308
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23309
+ );
23310
+ }
23311
+ f = message.getModelIdentifier();
23312
+ if (f != null) {
23313
+ writer.writeMessage(
23314
+ 4,
23315
+ f,
23316
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23317
+ );
23318
+ }
23319
+ f = message.getBootArgsFiltering();
23320
+ if (f != null) {
23321
+ writer.writeMessage(
23322
+ 5,
23323
+ f,
23324
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23325
+ );
23326
+ }
23327
+ f = message.getKernelCtrr();
23328
+ if (f != null) {
23329
+ writer.writeMessage(
23330
+ 6,
23331
+ f,
23332
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23333
+ );
23334
+ }
23335
+ f = message.getDeviceMdmOperations();
23336
+ if (f != null) {
23337
+ writer.writeMessage(
23338
+ 7,
23339
+ f,
23340
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23341
+ );
23342
+ }
23343
+ f = message.getUserMdmOperations();
23344
+ if (f != null) {
23345
+ writer.writeMessage(
23346
+ 8,
23347
+ f,
23348
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23349
+ );
23350
+ }
23351
+ f = message.getOtherKernelExtensions();
23352
+ if (f != null) {
23353
+ writer.writeMessage(
23354
+ 9,
23355
+ f,
23356
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23357
+ );
23358
+ }
23359
+ f = message.getSystemIntegrityProtection();
23360
+ if (f != null) {
23361
+ writer.writeMessage(
23362
+ 10,
23363
+ f,
23364
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23365
+ );
23366
+ }
23367
+ f = message.getSignedSystemVolume();
23368
+ if (f != null) {
23369
+ writer.writeMessage(
23370
+ 11,
23371
+ f,
23372
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23373
+ );
23374
+ }
23375
+ f = message.getSecureBoot();
23376
+ if (f != null) {
23377
+ writer.writeMessage(
23378
+ 12,
23379
+ f,
23380
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23381
+ );
23382
+ }
23383
+ };
23384
+
23385
+
23386
+ /**
23387
+ * optional google.protobuf.StringValue boot_uuid = 1;
23388
+ * @return {?proto.google.protobuf.StringValue}
23389
+ */
23390
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getBootUuid = function() {
23391
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23392
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
23393
+ };
23394
+
23395
+
23396
+ /**
23397
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23398
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23399
+ */
23400
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setBootUuid = function(value) {
23401
+ return jspb.Message.setWrapperField(this, 1, value);
23402
+ };
23403
+
23404
+
23405
+ /**
23406
+ * Clears the message field making it undefined.
23407
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23408
+ */
23409
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearBootUuid = function() {
23410
+ return this.setBootUuid(undefined);
23411
+ };
23412
+
23413
+
23414
+ /**
23415
+ * Returns whether this field is set.
23416
+ * @return {boolean}
23417
+ */
23418
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasBootUuid = function() {
23419
+ return jspb.Message.getField(this, 1) != null;
23420
+ };
23421
+
23422
+
23423
+ /**
23424
+ * optional google.protobuf.StringValue firmware_version = 2;
23425
+ * @return {?proto.google.protobuf.StringValue}
23426
+ */
23427
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getFirmwareVersion = function() {
23428
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23429
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
23430
+ };
23431
+
23432
+
23433
+ /**
23434
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23435
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23436
+ */
23437
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setFirmwareVersion = function(value) {
23438
+ return jspb.Message.setWrapperField(this, 2, value);
23439
+ };
23440
+
23441
+
23442
+ /**
23443
+ * Clears the message field making it undefined.
23444
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23445
+ */
23446
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearFirmwareVersion = function() {
23447
+ return this.setFirmwareVersion(undefined);
23448
+ };
23449
+
23450
+
23451
+ /**
23452
+ * Returns whether this field is set.
23453
+ * @return {boolean}
23454
+ */
23455
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasFirmwareVersion = function() {
23456
+ return jspb.Message.getField(this, 2) != null;
23457
+ };
23458
+
23459
+
23460
+ /**
23461
+ * optional google.protobuf.StringValue extra_boot_policies = 3;
23462
+ * @return {?proto.google.protobuf.StringValue}
23463
+ */
23464
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getExtraBootPolicies = function() {
23465
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23466
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
23467
+ };
23468
+
23469
+
23470
+ /**
23471
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23472
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23473
+ */
23474
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setExtraBootPolicies = function(value) {
23475
+ return jspb.Message.setWrapperField(this, 3, value);
23476
+ };
23477
+
23478
+
23479
+ /**
23480
+ * Clears the message field making it undefined.
23481
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23482
+ */
23483
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearExtraBootPolicies = function() {
23484
+ return this.setExtraBootPolicies(undefined);
23485
+ };
23486
+
23487
+
23488
+ /**
23489
+ * Returns whether this field is set.
23490
+ * @return {boolean}
23491
+ */
23492
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasExtraBootPolicies = function() {
23493
+ return jspb.Message.getField(this, 3) != null;
23494
+ };
23495
+
23496
+
23497
+ /**
23498
+ * optional google.protobuf.StringValue model_identifier = 4;
23499
+ * @return {?proto.google.protobuf.StringValue}
23500
+ */
23501
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getModelIdentifier = function() {
23502
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23503
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
23504
+ };
23505
+
23506
+
23507
+ /**
23508
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23509
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23510
+ */
23511
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setModelIdentifier = function(value) {
23512
+ return jspb.Message.setWrapperField(this, 4, value);
23513
+ };
23514
+
23515
+
23516
+ /**
23517
+ * Clears the message field making it undefined.
23518
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23519
+ */
23520
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearModelIdentifier = function() {
23521
+ return this.setModelIdentifier(undefined);
23522
+ };
23523
+
23524
+
23525
+ /**
23526
+ * Returns whether this field is set.
23527
+ * @return {boolean}
23528
+ */
23529
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasModelIdentifier = function() {
23530
+ return jspb.Message.getField(this, 4) != null;
23531
+ };
23532
+
23533
+
23534
+ /**
23535
+ * optional google.protobuf.StringValue boot_args_filtering = 5;
23536
+ * @return {?proto.google.protobuf.StringValue}
23537
+ */
23538
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getBootArgsFiltering = function() {
23539
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23540
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
23541
+ };
23542
+
23543
+
23544
+ /**
23545
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23546
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23547
+ */
23548
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setBootArgsFiltering = function(value) {
23549
+ return jspb.Message.setWrapperField(this, 5, value);
23550
+ };
23551
+
23552
+
23553
+ /**
23554
+ * Clears the message field making it undefined.
23555
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23556
+ */
23557
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearBootArgsFiltering = function() {
23558
+ return this.setBootArgsFiltering(undefined);
23559
+ };
23560
+
23561
+
23562
+ /**
23563
+ * Returns whether this field is set.
23564
+ * @return {boolean}
23565
+ */
23566
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasBootArgsFiltering = function() {
23567
+ return jspb.Message.getField(this, 5) != null;
23568
+ };
23569
+
23570
+
23571
+ /**
23572
+ * optional google.protobuf.StringValue kernel_ctrr = 6;
23573
+ * @return {?proto.google.protobuf.StringValue}
23574
+ */
23575
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getKernelCtrr = function() {
23576
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23577
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
23578
+ };
23579
+
23580
+
23581
+ /**
23582
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23583
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23584
+ */
23585
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setKernelCtrr = function(value) {
23586
+ return jspb.Message.setWrapperField(this, 6, value);
23587
+ };
23588
+
23589
+
23590
+ /**
23591
+ * Clears the message field making it undefined.
23592
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23593
+ */
23594
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearKernelCtrr = function() {
23595
+ return this.setKernelCtrr(undefined);
23596
+ };
23597
+
23598
+
23599
+ /**
23600
+ * Returns whether this field is set.
23601
+ * @return {boolean}
23602
+ */
23603
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasKernelCtrr = function() {
23604
+ return jspb.Message.getField(this, 6) != null;
23605
+ };
23606
+
23607
+
23608
+ /**
23609
+ * optional google.protobuf.StringValue device_mdm_operations = 7;
23610
+ * @return {?proto.google.protobuf.StringValue}
23611
+ */
23612
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getDeviceMdmOperations = function() {
23613
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23614
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
23615
+ };
23616
+
23617
+
23618
+ /**
23619
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23620
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23621
+ */
23622
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setDeviceMdmOperations = function(value) {
23623
+ return jspb.Message.setWrapperField(this, 7, value);
23624
+ };
23625
+
23626
+
23627
+ /**
23628
+ * Clears the message field making it undefined.
23629
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23630
+ */
23631
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearDeviceMdmOperations = function() {
23632
+ return this.setDeviceMdmOperations(undefined);
23633
+ };
23634
+
23635
+
23636
+ /**
23637
+ * Returns whether this field is set.
23638
+ * @return {boolean}
23639
+ */
23640
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasDeviceMdmOperations = function() {
23641
+ return jspb.Message.getField(this, 7) != null;
23642
+ };
23643
+
23644
+
23645
+ /**
23646
+ * optional google.protobuf.StringValue user_mdm_operations = 8;
23647
+ * @return {?proto.google.protobuf.StringValue}
23648
+ */
23649
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getUserMdmOperations = function() {
23650
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23651
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
23652
+ };
23653
+
23654
+
23655
+ /**
23656
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23657
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23658
+ */
23659
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setUserMdmOperations = function(value) {
23660
+ return jspb.Message.setWrapperField(this, 8, value);
23661
+ };
23662
+
23663
+
23664
+ /**
23665
+ * Clears the message field making it undefined.
23666
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23667
+ */
23668
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearUserMdmOperations = function() {
23669
+ return this.setUserMdmOperations(undefined);
23670
+ };
23671
+
23672
+
23673
+ /**
23674
+ * Returns whether this field is set.
23675
+ * @return {boolean}
23676
+ */
23677
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasUserMdmOperations = function() {
23678
+ return jspb.Message.getField(this, 8) != null;
23679
+ };
23680
+
23681
+
23682
+ /**
23683
+ * optional google.protobuf.StringValue other_kernel_extensions = 9;
23684
+ * @return {?proto.google.protobuf.StringValue}
23685
+ */
23686
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getOtherKernelExtensions = function() {
23687
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23688
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 9));
23689
+ };
23690
+
23691
+
23692
+ /**
23693
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23694
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23695
+ */
23696
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setOtherKernelExtensions = function(value) {
23697
+ return jspb.Message.setWrapperField(this, 9, value);
23698
+ };
23699
+
23700
+
23701
+ /**
23702
+ * Clears the message field making it undefined.
23703
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23704
+ */
23705
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearOtherKernelExtensions = function() {
23706
+ return this.setOtherKernelExtensions(undefined);
23707
+ };
23708
+
23709
+
23710
+ /**
23711
+ * Returns whether this field is set.
23712
+ * @return {boolean}
23713
+ */
23714
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasOtherKernelExtensions = function() {
23715
+ return jspb.Message.getField(this, 9) != null;
23716
+ };
23717
+
23718
+
23719
+ /**
23720
+ * optional google.protobuf.StringValue system_integrity_protection = 10;
23721
+ * @return {?proto.google.protobuf.StringValue}
23722
+ */
23723
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getSystemIntegrityProtection = function() {
23724
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23725
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 10));
23726
+ };
23727
+
23728
+
23729
+ /**
23730
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23731
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23732
+ */
23733
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setSystemIntegrityProtection = function(value) {
23734
+ return jspb.Message.setWrapperField(this, 10, value);
23735
+ };
23736
+
23737
+
23738
+ /**
23739
+ * Clears the message field making it undefined.
23740
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23741
+ */
23742
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearSystemIntegrityProtection = function() {
23743
+ return this.setSystemIntegrityProtection(undefined);
23744
+ };
23745
+
23746
+
23747
+ /**
23748
+ * Returns whether this field is set.
23749
+ * @return {boolean}
23750
+ */
23751
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasSystemIntegrityProtection = function() {
23752
+ return jspb.Message.getField(this, 10) != null;
23753
+ };
23754
+
23755
+
23756
+ /**
23757
+ * optional google.protobuf.StringValue signed_system_volume = 11;
23758
+ * @return {?proto.google.protobuf.StringValue}
23759
+ */
23760
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getSignedSystemVolume = function() {
23761
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23762
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 11));
23763
+ };
23764
+
23765
+
23766
+ /**
23767
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23768
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23769
+ */
23770
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setSignedSystemVolume = function(value) {
23771
+ return jspb.Message.setWrapperField(this, 11, value);
23772
+ };
23773
+
23774
+
23775
+ /**
23776
+ * Clears the message field making it undefined.
23777
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23778
+ */
23779
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearSignedSystemVolume = function() {
23780
+ return this.setSignedSystemVolume(undefined);
23781
+ };
23782
+
23783
+
23784
+ /**
23785
+ * Returns whether this field is set.
23786
+ * @return {boolean}
23787
+ */
23788
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasSignedSystemVolume = function() {
23789
+ return jspb.Message.getField(this, 11) != null;
23790
+ };
23791
+
23792
+
23793
+ /**
23794
+ * optional google.protobuf.StringValue secure_boot = 12;
23795
+ * @return {?proto.google.protobuf.StringValue}
23796
+ */
23797
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getSecureBoot = function() {
23798
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23799
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 12));
23800
+ };
23801
+
23802
+
23803
+ /**
23804
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23805
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23806
+ */
23807
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setSecureBoot = function(value) {
23808
+ return jspb.Message.setWrapperField(this, 12, value);
23809
+ };
23810
+
23811
+
23812
+ /**
23813
+ * Clears the message field making it undefined.
23814
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23815
+ */
23816
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearSecureBoot = function() {
23817
+ return this.setSecureBoot(undefined);
23818
+ };
23819
+
23820
+
23821
+ /**
23822
+ * Returns whether this field is set.
23823
+ * @return {boolean}
23824
+ */
23825
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasSecureBoot = function() {
23826
+ return jspb.Message.getField(this, 12) != null;
23827
+ };
23828
+
23829
+
23830
+
23831
+ /**
23832
+ * List of repeated fields within this message type.
23833
+ * @private {!Array<number>}
23834
+ * @const
23835
+ */
23836
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.repeatedFields_ = [1];
23837
+
23838
+
23839
+
23840
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23841
+ /**
23842
+ * Creates an object representation of this proto.
23843
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23844
+ * Optional fields that are not set will be set to undefined.
23845
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23846
+ * For the list of reserved names please see:
23847
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23848
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23849
+ * JSPB instance for transitional soy proto support:
23850
+ * http://goto/soy-param-migration
23851
+ * @return {!Object}
23852
+ */
23853
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.prototype.toObject = function(opt_includeInstance) {
23854
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.toObject(opt_includeInstance, this);
23855
+ };
23856
+
23857
+
23858
+ /**
23859
+ * Static version of the {@see toObject} method.
23860
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23861
+ * the JSPB instance for transitional soy proto support:
23862
+ * http://goto/soy-param-migration
23863
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics} msg The msg instance to transform.
23864
+ * @return {!Object}
23865
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23866
+ */
23867
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.toObject = function(includeInstance, msg) {
23868
+ var f, obj = {
23869
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
23870
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.toObject, includeInstance)
23871
+ };
23872
+
23873
+ if (includeInstance) {
23874
+ obj.$jspbMessageInstance = msg;
23875
+ }
23876
+ return obj;
23877
+ };
23878
+ }
23879
+
23880
+
23881
+ /**
23882
+ * Deserializes binary data (in protobuf wire format).
23883
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23884
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics}
23885
+ */
23886
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.deserializeBinary = function(bytes) {
23887
+ var reader = new jspb.BinaryReader(bytes);
23888
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics;
23889
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.deserializeBinaryFromReader(msg, reader);
23890
+ };
23891
+
23892
+
23893
+ /**
23894
+ * Deserializes binary data (in protobuf wire format) from the
23895
+ * given reader into the given message object.
23896
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics} msg The message object to deserialize into.
23897
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23898
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics}
23899
+ */
23900
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.deserializeBinaryFromReader = function(msg, reader) {
23901
+ while (reader.nextField()) {
23902
+ if (reader.isEndGroup()) {
23903
+ break;
23904
+ }
23905
+ var field = reader.getFieldNumber();
23906
+ switch (field) {
23907
+ case 1:
23908
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics;
23909
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.deserializeBinaryFromReader);
23910
+ msg.addEntries(value);
23911
+ break;
23912
+ default:
23913
+ reader.skipField();
23914
+ break;
23915
+ }
23916
+ }
23917
+ return msg;
23918
+ };
23919
+
23920
+
23921
+ /**
23922
+ * Serializes the message to binary data (in protobuf wire format).
23923
+ * @return {!Uint8Array}
23924
+ */
23925
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.prototype.serializeBinary = function() {
23926
+ var writer = new jspb.BinaryWriter();
23927
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.serializeBinaryToWriter(this, writer);
23928
+ return writer.getResultBuffer();
23929
+ };
23930
+
23931
+
23932
+ /**
23933
+ * Serializes the given message to binary data (in protobuf wire
23934
+ * format), writing to the given BinaryWriter.
23935
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics} message
23936
+ * @param {!jspb.BinaryWriter} writer
23937
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23938
+ */
23939
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.serializeBinaryToWriter = function(message, writer) {
23940
+ var f = undefined;
23941
+ f = message.getEntriesList();
23942
+ if (f.length > 0) {
23943
+ writer.writeRepeatedMessage(
23944
+ 1,
23945
+ f,
23946
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.serializeBinaryToWriter
23947
+ );
23948
+ }
23949
+ };
23950
+
23951
+
23952
+ /**
23953
+ * repeated Diagnostics entries = 1;
23954
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics>}
23955
+ */
23956
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.prototype.getEntriesList = function() {
23957
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics>} */ (
23958
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics, 1));
23959
+ };
23960
+
23961
+
23962
+ /**
23963
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics>} value
23964
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics} returns this
23965
+ */
23966
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.prototype.setEntriesList = function(value) {
23967
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
23968
+ };
23969
+
23970
+
23971
+ /**
23972
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics=} opt_value
23973
+ * @param {number=} opt_index
23974
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics}
23975
+ */
23976
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.prototype.addEntries = function(opt_value, opt_index) {
23977
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics, opt_index);
23978
+ };
23979
+
23980
+
23981
+ /**
23982
+ * Clears the list making it empty but non-null.
23983
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics} returns this
23984
+ */
23985
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.prototype.clearEntriesList = function() {
23986
+ return this.setEntriesList([]);
23987
+ };
23988
+
23989
+
23990
+
23991
+
23992
+
23993
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23994
+ /**
23995
+ * Creates an object representation of this proto.
23996
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23997
+ * Optional fields that are not set will be set to undefined.
23998
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23999
+ * For the list of reserved names please see:
24000
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
24001
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
24002
+ * JSPB instance for transitional soy proto support:
24003
+ * http://goto/soy-param-migration
24004
+ * @return {!Object}
24005
+ */
24006
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.toObject = function(opt_includeInstance) {
24007
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.toObject(opt_includeInstance, this);
24008
+ };
24009
+
24010
+
24011
+ /**
24012
+ * Static version of the {@see toObject} method.
24013
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24014
+ * the JSPB instance for transitional soy proto support:
24015
+ * http://goto/soy-param-migration
24016
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics} msg The msg instance to transform.
24017
+ * @return {!Object}
24018
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24019
+ */
24020
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.toObject = function(includeInstance, msg) {
24021
+ var f, obj = {
24022
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
24023
+ lastRun: (f = msg.getLastRun()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
24024
+ result: (f = msg.getResult()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
24025
+ };
24026
+
24027
+ if (includeInstance) {
24028
+ obj.$jspbMessageInstance = msg;
24029
+ }
24030
+ return obj;
24031
+ };
24032
+ }
24033
+
24034
+
24035
+ /**
24036
+ * Deserializes binary data (in protobuf wire format).
24037
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
24038
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics}
24039
+ */
24040
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.deserializeBinary = function(bytes) {
24041
+ var reader = new jspb.BinaryReader(bytes);
24042
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics;
24043
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.deserializeBinaryFromReader(msg, reader);
24044
+ };
24045
+
24046
+
24047
+ /**
24048
+ * Deserializes binary data (in protobuf wire format) from the
24049
+ * given reader into the given message object.
24050
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics} msg The message object to deserialize into.
24051
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24052
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics}
24053
+ */
24054
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.deserializeBinaryFromReader = function(msg, reader) {
24055
+ while (reader.nextField()) {
24056
+ if (reader.isEndGroup()) {
24057
+ break;
24058
+ }
24059
+ var field = reader.getFieldNumber();
24060
+ switch (field) {
24061
+ case 1:
24062
+ var value = new google_protobuf_wrappers_pb.StringValue;
24063
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
24064
+ msg.setName(value);
24065
+ break;
24066
+ case 2:
24067
+ var value = new google_protobuf_wrappers_pb.StringValue;
24068
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
24069
+ msg.setLastRun(value);
24070
+ break;
24071
+ case 3:
24072
+ var value = new google_protobuf_wrappers_pb.StringValue;
24073
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
24074
+ msg.setResult(value);
24075
+ break;
24076
+ default:
24077
+ reader.skipField();
24078
+ break;
24079
+ }
24080
+ }
24081
+ return msg;
24082
+ };
24083
+
24084
+
24085
+ /**
24086
+ * Serializes the message to binary data (in protobuf wire format).
24087
+ * @return {!Uint8Array}
24088
+ */
24089
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.serializeBinary = function() {
24090
+ var writer = new jspb.BinaryWriter();
24091
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.serializeBinaryToWriter(this, writer);
24092
+ return writer.getResultBuffer();
24093
+ };
24094
+
24095
+
24096
+ /**
24097
+ * Serializes the given message to binary data (in protobuf wire
24098
+ * format), writing to the given BinaryWriter.
24099
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics} message
24100
+ * @param {!jspb.BinaryWriter} writer
24101
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24102
+ */
24103
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.serializeBinaryToWriter = function(message, writer) {
24104
+ var f = undefined;
24105
+ f = message.getName();
24106
+ if (f != null) {
24107
+ writer.writeMessage(
24108
+ 1,
24109
+ f,
24110
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24111
+ );
24112
+ }
24113
+ f = message.getLastRun();
24114
+ if (f != null) {
24115
+ writer.writeMessage(
24116
+ 2,
24117
+ f,
24118
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24119
+ );
24120
+ }
24121
+ f = message.getResult();
24122
+ if (f != null) {
24123
+ writer.writeMessage(
24124
+ 3,
24125
+ f,
24126
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24127
+ );
24128
+ }
24129
+ };
24130
+
24131
+
24132
+ /**
24133
+ * optional google.protobuf.StringValue name = 1;
24134
+ * @return {?proto.google.protobuf.StringValue}
24135
+ */
24136
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.getName = function() {
24137
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24138
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
24139
+ };
24140
+
24141
+
24142
+ /**
24143
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24144
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics} returns this
24145
+ */
24146
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.setName = function(value) {
24147
+ return jspb.Message.setWrapperField(this, 1, value);
24148
+ };
24149
+
24150
+
24151
+ /**
24152
+ * Clears the message field making it undefined.
24153
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics} returns this
24154
+ */
24155
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.clearName = function() {
24156
+ return this.setName(undefined);
24157
+ };
24158
+
24159
+
24160
+ /**
24161
+ * Returns whether this field is set.
24162
+ * @return {boolean}
24163
+ */
24164
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.hasName = function() {
24165
+ return jspb.Message.getField(this, 1) != null;
24166
+ };
24167
+
24168
+
24169
+ /**
24170
+ * optional google.protobuf.StringValue last_run = 2;
24171
+ * @return {?proto.google.protobuf.StringValue}
24172
+ */
24173
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.getLastRun = function() {
24174
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24175
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
24176
+ };
24177
+
24178
+
24179
+ /**
24180
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24181
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics} returns this
24182
+ */
24183
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.setLastRun = function(value) {
24184
+ return jspb.Message.setWrapperField(this, 2, value);
24185
+ };
24186
+
24187
+
24188
+ /**
24189
+ * Clears the message field making it undefined.
24190
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics} returns this
24191
+ */
24192
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.clearLastRun = function() {
24193
+ return this.setLastRun(undefined);
24194
+ };
24195
+
24196
+
24197
+ /**
24198
+ * Returns whether this field is set.
24199
+ * @return {boolean}
24200
+ */
24201
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.hasLastRun = function() {
24202
+ return jspb.Message.getField(this, 2) != null;
24203
+ };
24204
+
24205
+
24206
+ /**
24207
+ * optional google.protobuf.StringValue result = 3;
24208
+ * @return {?proto.google.protobuf.StringValue}
24209
+ */
24210
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.getResult = function() {
24211
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24212
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
24213
+ };
24214
+
24215
+
24216
+ /**
24217
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24218
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics} returns this
24219
+ */
24220
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.setResult = function(value) {
24221
+ return jspb.Message.setWrapperField(this, 3, value);
24222
+ };
24223
+
24224
+
24225
+ /**
24226
+ * Clears the message field making it undefined.
24227
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics} returns this
24228
+ */
24229
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.clearResult = function() {
24230
+ return this.setResult(undefined);
24231
+ };
24232
+
24233
+
24234
+ /**
24235
+ * Returns whether this field is set.
24236
+ * @return {boolean}
24237
+ */
24238
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.hasResult = function() {
24239
+ return jspb.Message.getField(this, 3) != null;
24240
+ };
24241
+
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
+
22964
26395
  goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.mac.v1);