@lansweeper/discovery-sensor-proto 2.21.0 → 2.22.1
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_ot_pb.d.ts +11 -0
- package/gen-proto/discovery_sections_ot_pb.js +107 -3
- package/gen-proto/discovery_sections_windows_pb.d.ts +40 -40
- package/gen-proto/discovery_sections_windows_pb.js +75 -75
- package/gen-proto/image.json +1 -1
- package/package.json +2 -2
- package/proto/discovery_sections_ot.proto +3 -1
- package/proto/discovery_sections_windows.proto +11 -11
|
@@ -173,6 +173,11 @@ export class RackConfig extends jspb.Message {
|
|
|
173
173
|
setModulesList(value: Array<ModuleData>): RackConfig;
|
|
174
174
|
addModules(value?: ModuleData, index?: number): ModuleData;
|
|
175
175
|
|
|
176
|
+
hasType(): boolean;
|
|
177
|
+
clearType(): void;
|
|
178
|
+
getType(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
179
|
+
setType(value?: google_protobuf_wrappers_pb.StringValue): RackConfig;
|
|
180
|
+
|
|
176
181
|
serializeBinary(): Uint8Array;
|
|
177
182
|
toObject(includeInstance?: boolean): RackConfig.AsObject;
|
|
178
183
|
static toObject(includeInstance: boolean, msg: RackConfig): RackConfig.AsObject;
|
|
@@ -189,6 +194,7 @@ export namespace RackConfig {
|
|
|
189
194
|
rackName?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
190
195
|
rackSize: number,
|
|
191
196
|
modulesList: Array<ModuleData.AsObject>,
|
|
197
|
+
type?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
192
198
|
}
|
|
193
199
|
}
|
|
194
200
|
|
|
@@ -241,6 +247,10 @@ export class ModuleData extends jspb.Message {
|
|
|
241
247
|
getExtendedInformationList(): Array<ModuleExtendedInformation>;
|
|
242
248
|
setExtendedInformationList(value: Array<ModuleExtendedInformation>): ModuleData;
|
|
243
249
|
addExtendedInformation(value?: ModuleExtendedInformation, index?: number): ModuleExtendedInformation;
|
|
250
|
+
clearBusConfigList(): void;
|
|
251
|
+
getBusConfigList(): Array<RackConfig>;
|
|
252
|
+
setBusConfigList(value: Array<RackConfig>): ModuleData;
|
|
253
|
+
addBusConfig(value?: RackConfig, index?: number): RackConfig;
|
|
244
254
|
|
|
245
255
|
serializeBinary(): Uint8Array;
|
|
246
256
|
toObject(includeInstance?: boolean): ModuleData.AsObject;
|
|
@@ -265,6 +275,7 @@ export namespace ModuleData {
|
|
|
265
275
|
slot?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
|
266
276
|
slotWidth?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
|
267
277
|
extendedInformationList: Array<ModuleExtendedInformation.AsObject>,
|
|
278
|
+
busConfigList: Array<RackConfig.AsObject>,
|
|
268
279
|
}
|
|
269
280
|
}
|
|
270
281
|
|
|
@@ -1405,7 +1405,8 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.toObject = function(inclu
|
|
|
1405
1405
|
rackName: (f = msg.getRackName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
1406
1406
|
rackSize: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1407
1407
|
modulesList: jspb.Message.toObjectList(msg.getModulesList(),
|
|
1408
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.toObject, includeInstance)
|
|
1408
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.toObject, includeInstance),
|
|
1409
|
+
type: (f = msg.getType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
1409
1410
|
};
|
|
1410
1411
|
|
|
1411
1412
|
if (includeInstance) {
|
|
@@ -1461,6 +1462,11 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.deserializeBinaryFromRead
|
|
|
1461
1462
|
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.deserializeBinaryFromReader);
|
|
1462
1463
|
msg.addModules(value);
|
|
1463
1464
|
break;
|
|
1465
|
+
case 5:
|
|
1466
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
1467
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
1468
|
+
msg.setType(value);
|
|
1469
|
+
break;
|
|
1464
1470
|
default:
|
|
1465
1471
|
reader.skipField();
|
|
1466
1472
|
break;
|
|
@@ -1521,6 +1527,14 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.serializeBinaryToWriter =
|
|
|
1521
1527
|
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.serializeBinaryToWriter
|
|
1522
1528
|
);
|
|
1523
1529
|
}
|
|
1530
|
+
f = message.getType();
|
|
1531
|
+
if (f != null) {
|
|
1532
|
+
writer.writeMessage(
|
|
1533
|
+
5,
|
|
1534
|
+
f,
|
|
1535
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
1536
|
+
);
|
|
1537
|
+
}
|
|
1524
1538
|
};
|
|
1525
1539
|
|
|
1526
1540
|
|
|
@@ -1654,13 +1668,50 @@ proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.prototype.clearModulesLis
|
|
|
1654
1668
|
};
|
|
1655
1669
|
|
|
1656
1670
|
|
|
1671
|
+
/**
|
|
1672
|
+
* optional google.protobuf.StringValue type = 5;
|
|
1673
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
1674
|
+
*/
|
|
1675
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.prototype.getType = function() {
|
|
1676
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
1677
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
|
|
1678
|
+
};
|
|
1679
|
+
|
|
1680
|
+
|
|
1681
|
+
/**
|
|
1682
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
1683
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig} returns this
|
|
1684
|
+
*/
|
|
1685
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.prototype.setType = function(value) {
|
|
1686
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
1687
|
+
};
|
|
1688
|
+
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
* Clears the message field making it undefined.
|
|
1692
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig} returns this
|
|
1693
|
+
*/
|
|
1694
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.prototype.clearType = function() {
|
|
1695
|
+
return this.setType(undefined);
|
|
1696
|
+
};
|
|
1697
|
+
|
|
1698
|
+
|
|
1699
|
+
/**
|
|
1700
|
+
* Returns whether this field is set.
|
|
1701
|
+
* @return {boolean}
|
|
1702
|
+
*/
|
|
1703
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.prototype.hasType = function() {
|
|
1704
|
+
return jspb.Message.getField(this, 5) != null;
|
|
1705
|
+
};
|
|
1706
|
+
|
|
1707
|
+
|
|
1657
1708
|
|
|
1658
1709
|
/**
|
|
1659
1710
|
* List of repeated fields within this message type.
|
|
1660
1711
|
* @private {!Array<number>}
|
|
1661
1712
|
* @const
|
|
1662
1713
|
*/
|
|
1663
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.repeatedFields_ = [11];
|
|
1714
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.repeatedFields_ = [11,12];
|
|
1664
1715
|
|
|
1665
1716
|
|
|
1666
1717
|
|
|
@@ -1704,7 +1755,9 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.toObject = function(inclu
|
|
|
1704
1755
|
slot: (f = msg.getSlot()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
|
|
1705
1756
|
slotWidth: (f = msg.getSlotWidth()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
|
|
1706
1757
|
extendedInformationList: jspb.Message.toObjectList(msg.getExtendedInformationList(),
|
|
1707
|
-
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleExtendedInformation.toObject, includeInstance)
|
|
1758
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleExtendedInformation.toObject, includeInstance),
|
|
1759
|
+
busConfigList: jspb.Message.toObjectList(msg.getBusConfigList(),
|
|
1760
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.toObject, includeInstance)
|
|
1708
1761
|
};
|
|
1709
1762
|
|
|
1710
1763
|
if (includeInstance) {
|
|
@@ -1794,6 +1847,11 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.deserializeBinaryFromRead
|
|
|
1794
1847
|
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.ot.v1.ModuleExtendedInformation.deserializeBinaryFromReader);
|
|
1795
1848
|
msg.addExtendedInformation(value);
|
|
1796
1849
|
break;
|
|
1850
|
+
case 12:
|
|
1851
|
+
var value = new proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig;
|
|
1852
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.deserializeBinaryFromReader);
|
|
1853
|
+
msg.addBusConfig(value);
|
|
1854
|
+
break;
|
|
1797
1855
|
default:
|
|
1798
1856
|
reader.skipField();
|
|
1799
1857
|
break;
|
|
@@ -1909,6 +1967,14 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.serializeBinaryToWriter =
|
|
|
1909
1967
|
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleExtendedInformation.serializeBinaryToWriter
|
|
1910
1968
|
);
|
|
1911
1969
|
}
|
|
1970
|
+
f = message.getBusConfigList();
|
|
1971
|
+
if (f.length > 0) {
|
|
1972
|
+
writer.writeRepeatedMessage(
|
|
1973
|
+
12,
|
|
1974
|
+
f,
|
|
1975
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig.serializeBinaryToWriter
|
|
1976
|
+
);
|
|
1977
|
+
}
|
|
1912
1978
|
};
|
|
1913
1979
|
|
|
1914
1980
|
|
|
@@ -2282,6 +2348,44 @@ proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.clearExtendedIn
|
|
|
2282
2348
|
};
|
|
2283
2349
|
|
|
2284
2350
|
|
|
2351
|
+
/**
|
|
2352
|
+
* repeated RackConfig bus_config = 12;
|
|
2353
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig>}
|
|
2354
|
+
*/
|
|
2355
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.getBusConfigList = function() {
|
|
2356
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig>} */ (
|
|
2357
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig, 12));
|
|
2358
|
+
};
|
|
2359
|
+
|
|
2360
|
+
|
|
2361
|
+
/**
|
|
2362
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig>} value
|
|
2363
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData} returns this
|
|
2364
|
+
*/
|
|
2365
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.setBusConfigList = function(value) {
|
|
2366
|
+
return jspb.Message.setRepeatedWrapperField(this, 12, value);
|
|
2367
|
+
};
|
|
2368
|
+
|
|
2369
|
+
|
|
2370
|
+
/**
|
|
2371
|
+
* @param {!proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig=} opt_value
|
|
2372
|
+
* @param {number=} opt_index
|
|
2373
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig}
|
|
2374
|
+
*/
|
|
2375
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.addBusConfig = function(opt_value, opt_index) {
|
|
2376
|
+
return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.com.lansweeper.discovery.sensor.ot.v1.RackConfig, opt_index);
|
|
2377
|
+
};
|
|
2378
|
+
|
|
2379
|
+
|
|
2380
|
+
/**
|
|
2381
|
+
* Clears the list making it empty but non-null.
|
|
2382
|
+
* @return {!proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData} returns this
|
|
2383
|
+
*/
|
|
2384
|
+
proto.com.lansweeper.discovery.sensor.ot.v1.ModuleData.prototype.clearBusConfigList = function() {
|
|
2385
|
+
return this.setBusConfigList([]);
|
|
2386
|
+
};
|
|
2387
|
+
|
|
2388
|
+
|
|
2285
2389
|
|
|
2286
2390
|
|
|
2287
2391
|
|
|
@@ -3077,55 +3077,55 @@ export class PointingDevice extends jspb.Message {
|
|
|
3077
3077
|
getCaption(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
3078
3078
|
setCaption(value?: google_protobuf_wrappers_pb.StringValue): PointingDevice;
|
|
3079
3079
|
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3080
|
+
hasDeviceId(): boolean;
|
|
3081
|
+
clearDeviceId(): void;
|
|
3082
|
+
getDeviceId(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
3083
|
+
setDeviceId(value?: google_protobuf_wrappers_pb.StringValue): PointingDevice;
|
|
3084
3084
|
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3085
|
+
hasDeviceInterface(): boolean;
|
|
3086
|
+
clearDeviceInterface(): void;
|
|
3087
|
+
getDeviceInterface(): google_protobuf_wrappers_pb.UInt32Value | undefined;
|
|
3088
|
+
setDeviceInterface(value?: google_protobuf_wrappers_pb.UInt32Value): PointingDevice;
|
|
3089
3089
|
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3090
|
+
hasDoubleSpeedThreshold(): boolean;
|
|
3091
|
+
clearDoubleSpeedThreshold(): void;
|
|
3092
|
+
getDoubleSpeedThreshold(): google_protobuf_wrappers_pb.UInt32Value | undefined;
|
|
3093
|
+
setDoubleSpeedThreshold(value?: google_protobuf_wrappers_pb.UInt32Value): PointingDevice;
|
|
3094
3094
|
|
|
3095
3095
|
hasHandedness(): boolean;
|
|
3096
3096
|
clearHandedness(): void;
|
|
3097
3097
|
getHandedness(): google_protobuf_wrappers_pb.UInt32Value | undefined;
|
|
3098
3098
|
setHandedness(value?: google_protobuf_wrappers_pb.UInt32Value): PointingDevice;
|
|
3099
3099
|
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3100
|
+
hasInfFileName(): boolean;
|
|
3101
|
+
clearInfFileName(): void;
|
|
3102
|
+
getInfFileName(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
3103
|
+
setInfFileName(value?: google_protobuf_wrappers_pb.StringValue): PointingDevice;
|
|
3104
3104
|
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3105
|
+
hasInfSection(): boolean;
|
|
3106
|
+
clearInfSection(): void;
|
|
3107
|
+
getInfSection(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
3108
|
+
setInfSection(value?: google_protobuf_wrappers_pb.StringValue): PointingDevice;
|
|
3109
3109
|
|
|
3110
3110
|
hasManufacturer(): boolean;
|
|
3111
3111
|
clearManufacturer(): void;
|
|
3112
3112
|
getManufacturer(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
3113
3113
|
setManufacturer(value?: google_protobuf_wrappers_pb.StringValue): PointingDevice;
|
|
3114
3114
|
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3115
|
+
hasNumberOfButtons(): boolean;
|
|
3116
|
+
clearNumberOfButtons(): void;
|
|
3117
|
+
getNumberOfButtons(): google_protobuf_wrappers_pb.UInt32Value | undefined;
|
|
3118
|
+
setNumberOfButtons(value?: google_protobuf_wrappers_pb.UInt32Value): PointingDevice;
|
|
3119
3119
|
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3120
|
+
hasPointingType(): boolean;
|
|
3121
|
+
clearPointingType(): void;
|
|
3122
|
+
getPointingType(): google_protobuf_wrappers_pb.UInt32Value | undefined;
|
|
3123
|
+
setPointingType(value?: google_protobuf_wrappers_pb.UInt32Value): PointingDevice;
|
|
3124
3124
|
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3125
|
+
hasQuadSpeedThreshold(): boolean;
|
|
3126
|
+
clearQuadSpeedThreshold(): void;
|
|
3127
|
+
getQuadSpeedThreshold(): google_protobuf_wrappers_pb.UInt32Value | undefined;
|
|
3128
|
+
setQuadSpeedThreshold(value?: google_protobuf_wrappers_pb.UInt32Value): PointingDevice;
|
|
3129
3129
|
|
|
3130
3130
|
serializeBinary(): Uint8Array;
|
|
3131
3131
|
toObject(includeInstance?: boolean): PointingDevice.AsObject;
|
|
@@ -3140,16 +3140,16 @@ export class PointingDevice extends jspb.Message {
|
|
|
3140
3140
|
export namespace PointingDevice {
|
|
3141
3141
|
export type AsObject = {
|
|
3142
3142
|
caption?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3143
|
+
deviceId?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
3144
|
+
deviceInterface?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
|
3145
|
+
doubleSpeedThreshold?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
|
3146
3146
|
handedness?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
|
3147
|
-
|
|
3148
|
-
|
|
3147
|
+
infFileName?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
3148
|
+
infSection?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
3149
3149
|
manufacturer?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3150
|
+
numberOfButtons?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
|
3151
|
+
pointingType?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
|
3152
|
+
quadSpeedThreshold?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
|
3153
3153
|
}
|
|
3154
3154
|
}
|
|
3155
3155
|
|