@lansweeper/discovery-sensor-proto 2.29.1 → 2.31.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 +30 -0
- package/gen-proto/discovery_sections_mac_pb.js +256 -1
- package/gen-proto/discovery_sections_other_grpc_pb.js +1 -0
- package/gen-proto/discovery_sections_other_pb.d.ts +31 -0
- package/gen-proto/discovery_sections_other_pb.js +199 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/index.d.ts +1 -0
- package/gen-proto/index.js +3 -1
- package/package.json +2 -2
- package/proto/discovery_sections_api.proto +938 -938
- package/proto/discovery_sections_mac.proto +6 -1
- package/proto/discovery_sections_other.proto +14 -0
- package/proto/import/discovery_common.proto +95 -0
|
@@ -1438,6 +1438,31 @@ export class SystemHardware extends jspb.Message {
|
|
|
1438
1438
|
getSmcVersionSystem(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
1439
1439
|
setSmcVersionSystem(value?: google_protobuf_wrappers_pb.StringValue): SystemHardware;
|
|
1440
1440
|
|
|
1441
|
+
hasProvisioningUdid(): boolean;
|
|
1442
|
+
clearProvisioningUdid(): void;
|
|
1443
|
+
getProvisioningUdid(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
1444
|
+
setProvisioningUdid(value?: google_protobuf_wrappers_pb.StringValue): SystemHardware;
|
|
1445
|
+
|
|
1446
|
+
hasActivationLockStatus(): boolean;
|
|
1447
|
+
clearActivationLockStatus(): void;
|
|
1448
|
+
getActivationLockStatus(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
1449
|
+
setActivationLockStatus(value?: google_protobuf_wrappers_pb.StringValue): SystemHardware;
|
|
1450
|
+
|
|
1451
|
+
hasPlatformCpuHtt(): boolean;
|
|
1452
|
+
clearPlatformCpuHtt(): void;
|
|
1453
|
+
getPlatformCpuHtt(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
1454
|
+
setPlatformCpuHtt(value?: google_protobuf_wrappers_pb.StringValue): SystemHardware;
|
|
1455
|
+
|
|
1456
|
+
hasOsLoaderVersion(): boolean;
|
|
1457
|
+
clearOsLoaderVersion(): void;
|
|
1458
|
+
getOsLoaderVersion(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
1459
|
+
setOsLoaderVersion(value?: google_protobuf_wrappers_pb.StringValue): SystemHardware;
|
|
1460
|
+
|
|
1461
|
+
hasModelNumber(): boolean;
|
|
1462
|
+
clearModelNumber(): void;
|
|
1463
|
+
getModelNumber(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
1464
|
+
setModelNumber(value?: google_protobuf_wrappers_pb.StringValue): SystemHardware;
|
|
1465
|
+
|
|
1441
1466
|
serializeBinary(): Uint8Array;
|
|
1442
1467
|
toObject(includeInstance?: boolean): SystemHardware.AsObject;
|
|
1443
1468
|
static toObject(includeInstance: boolean, msg: SystemHardware): SystemHardware.AsObject;
|
|
@@ -1463,6 +1488,11 @@ export namespace SystemHardware {
|
|
|
1463
1488
|
packages?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
1464
1489
|
platformUuid?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
1465
1490
|
smcVersionSystem?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
1491
|
+
provisioningUdid?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
1492
|
+
activationLockStatus?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
1493
|
+
platformCpuHtt?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
1494
|
+
osLoaderVersion?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
1495
|
+
modelNumber?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
1466
1496
|
}
|
|
1467
1497
|
}
|
|
1468
1498
|
|
|
@@ -11516,7 +11516,12 @@ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.toObject = function(
|
|
|
11516
11516
|
serialNumber: (f = msg.getSerialNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
11517
11517
|
packages: (f = msg.getPackages()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
11518
11518
|
platformUuid: (f = msg.getPlatformUuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
11519
|
-
smcVersionSystem: (f = msg.getSmcVersionSystem()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
11519
|
+
smcVersionSystem: (f = msg.getSmcVersionSystem()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
11520
|
+
provisioningUdid: (f = msg.getProvisioningUdid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
11521
|
+
activationLockStatus: (f = msg.getActivationLockStatus()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
11522
|
+
platformCpuHtt: (f = msg.getPlatformCpuHtt()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
11523
|
+
osLoaderVersion: (f = msg.getOsLoaderVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
11524
|
+
modelNumber: (f = msg.getModelNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
11520
11525
|
};
|
|
11521
11526
|
|
|
11522
11527
|
if (includeInstance) {
|
|
@@ -11618,6 +11623,31 @@ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.deserializeBinaryFro
|
|
|
11618
11623
|
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
11619
11624
|
msg.setSmcVersionSystem(value);
|
|
11620
11625
|
break;
|
|
11626
|
+
case 14:
|
|
11627
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
11628
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
11629
|
+
msg.setProvisioningUdid(value);
|
|
11630
|
+
break;
|
|
11631
|
+
case 15:
|
|
11632
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
11633
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
11634
|
+
msg.setActivationLockStatus(value);
|
|
11635
|
+
break;
|
|
11636
|
+
case 16:
|
|
11637
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
11638
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
11639
|
+
msg.setPlatformCpuHtt(value);
|
|
11640
|
+
break;
|
|
11641
|
+
case 17:
|
|
11642
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
11643
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
11644
|
+
msg.setOsLoaderVersion(value);
|
|
11645
|
+
break;
|
|
11646
|
+
case 18:
|
|
11647
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
11648
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
11649
|
+
msg.setModelNumber(value);
|
|
11650
|
+
break;
|
|
11621
11651
|
default:
|
|
11622
11652
|
reader.skipField();
|
|
11623
11653
|
break;
|
|
@@ -11751,6 +11781,46 @@ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.serializeBinaryToWri
|
|
|
11751
11781
|
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
11752
11782
|
);
|
|
11753
11783
|
}
|
|
11784
|
+
f = message.getProvisioningUdid();
|
|
11785
|
+
if (f != null) {
|
|
11786
|
+
writer.writeMessage(
|
|
11787
|
+
14,
|
|
11788
|
+
f,
|
|
11789
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
11790
|
+
);
|
|
11791
|
+
}
|
|
11792
|
+
f = message.getActivationLockStatus();
|
|
11793
|
+
if (f != null) {
|
|
11794
|
+
writer.writeMessage(
|
|
11795
|
+
15,
|
|
11796
|
+
f,
|
|
11797
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
11798
|
+
);
|
|
11799
|
+
}
|
|
11800
|
+
f = message.getPlatformCpuHtt();
|
|
11801
|
+
if (f != null) {
|
|
11802
|
+
writer.writeMessage(
|
|
11803
|
+
16,
|
|
11804
|
+
f,
|
|
11805
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
11806
|
+
);
|
|
11807
|
+
}
|
|
11808
|
+
f = message.getOsLoaderVersion();
|
|
11809
|
+
if (f != null) {
|
|
11810
|
+
writer.writeMessage(
|
|
11811
|
+
17,
|
|
11812
|
+
f,
|
|
11813
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
11814
|
+
);
|
|
11815
|
+
}
|
|
11816
|
+
f = message.getModelNumber();
|
|
11817
|
+
if (f != null) {
|
|
11818
|
+
writer.writeMessage(
|
|
11819
|
+
18,
|
|
11820
|
+
f,
|
|
11821
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
11822
|
+
);
|
|
11823
|
+
}
|
|
11754
11824
|
};
|
|
11755
11825
|
|
|
11756
11826
|
|
|
@@ -12235,6 +12305,191 @@ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.hasSmcVers
|
|
|
12235
12305
|
};
|
|
12236
12306
|
|
|
12237
12307
|
|
|
12308
|
+
/**
|
|
12309
|
+
* optional google.protobuf.StringValue provisioning_udid = 14;
|
|
12310
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
12311
|
+
*/
|
|
12312
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.getProvisioningUdid = function() {
|
|
12313
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
12314
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 14));
|
|
12315
|
+
};
|
|
12316
|
+
|
|
12317
|
+
|
|
12318
|
+
/**
|
|
12319
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
12320
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
|
|
12321
|
+
*/
|
|
12322
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.setProvisioningUdid = function(value) {
|
|
12323
|
+
return jspb.Message.setWrapperField(this, 14, value);
|
|
12324
|
+
};
|
|
12325
|
+
|
|
12326
|
+
|
|
12327
|
+
/**
|
|
12328
|
+
* Clears the message field making it undefined.
|
|
12329
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
|
|
12330
|
+
*/
|
|
12331
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.clearProvisioningUdid = function() {
|
|
12332
|
+
return this.setProvisioningUdid(undefined);
|
|
12333
|
+
};
|
|
12334
|
+
|
|
12335
|
+
|
|
12336
|
+
/**
|
|
12337
|
+
* Returns whether this field is set.
|
|
12338
|
+
* @return {boolean}
|
|
12339
|
+
*/
|
|
12340
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.hasProvisioningUdid = function() {
|
|
12341
|
+
return jspb.Message.getField(this, 14) != null;
|
|
12342
|
+
};
|
|
12343
|
+
|
|
12344
|
+
|
|
12345
|
+
/**
|
|
12346
|
+
* optional google.protobuf.StringValue activation_lock_status = 15;
|
|
12347
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
12348
|
+
*/
|
|
12349
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.getActivationLockStatus = function() {
|
|
12350
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
12351
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 15));
|
|
12352
|
+
};
|
|
12353
|
+
|
|
12354
|
+
|
|
12355
|
+
/**
|
|
12356
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
12357
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
|
|
12358
|
+
*/
|
|
12359
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.setActivationLockStatus = function(value) {
|
|
12360
|
+
return jspb.Message.setWrapperField(this, 15, value);
|
|
12361
|
+
};
|
|
12362
|
+
|
|
12363
|
+
|
|
12364
|
+
/**
|
|
12365
|
+
* Clears the message field making it undefined.
|
|
12366
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
|
|
12367
|
+
*/
|
|
12368
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.clearActivationLockStatus = function() {
|
|
12369
|
+
return this.setActivationLockStatus(undefined);
|
|
12370
|
+
};
|
|
12371
|
+
|
|
12372
|
+
|
|
12373
|
+
/**
|
|
12374
|
+
* Returns whether this field is set.
|
|
12375
|
+
* @return {boolean}
|
|
12376
|
+
*/
|
|
12377
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.hasActivationLockStatus = function() {
|
|
12378
|
+
return jspb.Message.getField(this, 15) != null;
|
|
12379
|
+
};
|
|
12380
|
+
|
|
12381
|
+
|
|
12382
|
+
/**
|
|
12383
|
+
* optional google.protobuf.StringValue platform_cpu_htt = 16;
|
|
12384
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
12385
|
+
*/
|
|
12386
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.getPlatformCpuHtt = function() {
|
|
12387
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
12388
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 16));
|
|
12389
|
+
};
|
|
12390
|
+
|
|
12391
|
+
|
|
12392
|
+
/**
|
|
12393
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
12394
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
|
|
12395
|
+
*/
|
|
12396
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.setPlatformCpuHtt = function(value) {
|
|
12397
|
+
return jspb.Message.setWrapperField(this, 16, value);
|
|
12398
|
+
};
|
|
12399
|
+
|
|
12400
|
+
|
|
12401
|
+
/**
|
|
12402
|
+
* Clears the message field making it undefined.
|
|
12403
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
|
|
12404
|
+
*/
|
|
12405
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.clearPlatformCpuHtt = function() {
|
|
12406
|
+
return this.setPlatformCpuHtt(undefined);
|
|
12407
|
+
};
|
|
12408
|
+
|
|
12409
|
+
|
|
12410
|
+
/**
|
|
12411
|
+
* Returns whether this field is set.
|
|
12412
|
+
* @return {boolean}
|
|
12413
|
+
*/
|
|
12414
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.hasPlatformCpuHtt = function() {
|
|
12415
|
+
return jspb.Message.getField(this, 16) != null;
|
|
12416
|
+
};
|
|
12417
|
+
|
|
12418
|
+
|
|
12419
|
+
/**
|
|
12420
|
+
* optional google.protobuf.StringValue os_loader_version = 17;
|
|
12421
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
12422
|
+
*/
|
|
12423
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.getOsLoaderVersion = function() {
|
|
12424
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
12425
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 17));
|
|
12426
|
+
};
|
|
12427
|
+
|
|
12428
|
+
|
|
12429
|
+
/**
|
|
12430
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
12431
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
|
|
12432
|
+
*/
|
|
12433
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.setOsLoaderVersion = function(value) {
|
|
12434
|
+
return jspb.Message.setWrapperField(this, 17, value);
|
|
12435
|
+
};
|
|
12436
|
+
|
|
12437
|
+
|
|
12438
|
+
/**
|
|
12439
|
+
* Clears the message field making it undefined.
|
|
12440
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
|
|
12441
|
+
*/
|
|
12442
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.clearOsLoaderVersion = function() {
|
|
12443
|
+
return this.setOsLoaderVersion(undefined);
|
|
12444
|
+
};
|
|
12445
|
+
|
|
12446
|
+
|
|
12447
|
+
/**
|
|
12448
|
+
* Returns whether this field is set.
|
|
12449
|
+
* @return {boolean}
|
|
12450
|
+
*/
|
|
12451
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.hasOsLoaderVersion = function() {
|
|
12452
|
+
return jspb.Message.getField(this, 17) != null;
|
|
12453
|
+
};
|
|
12454
|
+
|
|
12455
|
+
|
|
12456
|
+
/**
|
|
12457
|
+
* optional google.protobuf.StringValue model_number = 18;
|
|
12458
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
12459
|
+
*/
|
|
12460
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.getModelNumber = function() {
|
|
12461
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
12462
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 18));
|
|
12463
|
+
};
|
|
12464
|
+
|
|
12465
|
+
|
|
12466
|
+
/**
|
|
12467
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
12468
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
|
|
12469
|
+
*/
|
|
12470
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.setModelNumber = function(value) {
|
|
12471
|
+
return jspb.Message.setWrapperField(this, 18, value);
|
|
12472
|
+
};
|
|
12473
|
+
|
|
12474
|
+
|
|
12475
|
+
/**
|
|
12476
|
+
* Clears the message field making it undefined.
|
|
12477
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware} returns this
|
|
12478
|
+
*/
|
|
12479
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.clearModelNumber = function() {
|
|
12480
|
+
return this.setModelNumber(undefined);
|
|
12481
|
+
};
|
|
12482
|
+
|
|
12483
|
+
|
|
12484
|
+
/**
|
|
12485
|
+
* Returns whether this field is set.
|
|
12486
|
+
* @return {boolean}
|
|
12487
|
+
*/
|
|
12488
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.hasModelNumber = function() {
|
|
12489
|
+
return jspb.Message.getField(this, 18) != null;
|
|
12490
|
+
};
|
|
12491
|
+
|
|
12492
|
+
|
|
12238
12493
|
|
|
12239
12494
|
/**
|
|
12240
12495
|
* List of repeated fields within this message type.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// package: com.lansweeper.discovery.sensor.other.v1
|
|
2
|
+
// file: discovery_sections_other.proto
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
import * as jspb from "google-protobuf";
|
|
8
|
+
import * as import_discovery_common_pb from "./import/discovery_common_pb";
|
|
9
|
+
|
|
10
|
+
export class SnmpInfo extends jspb.Message {
|
|
11
|
+
|
|
12
|
+
hasData(): boolean;
|
|
13
|
+
clearData(): void;
|
|
14
|
+
getData(): import_discovery_common_pb.SnmpInfo | undefined;
|
|
15
|
+
setData(value?: import_discovery_common_pb.SnmpInfo): SnmpInfo;
|
|
16
|
+
|
|
17
|
+
serializeBinary(): Uint8Array;
|
|
18
|
+
toObject(includeInstance?: boolean): SnmpInfo.AsObject;
|
|
19
|
+
static toObject(includeInstance: boolean, msg: SnmpInfo): SnmpInfo.AsObject;
|
|
20
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
21
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
22
|
+
static serializeBinaryToWriter(message: SnmpInfo, writer: jspb.BinaryWriter): void;
|
|
23
|
+
static deserializeBinary(bytes: Uint8Array): SnmpInfo;
|
|
24
|
+
static deserializeBinaryFromReader(message: SnmpInfo, reader: jspb.BinaryReader): SnmpInfo;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export namespace SnmpInfo {
|
|
28
|
+
export type AsObject = {
|
|
29
|
+
data?: import_discovery_common_pb.SnmpInfo.AsObject,
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
// source: discovery_sections_other.proto
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview
|
|
4
|
+
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
13
|
+
|
|
14
|
+
var jspb = require('google-protobuf');
|
|
15
|
+
var goog = jspb;
|
|
16
|
+
var global = (function() {
|
|
17
|
+
if (this) { return this; }
|
|
18
|
+
if (typeof window !== 'undefined') { return window; }
|
|
19
|
+
if (typeof global !== 'undefined') { return global; }
|
|
20
|
+
if (typeof self !== 'undefined') { return self; }
|
|
21
|
+
return Function('return this')();
|
|
22
|
+
}.call(null));
|
|
23
|
+
|
|
24
|
+
var import_discovery_common_pb = require('./import/discovery_common_pb.js');
|
|
25
|
+
goog.object.extend(proto, import_discovery_common_pb);
|
|
26
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo', null, global);
|
|
27
|
+
/**
|
|
28
|
+
* Generated by JsPbCodeGenerator.
|
|
29
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
30
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
31
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
32
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
33
|
+
* valid.
|
|
34
|
+
* @extends {jspb.Message}
|
|
35
|
+
* @constructor
|
|
36
|
+
*/
|
|
37
|
+
proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo = function(opt_data) {
|
|
38
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
39
|
+
};
|
|
40
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo, jspb.Message);
|
|
41
|
+
if (goog.DEBUG && !COMPILED) {
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
* @override
|
|
45
|
+
*/
|
|
46
|
+
proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.displayName = 'proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo';
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
52
|
+
/**
|
|
53
|
+
* Creates an object representation of this proto.
|
|
54
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
55
|
+
* Optional fields that are not set will be set to undefined.
|
|
56
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
57
|
+
* For the list of reserved names please see:
|
|
58
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
59
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
60
|
+
* JSPB instance for transitional soy proto support:
|
|
61
|
+
* http://goto/soy-param-migration
|
|
62
|
+
* @return {!Object}
|
|
63
|
+
*/
|
|
64
|
+
proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.toObject = function(opt_includeInstance) {
|
|
65
|
+
return proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.toObject(opt_includeInstance, this);
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Static version of the {@see toObject} method.
|
|
71
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72
|
+
* the JSPB instance for transitional soy proto support:
|
|
73
|
+
* http://goto/soy-param-migration
|
|
74
|
+
* @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo} msg The msg instance to transform.
|
|
75
|
+
* @return {!Object}
|
|
76
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77
|
+
*/
|
|
78
|
+
proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.toObject = function(includeInstance, msg) {
|
|
79
|
+
var f, obj = {
|
|
80
|
+
data: (f = msg.getData()) && import_discovery_common_pb.SnmpInfo.toObject(includeInstance, f)
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
if (includeInstance) {
|
|
84
|
+
obj.$jspbMessageInstance = msg;
|
|
85
|
+
}
|
|
86
|
+
return obj;
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Deserializes binary data (in protobuf wire format).
|
|
93
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
94
|
+
* @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo}
|
|
95
|
+
*/
|
|
96
|
+
proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.deserializeBinary = function(bytes) {
|
|
97
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
98
|
+
var msg = new proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo;
|
|
99
|
+
return proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.deserializeBinaryFromReader(msg, reader);
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
105
|
+
* given reader into the given message object.
|
|
106
|
+
* @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo} msg The message object to deserialize into.
|
|
107
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
108
|
+
* @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo}
|
|
109
|
+
*/
|
|
110
|
+
proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
111
|
+
while (reader.nextField()) {
|
|
112
|
+
if (reader.isEndGroup()) {
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
var field = reader.getFieldNumber();
|
|
116
|
+
switch (field) {
|
|
117
|
+
case 1:
|
|
118
|
+
var value = new import_discovery_common_pb.SnmpInfo;
|
|
119
|
+
reader.readMessage(value,import_discovery_common_pb.SnmpInfo.deserializeBinaryFromReader);
|
|
120
|
+
msg.setData(value);
|
|
121
|
+
break;
|
|
122
|
+
default:
|
|
123
|
+
reader.skipField();
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
return msg;
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
133
|
+
* @return {!Uint8Array}
|
|
134
|
+
*/
|
|
135
|
+
proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.serializeBinary = function() {
|
|
136
|
+
var writer = new jspb.BinaryWriter();
|
|
137
|
+
proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.serializeBinaryToWriter(this, writer);
|
|
138
|
+
return writer.getResultBuffer();
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
144
|
+
* format), writing to the given BinaryWriter.
|
|
145
|
+
* @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo} message
|
|
146
|
+
* @param {!jspb.BinaryWriter} writer
|
|
147
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
148
|
+
*/
|
|
149
|
+
proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.serializeBinaryToWriter = function(message, writer) {
|
|
150
|
+
var f = undefined;
|
|
151
|
+
f = message.getData();
|
|
152
|
+
if (f != null) {
|
|
153
|
+
writer.writeMessage(
|
|
154
|
+
1,
|
|
155
|
+
f,
|
|
156
|
+
import_discovery_common_pb.SnmpInfo.serializeBinaryToWriter
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* optional com.lansweeper.discovery.sensor.common.v1.SnmpInfo data = 1;
|
|
164
|
+
* @return {?proto.com.lansweeper.discovery.sensor.common.v1.SnmpInfo}
|
|
165
|
+
*/
|
|
166
|
+
proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.getData = function() {
|
|
167
|
+
return /** @type{?proto.com.lansweeper.discovery.sensor.common.v1.SnmpInfo} */ (
|
|
168
|
+
jspb.Message.getWrapperField(this, import_discovery_common_pb.SnmpInfo, 1));
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* @param {?proto.com.lansweeper.discovery.sensor.common.v1.SnmpInfo|undefined} value
|
|
174
|
+
* @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo} returns this
|
|
175
|
+
*/
|
|
176
|
+
proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.setData = function(value) {
|
|
177
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Clears the message field making it undefined.
|
|
183
|
+
* @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo} returns this
|
|
184
|
+
*/
|
|
185
|
+
proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.clearData = function() {
|
|
186
|
+
return this.setData(undefined);
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Returns whether this field is set.
|
|
192
|
+
* @return {boolean}
|
|
193
|
+
*/
|
|
194
|
+
proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.hasData = function() {
|
|
195
|
+
return jspb.Message.getField(this, 1) != null;
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.other.v1);
|