@lansweeper/discovery-sensor-proto 2.38.0 → 2.39.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.
|
@@ -39,6 +39,16 @@ export class MacMemory extends jspb.Message {
|
|
|
39
39
|
setEntriesList(value: Array<Memory>): MacMemory;
|
|
40
40
|
addEntries(value?: Memory, index?: number): Memory;
|
|
41
41
|
|
|
42
|
+
hasGlobalEccState(): boolean;
|
|
43
|
+
clearGlobalEccState(): void;
|
|
44
|
+
getGlobalEccState(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
45
|
+
setGlobalEccState(value?: google_protobuf_wrappers_pb.StringValue): MacMemory;
|
|
46
|
+
|
|
47
|
+
hasIsMemoryUpgradeable(): boolean;
|
|
48
|
+
clearIsMemoryUpgradeable(): void;
|
|
49
|
+
getIsMemoryUpgradeable(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
50
|
+
setIsMemoryUpgradeable(value?: google_protobuf_wrappers_pb.StringValue): MacMemory;
|
|
51
|
+
|
|
42
52
|
serializeBinary(): Uint8Array;
|
|
43
53
|
toObject(includeInstance?: boolean): MacMemory.AsObject;
|
|
44
54
|
static toObject(includeInstance: boolean, msg: MacMemory): MacMemory.AsObject;
|
|
@@ -52,6 +62,8 @@ export class MacMemory extends jspb.Message {
|
|
|
52
62
|
export namespace MacMemory {
|
|
53
63
|
export type AsObject = {
|
|
54
64
|
entriesList: Array<Memory.AsObject>,
|
|
65
|
+
globalEccState?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
66
|
+
isMemoryUpgradeable?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
55
67
|
}
|
|
56
68
|
}
|
|
57
69
|
|
|
@@ -82,6 +94,21 @@ export class Memory extends jspb.Message {
|
|
|
82
94
|
getStatus(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
83
95
|
setStatus(value?: google_protobuf_wrappers_pb.StringValue): Memory;
|
|
84
96
|
|
|
97
|
+
hasManufacturer(): boolean;
|
|
98
|
+
clearManufacturer(): void;
|
|
99
|
+
getManufacturer(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
100
|
+
setManufacturer(value?: google_protobuf_wrappers_pb.StringValue): Memory;
|
|
101
|
+
|
|
102
|
+
hasPartNumber(): boolean;
|
|
103
|
+
clearPartNumber(): void;
|
|
104
|
+
getPartNumber(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
105
|
+
setPartNumber(value?: google_protobuf_wrappers_pb.StringValue): Memory;
|
|
106
|
+
|
|
107
|
+
hasSerialNumber(): boolean;
|
|
108
|
+
clearSerialNumber(): void;
|
|
109
|
+
getSerialNumber(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
110
|
+
setSerialNumber(value?: google_protobuf_wrappers_pb.StringValue): Memory;
|
|
111
|
+
|
|
85
112
|
serializeBinary(): Uint8Array;
|
|
86
113
|
toObject(includeInstance?: boolean): Memory.AsObject;
|
|
87
114
|
static toObject(includeInstance: boolean, msg: Memory): Memory.AsObject;
|
|
@@ -99,6 +126,9 @@ export namespace Memory {
|
|
|
99
126
|
speed?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
100
127
|
type?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
101
128
|
status?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
129
|
+
manufacturer?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
130
|
+
partNumber?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
131
|
+
serialNumber?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
102
132
|
}
|
|
103
133
|
}
|
|
104
134
|
|
|
@@ -317,6 +347,11 @@ export class BluetoothDevice extends jspb.Message {
|
|
|
317
347
|
getVendorId(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
318
348
|
setVendorId(value?: google_protobuf_wrappers_pb.StringValue): BluetoothDevice;
|
|
319
349
|
|
|
350
|
+
hasName(): boolean;
|
|
351
|
+
clearName(): void;
|
|
352
|
+
getName(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
353
|
+
setName(value?: google_protobuf_wrappers_pb.StringValue): BluetoothDevice;
|
|
354
|
+
|
|
320
355
|
serializeBinary(): Uint8Array;
|
|
321
356
|
toObject(includeInstance?: boolean): BluetoothDevice.AsObject;
|
|
322
357
|
static toObject(includeInstance: boolean, msg: BluetoothDevice): BluetoothDevice.AsObject;
|
|
@@ -336,6 +371,7 @@ export namespace BluetoothDevice {
|
|
|
336
371
|
rssi?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
337
372
|
services?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
338
373
|
vendorId?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
374
|
+
name?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
339
375
|
}
|
|
340
376
|
}
|
|
341
377
|
|
|
@@ -1219,7 +1219,9 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory.prototype.toObject = func
|
|
|
1219
1219
|
proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory.toObject = function(includeInstance, msg) {
|
|
1220
1220
|
var f, obj = {
|
|
1221
1221
|
entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
|
|
1222
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.Memory.toObject, includeInstance)
|
|
1222
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Memory.toObject, includeInstance),
|
|
1223
|
+
globalEccState: (f = msg.getGlobalEccState()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
1224
|
+
isMemoryUpgradeable: (f = msg.getIsMemoryUpgradeable()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
1223
1225
|
};
|
|
1224
1226
|
|
|
1225
1227
|
if (includeInstance) {
|
|
@@ -1261,6 +1263,16 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory.deserializeBinaryFromRead
|
|
|
1261
1263
|
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.Memory.deserializeBinaryFromReader);
|
|
1262
1264
|
msg.addEntries(value);
|
|
1263
1265
|
break;
|
|
1266
|
+
case 2:
|
|
1267
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
1268
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
1269
|
+
msg.setGlobalEccState(value);
|
|
1270
|
+
break;
|
|
1271
|
+
case 3:
|
|
1272
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
1273
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
1274
|
+
msg.setIsMemoryUpgradeable(value);
|
|
1275
|
+
break;
|
|
1264
1276
|
default:
|
|
1265
1277
|
reader.skipField();
|
|
1266
1278
|
break;
|
|
@@ -1298,6 +1310,22 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory.serializeBinaryToWriter =
|
|
|
1298
1310
|
proto.com.lansweeper.discovery.sensor.mac.v1.Memory.serializeBinaryToWriter
|
|
1299
1311
|
);
|
|
1300
1312
|
}
|
|
1313
|
+
f = message.getGlobalEccState();
|
|
1314
|
+
if (f != null) {
|
|
1315
|
+
writer.writeMessage(
|
|
1316
|
+
2,
|
|
1317
|
+
f,
|
|
1318
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
1319
|
+
);
|
|
1320
|
+
}
|
|
1321
|
+
f = message.getIsMemoryUpgradeable();
|
|
1322
|
+
if (f != null) {
|
|
1323
|
+
writer.writeMessage(
|
|
1324
|
+
3,
|
|
1325
|
+
f,
|
|
1326
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
1327
|
+
);
|
|
1328
|
+
}
|
|
1301
1329
|
};
|
|
1302
1330
|
|
|
1303
1331
|
|
|
@@ -1339,6 +1367,80 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory.prototype.clearEntriesLis
|
|
|
1339
1367
|
};
|
|
1340
1368
|
|
|
1341
1369
|
|
|
1370
|
+
/**
|
|
1371
|
+
* optional google.protobuf.StringValue global_ecc_state = 2;
|
|
1372
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
1373
|
+
*/
|
|
1374
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory.prototype.getGlobalEccState = function() {
|
|
1375
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
1376
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
|
|
1377
|
+
};
|
|
1378
|
+
|
|
1379
|
+
|
|
1380
|
+
/**
|
|
1381
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
1382
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory} returns this
|
|
1383
|
+
*/
|
|
1384
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory.prototype.setGlobalEccState = function(value) {
|
|
1385
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
1386
|
+
};
|
|
1387
|
+
|
|
1388
|
+
|
|
1389
|
+
/**
|
|
1390
|
+
* Clears the message field making it undefined.
|
|
1391
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory} returns this
|
|
1392
|
+
*/
|
|
1393
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory.prototype.clearGlobalEccState = function() {
|
|
1394
|
+
return this.setGlobalEccState(undefined);
|
|
1395
|
+
};
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
/**
|
|
1399
|
+
* Returns whether this field is set.
|
|
1400
|
+
* @return {boolean}
|
|
1401
|
+
*/
|
|
1402
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory.prototype.hasGlobalEccState = function() {
|
|
1403
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1404
|
+
};
|
|
1405
|
+
|
|
1406
|
+
|
|
1407
|
+
/**
|
|
1408
|
+
* optional google.protobuf.StringValue is_memory_upgradeable = 3;
|
|
1409
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
1410
|
+
*/
|
|
1411
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory.prototype.getIsMemoryUpgradeable = function() {
|
|
1412
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
1413
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
|
|
1414
|
+
};
|
|
1415
|
+
|
|
1416
|
+
|
|
1417
|
+
/**
|
|
1418
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
1419
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory} returns this
|
|
1420
|
+
*/
|
|
1421
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory.prototype.setIsMemoryUpgradeable = function(value) {
|
|
1422
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
1423
|
+
};
|
|
1424
|
+
|
|
1425
|
+
|
|
1426
|
+
/**
|
|
1427
|
+
* Clears the message field making it undefined.
|
|
1428
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory} returns this
|
|
1429
|
+
*/
|
|
1430
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory.prototype.clearIsMemoryUpgradeable = function() {
|
|
1431
|
+
return this.setIsMemoryUpgradeable(undefined);
|
|
1432
|
+
};
|
|
1433
|
+
|
|
1434
|
+
|
|
1435
|
+
/**
|
|
1436
|
+
* Returns whether this field is set.
|
|
1437
|
+
* @return {boolean}
|
|
1438
|
+
*/
|
|
1439
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory.prototype.hasIsMemoryUpgradeable = function() {
|
|
1440
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1441
|
+
};
|
|
1442
|
+
|
|
1443
|
+
|
|
1342
1444
|
|
|
1343
1445
|
|
|
1344
1446
|
|
|
@@ -1375,7 +1477,10 @@ proto.com.lansweeper.discovery.sensor.mac.v1.Memory.toObject = function(includeI
|
|
|
1375
1477
|
size: (f = msg.getSize()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
1376
1478
|
speed: (f = msg.getSpeed()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
1377
1479
|
type: (f = msg.getType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
1378
|
-
status: (f = msg.getStatus()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
1480
|
+
status: (f = msg.getStatus()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
1481
|
+
manufacturer: (f = msg.getManufacturer()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
1482
|
+
partNumber: (f = msg.getPartNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
1483
|
+
serialNumber: (f = msg.getSerialNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
1379
1484
|
};
|
|
1380
1485
|
|
|
1381
1486
|
if (includeInstance) {
|
|
@@ -1437,6 +1542,21 @@ proto.com.lansweeper.discovery.sensor.mac.v1.Memory.deserializeBinaryFromReader
|
|
|
1437
1542
|
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
1438
1543
|
msg.setStatus(value);
|
|
1439
1544
|
break;
|
|
1545
|
+
case 6:
|
|
1546
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
1547
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
1548
|
+
msg.setManufacturer(value);
|
|
1549
|
+
break;
|
|
1550
|
+
case 7:
|
|
1551
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
1552
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
1553
|
+
msg.setPartNumber(value);
|
|
1554
|
+
break;
|
|
1555
|
+
case 8:
|
|
1556
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
1557
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
1558
|
+
msg.setSerialNumber(value);
|
|
1559
|
+
break;
|
|
1440
1560
|
default:
|
|
1441
1561
|
reader.skipField();
|
|
1442
1562
|
break;
|
|
@@ -1506,6 +1626,30 @@ proto.com.lansweeper.discovery.sensor.mac.v1.Memory.serializeBinaryToWriter = fu
|
|
|
1506
1626
|
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
1507
1627
|
);
|
|
1508
1628
|
}
|
|
1629
|
+
f = message.getManufacturer();
|
|
1630
|
+
if (f != null) {
|
|
1631
|
+
writer.writeMessage(
|
|
1632
|
+
6,
|
|
1633
|
+
f,
|
|
1634
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
1635
|
+
);
|
|
1636
|
+
}
|
|
1637
|
+
f = message.getPartNumber();
|
|
1638
|
+
if (f != null) {
|
|
1639
|
+
writer.writeMessage(
|
|
1640
|
+
7,
|
|
1641
|
+
f,
|
|
1642
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
1643
|
+
);
|
|
1644
|
+
}
|
|
1645
|
+
f = message.getSerialNumber();
|
|
1646
|
+
if (f != null) {
|
|
1647
|
+
writer.writeMessage(
|
|
1648
|
+
8,
|
|
1649
|
+
f,
|
|
1650
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
1651
|
+
);
|
|
1652
|
+
}
|
|
1509
1653
|
};
|
|
1510
1654
|
|
|
1511
1655
|
|
|
@@ -1694,6 +1838,117 @@ proto.com.lansweeper.discovery.sensor.mac.v1.Memory.prototype.hasStatus = functi
|
|
|
1694
1838
|
};
|
|
1695
1839
|
|
|
1696
1840
|
|
|
1841
|
+
/**
|
|
1842
|
+
* optional google.protobuf.StringValue manufacturer = 6;
|
|
1843
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
1844
|
+
*/
|
|
1845
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Memory.prototype.getManufacturer = function() {
|
|
1846
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
1847
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
|
|
1848
|
+
};
|
|
1849
|
+
|
|
1850
|
+
|
|
1851
|
+
/**
|
|
1852
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
1853
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Memory} returns this
|
|
1854
|
+
*/
|
|
1855
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Memory.prototype.setManufacturer = function(value) {
|
|
1856
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
1857
|
+
};
|
|
1858
|
+
|
|
1859
|
+
|
|
1860
|
+
/**
|
|
1861
|
+
* Clears the message field making it undefined.
|
|
1862
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Memory} returns this
|
|
1863
|
+
*/
|
|
1864
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Memory.prototype.clearManufacturer = function() {
|
|
1865
|
+
return this.setManufacturer(undefined);
|
|
1866
|
+
};
|
|
1867
|
+
|
|
1868
|
+
|
|
1869
|
+
/**
|
|
1870
|
+
* Returns whether this field is set.
|
|
1871
|
+
* @return {boolean}
|
|
1872
|
+
*/
|
|
1873
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Memory.prototype.hasManufacturer = function() {
|
|
1874
|
+
return jspb.Message.getField(this, 6) != null;
|
|
1875
|
+
};
|
|
1876
|
+
|
|
1877
|
+
|
|
1878
|
+
/**
|
|
1879
|
+
* optional google.protobuf.StringValue part_number = 7;
|
|
1880
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
1881
|
+
*/
|
|
1882
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Memory.prototype.getPartNumber = function() {
|
|
1883
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
1884
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
|
|
1885
|
+
};
|
|
1886
|
+
|
|
1887
|
+
|
|
1888
|
+
/**
|
|
1889
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
1890
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Memory} returns this
|
|
1891
|
+
*/
|
|
1892
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Memory.prototype.setPartNumber = function(value) {
|
|
1893
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
1894
|
+
};
|
|
1895
|
+
|
|
1896
|
+
|
|
1897
|
+
/**
|
|
1898
|
+
* Clears the message field making it undefined.
|
|
1899
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Memory} returns this
|
|
1900
|
+
*/
|
|
1901
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Memory.prototype.clearPartNumber = function() {
|
|
1902
|
+
return this.setPartNumber(undefined);
|
|
1903
|
+
};
|
|
1904
|
+
|
|
1905
|
+
|
|
1906
|
+
/**
|
|
1907
|
+
* Returns whether this field is set.
|
|
1908
|
+
* @return {boolean}
|
|
1909
|
+
*/
|
|
1910
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Memory.prototype.hasPartNumber = function() {
|
|
1911
|
+
return jspb.Message.getField(this, 7) != null;
|
|
1912
|
+
};
|
|
1913
|
+
|
|
1914
|
+
|
|
1915
|
+
/**
|
|
1916
|
+
* optional google.protobuf.StringValue serial_number = 8;
|
|
1917
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
1918
|
+
*/
|
|
1919
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Memory.prototype.getSerialNumber = function() {
|
|
1920
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
1921
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
|
|
1922
|
+
};
|
|
1923
|
+
|
|
1924
|
+
|
|
1925
|
+
/**
|
|
1926
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
1927
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Memory} returns this
|
|
1928
|
+
*/
|
|
1929
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Memory.prototype.setSerialNumber = function(value) {
|
|
1930
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
1931
|
+
};
|
|
1932
|
+
|
|
1933
|
+
|
|
1934
|
+
/**
|
|
1935
|
+
* Clears the message field making it undefined.
|
|
1936
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Memory} returns this
|
|
1937
|
+
*/
|
|
1938
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Memory.prototype.clearSerialNumber = function() {
|
|
1939
|
+
return this.setSerialNumber(undefined);
|
|
1940
|
+
};
|
|
1941
|
+
|
|
1942
|
+
|
|
1943
|
+
/**
|
|
1944
|
+
* Returns whether this field is set.
|
|
1945
|
+
* @return {boolean}
|
|
1946
|
+
*/
|
|
1947
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Memory.prototype.hasSerialNumber = function() {
|
|
1948
|
+
return jspb.Message.getField(this, 8) != null;
|
|
1949
|
+
};
|
|
1950
|
+
|
|
1951
|
+
|
|
1697
1952
|
|
|
1698
1953
|
/**
|
|
1699
1954
|
* List of repeated fields within this message type.
|
|
@@ -3130,7 +3385,8 @@ proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.toObject = function
|
|
|
3130
3385
|
productId: (f = msg.getProductId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
3131
3386
|
rssi: (f = msg.getRssi()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
3132
3387
|
services: (f = msg.getServices()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
3133
|
-
vendorId: (f = msg.getVendorId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
3388
|
+
vendorId: (f = msg.getVendorId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
3389
|
+
name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
3134
3390
|
};
|
|
3135
3391
|
|
|
3136
3392
|
if (includeInstance) {
|
|
@@ -3202,6 +3458,11 @@ proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.deserializeBinaryFr
|
|
|
3202
3458
|
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
3203
3459
|
msg.setVendorId(value);
|
|
3204
3460
|
break;
|
|
3461
|
+
case 8:
|
|
3462
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
3463
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
3464
|
+
msg.setName(value);
|
|
3465
|
+
break;
|
|
3205
3466
|
default:
|
|
3206
3467
|
reader.skipField();
|
|
3207
3468
|
break;
|
|
@@ -3287,6 +3548,14 @@ proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.serializeBinaryToWr
|
|
|
3287
3548
|
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
3288
3549
|
);
|
|
3289
3550
|
}
|
|
3551
|
+
f = message.getName();
|
|
3552
|
+
if (f != null) {
|
|
3553
|
+
writer.writeMessage(
|
|
3554
|
+
8,
|
|
3555
|
+
f,
|
|
3556
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
3557
|
+
);
|
|
3558
|
+
}
|
|
3290
3559
|
};
|
|
3291
3560
|
|
|
3292
3561
|
|
|
@@ -3549,6 +3818,43 @@ proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.hasVendor
|
|
|
3549
3818
|
};
|
|
3550
3819
|
|
|
3551
3820
|
|
|
3821
|
+
/**
|
|
3822
|
+
* optional google.protobuf.StringValue name = 8;
|
|
3823
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
3824
|
+
*/
|
|
3825
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.getName = function() {
|
|
3826
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
3827
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
|
|
3828
|
+
};
|
|
3829
|
+
|
|
3830
|
+
|
|
3831
|
+
/**
|
|
3832
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
3833
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} returns this
|
|
3834
|
+
*/
|
|
3835
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.setName = function(value) {
|
|
3836
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
3837
|
+
};
|
|
3838
|
+
|
|
3839
|
+
|
|
3840
|
+
/**
|
|
3841
|
+
* Clears the message field making it undefined.
|
|
3842
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} returns this
|
|
3843
|
+
*/
|
|
3844
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.clearName = function() {
|
|
3845
|
+
return this.setName(undefined);
|
|
3846
|
+
};
|
|
3847
|
+
|
|
3848
|
+
|
|
3849
|
+
/**
|
|
3850
|
+
* Returns whether this field is set.
|
|
3851
|
+
* @return {boolean}
|
|
3852
|
+
*/
|
|
3853
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.hasName = function() {
|
|
3854
|
+
return jspb.Message.getField(this, 8) != null;
|
|
3855
|
+
};
|
|
3856
|
+
|
|
3857
|
+
|
|
3552
3858
|
|
|
3553
3859
|
/**
|
|
3554
3860
|
* List of repeated fields within this message type.
|