@lansweeper/discovery-sensor-proto 2.31.2 → 2.33.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.
- package/gen-proto/discovery_sections_mac_pb.d.ts +5 -5
- package/gen-proto/discovery_sections_mac_pb.js +9 -9
- package/gen-proto/discovery_sections_ot_pb.d.ts +54 -51
- package/gen-proto/discovery_sections_ot_pb.js +198 -168
- package/gen-proto/image.json +1 -1
- package/package.json +2 -2
- package/proto/discovery_sections_mac.proto +1 -1
- package/proto/discovery_sections_ot.proto +12 -11
|
@@ -25,12 +25,12 @@ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/time
|
|
|
25
25
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
26
26
|
var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
|
|
27
27
|
goog.object.extend(proto, google_protobuf_wrappers_pb);
|
|
28
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig', null, global);
|
|
29
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData', null, global);
|
|
28
30
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData', null, global);
|
|
29
31
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.ot.v1.ModuleExtendedInformation', null, global);
|
|
30
32
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.ot.v1.OtBasicInfo', null, global);
|
|
31
33
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.ot.v1.OtScanConfigData', null, global);
|
|
32
|
-
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig', null, global);
|
|
33
|
-
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.ot.v1.RackData', null, global);
|
|
34
34
|
/**
|
|
35
35
|
* Generated by JsPbCodeGenerator.
|
|
36
36
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -83,16 +83,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
83
83
|
* @extends {jspb.Message}
|
|
84
84
|
* @constructor
|
|
85
85
|
*/
|
|
86
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
87
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
86
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData = function(opt_data) {
|
|
87
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData.repeatedFields_, null);
|
|
88
88
|
};
|
|
89
|
-
goog.inherits(proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
89
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData, jspb.Message);
|
|
90
90
|
if (goog.DEBUG && !COMPILED) {
|
|
91
91
|
/**
|
|
92
92
|
* @public
|
|
93
93
|
* @override
|
|
94
94
|
*/
|
|
95
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
95
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData.displayName = 'proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData';
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
98
|
* Generated by JsPbCodeGenerator.
|
|
@@ -104,16 +104,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
104
104
|
* @extends {jspb.Message}
|
|
105
105
|
* @constructor
|
|
106
106
|
*/
|
|
107
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
108
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
107
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig = function(opt_data) {
|
|
108
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.repeatedFields_, null);
|
|
109
109
|
};
|
|
110
|
-
goog.inherits(proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
110
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig, jspb.Message);
|
|
111
111
|
if (goog.DEBUG && !COMPILED) {
|
|
112
112
|
/**
|
|
113
113
|
* @public
|
|
114
114
|
* @override
|
|
115
115
|
*/
|
|
116
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
116
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.displayName = 'proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig';
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
119
|
* Generated by JsPbCodeGenerator.
|
|
@@ -1214,7 +1214,7 @@ proto.com.lansweeper.discovery.sensor.ot.v1.OtScanConfigData.prototype.hasLastSc
|
|
|
1214
1214
|
* @private {!Array<number>}
|
|
1215
1215
|
* @const
|
|
1216
1216
|
*/
|
|
1217
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1217
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData.repeatedFields_ = [1];
|
|
1218
1218
|
|
|
1219
1219
|
|
|
1220
1220
|
|
|
@@ -1231,8 +1231,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1231
1231
|
* http://goto/soy-param-migration
|
|
1232
1232
|
* @return {!Object}
|
|
1233
1233
|
*/
|
|
1234
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1235
|
-
return proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1234
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData.prototype.toObject = function(opt_includeInstance) {
|
|
1235
|
+
return proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData.toObject(opt_includeInstance, this);
|
|
1236
1236
|
};
|
|
1237
1237
|
|
|
1238
1238
|
|
|
@@ -1241,14 +1241,14 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackData.prototype.toObject = functi
|
|
|
1241
1241
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1242
1242
|
* the JSPB instance for transitional soy proto support:
|
|
1243
1243
|
* http://goto/soy-param-migration
|
|
1244
|
-
* @param {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1244
|
+
* @param {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData} msg The msg instance to transform.
|
|
1245
1245
|
* @return {!Object}
|
|
1246
1246
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1247
1247
|
*/
|
|
1248
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1248
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData.toObject = function(includeInstance, msg) {
|
|
1249
1249
|
var f, obj = {
|
|
1250
1250
|
entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
|
|
1251
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1251
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.toObject, includeInstance)
|
|
1252
1252
|
};
|
|
1253
1253
|
|
|
1254
1254
|
if (includeInstance) {
|
|
@@ -1262,23 +1262,23 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackData.toObject = function(include
|
|
|
1262
1262
|
/**
|
|
1263
1263
|
* Deserializes binary data (in protobuf wire format).
|
|
1264
1264
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1265
|
-
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1265
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData}
|
|
1266
1266
|
*/
|
|
1267
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1267
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData.deserializeBinary = function(bytes) {
|
|
1268
1268
|
var reader = new jspb.BinaryReader(bytes);
|
|
1269
|
-
var msg = new proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1270
|
-
return proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1269
|
+
var msg = new proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData;
|
|
1270
|
+
return proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData.deserializeBinaryFromReader(msg, reader);
|
|
1271
1271
|
};
|
|
1272
1272
|
|
|
1273
1273
|
|
|
1274
1274
|
/**
|
|
1275
1275
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1276
1276
|
* given reader into the given message object.
|
|
1277
|
-
* @param {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1277
|
+
* @param {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData} msg The message object to deserialize into.
|
|
1278
1278
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1279
|
-
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1279
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData}
|
|
1280
1280
|
*/
|
|
1281
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1281
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData.deserializeBinaryFromReader = function(msg, reader) {
|
|
1282
1282
|
while (reader.nextField()) {
|
|
1283
1283
|
if (reader.isEndGroup()) {
|
|
1284
1284
|
break;
|
|
@@ -1286,8 +1286,8 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackData.deserializeBinaryFromReader
|
|
|
1286
1286
|
var field = reader.getFieldNumber();
|
|
1287
1287
|
switch (field) {
|
|
1288
1288
|
case 1:
|
|
1289
|
-
var value = new proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1290
|
-
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1289
|
+
var value = new proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig;
|
|
1290
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.deserializeBinaryFromReader);
|
|
1291
1291
|
msg.addEntries(value);
|
|
1292
1292
|
break;
|
|
1293
1293
|
default:
|
|
@@ -1303,9 +1303,9 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackData.deserializeBinaryFromReader
|
|
|
1303
1303
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1304
1304
|
* @return {!Uint8Array}
|
|
1305
1305
|
*/
|
|
1306
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1306
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData.prototype.serializeBinary = function() {
|
|
1307
1307
|
var writer = new jspb.BinaryWriter();
|
|
1308
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1308
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData.serializeBinaryToWriter(this, writer);
|
|
1309
1309
|
return writer.getResultBuffer();
|
|
1310
1310
|
};
|
|
1311
1311
|
|
|
@@ -1313,57 +1313,57 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackData.prototype.serializeBinary =
|
|
|
1313
1313
|
/**
|
|
1314
1314
|
* Serializes the given message to binary data (in protobuf wire
|
|
1315
1315
|
* format), writing to the given BinaryWriter.
|
|
1316
|
-
* @param {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1316
|
+
* @param {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData} message
|
|
1317
1317
|
* @param {!jspb.BinaryWriter} writer
|
|
1318
1318
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1319
1319
|
*/
|
|
1320
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1320
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData.serializeBinaryToWriter = function(message, writer) {
|
|
1321
1321
|
var f = undefined;
|
|
1322
1322
|
f = message.getEntriesList();
|
|
1323
1323
|
if (f.length > 0) {
|
|
1324
1324
|
writer.writeRepeatedMessage(
|
|
1325
1325
|
1,
|
|
1326
1326
|
f,
|
|
1327
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1327
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.serializeBinaryToWriter
|
|
1328
1328
|
);
|
|
1329
1329
|
}
|
|
1330
1330
|
};
|
|
1331
1331
|
|
|
1332
1332
|
|
|
1333
1333
|
/**
|
|
1334
|
-
* repeated
|
|
1335
|
-
* @return {!Array<!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1334
|
+
* repeated BusConfig entries = 1;
|
|
1335
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig>}
|
|
1336
1336
|
*/
|
|
1337
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1338
|
-
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1339
|
-
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1337
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData.prototype.getEntriesList = function() {
|
|
1338
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig>} */ (
|
|
1339
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig, 1));
|
|
1340
1340
|
};
|
|
1341
1341
|
|
|
1342
1342
|
|
|
1343
1343
|
/**
|
|
1344
|
-
* @param {!Array<!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1345
|
-
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1344
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig>} value
|
|
1345
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData} returns this
|
|
1346
1346
|
*/
|
|
1347
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1347
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData.prototype.setEntriesList = function(value) {
|
|
1348
1348
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1349
1349
|
};
|
|
1350
1350
|
|
|
1351
1351
|
|
|
1352
1352
|
/**
|
|
1353
|
-
* @param {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1353
|
+
* @param {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig=} opt_value
|
|
1354
1354
|
* @param {number=} opt_index
|
|
1355
|
-
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1355
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig}
|
|
1356
1356
|
*/
|
|
1357
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1358
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1357
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData.prototype.addEntries = function(opt_value, opt_index) {
|
|
1358
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig, opt_index);
|
|
1359
1359
|
};
|
|
1360
1360
|
|
|
1361
1361
|
|
|
1362
1362
|
/**
|
|
1363
1363
|
* Clears the list making it empty but non-null.
|
|
1364
|
-
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1364
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData} returns this
|
|
1365
1365
|
*/
|
|
1366
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1366
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfigData.prototype.clearEntriesList = function() {
|
|
1367
1367
|
return this.setEntriesList([]);
|
|
1368
1368
|
};
|
|
1369
1369
|
|
|
@@ -1374,7 +1374,7 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackData.prototype.clearEntriesList
|
|
|
1374
1374
|
* @private {!Array<number>}
|
|
1375
1375
|
* @const
|
|
1376
1376
|
*/
|
|
1377
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1377
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.repeatedFields_ = [4];
|
|
1378
1378
|
|
|
1379
1379
|
|
|
1380
1380
|
|
|
@@ -1391,8 +1391,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1391
1391
|
* http://goto/soy-param-migration
|
|
1392
1392
|
* @return {!Object}
|
|
1393
1393
|
*/
|
|
1394
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1395
|
-
return proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1394
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.toObject = function(opt_includeInstance) {
|
|
1395
|
+
return proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.toObject(opt_includeInstance, this);
|
|
1396
1396
|
};
|
|
1397
1397
|
|
|
1398
1398
|
|
|
@@ -1401,18 +1401,19 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.prototype.toObject = func
|
|
|
1401
1401
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1402
1402
|
* the JSPB instance for transitional soy proto support:
|
|
1403
1403
|
* http://goto/soy-param-migration
|
|
1404
|
-
* @param {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1404
|
+
* @param {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig} msg The msg instance to transform.
|
|
1405
1405
|
* @return {!Object}
|
|
1406
1406
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1407
1407
|
*/
|
|
1408
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1408
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.toObject = function(includeInstance, msg) {
|
|
1409
1409
|
var f, obj = {
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1410
|
+
index: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1411
|
+
name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
1412
|
+
maxSize: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1413
1413
|
modulesList: jspb.Message.toObjectList(msg.getModulesList(),
|
|
1414
1414
|
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.toObject, includeInstance),
|
|
1415
|
-
type: (f = msg.getType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
1415
|
+
type: (f = msg.getType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
1416
|
+
moduleStartIndex: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
1416
1417
|
};
|
|
1417
1418
|
|
|
1418
1419
|
if (includeInstance) {
|
|
@@ -1426,23 +1427,23 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.toObject = function(inclu
|
|
|
1426
1427
|
/**
|
|
1427
1428
|
* Deserializes binary data (in protobuf wire format).
|
|
1428
1429
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1429
|
-
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1430
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig}
|
|
1430
1431
|
*/
|
|
1431
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1432
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.deserializeBinary = function(bytes) {
|
|
1432
1433
|
var reader = new jspb.BinaryReader(bytes);
|
|
1433
|
-
var msg = new proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1434
|
-
return proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1434
|
+
var msg = new proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig;
|
|
1435
|
+
return proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.deserializeBinaryFromReader(msg, reader);
|
|
1435
1436
|
};
|
|
1436
1437
|
|
|
1437
1438
|
|
|
1438
1439
|
/**
|
|
1439
1440
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1440
1441
|
* given reader into the given message object.
|
|
1441
|
-
* @param {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1442
|
+
* @param {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig} msg The message object to deserialize into.
|
|
1442
1443
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1443
|
-
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1444
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig}
|
|
1444
1445
|
*/
|
|
1445
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1446
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
1446
1447
|
while (reader.nextField()) {
|
|
1447
1448
|
if (reader.isEndGroup()) {
|
|
1448
1449
|
break;
|
|
@@ -1450,18 +1451,17 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.deserializeBinaryFromRead
|
|
|
1450
1451
|
var field = reader.getFieldNumber();
|
|
1451
1452
|
switch (field) {
|
|
1452
1453
|
case 1:
|
|
1453
|
-
var value =
|
|
1454
|
-
|
|
1455
|
-
msg.setRack(value);
|
|
1454
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
1455
|
+
msg.setIndex(value);
|
|
1456
1456
|
break;
|
|
1457
1457
|
case 2:
|
|
1458
1458
|
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
1459
1459
|
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
1460
|
-
msg.
|
|
1460
|
+
msg.setName(value);
|
|
1461
1461
|
break;
|
|
1462
1462
|
case 3:
|
|
1463
1463
|
var value = /** @type {number} */ (reader.readUint32());
|
|
1464
|
-
msg.
|
|
1464
|
+
msg.setMaxSize(value);
|
|
1465
1465
|
break;
|
|
1466
1466
|
case 4:
|
|
1467
1467
|
var value = new proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData;
|
|
@@ -1473,6 +1473,10 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.deserializeBinaryFromRead
|
|
|
1473
1473
|
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
1474
1474
|
msg.setType(value);
|
|
1475
1475
|
break;
|
|
1476
|
+
case 6:
|
|
1477
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
1478
|
+
msg.setModuleStartIndex(value);
|
|
1479
|
+
break;
|
|
1476
1480
|
default:
|
|
1477
1481
|
reader.skipField();
|
|
1478
1482
|
break;
|
|
@@ -1486,9 +1490,9 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.deserializeBinaryFromRead
|
|
|
1486
1490
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1487
1491
|
* @return {!Uint8Array}
|
|
1488
1492
|
*/
|
|
1489
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1493
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.serializeBinary = function() {
|
|
1490
1494
|
var writer = new jspb.BinaryWriter();
|
|
1491
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1495
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.serializeBinaryToWriter(this, writer);
|
|
1492
1496
|
return writer.getResultBuffer();
|
|
1493
1497
|
};
|
|
1494
1498
|
|
|
@@ -1496,21 +1500,20 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.prototype.serializeBinary
|
|
|
1496
1500
|
/**
|
|
1497
1501
|
* Serializes the given message to binary data (in protobuf wire
|
|
1498
1502
|
* format), writing to the given BinaryWriter.
|
|
1499
|
-
* @param {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1503
|
+
* @param {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig} message
|
|
1500
1504
|
* @param {!jspb.BinaryWriter} writer
|
|
1501
1505
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1502
1506
|
*/
|
|
1503
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1507
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.serializeBinaryToWriter = function(message, writer) {
|
|
1504
1508
|
var f = undefined;
|
|
1505
|
-
f = message.
|
|
1506
|
-
if (f
|
|
1507
|
-
writer.
|
|
1509
|
+
f = message.getIndex();
|
|
1510
|
+
if (f !== 0) {
|
|
1511
|
+
writer.writeUint32(
|
|
1508
1512
|
1,
|
|
1509
|
-
f
|
|
1510
|
-
google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
|
|
1513
|
+
f
|
|
1511
1514
|
);
|
|
1512
1515
|
}
|
|
1513
|
-
f = message.
|
|
1516
|
+
f = message.getName();
|
|
1514
1517
|
if (f != null) {
|
|
1515
1518
|
writer.writeMessage(
|
|
1516
1519
|
2,
|
|
@@ -1518,7 +1521,7 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.serializeBinaryToWriter =
|
|
|
1518
1521
|
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
1519
1522
|
);
|
|
1520
1523
|
}
|
|
1521
|
-
f = message.
|
|
1524
|
+
f = message.getMaxSize();
|
|
1522
1525
|
if (f !== 0) {
|
|
1523
1526
|
writer.writeUint32(
|
|
1524
1527
|
3,
|
|
@@ -1541,51 +1544,39 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.serializeBinaryToWriter =
|
|
|
1541
1544
|
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
1542
1545
|
);
|
|
1543
1546
|
}
|
|
1547
|
+
f = message.getModuleStartIndex();
|
|
1548
|
+
if (f !== 0) {
|
|
1549
|
+
writer.writeUint32(
|
|
1550
|
+
6,
|
|
1551
|
+
f
|
|
1552
|
+
);
|
|
1553
|
+
}
|
|
1544
1554
|
};
|
|
1545
1555
|
|
|
1546
1556
|
|
|
1547
1557
|
/**
|
|
1548
|
-
* optional
|
|
1549
|
-
* @return {
|
|
1550
|
-
*/
|
|
1551
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.prototype.getRack = function() {
|
|
1552
|
-
return /** @type{?proto.google.protobuf.UInt32Value} */ (
|
|
1553
|
-
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 1));
|
|
1554
|
-
};
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
/**
|
|
1558
|
-
* @param {?proto.google.protobuf.UInt32Value|undefined} value
|
|
1559
|
-
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig} returns this
|
|
1560
|
-
*/
|
|
1561
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.prototype.setRack = function(value) {
|
|
1562
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
1563
|
-
};
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
/**
|
|
1567
|
-
* Clears the message field making it undefined.
|
|
1568
|
-
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig} returns this
|
|
1558
|
+
* optional uint32 index = 1;
|
|
1559
|
+
* @return {number}
|
|
1569
1560
|
*/
|
|
1570
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1571
|
-
return
|
|
1561
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.getIndex = function() {
|
|
1562
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1572
1563
|
};
|
|
1573
1564
|
|
|
1574
1565
|
|
|
1575
1566
|
/**
|
|
1576
|
-
*
|
|
1577
|
-
* @return {
|
|
1567
|
+
* @param {number} value
|
|
1568
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig} returns this
|
|
1578
1569
|
*/
|
|
1579
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1580
|
-
return jspb.Message.
|
|
1570
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.setIndex = function(value) {
|
|
1571
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1581
1572
|
};
|
|
1582
1573
|
|
|
1583
1574
|
|
|
1584
1575
|
/**
|
|
1585
|
-
* optional google.protobuf.StringValue
|
|
1576
|
+
* optional google.protobuf.StringValue name = 2;
|
|
1586
1577
|
* @return {?proto.google.protobuf.StringValue}
|
|
1587
1578
|
*/
|
|
1588
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1579
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.getName = function() {
|
|
1589
1580
|
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
1590
1581
|
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
|
|
1591
1582
|
};
|
|
@@ -1593,19 +1584,19 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.prototype.getRackName = f
|
|
|
1593
1584
|
|
|
1594
1585
|
/**
|
|
1595
1586
|
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
1596
|
-
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1587
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig} returns this
|
|
1597
1588
|
*/
|
|
1598
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1589
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.setName = function(value) {
|
|
1599
1590
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
1600
1591
|
};
|
|
1601
1592
|
|
|
1602
1593
|
|
|
1603
1594
|
/**
|
|
1604
1595
|
* Clears the message field making it undefined.
|
|
1605
|
-
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1596
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig} returns this
|
|
1606
1597
|
*/
|
|
1607
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1608
|
-
return this.
|
|
1598
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.clearName = function() {
|
|
1599
|
+
return this.setName(undefined);
|
|
1609
1600
|
};
|
|
1610
1601
|
|
|
1611
1602
|
|
|
@@ -1613,25 +1604,25 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.prototype.clearRackName =
|
|
|
1613
1604
|
* Returns whether this field is set.
|
|
1614
1605
|
* @return {boolean}
|
|
1615
1606
|
*/
|
|
1616
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1607
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.hasName = function() {
|
|
1617
1608
|
return jspb.Message.getField(this, 2) != null;
|
|
1618
1609
|
};
|
|
1619
1610
|
|
|
1620
1611
|
|
|
1621
1612
|
/**
|
|
1622
|
-
* optional uint32
|
|
1613
|
+
* optional uint32 max_size = 3;
|
|
1623
1614
|
* @return {number}
|
|
1624
1615
|
*/
|
|
1625
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1616
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.getMaxSize = function() {
|
|
1626
1617
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
1627
1618
|
};
|
|
1628
1619
|
|
|
1629
1620
|
|
|
1630
1621
|
/**
|
|
1631
1622
|
* @param {number} value
|
|
1632
|
-
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1623
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig} returns this
|
|
1633
1624
|
*/
|
|
1634
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1625
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.setMaxSize = function(value) {
|
|
1635
1626
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
1636
1627
|
};
|
|
1637
1628
|
|
|
@@ -1640,7 +1631,7 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.prototype.setRackSize = f
|
|
|
1640
1631
|
* repeated ModuleData modules = 4;
|
|
1641
1632
|
* @return {!Array<!proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData>}
|
|
1642
1633
|
*/
|
|
1643
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1634
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.getModulesList = function() {
|
|
1644
1635
|
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData>} */ (
|
|
1645
1636
|
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData, 4));
|
|
1646
1637
|
};
|
|
@@ -1648,9 +1639,9 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.prototype.getModulesList
|
|
|
1648
1639
|
|
|
1649
1640
|
/**
|
|
1650
1641
|
* @param {!Array<!proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData>} value
|
|
1651
|
-
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1642
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig} returns this
|
|
1652
1643
|
*/
|
|
1653
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1644
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.setModulesList = function(value) {
|
|
1654
1645
|
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
1655
1646
|
};
|
|
1656
1647
|
|
|
@@ -1660,16 +1651,16 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.prototype.setModulesList
|
|
|
1660
1651
|
* @param {number=} opt_index
|
|
1661
1652
|
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData}
|
|
1662
1653
|
*/
|
|
1663
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1654
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.addModules = function(opt_value, opt_index) {
|
|
1664
1655
|
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData, opt_index);
|
|
1665
1656
|
};
|
|
1666
1657
|
|
|
1667
1658
|
|
|
1668
1659
|
/**
|
|
1669
1660
|
* Clears the list making it empty but non-null.
|
|
1670
|
-
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1661
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig} returns this
|
|
1671
1662
|
*/
|
|
1672
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1663
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.clearModulesList = function() {
|
|
1673
1664
|
return this.setModulesList([]);
|
|
1674
1665
|
};
|
|
1675
1666
|
|
|
@@ -1678,7 +1669,7 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.prototype.clearModulesLis
|
|
|
1678
1669
|
* optional google.protobuf.StringValue type = 5;
|
|
1679
1670
|
* @return {?proto.google.protobuf.StringValue}
|
|
1680
1671
|
*/
|
|
1681
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1672
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.getType = function() {
|
|
1682
1673
|
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
1683
1674
|
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
|
|
1684
1675
|
};
|
|
@@ -1686,18 +1677,18 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.prototype.getType = funct
|
|
|
1686
1677
|
|
|
1687
1678
|
/**
|
|
1688
1679
|
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
1689
|
-
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1680
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig} returns this
|
|
1690
1681
|
*/
|
|
1691
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1682
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.setType = function(value) {
|
|
1692
1683
|
return jspb.Message.setWrapperField(this, 5, value);
|
|
1693
1684
|
};
|
|
1694
1685
|
|
|
1695
1686
|
|
|
1696
1687
|
/**
|
|
1697
1688
|
* Clears the message field making it undefined.
|
|
1698
|
-
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1689
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig} returns this
|
|
1699
1690
|
*/
|
|
1700
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1691
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.clearType = function() {
|
|
1701
1692
|
return this.setType(undefined);
|
|
1702
1693
|
};
|
|
1703
1694
|
|
|
@@ -1706,11 +1697,29 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.prototype.clearType = fun
|
|
|
1706
1697
|
* Returns whether this field is set.
|
|
1707
1698
|
* @return {boolean}
|
|
1708
1699
|
*/
|
|
1709
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1700
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.hasType = function() {
|
|
1710
1701
|
return jspb.Message.getField(this, 5) != null;
|
|
1711
1702
|
};
|
|
1712
1703
|
|
|
1713
1704
|
|
|
1705
|
+
/**
|
|
1706
|
+
* optional uint32 module_start_index = 6;
|
|
1707
|
+
* @return {number}
|
|
1708
|
+
*/
|
|
1709
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.getModuleStartIndex = function() {
|
|
1710
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
1711
|
+
};
|
|
1712
|
+
|
|
1713
|
+
|
|
1714
|
+
/**
|
|
1715
|
+
* @param {number} value
|
|
1716
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig} returns this
|
|
1717
|
+
*/
|
|
1718
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.prototype.setModuleStartIndex = function(value) {
|
|
1719
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
1720
|
+
};
|
|
1721
|
+
|
|
1722
|
+
|
|
1714
1723
|
|
|
1715
1724
|
/**
|
|
1716
1725
|
* List of repeated fields within this message type.
|
|
@@ -1757,13 +1766,13 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.toObject = function(inclu
|
|
|
1757
1766
|
serialNumber: (f = msg.getSerialNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
1758
1767
|
model: (f = msg.getModel()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
1759
1768
|
firmware: (f = msg.getFirmware()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
1760
|
-
partNumber:
|
|
1761
|
-
|
|
1762
|
-
|
|
1769
|
+
partNumber: (f = msg.getPartNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
1770
|
+
positionInBusConfig: (f = msg.getPositionInBusConfig()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
|
|
1771
|
+
width: (f = msg.getWidth()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
|
|
1763
1772
|
extendedInformationList: jspb.Message.toObjectList(msg.getExtendedInformationList(),
|
|
1764
1773
|
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleExtendedInformation.toObject, includeInstance),
|
|
1765
1774
|
busConfigList: jspb.Message.toObjectList(msg.getBusConfigList(),
|
|
1766
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1775
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.toObject, includeInstance)
|
|
1767
1776
|
};
|
|
1768
1777
|
|
|
1769
1778
|
if (includeInstance) {
|
|
@@ -1835,18 +1844,19 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.deserializeBinaryFromRead
|
|
|
1835
1844
|
msg.setFirmware(value);
|
|
1836
1845
|
break;
|
|
1837
1846
|
case 8:
|
|
1838
|
-
var value =
|
|
1847
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
1848
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
1839
1849
|
msg.setPartNumber(value);
|
|
1840
1850
|
break;
|
|
1841
1851
|
case 9:
|
|
1842
1852
|
var value = new google_protobuf_wrappers_pb.UInt32Value;
|
|
1843
1853
|
reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
|
|
1844
|
-
msg.
|
|
1854
|
+
msg.setPositionInBusConfig(value);
|
|
1845
1855
|
break;
|
|
1846
1856
|
case 10:
|
|
1847
1857
|
var value = new google_protobuf_wrappers_pb.UInt32Value;
|
|
1848
1858
|
reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
|
|
1849
|
-
msg.
|
|
1859
|
+
msg.setWidth(value);
|
|
1850
1860
|
break;
|
|
1851
1861
|
case 11:
|
|
1852
1862
|
var value = new proto.com.lansweeper.discovery.sensor.ot.v1.ModuleExtendedInformation;
|
|
@@ -1854,8 +1864,8 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.deserializeBinaryFromRead
|
|
|
1854
1864
|
msg.addExtendedInformation(value);
|
|
1855
1865
|
break;
|
|
1856
1866
|
case 12:
|
|
1857
|
-
var value = new proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1858
|
-
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1867
|
+
var value = new proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig;
|
|
1868
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.deserializeBinaryFromReader);
|
|
1859
1869
|
msg.addBusConfig(value);
|
|
1860
1870
|
break;
|
|
1861
1871
|
default:
|
|
@@ -1943,13 +1953,14 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.serializeBinaryToWriter =
|
|
|
1943
1953
|
);
|
|
1944
1954
|
}
|
|
1945
1955
|
f = message.getPartNumber();
|
|
1946
|
-
if (f
|
|
1947
|
-
writer.
|
|
1956
|
+
if (f != null) {
|
|
1957
|
+
writer.writeMessage(
|
|
1948
1958
|
8,
|
|
1949
|
-
f
|
|
1959
|
+
f,
|
|
1960
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
1950
1961
|
);
|
|
1951
1962
|
}
|
|
1952
|
-
f = message.
|
|
1963
|
+
f = message.getPositionInBusConfig();
|
|
1953
1964
|
if (f != null) {
|
|
1954
1965
|
writer.writeMessage(
|
|
1955
1966
|
9,
|
|
@@ -1957,7 +1968,7 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.serializeBinaryToWriter =
|
|
|
1957
1968
|
google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
|
|
1958
1969
|
);
|
|
1959
1970
|
}
|
|
1960
|
-
f = message.
|
|
1971
|
+
f = message.getWidth();
|
|
1961
1972
|
if (f != null) {
|
|
1962
1973
|
writer.writeMessage(
|
|
1963
1974
|
10,
|
|
@@ -1978,7 +1989,7 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.serializeBinaryToWriter =
|
|
|
1978
1989
|
writer.writeRepeatedMessage(
|
|
1979
1990
|
12,
|
|
1980
1991
|
f,
|
|
1981
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
1992
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig.serializeBinaryToWriter
|
|
1982
1993
|
);
|
|
1983
1994
|
}
|
|
1984
1995
|
};
|
|
@@ -2225,28 +2236,47 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.hasFirmware = f
|
|
|
2225
2236
|
|
|
2226
2237
|
|
|
2227
2238
|
/**
|
|
2228
|
-
* optional
|
|
2229
|
-
* @return {
|
|
2239
|
+
* optional google.protobuf.StringValue part_number = 8;
|
|
2240
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
2230
2241
|
*/
|
|
2231
2242
|
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.getPartNumber = function() {
|
|
2232
|
-
return /** @type
|
|
2243
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
2244
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
|
|
2233
2245
|
};
|
|
2234
2246
|
|
|
2235
2247
|
|
|
2236
2248
|
/**
|
|
2237
|
-
* @param {
|
|
2249
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
2238
2250
|
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData} returns this
|
|
2239
|
-
|
|
2251
|
+
*/
|
|
2240
2252
|
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.setPartNumber = function(value) {
|
|
2241
|
-
return jspb.Message.
|
|
2253
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
2254
|
+
};
|
|
2255
|
+
|
|
2256
|
+
|
|
2257
|
+
/**
|
|
2258
|
+
* Clears the message field making it undefined.
|
|
2259
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData} returns this
|
|
2260
|
+
*/
|
|
2261
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.clearPartNumber = function() {
|
|
2262
|
+
return this.setPartNumber(undefined);
|
|
2263
|
+
};
|
|
2264
|
+
|
|
2265
|
+
|
|
2266
|
+
/**
|
|
2267
|
+
* Returns whether this field is set.
|
|
2268
|
+
* @return {boolean}
|
|
2269
|
+
*/
|
|
2270
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.hasPartNumber = function() {
|
|
2271
|
+
return jspb.Message.getField(this, 8) != null;
|
|
2242
2272
|
};
|
|
2243
2273
|
|
|
2244
2274
|
|
|
2245
2275
|
/**
|
|
2246
|
-
* optional google.protobuf.UInt32Value
|
|
2276
|
+
* optional google.protobuf.UInt32Value position_in_bus_config = 9;
|
|
2247
2277
|
* @return {?proto.google.protobuf.UInt32Value}
|
|
2248
2278
|
*/
|
|
2249
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.
|
|
2279
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.getPositionInBusConfig = function() {
|
|
2250
2280
|
return /** @type{?proto.google.protobuf.UInt32Value} */ (
|
|
2251
2281
|
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 9));
|
|
2252
2282
|
};
|
|
@@ -2256,7 +2286,7 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.getSlot = funct
|
|
|
2256
2286
|
* @param {?proto.google.protobuf.UInt32Value|undefined} value
|
|
2257
2287
|
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData} returns this
|
|
2258
2288
|
*/
|
|
2259
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.
|
|
2289
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.setPositionInBusConfig = function(value) {
|
|
2260
2290
|
return jspb.Message.setWrapperField(this, 9, value);
|
|
2261
2291
|
};
|
|
2262
2292
|
|
|
@@ -2265,8 +2295,8 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.setSlot = funct
|
|
|
2265
2295
|
* Clears the message field making it undefined.
|
|
2266
2296
|
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData} returns this
|
|
2267
2297
|
*/
|
|
2268
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.
|
|
2269
|
-
return this.
|
|
2298
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.clearPositionInBusConfig = function() {
|
|
2299
|
+
return this.setPositionInBusConfig(undefined);
|
|
2270
2300
|
};
|
|
2271
2301
|
|
|
2272
2302
|
|
|
@@ -2274,16 +2304,16 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.clearSlot = fun
|
|
|
2274
2304
|
* Returns whether this field is set.
|
|
2275
2305
|
* @return {boolean}
|
|
2276
2306
|
*/
|
|
2277
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.
|
|
2307
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.hasPositionInBusConfig = function() {
|
|
2278
2308
|
return jspb.Message.getField(this, 9) != null;
|
|
2279
2309
|
};
|
|
2280
2310
|
|
|
2281
2311
|
|
|
2282
2312
|
/**
|
|
2283
|
-
* optional google.protobuf.UInt32Value
|
|
2313
|
+
* optional google.protobuf.UInt32Value width = 10;
|
|
2284
2314
|
* @return {?proto.google.protobuf.UInt32Value}
|
|
2285
2315
|
*/
|
|
2286
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.
|
|
2316
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.getWidth = function() {
|
|
2287
2317
|
return /** @type{?proto.google.protobuf.UInt32Value} */ (
|
|
2288
2318
|
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 10));
|
|
2289
2319
|
};
|
|
@@ -2293,7 +2323,7 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.getSlotWidth =
|
|
|
2293
2323
|
* @param {?proto.google.protobuf.UInt32Value|undefined} value
|
|
2294
2324
|
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData} returns this
|
|
2295
2325
|
*/
|
|
2296
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.
|
|
2326
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.setWidth = function(value) {
|
|
2297
2327
|
return jspb.Message.setWrapperField(this, 10, value);
|
|
2298
2328
|
};
|
|
2299
2329
|
|
|
@@ -2302,8 +2332,8 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.setSlotWidth =
|
|
|
2302
2332
|
* Clears the message field making it undefined.
|
|
2303
2333
|
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData} returns this
|
|
2304
2334
|
*/
|
|
2305
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.
|
|
2306
|
-
return this.
|
|
2335
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.clearWidth = function() {
|
|
2336
|
+
return this.setWidth(undefined);
|
|
2307
2337
|
};
|
|
2308
2338
|
|
|
2309
2339
|
|
|
@@ -2311,7 +2341,7 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.clearSlotWidth
|
|
|
2311
2341
|
* Returns whether this field is set.
|
|
2312
2342
|
* @return {boolean}
|
|
2313
2343
|
*/
|
|
2314
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.
|
|
2344
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.hasWidth = function() {
|
|
2315
2345
|
return jspb.Message.getField(this, 10) != null;
|
|
2316
2346
|
};
|
|
2317
2347
|
|
|
@@ -2355,17 +2385,17 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.clearExtendedIn
|
|
|
2355
2385
|
|
|
2356
2386
|
|
|
2357
2387
|
/**
|
|
2358
|
-
* repeated
|
|
2359
|
-
* @return {!Array<!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
2388
|
+
* repeated BusConfig bus_config = 12;
|
|
2389
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig>}
|
|
2360
2390
|
*/
|
|
2361
2391
|
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.getBusConfigList = function() {
|
|
2362
|
-
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
2363
|
-
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
2392
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig>} */ (
|
|
2393
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig, 12));
|
|
2364
2394
|
};
|
|
2365
2395
|
|
|
2366
2396
|
|
|
2367
2397
|
/**
|
|
2368
|
-
* @param {!Array<!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
2398
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig>} value
|
|
2369
2399
|
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData} returns this
|
|
2370
2400
|
*/
|
|
2371
2401
|
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.setBusConfigList = function(value) {
|
|
@@ -2374,12 +2404,12 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.setBusConfigLis
|
|
|
2374
2404
|
|
|
2375
2405
|
|
|
2376
2406
|
/**
|
|
2377
|
-
* @param {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
2407
|
+
* @param {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig=} opt_value
|
|
2378
2408
|
* @param {number=} opt_index
|
|
2379
|
-
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
2409
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig}
|
|
2380
2410
|
*/
|
|
2381
2411
|
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.addBusConfig = function(opt_value, opt_index) {
|
|
2382
|
-
return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.com.lansweeper.discovery.sensor.ot.v1.
|
|
2412
|
+
return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.com.lansweeper.discovery.sensor.ot.v1.BusConfig, opt_index);
|
|
2383
2413
|
};
|
|
2384
2414
|
|
|
2385
2415
|
|