@lansweeper/data-platform-outbound-grpc 0.1.21 → 0.1.22
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/CHANGELOG.md +8 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +119 -0
- package/gen-proto/outbound_pb.js +1067 -68
- package/generated-go/outbound.pb.go +1830 -1475
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +38 -0
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -45,6 +45,9 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces', null,
|
|
|
45
45
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo', null, global);
|
|
46
46
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.SpecCase', null, global);
|
|
47
47
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch', null, global);
|
|
48
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo', null, global);
|
|
49
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtModule', null, global);
|
|
50
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo', null, global);
|
|
48
51
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Processor', null, global);
|
|
49
52
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.RawSoftware', null, global);
|
|
50
53
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Software', null, global);
|
|
@@ -241,6 +244,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
241
244
|
*/
|
|
242
245
|
proto.com.lansweeper.dp.outbound.v1.Asset.displayName = 'proto.com.lansweeper.dp.outbound.v1.Asset';
|
|
243
246
|
}
|
|
247
|
+
/**
|
|
248
|
+
* Generated by JsPbCodeGenerator.
|
|
249
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
250
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
251
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
252
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
253
|
+
* valid.
|
|
254
|
+
* @extends {jspb.Message}
|
|
255
|
+
* @constructor
|
|
256
|
+
*/
|
|
257
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule = function(opt_data) {
|
|
258
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.dp.outbound.v1.OtModule.repeatedFields_, null);
|
|
259
|
+
};
|
|
260
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.OtModule, jspb.Message);
|
|
261
|
+
if (goog.DEBUG && !COMPILED) {
|
|
262
|
+
/**
|
|
263
|
+
* @public
|
|
264
|
+
* @override
|
|
265
|
+
*/
|
|
266
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.displayName = 'proto.com.lansweeper.dp.outbound.v1.OtModule';
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Generated by JsPbCodeGenerator.
|
|
270
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
271
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
272
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
273
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
274
|
+
* valid.
|
|
275
|
+
* @extends {jspb.Message}
|
|
276
|
+
* @constructor
|
|
277
|
+
*/
|
|
278
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo = function(opt_data) {
|
|
279
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
280
|
+
};
|
|
281
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo, jspb.Message);
|
|
282
|
+
if (goog.DEBUG && !COMPILED) {
|
|
283
|
+
/**
|
|
284
|
+
* @public
|
|
285
|
+
* @override
|
|
286
|
+
*/
|
|
287
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo';
|
|
288
|
+
}
|
|
244
289
|
/**
|
|
245
290
|
* Generated by JsPbCodeGenerator.
|
|
246
291
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -367,6 +412,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
367
412
|
*/
|
|
368
413
|
proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch.displayName = 'proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch';
|
|
369
414
|
}
|
|
415
|
+
/**
|
|
416
|
+
* Generated by JsPbCodeGenerator.
|
|
417
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
418
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
419
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
420
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
421
|
+
* valid.
|
|
422
|
+
* @extends {jspb.Message}
|
|
423
|
+
* @constructor
|
|
424
|
+
*/
|
|
425
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo = function(opt_data) {
|
|
426
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
427
|
+
};
|
|
428
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo, jspb.Message);
|
|
429
|
+
if (goog.DEBUG && !COMPILED) {
|
|
430
|
+
/**
|
|
431
|
+
* @public
|
|
432
|
+
* @override
|
|
433
|
+
*/
|
|
434
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo';
|
|
435
|
+
}
|
|
370
436
|
/**
|
|
371
437
|
* Generated by JsPbCodeGenerator.
|
|
372
438
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2861,7 +2927,8 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
|
|
|
2861
2927
|
osPatchList: jspb.Message.toObjectList(msg.getOsPatchList(),
|
|
2862
2928
|
proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch.toObject, includeInstance),
|
|
2863
2929
|
processorList: jspb.Message.toObjectList(msg.getProcessorList(),
|
|
2864
|
-
proto.com.lansweeper.dp.outbound.v1.Processor.toObject, includeInstance)
|
|
2930
|
+
proto.com.lansweeper.dp.outbound.v1.Processor.toObject, includeInstance),
|
|
2931
|
+
otModule: (f = msg.getOtModule()) && proto.com.lansweeper.dp.outbound.v1.OtModule.toObject(includeInstance, f)
|
|
2865
2932
|
};
|
|
2866
2933
|
|
|
2867
2934
|
if (includeInstance) {
|
|
@@ -2971,6 +3038,11 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
|
|
|
2971
3038
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Processor.deserializeBinaryFromReader);
|
|
2972
3039
|
msg.addProcessor(value);
|
|
2973
3040
|
break;
|
|
3041
|
+
case 16:
|
|
3042
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.OtModule;
|
|
3043
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.OtModule.deserializeBinaryFromReader);
|
|
3044
|
+
msg.setOtModule(value);
|
|
3045
|
+
break;
|
|
2974
3046
|
default:
|
|
2975
3047
|
reader.skipField();
|
|
2976
3048
|
break;
|
|
@@ -3118,6 +3190,14 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
|
|
|
3118
3190
|
proto.com.lansweeper.dp.outbound.v1.Processor.serializeBinaryToWriter
|
|
3119
3191
|
);
|
|
3120
3192
|
}
|
|
3193
|
+
f = message.getOtModule();
|
|
3194
|
+
if (f != null) {
|
|
3195
|
+
writer.writeMessage(
|
|
3196
|
+
16,
|
|
3197
|
+
f,
|
|
3198
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.serializeBinaryToWriter
|
|
3199
|
+
);
|
|
3200
|
+
}
|
|
3121
3201
|
};
|
|
3122
3202
|
|
|
3123
3203
|
|
|
@@ -3678,6 +3758,50 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearProcessorList = functio
|
|
|
3678
3758
|
};
|
|
3679
3759
|
|
|
3680
3760
|
|
|
3761
|
+
/**
|
|
3762
|
+
* optional OtModule ot_module = 16;
|
|
3763
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.OtModule}
|
|
3764
|
+
*/
|
|
3765
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getOtModule = function() {
|
|
3766
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.OtModule} */ (
|
|
3767
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.OtModule, 16));
|
|
3768
|
+
};
|
|
3769
|
+
|
|
3770
|
+
|
|
3771
|
+
/**
|
|
3772
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.OtModule|undefined} value
|
|
3773
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
3774
|
+
*/
|
|
3775
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setOtModule = function(value) {
|
|
3776
|
+
return jspb.Message.setWrapperField(this, 16, value);
|
|
3777
|
+
};
|
|
3778
|
+
|
|
3779
|
+
|
|
3780
|
+
/**
|
|
3781
|
+
* Clears the message field making it undefined.
|
|
3782
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
3783
|
+
*/
|
|
3784
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearOtModule = function() {
|
|
3785
|
+
return this.setOtModule(undefined);
|
|
3786
|
+
};
|
|
3787
|
+
|
|
3788
|
+
|
|
3789
|
+
/**
|
|
3790
|
+
* Returns whether this field is set.
|
|
3791
|
+
* @return {boolean}
|
|
3792
|
+
*/
|
|
3793
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasOtModule = function() {
|
|
3794
|
+
return jspb.Message.getField(this, 16) != null;
|
|
3795
|
+
};
|
|
3796
|
+
|
|
3797
|
+
|
|
3798
|
+
|
|
3799
|
+
/**
|
|
3800
|
+
* List of repeated fields within this message type.
|
|
3801
|
+
* @private {!Array<number>}
|
|
3802
|
+
* @const
|
|
3803
|
+
*/
|
|
3804
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.repeatedFields_ = [2,11];
|
|
3681
3805
|
|
|
3682
3806
|
|
|
3683
3807
|
|
|
@@ -3694,8 +3818,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3694
3818
|
* http://goto/soy-param-migration
|
|
3695
3819
|
* @return {!Object}
|
|
3696
3820
|
*/
|
|
3697
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3698
|
-
return proto.com.lansweeper.dp.outbound.v1.
|
|
3821
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.toObject = function(opt_includeInstance) {
|
|
3822
|
+
return proto.com.lansweeper.dp.outbound.v1.OtModule.toObject(opt_includeInstance, this);
|
|
3699
3823
|
};
|
|
3700
3824
|
|
|
3701
3825
|
|
|
@@ -3704,15 +3828,25 @@ proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.toObject = function(opt_
|
|
|
3704
3828
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3705
3829
|
* the JSPB instance for transitional soy proto support:
|
|
3706
3830
|
* http://goto/soy-param-migration
|
|
3707
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
3831
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtModule} msg The msg instance to transform.
|
|
3708
3832
|
* @return {!Object}
|
|
3709
3833
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3710
3834
|
*/
|
|
3711
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3835
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.toObject = function(includeInstance, msg) {
|
|
3712
3836
|
var f, obj = {
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3837
|
+
parentId: (f = msg.getParentId()) && proto.com.lansweeper.dp.outbound.v1.EntityPath.toObject(includeInstance, f),
|
|
3838
|
+
subModuleIdList: jspb.Message.toObjectList(msg.getSubModuleIdList(),
|
|
3839
|
+
proto.com.lansweeper.dp.outbound.v1.EntityPath.toObject, includeInstance),
|
|
3840
|
+
rackNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
3841
|
+
rackName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3842
|
+
rackSize: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
3843
|
+
slot: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
3844
|
+
slotWidth: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
3845
|
+
isMainModule: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
3846
|
+
componentType: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
3847
|
+
partNumber: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
3848
|
+
extInfoList: jspb.Message.toObjectList(msg.getExtInfoList(),
|
|
3849
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.toObject, includeInstance)
|
|
3716
3850
|
};
|
|
3717
3851
|
|
|
3718
3852
|
if (includeInstance) {
|
|
@@ -3726,23 +3860,23 @@ proto.com.lansweeper.dp.outbound.v1.AssetType.toObject = function(includeInstanc
|
|
|
3726
3860
|
/**
|
|
3727
3861
|
* Deserializes binary data (in protobuf wire format).
|
|
3728
3862
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3729
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
3863
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule}
|
|
3730
3864
|
*/
|
|
3731
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3865
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.deserializeBinary = function(bytes) {
|
|
3732
3866
|
var reader = new jspb.BinaryReader(bytes);
|
|
3733
|
-
var msg = new proto.com.lansweeper.dp.outbound.v1.
|
|
3734
|
-
return proto.com.lansweeper.dp.outbound.v1.
|
|
3867
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.OtModule;
|
|
3868
|
+
return proto.com.lansweeper.dp.outbound.v1.OtModule.deserializeBinaryFromReader(msg, reader);
|
|
3735
3869
|
};
|
|
3736
3870
|
|
|
3737
3871
|
|
|
3738
3872
|
/**
|
|
3739
3873
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3740
3874
|
* given reader into the given message object.
|
|
3741
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
3875
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtModule} msg The message object to deserialize into.
|
|
3742
3876
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3743
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
3877
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule}
|
|
3744
3878
|
*/
|
|
3745
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3879
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.deserializeBinaryFromReader = function(msg, reader) {
|
|
3746
3880
|
while (reader.nextField()) {
|
|
3747
3881
|
if (reader.isEndGroup()) {
|
|
3748
3882
|
break;
|
|
@@ -3750,16 +3884,51 @@ proto.com.lansweeper.dp.outbound.v1.AssetType.deserializeBinaryFromReader = func
|
|
|
3750
3884
|
var field = reader.getFieldNumber();
|
|
3751
3885
|
switch (field) {
|
|
3752
3886
|
case 1:
|
|
3753
|
-
var value =
|
|
3754
|
-
|
|
3887
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.EntityPath;
|
|
3888
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.EntityPath.deserializeBinaryFromReader);
|
|
3889
|
+
msg.setParentId(value);
|
|
3890
|
+
break;
|
|
3891
|
+
case 2:
|
|
3892
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.EntityPath;
|
|
3893
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.EntityPath.deserializeBinaryFromReader);
|
|
3894
|
+
msg.addSubModuleId(value);
|
|
3755
3895
|
break;
|
|
3756
3896
|
case 3:
|
|
3757
3897
|
var value = /** @type {number} */ (reader.readInt32());
|
|
3758
|
-
msg.
|
|
3898
|
+
msg.setRackNumber(value);
|
|
3759
3899
|
break;
|
|
3760
|
-
case
|
|
3900
|
+
case 4:
|
|
3761
3901
|
var value = /** @type {string} */ (reader.readString());
|
|
3762
|
-
msg.
|
|
3902
|
+
msg.setRackName(value);
|
|
3903
|
+
break;
|
|
3904
|
+
case 5:
|
|
3905
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3906
|
+
msg.setRackSize(value);
|
|
3907
|
+
break;
|
|
3908
|
+
case 6:
|
|
3909
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3910
|
+
msg.setSlot(value);
|
|
3911
|
+
break;
|
|
3912
|
+
case 7:
|
|
3913
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3914
|
+
msg.setSlotWidth(value);
|
|
3915
|
+
break;
|
|
3916
|
+
case 8:
|
|
3917
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3918
|
+
msg.setIsMainModule(value);
|
|
3919
|
+
break;
|
|
3920
|
+
case 9:
|
|
3921
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3922
|
+
msg.setComponentType(value);
|
|
3923
|
+
break;
|
|
3924
|
+
case 10:
|
|
3925
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3926
|
+
msg.setPartNumber(value);
|
|
3927
|
+
break;
|
|
3928
|
+
case 11:
|
|
3929
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo;
|
|
3930
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.deserializeBinaryFromReader);
|
|
3931
|
+
msg.addExtInfo(value);
|
|
3763
3932
|
break;
|
|
3764
3933
|
default:
|
|
3765
3934
|
reader.skipField();
|
|
@@ -3774,9 +3943,9 @@ proto.com.lansweeper.dp.outbound.v1.AssetType.deserializeBinaryFromReader = func
|
|
|
3774
3943
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3775
3944
|
* @return {!Uint8Array}
|
|
3776
3945
|
*/
|
|
3777
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3946
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.serializeBinary = function() {
|
|
3778
3947
|
var writer = new jspb.BinaryWriter();
|
|
3779
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3948
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.serializeBinaryToWriter(this, writer);
|
|
3780
3949
|
return writer.getResultBuffer();
|
|
3781
3950
|
};
|
|
3782
3951
|
|
|
@@ -3784,111 +3953,759 @@ proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.serializeBinary = functi
|
|
|
3784
3953
|
/**
|
|
3785
3954
|
* Serializes the given message to binary data (in protobuf wire
|
|
3786
3955
|
* format), writing to the given BinaryWriter.
|
|
3787
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
3956
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtModule} message
|
|
3788
3957
|
* @param {!jspb.BinaryWriter} writer
|
|
3789
3958
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3790
3959
|
*/
|
|
3791
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3960
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.serializeBinaryToWriter = function(message, writer) {
|
|
3792
3961
|
var f = undefined;
|
|
3793
|
-
f = message.
|
|
3962
|
+
f = message.getParentId();
|
|
3963
|
+
if (f != null) {
|
|
3964
|
+
writer.writeMessage(
|
|
3965
|
+
1,
|
|
3966
|
+
f,
|
|
3967
|
+
proto.com.lansweeper.dp.outbound.v1.EntityPath.serializeBinaryToWriter
|
|
3968
|
+
);
|
|
3969
|
+
}
|
|
3970
|
+
f = message.getSubModuleIdList();
|
|
3971
|
+
if (f.length > 0) {
|
|
3972
|
+
writer.writeRepeatedMessage(
|
|
3973
|
+
2,
|
|
3974
|
+
f,
|
|
3975
|
+
proto.com.lansweeper.dp.outbound.v1.EntityPath.serializeBinaryToWriter
|
|
3976
|
+
);
|
|
3977
|
+
}
|
|
3978
|
+
f = message.getRackNumber();
|
|
3979
|
+
if (f !== 0) {
|
|
3980
|
+
writer.writeInt32(
|
|
3981
|
+
3,
|
|
3982
|
+
f
|
|
3983
|
+
);
|
|
3984
|
+
}
|
|
3985
|
+
f = message.getRackName();
|
|
3794
3986
|
if (f.length > 0) {
|
|
3795
3987
|
writer.writeString(
|
|
3796
|
-
|
|
3988
|
+
4,
|
|
3797
3989
|
f
|
|
3798
3990
|
);
|
|
3799
3991
|
}
|
|
3800
|
-
f = message.
|
|
3992
|
+
f = message.getRackSize();
|
|
3801
3993
|
if (f !== 0) {
|
|
3802
3994
|
writer.writeInt32(
|
|
3803
|
-
|
|
3995
|
+
5,
|
|
3804
3996
|
f
|
|
3805
3997
|
);
|
|
3806
3998
|
}
|
|
3807
|
-
f =
|
|
3999
|
+
f = message.getSlot();
|
|
4000
|
+
if (f !== 0) {
|
|
4001
|
+
writer.writeInt32(
|
|
4002
|
+
6,
|
|
4003
|
+
f
|
|
4004
|
+
);
|
|
4005
|
+
}
|
|
4006
|
+
f = message.getSlotWidth();
|
|
4007
|
+
if (f !== 0) {
|
|
4008
|
+
writer.writeInt32(
|
|
4009
|
+
7,
|
|
4010
|
+
f
|
|
4011
|
+
);
|
|
4012
|
+
}
|
|
4013
|
+
f = message.getIsMainModule();
|
|
4014
|
+
if (f) {
|
|
4015
|
+
writer.writeBool(
|
|
4016
|
+
8,
|
|
4017
|
+
f
|
|
4018
|
+
);
|
|
4019
|
+
}
|
|
4020
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
3808
4021
|
if (f != null) {
|
|
3809
4022
|
writer.writeString(
|
|
3810
|
-
|
|
4023
|
+
9,
|
|
4024
|
+
f
|
|
4025
|
+
);
|
|
4026
|
+
}
|
|
4027
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
4028
|
+
if (f != null) {
|
|
4029
|
+
writer.writeString(
|
|
4030
|
+
10,
|
|
3811
4031
|
f
|
|
3812
4032
|
);
|
|
3813
4033
|
}
|
|
4034
|
+
f = message.getExtInfoList();
|
|
4035
|
+
if (f.length > 0) {
|
|
4036
|
+
writer.writeRepeatedMessage(
|
|
4037
|
+
11,
|
|
4038
|
+
f,
|
|
4039
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.serializeBinaryToWriter
|
|
4040
|
+
);
|
|
4041
|
+
}
|
|
3814
4042
|
};
|
|
3815
4043
|
|
|
3816
4044
|
|
|
3817
4045
|
/**
|
|
3818
|
-
* optional
|
|
3819
|
-
* @return {
|
|
4046
|
+
* optional EntityPath parent_id = 1;
|
|
4047
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.EntityPath}
|
|
3820
4048
|
*/
|
|
3821
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3822
|
-
return /** @type
|
|
4049
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getParentId = function() {
|
|
4050
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.EntityPath} */ (
|
|
4051
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.EntityPath, 1));
|
|
3823
4052
|
};
|
|
3824
4053
|
|
|
3825
4054
|
|
|
3826
4055
|
/**
|
|
3827
|
-
* @param {
|
|
3828
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
3829
|
-
|
|
3830
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3831
|
-
return jspb.Message.
|
|
4056
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.EntityPath|undefined} value
|
|
4057
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4058
|
+
*/
|
|
4059
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setParentId = function(value) {
|
|
4060
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
3832
4061
|
};
|
|
3833
4062
|
|
|
3834
4063
|
|
|
3835
4064
|
/**
|
|
3836
|
-
*
|
|
3837
|
-
* @return {
|
|
4065
|
+
* Clears the message field making it undefined.
|
|
4066
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
3838
4067
|
*/
|
|
3839
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3840
|
-
return
|
|
4068
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearParentId = function() {
|
|
4069
|
+
return this.setParentId(undefined);
|
|
3841
4070
|
};
|
|
3842
4071
|
|
|
3843
4072
|
|
|
3844
4073
|
/**
|
|
3845
|
-
*
|
|
3846
|
-
* @return {
|
|
4074
|
+
* Returns whether this field is set.
|
|
4075
|
+
* @return {boolean}
|
|
3847
4076
|
*/
|
|
3848
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3849
|
-
return jspb.Message.
|
|
4077
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasParentId = function() {
|
|
4078
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3850
4079
|
};
|
|
3851
4080
|
|
|
3852
4081
|
|
|
3853
4082
|
/**
|
|
3854
|
-
*
|
|
3855
|
-
* @return {
|
|
4083
|
+
* repeated EntityPath sub_module_id = 2;
|
|
4084
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.EntityPath>}
|
|
3856
4085
|
*/
|
|
3857
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3858
|
-
return /** @type
|
|
4086
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getSubModuleIdList = function() {
|
|
4087
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.EntityPath>} */ (
|
|
4088
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.EntityPath, 2));
|
|
3859
4089
|
};
|
|
3860
4090
|
|
|
3861
4091
|
|
|
3862
4092
|
/**
|
|
3863
|
-
* @param {
|
|
3864
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
3865
|
-
|
|
3866
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3867
|
-
return jspb.Message.
|
|
4093
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.EntityPath>} value
|
|
4094
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4095
|
+
*/
|
|
4096
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setSubModuleIdList = function(value) {
|
|
4097
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
3868
4098
|
};
|
|
3869
4099
|
|
|
3870
4100
|
|
|
3871
4101
|
/**
|
|
3872
|
-
*
|
|
3873
|
-
* @
|
|
4102
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.EntityPath=} opt_value
|
|
4103
|
+
* @param {number=} opt_index
|
|
4104
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.EntityPath}
|
|
3874
4105
|
*/
|
|
3875
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3876
|
-
return jspb.Message.
|
|
4106
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.addSubModuleId = function(opt_value, opt_index) {
|
|
4107
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.com.lansweeper.dp.outbound.v1.EntityPath, opt_index);
|
|
3877
4108
|
};
|
|
3878
4109
|
|
|
3879
4110
|
|
|
3880
4111
|
/**
|
|
3881
|
-
*
|
|
3882
|
-
* @return {
|
|
4112
|
+
* Clears the list making it empty but non-null.
|
|
4113
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
3883
4114
|
*/
|
|
3884
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3885
|
-
return
|
|
4115
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearSubModuleIdList = function() {
|
|
4116
|
+
return this.setSubModuleIdList([]);
|
|
3886
4117
|
};
|
|
3887
4118
|
|
|
3888
4119
|
|
|
4120
|
+
/**
|
|
4121
|
+
* optional int32 rack_number = 3;
|
|
4122
|
+
* @return {number}
|
|
4123
|
+
*/
|
|
4124
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getRackNumber = function() {
|
|
4125
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
4126
|
+
};
|
|
4127
|
+
|
|
4128
|
+
|
|
4129
|
+
/**
|
|
4130
|
+
* @param {number} value
|
|
4131
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4132
|
+
*/
|
|
4133
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setRackNumber = function(value) {
|
|
4134
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
4135
|
+
};
|
|
4136
|
+
|
|
4137
|
+
|
|
4138
|
+
/**
|
|
4139
|
+
* optional string rack_name = 4;
|
|
4140
|
+
* @return {string}
|
|
4141
|
+
*/
|
|
4142
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getRackName = function() {
|
|
4143
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4144
|
+
};
|
|
4145
|
+
|
|
4146
|
+
|
|
4147
|
+
/**
|
|
4148
|
+
* @param {string} value
|
|
4149
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4150
|
+
*/
|
|
4151
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setRackName = function(value) {
|
|
4152
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4153
|
+
};
|
|
4154
|
+
|
|
4155
|
+
|
|
4156
|
+
/**
|
|
4157
|
+
* optional int32 rack_size = 5;
|
|
4158
|
+
* @return {number}
|
|
4159
|
+
*/
|
|
4160
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getRackSize = function() {
|
|
4161
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
4162
|
+
};
|
|
4163
|
+
|
|
4164
|
+
|
|
4165
|
+
/**
|
|
4166
|
+
* @param {number} value
|
|
4167
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4168
|
+
*/
|
|
4169
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setRackSize = function(value) {
|
|
4170
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
4171
|
+
};
|
|
4172
|
+
|
|
4173
|
+
|
|
4174
|
+
/**
|
|
4175
|
+
* optional int32 slot = 6;
|
|
4176
|
+
* @return {number}
|
|
4177
|
+
*/
|
|
4178
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getSlot = function() {
|
|
4179
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
4180
|
+
};
|
|
4181
|
+
|
|
4182
|
+
|
|
4183
|
+
/**
|
|
4184
|
+
* @param {number} value
|
|
4185
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4186
|
+
*/
|
|
4187
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setSlot = function(value) {
|
|
4188
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
4189
|
+
};
|
|
4190
|
+
|
|
4191
|
+
|
|
4192
|
+
/**
|
|
4193
|
+
* optional int32 slot_width = 7;
|
|
4194
|
+
* @return {number}
|
|
4195
|
+
*/
|
|
4196
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getSlotWidth = function() {
|
|
4197
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
4198
|
+
};
|
|
4199
|
+
|
|
4200
|
+
|
|
4201
|
+
/**
|
|
4202
|
+
* @param {number} value
|
|
4203
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4204
|
+
*/
|
|
4205
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setSlotWidth = function(value) {
|
|
4206
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
4207
|
+
};
|
|
4208
|
+
|
|
4209
|
+
|
|
4210
|
+
/**
|
|
4211
|
+
* optional bool is_main_module = 8;
|
|
4212
|
+
* @return {boolean}
|
|
4213
|
+
*/
|
|
4214
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getIsMainModule = function() {
|
|
4215
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
4216
|
+
};
|
|
4217
|
+
|
|
4218
|
+
|
|
4219
|
+
/**
|
|
4220
|
+
* @param {boolean} value
|
|
4221
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4222
|
+
*/
|
|
4223
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setIsMainModule = function(value) {
|
|
4224
|
+
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
4225
|
+
};
|
|
4226
|
+
|
|
4227
|
+
|
|
4228
|
+
/**
|
|
4229
|
+
* optional string component_type = 9;
|
|
4230
|
+
* @return {string}
|
|
4231
|
+
*/
|
|
4232
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getComponentType = function() {
|
|
4233
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
4234
|
+
};
|
|
4235
|
+
|
|
4236
|
+
|
|
4237
|
+
/**
|
|
4238
|
+
* @param {string} value
|
|
4239
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4240
|
+
*/
|
|
4241
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setComponentType = function(value) {
|
|
4242
|
+
return jspb.Message.setField(this, 9, value);
|
|
4243
|
+
};
|
|
4244
|
+
|
|
4245
|
+
|
|
4246
|
+
/**
|
|
4247
|
+
* Clears the field making it undefined.
|
|
4248
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4249
|
+
*/
|
|
4250
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearComponentType = function() {
|
|
4251
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
4252
|
+
};
|
|
4253
|
+
|
|
4254
|
+
|
|
4255
|
+
/**
|
|
4256
|
+
* Returns whether this field is set.
|
|
4257
|
+
* @return {boolean}
|
|
4258
|
+
*/
|
|
4259
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasComponentType = function() {
|
|
4260
|
+
return jspb.Message.getField(this, 9) != null;
|
|
4261
|
+
};
|
|
4262
|
+
|
|
4263
|
+
|
|
4264
|
+
/**
|
|
4265
|
+
* optional string part_number = 10;
|
|
4266
|
+
* @return {string}
|
|
4267
|
+
*/
|
|
4268
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getPartNumber = function() {
|
|
4269
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
4270
|
+
};
|
|
4271
|
+
|
|
4272
|
+
|
|
4273
|
+
/**
|
|
4274
|
+
* @param {string} value
|
|
4275
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4276
|
+
*/
|
|
4277
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setPartNumber = function(value) {
|
|
4278
|
+
return jspb.Message.setField(this, 10, value);
|
|
4279
|
+
};
|
|
4280
|
+
|
|
4281
|
+
|
|
4282
|
+
/**
|
|
4283
|
+
* Clears the field making it undefined.
|
|
4284
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4285
|
+
*/
|
|
4286
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearPartNumber = function() {
|
|
4287
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
4288
|
+
};
|
|
4289
|
+
|
|
4290
|
+
|
|
4291
|
+
/**
|
|
4292
|
+
* Returns whether this field is set.
|
|
4293
|
+
* @return {boolean}
|
|
4294
|
+
*/
|
|
4295
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasPartNumber = function() {
|
|
4296
|
+
return jspb.Message.getField(this, 10) != null;
|
|
4297
|
+
};
|
|
4298
|
+
|
|
4299
|
+
|
|
4300
|
+
/**
|
|
4301
|
+
* repeated OtModuleExtInfo ext_info = 11;
|
|
4302
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo>}
|
|
4303
|
+
*/
|
|
4304
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getExtInfoList = function() {
|
|
4305
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo>} */ (
|
|
4306
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo, 11));
|
|
4307
|
+
};
|
|
4308
|
+
|
|
4309
|
+
|
|
4310
|
+
/**
|
|
4311
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo>} value
|
|
4312
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4313
|
+
*/
|
|
4314
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setExtInfoList = function(value) {
|
|
4315
|
+
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
|
4316
|
+
};
|
|
4317
|
+
|
|
4318
|
+
|
|
4319
|
+
/**
|
|
4320
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo=} opt_value
|
|
4321
|
+
* @param {number=} opt_index
|
|
4322
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo}
|
|
4323
|
+
*/
|
|
4324
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.addExtInfo = function(opt_value, opt_index) {
|
|
4325
|
+
return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo, opt_index);
|
|
4326
|
+
};
|
|
4327
|
+
|
|
4328
|
+
|
|
4329
|
+
/**
|
|
4330
|
+
* Clears the list making it empty but non-null.
|
|
4331
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4332
|
+
*/
|
|
4333
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearExtInfoList = function() {
|
|
4334
|
+
return this.setExtInfoList([]);
|
|
4335
|
+
};
|
|
4336
|
+
|
|
4337
|
+
|
|
4338
|
+
|
|
4339
|
+
|
|
4340
|
+
|
|
4341
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4342
|
+
/**
|
|
4343
|
+
* Creates an object representation of this proto.
|
|
4344
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4345
|
+
* Optional fields that are not set will be set to undefined.
|
|
4346
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4347
|
+
* For the list of reserved names please see:
|
|
4348
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4349
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4350
|
+
* JSPB instance for transitional soy proto support:
|
|
4351
|
+
* http://goto/soy-param-migration
|
|
4352
|
+
* @return {!Object}
|
|
4353
|
+
*/
|
|
4354
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.prototype.toObject = function(opt_includeInstance) {
|
|
4355
|
+
return proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.toObject(opt_includeInstance, this);
|
|
4356
|
+
};
|
|
4357
|
+
|
|
4358
|
+
|
|
4359
|
+
/**
|
|
4360
|
+
* Static version of the {@see toObject} method.
|
|
4361
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4362
|
+
* the JSPB instance for transitional soy proto support:
|
|
4363
|
+
* http://goto/soy-param-migration
|
|
4364
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo} msg The msg instance to transform.
|
|
4365
|
+
* @return {!Object}
|
|
4366
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4367
|
+
*/
|
|
4368
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.toObject = function(includeInstance, msg) {
|
|
4369
|
+
var f, obj = {
|
|
4370
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4371
|
+
value: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4372
|
+
};
|
|
4373
|
+
|
|
4374
|
+
if (includeInstance) {
|
|
4375
|
+
obj.$jspbMessageInstance = msg;
|
|
4376
|
+
}
|
|
4377
|
+
return obj;
|
|
4378
|
+
};
|
|
4379
|
+
}
|
|
4380
|
+
|
|
4381
|
+
|
|
4382
|
+
/**
|
|
4383
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4384
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4385
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo}
|
|
4386
|
+
*/
|
|
4387
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.deserializeBinary = function(bytes) {
|
|
4388
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4389
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo;
|
|
4390
|
+
return proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.deserializeBinaryFromReader(msg, reader);
|
|
4391
|
+
};
|
|
4392
|
+
|
|
4393
|
+
|
|
4394
|
+
/**
|
|
4395
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4396
|
+
* given reader into the given message object.
|
|
4397
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo} msg The message object to deserialize into.
|
|
4398
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4399
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo}
|
|
4400
|
+
*/
|
|
4401
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
4402
|
+
while (reader.nextField()) {
|
|
4403
|
+
if (reader.isEndGroup()) {
|
|
4404
|
+
break;
|
|
4405
|
+
}
|
|
4406
|
+
var field = reader.getFieldNumber();
|
|
4407
|
+
switch (field) {
|
|
4408
|
+
case 1:
|
|
4409
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4410
|
+
msg.setKey(value);
|
|
4411
|
+
break;
|
|
4412
|
+
case 2:
|
|
4413
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4414
|
+
msg.setValue(value);
|
|
4415
|
+
break;
|
|
4416
|
+
default:
|
|
4417
|
+
reader.skipField();
|
|
4418
|
+
break;
|
|
4419
|
+
}
|
|
4420
|
+
}
|
|
4421
|
+
return msg;
|
|
4422
|
+
};
|
|
4423
|
+
|
|
4424
|
+
|
|
4425
|
+
/**
|
|
4426
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4427
|
+
* @return {!Uint8Array}
|
|
4428
|
+
*/
|
|
4429
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.prototype.serializeBinary = function() {
|
|
4430
|
+
var writer = new jspb.BinaryWriter();
|
|
4431
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.serializeBinaryToWriter(this, writer);
|
|
4432
|
+
return writer.getResultBuffer();
|
|
4433
|
+
};
|
|
4434
|
+
|
|
4435
|
+
|
|
4436
|
+
/**
|
|
4437
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4438
|
+
* format), writing to the given BinaryWriter.
|
|
4439
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo} message
|
|
4440
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4441
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4442
|
+
*/
|
|
4443
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.serializeBinaryToWriter = function(message, writer) {
|
|
4444
|
+
var f = undefined;
|
|
4445
|
+
f = message.getKey();
|
|
4446
|
+
if (f.length > 0) {
|
|
4447
|
+
writer.writeString(
|
|
4448
|
+
1,
|
|
4449
|
+
f
|
|
4450
|
+
);
|
|
4451
|
+
}
|
|
4452
|
+
f = message.getValue();
|
|
4453
|
+
if (f.length > 0) {
|
|
4454
|
+
writer.writeString(
|
|
4455
|
+
2,
|
|
4456
|
+
f
|
|
4457
|
+
);
|
|
4458
|
+
}
|
|
4459
|
+
};
|
|
4460
|
+
|
|
4461
|
+
|
|
4462
|
+
/**
|
|
4463
|
+
* optional string key = 1;
|
|
4464
|
+
* @return {string}
|
|
4465
|
+
*/
|
|
4466
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.prototype.getKey = function() {
|
|
4467
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4468
|
+
};
|
|
4469
|
+
|
|
4470
|
+
|
|
4471
|
+
/**
|
|
4472
|
+
* @param {string} value
|
|
4473
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo} returns this
|
|
4474
|
+
*/
|
|
4475
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.prototype.setKey = function(value) {
|
|
4476
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4477
|
+
};
|
|
4478
|
+
|
|
4479
|
+
|
|
4480
|
+
/**
|
|
4481
|
+
* optional string value = 2;
|
|
4482
|
+
* @return {string}
|
|
4483
|
+
*/
|
|
4484
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.prototype.getValue = function() {
|
|
4485
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4486
|
+
};
|
|
4487
|
+
|
|
4488
|
+
|
|
4489
|
+
/**
|
|
4490
|
+
* @param {string} value
|
|
4491
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo} returns this
|
|
4492
|
+
*/
|
|
4493
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.prototype.setValue = function(value) {
|
|
4494
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4495
|
+
};
|
|
4496
|
+
|
|
4497
|
+
|
|
4498
|
+
|
|
4499
|
+
|
|
4500
|
+
|
|
4501
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4502
|
+
/**
|
|
4503
|
+
* Creates an object representation of this proto.
|
|
4504
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4505
|
+
* Optional fields that are not set will be set to undefined.
|
|
4506
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4507
|
+
* For the list of reserved names please see:
|
|
4508
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4509
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4510
|
+
* JSPB instance for transitional soy proto support:
|
|
4511
|
+
* http://goto/soy-param-migration
|
|
4512
|
+
* @return {!Object}
|
|
4513
|
+
*/
|
|
4514
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.toObject = function(opt_includeInstance) {
|
|
4515
|
+
return proto.com.lansweeper.dp.outbound.v1.AssetType.toObject(opt_includeInstance, this);
|
|
4516
|
+
};
|
|
4517
|
+
|
|
4518
|
+
|
|
4519
|
+
/**
|
|
4520
|
+
* Static version of the {@see toObject} method.
|
|
4521
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4522
|
+
* the JSPB instance for transitional soy proto support:
|
|
4523
|
+
* http://goto/soy-param-migration
|
|
4524
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.AssetType} msg The msg instance to transform.
|
|
4525
|
+
* @return {!Object}
|
|
4526
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4527
|
+
*/
|
|
4528
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.toObject = function(includeInstance, msg) {
|
|
4529
|
+
var f, obj = {
|
|
4530
|
+
lsName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4531
|
+
lsId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
4532
|
+
fingType: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4533
|
+
};
|
|
4534
|
+
|
|
4535
|
+
if (includeInstance) {
|
|
4536
|
+
obj.$jspbMessageInstance = msg;
|
|
4537
|
+
}
|
|
4538
|
+
return obj;
|
|
4539
|
+
};
|
|
4540
|
+
}
|
|
4541
|
+
|
|
4542
|
+
|
|
4543
|
+
/**
|
|
4544
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4545
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4546
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.AssetType}
|
|
4547
|
+
*/
|
|
4548
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.deserializeBinary = function(bytes) {
|
|
4549
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4550
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.AssetType;
|
|
4551
|
+
return proto.com.lansweeper.dp.outbound.v1.AssetType.deserializeBinaryFromReader(msg, reader);
|
|
4552
|
+
};
|
|
4553
|
+
|
|
4554
|
+
|
|
4555
|
+
/**
|
|
4556
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4557
|
+
* given reader into the given message object.
|
|
4558
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.AssetType} msg The message object to deserialize into.
|
|
4559
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4560
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.AssetType}
|
|
4561
|
+
*/
|
|
4562
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.deserializeBinaryFromReader = function(msg, reader) {
|
|
4563
|
+
while (reader.nextField()) {
|
|
4564
|
+
if (reader.isEndGroup()) {
|
|
4565
|
+
break;
|
|
4566
|
+
}
|
|
4567
|
+
var field = reader.getFieldNumber();
|
|
4568
|
+
switch (field) {
|
|
4569
|
+
case 1:
|
|
4570
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4571
|
+
msg.setLsName(value);
|
|
4572
|
+
break;
|
|
4573
|
+
case 3:
|
|
4574
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4575
|
+
msg.setLsId(value);
|
|
4576
|
+
break;
|
|
4577
|
+
case 2:
|
|
4578
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4579
|
+
msg.setFingType(value);
|
|
4580
|
+
break;
|
|
4581
|
+
default:
|
|
4582
|
+
reader.skipField();
|
|
4583
|
+
break;
|
|
4584
|
+
}
|
|
4585
|
+
}
|
|
4586
|
+
return msg;
|
|
4587
|
+
};
|
|
4588
|
+
|
|
4589
|
+
|
|
4590
|
+
/**
|
|
4591
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4592
|
+
* @return {!Uint8Array}
|
|
4593
|
+
*/
|
|
4594
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.serializeBinary = function() {
|
|
4595
|
+
var writer = new jspb.BinaryWriter();
|
|
4596
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.serializeBinaryToWriter(this, writer);
|
|
4597
|
+
return writer.getResultBuffer();
|
|
4598
|
+
};
|
|
4599
|
+
|
|
4600
|
+
|
|
4601
|
+
/**
|
|
4602
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4603
|
+
* format), writing to the given BinaryWriter.
|
|
4604
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.AssetType} message
|
|
4605
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4606
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4607
|
+
*/
|
|
4608
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.serializeBinaryToWriter = function(message, writer) {
|
|
4609
|
+
var f = undefined;
|
|
4610
|
+
f = message.getLsName();
|
|
4611
|
+
if (f.length > 0) {
|
|
4612
|
+
writer.writeString(
|
|
4613
|
+
1,
|
|
4614
|
+
f
|
|
4615
|
+
);
|
|
4616
|
+
}
|
|
4617
|
+
f = message.getLsId();
|
|
4618
|
+
if (f !== 0) {
|
|
4619
|
+
writer.writeInt32(
|
|
4620
|
+
3,
|
|
4621
|
+
f
|
|
4622
|
+
);
|
|
4623
|
+
}
|
|
4624
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
4625
|
+
if (f != null) {
|
|
4626
|
+
writer.writeString(
|
|
4627
|
+
2,
|
|
4628
|
+
f
|
|
4629
|
+
);
|
|
4630
|
+
}
|
|
4631
|
+
};
|
|
4632
|
+
|
|
4633
|
+
|
|
4634
|
+
/**
|
|
4635
|
+
* optional string ls_name = 1;
|
|
4636
|
+
* @return {string}
|
|
4637
|
+
*/
|
|
4638
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.getLsName = function() {
|
|
4639
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4640
|
+
};
|
|
4641
|
+
|
|
4642
|
+
|
|
4643
|
+
/**
|
|
4644
|
+
* @param {string} value
|
|
4645
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.AssetType} returns this
|
|
4646
|
+
*/
|
|
4647
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.setLsName = function(value) {
|
|
4648
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4649
|
+
};
|
|
4650
|
+
|
|
4651
|
+
|
|
4652
|
+
/**
|
|
4653
|
+
* optional int32 ls_id = 3;
|
|
4654
|
+
* @return {number}
|
|
4655
|
+
*/
|
|
4656
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.getLsId = function() {
|
|
4657
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
4658
|
+
};
|
|
4659
|
+
|
|
4660
|
+
|
|
4661
|
+
/**
|
|
4662
|
+
* @param {number} value
|
|
4663
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.AssetType} returns this
|
|
4664
|
+
*/
|
|
4665
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.setLsId = function(value) {
|
|
4666
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
4667
|
+
};
|
|
4668
|
+
|
|
4669
|
+
|
|
4670
|
+
/**
|
|
4671
|
+
* optional string fing_type = 2;
|
|
4672
|
+
* @return {string}
|
|
4673
|
+
*/
|
|
4674
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.getFingType = function() {
|
|
4675
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4676
|
+
};
|
|
4677
|
+
|
|
4678
|
+
|
|
4679
|
+
/**
|
|
4680
|
+
* @param {string} value
|
|
4681
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.AssetType} returns this
|
|
4682
|
+
*/
|
|
4683
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.setFingType = function(value) {
|
|
4684
|
+
return jspb.Message.setField(this, 2, value);
|
|
4685
|
+
};
|
|
4686
|
+
|
|
4687
|
+
|
|
4688
|
+
/**
|
|
4689
|
+
* Clears the field making it undefined.
|
|
4690
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.AssetType} returns this
|
|
4691
|
+
*/
|
|
4692
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.clearFingType = function() {
|
|
4693
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
4694
|
+
};
|
|
4695
|
+
|
|
4696
|
+
|
|
4697
|
+
/**
|
|
4698
|
+
* Returns whether this field is set.
|
|
4699
|
+
* @return {boolean}
|
|
4700
|
+
*/
|
|
4701
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.hasFingType = function() {
|
|
4702
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4703
|
+
};
|
|
4704
|
+
|
|
4705
|
+
|
|
4706
|
+
|
|
3889
4707
|
|
|
3890
4708
|
|
|
3891
|
-
|
|
3892
4709
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3893
4710
|
/**
|
|
3894
4711
|
* Creates an object representation of this proto.
|
|
@@ -5383,14 +6200,15 @@ proto.com.lansweeper.dp.outbound.v1.SpecHardwareInfo.prototype.hasSerialNumber =
|
|
|
5383
6200
|
* @private {!Array<!Array<number>>}
|
|
5384
6201
|
* @const
|
|
5385
6202
|
*/
|
|
5386
|
-
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.oneofGroups_ = [[32]];
|
|
6203
|
+
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.oneofGroups_ = [[32,33]];
|
|
5387
6204
|
|
|
5388
6205
|
/**
|
|
5389
6206
|
* @enum {number}
|
|
5390
6207
|
*/
|
|
5391
6208
|
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.SpecCase = {
|
|
5392
6209
|
SPEC_NOT_SET: 0,
|
|
5393
|
-
WINDOWS: 32
|
|
6210
|
+
WINDOWS: 32,
|
|
6211
|
+
OT: 33
|
|
5394
6212
|
};
|
|
5395
6213
|
|
|
5396
6214
|
/**
|
|
@@ -5440,7 +6258,8 @@ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.toObject = function(incl
|
|
|
5440
6258
|
cpe: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
5441
6259
|
fwCpe: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
5442
6260
|
rank: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
5443
|
-
windows: (f = msg.getWindows()) && proto.com.lansweeper.dp.outbound.v1.WindowsOperatingSystemInfo.toObject(includeInstance, f)
|
|
6261
|
+
windows: (f = msg.getWindows()) && proto.com.lansweeper.dp.outbound.v1.WindowsOperatingSystemInfo.toObject(includeInstance, f),
|
|
6262
|
+
ot: (f = msg.getOt()) && proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.toObject(includeInstance, f)
|
|
5444
6263
|
};
|
|
5445
6264
|
|
|
5446
6265
|
if (includeInstance) {
|
|
@@ -5518,6 +6337,11 @@ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.deserializeBinaryFromRea
|
|
|
5518
6337
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.WindowsOperatingSystemInfo.deserializeBinaryFromReader);
|
|
5519
6338
|
msg.setWindows(value);
|
|
5520
6339
|
break;
|
|
6340
|
+
case 33:
|
|
6341
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo;
|
|
6342
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.deserializeBinaryFromReader);
|
|
6343
|
+
msg.setOt(value);
|
|
6344
|
+
break;
|
|
5521
6345
|
default:
|
|
5522
6346
|
reader.skipField();
|
|
5523
6347
|
break;
|
|
@@ -5618,6 +6442,14 @@ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.serializeBinaryToWriter
|
|
|
5618
6442
|
proto.com.lansweeper.dp.outbound.v1.WindowsOperatingSystemInfo.serializeBinaryToWriter
|
|
5619
6443
|
);
|
|
5620
6444
|
}
|
|
6445
|
+
f = message.getOt();
|
|
6446
|
+
if (f != null) {
|
|
6447
|
+
writer.writeMessage(
|
|
6448
|
+
33,
|
|
6449
|
+
f,
|
|
6450
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.serializeBinaryToWriter
|
|
6451
|
+
);
|
|
6452
|
+
}
|
|
5621
6453
|
};
|
|
5622
6454
|
|
|
5623
6455
|
|
|
@@ -5982,6 +6814,43 @@ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.hasWindows = f
|
|
|
5982
6814
|
};
|
|
5983
6815
|
|
|
5984
6816
|
|
|
6817
|
+
/**
|
|
6818
|
+
* optional OtFirmwareInfo ot = 33;
|
|
6819
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo}
|
|
6820
|
+
*/
|
|
6821
|
+
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.getOt = function() {
|
|
6822
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo} */ (
|
|
6823
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo, 33));
|
|
6824
|
+
};
|
|
6825
|
+
|
|
6826
|
+
|
|
6827
|
+
/**
|
|
6828
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo|undefined} value
|
|
6829
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo} returns this
|
|
6830
|
+
*/
|
|
6831
|
+
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.setOt = function(value) {
|
|
6832
|
+
return jspb.Message.setOneofWrapperField(this, 33, proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.oneofGroups_[0], value);
|
|
6833
|
+
};
|
|
6834
|
+
|
|
6835
|
+
|
|
6836
|
+
/**
|
|
6837
|
+
* Clears the message field making it undefined.
|
|
6838
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo} returns this
|
|
6839
|
+
*/
|
|
6840
|
+
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.clearOt = function() {
|
|
6841
|
+
return this.setOt(undefined);
|
|
6842
|
+
};
|
|
6843
|
+
|
|
6844
|
+
|
|
6845
|
+
/**
|
|
6846
|
+
* Returns whether this field is set.
|
|
6847
|
+
* @return {boolean}
|
|
6848
|
+
*/
|
|
6849
|
+
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.hasOt = function() {
|
|
6850
|
+
return jspb.Message.getField(this, 33) != null;
|
|
6851
|
+
};
|
|
6852
|
+
|
|
6853
|
+
|
|
5985
6854
|
|
|
5986
6855
|
|
|
5987
6856
|
|
|
@@ -6358,6 +7227,136 @@ proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch.prototype.hasWindowsSer
|
|
|
6358
7227
|
|
|
6359
7228
|
|
|
6360
7229
|
|
|
7230
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7231
|
+
/**
|
|
7232
|
+
* Creates an object representation of this proto.
|
|
7233
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7234
|
+
* Optional fields that are not set will be set to undefined.
|
|
7235
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7236
|
+
* For the list of reserved names please see:
|
|
7237
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7238
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7239
|
+
* JSPB instance for transitional soy proto support:
|
|
7240
|
+
* http://goto/soy-param-migration
|
|
7241
|
+
* @return {!Object}
|
|
7242
|
+
*/
|
|
7243
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.prototype.toObject = function(opt_includeInstance) {
|
|
7244
|
+
return proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.toObject(opt_includeInstance, this);
|
|
7245
|
+
};
|
|
7246
|
+
|
|
7247
|
+
|
|
7248
|
+
/**
|
|
7249
|
+
* Static version of the {@see toObject} method.
|
|
7250
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7251
|
+
* the JSPB instance for transitional soy proto support:
|
|
7252
|
+
* http://goto/soy-param-migration
|
|
7253
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo} msg The msg instance to transform.
|
|
7254
|
+
* @return {!Object}
|
|
7255
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7256
|
+
*/
|
|
7257
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.toObject = function(includeInstance, msg) {
|
|
7258
|
+
var f, obj = {
|
|
7259
|
+
firmware: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
7260
|
+
};
|
|
7261
|
+
|
|
7262
|
+
if (includeInstance) {
|
|
7263
|
+
obj.$jspbMessageInstance = msg;
|
|
7264
|
+
}
|
|
7265
|
+
return obj;
|
|
7266
|
+
};
|
|
7267
|
+
}
|
|
7268
|
+
|
|
7269
|
+
|
|
7270
|
+
/**
|
|
7271
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7272
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7273
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo}
|
|
7274
|
+
*/
|
|
7275
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.deserializeBinary = function(bytes) {
|
|
7276
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7277
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo;
|
|
7278
|
+
return proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.deserializeBinaryFromReader(msg, reader);
|
|
7279
|
+
};
|
|
7280
|
+
|
|
7281
|
+
|
|
7282
|
+
/**
|
|
7283
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7284
|
+
* given reader into the given message object.
|
|
7285
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo} msg The message object to deserialize into.
|
|
7286
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7287
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo}
|
|
7288
|
+
*/
|
|
7289
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
7290
|
+
while (reader.nextField()) {
|
|
7291
|
+
if (reader.isEndGroup()) {
|
|
7292
|
+
break;
|
|
7293
|
+
}
|
|
7294
|
+
var field = reader.getFieldNumber();
|
|
7295
|
+
switch (field) {
|
|
7296
|
+
case 1:
|
|
7297
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7298
|
+
msg.setFirmware(value);
|
|
7299
|
+
break;
|
|
7300
|
+
default:
|
|
7301
|
+
reader.skipField();
|
|
7302
|
+
break;
|
|
7303
|
+
}
|
|
7304
|
+
}
|
|
7305
|
+
return msg;
|
|
7306
|
+
};
|
|
7307
|
+
|
|
7308
|
+
|
|
7309
|
+
/**
|
|
7310
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7311
|
+
* @return {!Uint8Array}
|
|
7312
|
+
*/
|
|
7313
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.prototype.serializeBinary = function() {
|
|
7314
|
+
var writer = new jspb.BinaryWriter();
|
|
7315
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.serializeBinaryToWriter(this, writer);
|
|
7316
|
+
return writer.getResultBuffer();
|
|
7317
|
+
};
|
|
7318
|
+
|
|
7319
|
+
|
|
7320
|
+
/**
|
|
7321
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7322
|
+
* format), writing to the given BinaryWriter.
|
|
7323
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo} message
|
|
7324
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7325
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7326
|
+
*/
|
|
7327
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.serializeBinaryToWriter = function(message, writer) {
|
|
7328
|
+
var f = undefined;
|
|
7329
|
+
f = message.getFirmware();
|
|
7330
|
+
if (f.length > 0) {
|
|
7331
|
+
writer.writeString(
|
|
7332
|
+
1,
|
|
7333
|
+
f
|
|
7334
|
+
);
|
|
7335
|
+
}
|
|
7336
|
+
};
|
|
7337
|
+
|
|
7338
|
+
|
|
7339
|
+
/**
|
|
7340
|
+
* optional string firmware = 1;
|
|
7341
|
+
* @return {string}
|
|
7342
|
+
*/
|
|
7343
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.prototype.getFirmware = function() {
|
|
7344
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
7345
|
+
};
|
|
7346
|
+
|
|
7347
|
+
|
|
7348
|
+
/**
|
|
7349
|
+
* @param {string} value
|
|
7350
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo} returns this
|
|
7351
|
+
*/
|
|
7352
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.prototype.setFirmware = function(value) {
|
|
7353
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
7354
|
+
};
|
|
7355
|
+
|
|
7356
|
+
|
|
7357
|
+
|
|
7358
|
+
|
|
7359
|
+
|
|
6361
7360
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6362
7361
|
/**
|
|
6363
7362
|
* Creates an object representation of this proto.
|