@lansweeper/data-platform-outbound-grpc 0.1.21 → 0.1.23
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 +16 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_grpc_pb.d.ts +1 -0
- package/gen-proto/outbound_grpc_pb.js +1 -0
- package/gen-proto/outbound_pb.d.ts +155 -0
- package/gen-proto/outbound_pb.js +1381 -108
- package/generated-go/outbound.pb.go +2106 -1651
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +55 -0
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -17,6 +17,8 @@ var global = Function('return this')();
|
|
|
17
17
|
|
|
18
18
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
19
19
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
20
|
+
var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
|
|
21
|
+
goog.object.extend(proto, google_protobuf_any_pb);
|
|
20
22
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Asset', null, global);
|
|
21
23
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.AssetType', null, global);
|
|
22
24
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CatalogBrand', null, global);
|
|
@@ -26,6 +28,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CatalogModel', null, glob
|
|
|
26
28
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CatalogMonitor', null, global);
|
|
27
29
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CatalogOs', null, global);
|
|
28
30
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CatalogSoftware', null, global);
|
|
31
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CloudEntity', null, global);
|
|
29
32
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CoreFields', null, global);
|
|
30
33
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Entity', null, global);
|
|
31
34
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Entity.EntityCase', null, global);
|
|
@@ -45,6 +48,9 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces', null,
|
|
|
45
48
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo', null, global);
|
|
46
49
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.SpecCase', null, global);
|
|
47
50
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch', null, global);
|
|
51
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo', null, global);
|
|
52
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtModule', null, global);
|
|
53
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo', null, global);
|
|
48
54
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Processor', null, global);
|
|
49
55
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.RawSoftware', null, global);
|
|
50
56
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Software', null, global);
|
|
@@ -241,6 +247,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
241
247
|
*/
|
|
242
248
|
proto.com.lansweeper.dp.outbound.v1.Asset.displayName = 'proto.com.lansweeper.dp.outbound.v1.Asset';
|
|
243
249
|
}
|
|
250
|
+
/**
|
|
251
|
+
* Generated by JsPbCodeGenerator.
|
|
252
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
253
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
254
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
255
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
256
|
+
* valid.
|
|
257
|
+
* @extends {jspb.Message}
|
|
258
|
+
* @constructor
|
|
259
|
+
*/
|
|
260
|
+
proto.com.lansweeper.dp.outbound.v1.CloudEntity = function(opt_data) {
|
|
261
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
262
|
+
};
|
|
263
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.CloudEntity, jspb.Message);
|
|
264
|
+
if (goog.DEBUG && !COMPILED) {
|
|
265
|
+
/**
|
|
266
|
+
* @public
|
|
267
|
+
* @override
|
|
268
|
+
*/
|
|
269
|
+
proto.com.lansweeper.dp.outbound.v1.CloudEntity.displayName = 'proto.com.lansweeper.dp.outbound.v1.CloudEntity';
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Generated by JsPbCodeGenerator.
|
|
273
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
274
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
275
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
276
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
277
|
+
* valid.
|
|
278
|
+
* @extends {jspb.Message}
|
|
279
|
+
* @constructor
|
|
280
|
+
*/
|
|
281
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule = function(opt_data) {
|
|
282
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.dp.outbound.v1.OtModule.repeatedFields_, null);
|
|
283
|
+
};
|
|
284
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.OtModule, jspb.Message);
|
|
285
|
+
if (goog.DEBUG && !COMPILED) {
|
|
286
|
+
/**
|
|
287
|
+
* @public
|
|
288
|
+
* @override
|
|
289
|
+
*/
|
|
290
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.displayName = 'proto.com.lansweeper.dp.outbound.v1.OtModule';
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* Generated by JsPbCodeGenerator.
|
|
294
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
295
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
296
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
297
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
298
|
+
* valid.
|
|
299
|
+
* @extends {jspb.Message}
|
|
300
|
+
* @constructor
|
|
301
|
+
*/
|
|
302
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo = function(opt_data) {
|
|
303
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
304
|
+
};
|
|
305
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo, jspb.Message);
|
|
306
|
+
if (goog.DEBUG && !COMPILED) {
|
|
307
|
+
/**
|
|
308
|
+
* @public
|
|
309
|
+
* @override
|
|
310
|
+
*/
|
|
311
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo';
|
|
312
|
+
}
|
|
244
313
|
/**
|
|
245
314
|
* Generated by JsPbCodeGenerator.
|
|
246
315
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -367,6 +436,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
367
436
|
*/
|
|
368
437
|
proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch.displayName = 'proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch';
|
|
369
438
|
}
|
|
439
|
+
/**
|
|
440
|
+
* Generated by JsPbCodeGenerator.
|
|
441
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
442
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
443
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
444
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
445
|
+
* valid.
|
|
446
|
+
* @extends {jspb.Message}
|
|
447
|
+
* @constructor
|
|
448
|
+
*/
|
|
449
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo = function(opt_data) {
|
|
450
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
451
|
+
};
|
|
452
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo, jspb.Message);
|
|
453
|
+
if (goog.DEBUG && !COMPILED) {
|
|
454
|
+
/**
|
|
455
|
+
* @public
|
|
456
|
+
* @override
|
|
457
|
+
*/
|
|
458
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo';
|
|
459
|
+
}
|
|
370
460
|
/**
|
|
371
461
|
* Generated by JsPbCodeGenerator.
|
|
372
462
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2861,7 +2951,9 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
|
|
|
2861
2951
|
osPatchList: jspb.Message.toObjectList(msg.getOsPatchList(),
|
|
2862
2952
|
proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch.toObject, includeInstance),
|
|
2863
2953
|
processorList: jspb.Message.toObjectList(msg.getProcessorList(),
|
|
2864
|
-
proto.com.lansweeper.dp.outbound.v1.Processor.toObject, includeInstance)
|
|
2954
|
+
proto.com.lansweeper.dp.outbound.v1.Processor.toObject, includeInstance),
|
|
2955
|
+
otModule: (f = msg.getOtModule()) && proto.com.lansweeper.dp.outbound.v1.OtModule.toObject(includeInstance, f),
|
|
2956
|
+
cloud: (f = msg.getCloud()) && proto.com.lansweeper.dp.outbound.v1.CloudEntity.toObject(includeInstance, f)
|
|
2865
2957
|
};
|
|
2866
2958
|
|
|
2867
2959
|
if (includeInstance) {
|
|
@@ -2971,6 +3063,16 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
|
|
|
2971
3063
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Processor.deserializeBinaryFromReader);
|
|
2972
3064
|
msg.addProcessor(value);
|
|
2973
3065
|
break;
|
|
3066
|
+
case 16:
|
|
3067
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.OtModule;
|
|
3068
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.OtModule.deserializeBinaryFromReader);
|
|
3069
|
+
msg.setOtModule(value);
|
|
3070
|
+
break;
|
|
3071
|
+
case 17:
|
|
3072
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.CloudEntity;
|
|
3073
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.CloudEntity.deserializeBinaryFromReader);
|
|
3074
|
+
msg.setCloud(value);
|
|
3075
|
+
break;
|
|
2974
3076
|
default:
|
|
2975
3077
|
reader.skipField();
|
|
2976
3078
|
break;
|
|
@@ -3118,6 +3220,22 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
|
|
|
3118
3220
|
proto.com.lansweeper.dp.outbound.v1.Processor.serializeBinaryToWriter
|
|
3119
3221
|
);
|
|
3120
3222
|
}
|
|
3223
|
+
f = message.getOtModule();
|
|
3224
|
+
if (f != null) {
|
|
3225
|
+
writer.writeMessage(
|
|
3226
|
+
16,
|
|
3227
|
+
f,
|
|
3228
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.serializeBinaryToWriter
|
|
3229
|
+
);
|
|
3230
|
+
}
|
|
3231
|
+
f = message.getCloud();
|
|
3232
|
+
if (f != null) {
|
|
3233
|
+
writer.writeMessage(
|
|
3234
|
+
17,
|
|
3235
|
+
f,
|
|
3236
|
+
proto.com.lansweeper.dp.outbound.v1.CloudEntity.serializeBinaryToWriter
|
|
3237
|
+
);
|
|
3238
|
+
}
|
|
3121
3239
|
};
|
|
3122
3240
|
|
|
3123
3241
|
|
|
@@ -3678,6 +3796,80 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearProcessorList = functio
|
|
|
3678
3796
|
};
|
|
3679
3797
|
|
|
3680
3798
|
|
|
3799
|
+
/**
|
|
3800
|
+
* optional OtModule ot_module = 16;
|
|
3801
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.OtModule}
|
|
3802
|
+
*/
|
|
3803
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getOtModule = function() {
|
|
3804
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.OtModule} */ (
|
|
3805
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.OtModule, 16));
|
|
3806
|
+
};
|
|
3807
|
+
|
|
3808
|
+
|
|
3809
|
+
/**
|
|
3810
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.OtModule|undefined} value
|
|
3811
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
3812
|
+
*/
|
|
3813
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setOtModule = function(value) {
|
|
3814
|
+
return jspb.Message.setWrapperField(this, 16, value);
|
|
3815
|
+
};
|
|
3816
|
+
|
|
3817
|
+
|
|
3818
|
+
/**
|
|
3819
|
+
* Clears the message field making it undefined.
|
|
3820
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
3821
|
+
*/
|
|
3822
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearOtModule = function() {
|
|
3823
|
+
return this.setOtModule(undefined);
|
|
3824
|
+
};
|
|
3825
|
+
|
|
3826
|
+
|
|
3827
|
+
/**
|
|
3828
|
+
* Returns whether this field is set.
|
|
3829
|
+
* @return {boolean}
|
|
3830
|
+
*/
|
|
3831
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasOtModule = function() {
|
|
3832
|
+
return jspb.Message.getField(this, 16) != null;
|
|
3833
|
+
};
|
|
3834
|
+
|
|
3835
|
+
|
|
3836
|
+
/**
|
|
3837
|
+
* optional CloudEntity cloud = 17;
|
|
3838
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.CloudEntity}
|
|
3839
|
+
*/
|
|
3840
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getCloud = function() {
|
|
3841
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.CloudEntity} */ (
|
|
3842
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.CloudEntity, 17));
|
|
3843
|
+
};
|
|
3844
|
+
|
|
3845
|
+
|
|
3846
|
+
/**
|
|
3847
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.CloudEntity|undefined} value
|
|
3848
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
3849
|
+
*/
|
|
3850
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setCloud = function(value) {
|
|
3851
|
+
return jspb.Message.setWrapperField(this, 17, value);
|
|
3852
|
+
};
|
|
3853
|
+
|
|
3854
|
+
|
|
3855
|
+
/**
|
|
3856
|
+
* Clears the message field making it undefined.
|
|
3857
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
3858
|
+
*/
|
|
3859
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearCloud = function() {
|
|
3860
|
+
return this.setCloud(undefined);
|
|
3861
|
+
};
|
|
3862
|
+
|
|
3863
|
+
|
|
3864
|
+
/**
|
|
3865
|
+
* Returns whether this field is set.
|
|
3866
|
+
* @return {boolean}
|
|
3867
|
+
*/
|
|
3868
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasCloud = function() {
|
|
3869
|
+
return jspb.Message.getField(this, 17) != null;
|
|
3870
|
+
};
|
|
3871
|
+
|
|
3872
|
+
|
|
3681
3873
|
|
|
3682
3874
|
|
|
3683
3875
|
|
|
@@ -3694,8 +3886,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3694
3886
|
* http://goto/soy-param-migration
|
|
3695
3887
|
* @return {!Object}
|
|
3696
3888
|
*/
|
|
3697
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3698
|
-
return proto.com.lansweeper.dp.outbound.v1.
|
|
3889
|
+
proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.toObject = function(opt_includeInstance) {
|
|
3890
|
+
return proto.com.lansweeper.dp.outbound.v1.CloudEntity.toObject(opt_includeInstance, this);
|
|
3699
3891
|
};
|
|
3700
3892
|
|
|
3701
3893
|
|
|
@@ -3704,15 +3896,13 @@ proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.toObject = function(opt_
|
|
|
3704
3896
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3705
3897
|
* the JSPB instance for transitional soy proto support:
|
|
3706
3898
|
* http://goto/soy-param-migration
|
|
3707
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
3899
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.CloudEntity} msg The msg instance to transform.
|
|
3708
3900
|
* @return {!Object}
|
|
3709
3901
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3710
3902
|
*/
|
|
3711
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3903
|
+
proto.com.lansweeper.dp.outbound.v1.CloudEntity.toObject = function(includeInstance, msg) {
|
|
3712
3904
|
var f, obj = {
|
|
3713
|
-
|
|
3714
|
-
lsId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
3715
|
-
fingType: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3905
|
+
body: (f = msg.getBody()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
3716
3906
|
};
|
|
3717
3907
|
|
|
3718
3908
|
if (includeInstance) {
|
|
@@ -3726,23 +3916,23 @@ proto.com.lansweeper.dp.outbound.v1.AssetType.toObject = function(includeInstanc
|
|
|
3726
3916
|
/**
|
|
3727
3917
|
* Deserializes binary data (in protobuf wire format).
|
|
3728
3918
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3729
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
3919
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudEntity}
|
|
3730
3920
|
*/
|
|
3731
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3921
|
+
proto.com.lansweeper.dp.outbound.v1.CloudEntity.deserializeBinary = function(bytes) {
|
|
3732
3922
|
var reader = new jspb.BinaryReader(bytes);
|
|
3733
|
-
var msg = new proto.com.lansweeper.dp.outbound.v1.
|
|
3734
|
-
return proto.com.lansweeper.dp.outbound.v1.
|
|
3923
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.CloudEntity;
|
|
3924
|
+
return proto.com.lansweeper.dp.outbound.v1.CloudEntity.deserializeBinaryFromReader(msg, reader);
|
|
3735
3925
|
};
|
|
3736
3926
|
|
|
3737
3927
|
|
|
3738
3928
|
/**
|
|
3739
3929
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3740
3930
|
* given reader into the given message object.
|
|
3741
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
3931
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.CloudEntity} msg The message object to deserialize into.
|
|
3742
3932
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3743
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
3933
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudEntity}
|
|
3744
3934
|
*/
|
|
3745
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3935
|
+
proto.com.lansweeper.dp.outbound.v1.CloudEntity.deserializeBinaryFromReader = function(msg, reader) {
|
|
3746
3936
|
while (reader.nextField()) {
|
|
3747
3937
|
if (reader.isEndGroup()) {
|
|
3748
3938
|
break;
|
|
@@ -3750,16 +3940,9 @@ proto.com.lansweeper.dp.outbound.v1.AssetType.deserializeBinaryFromReader = func
|
|
|
3750
3940
|
var field = reader.getFieldNumber();
|
|
3751
3941
|
switch (field) {
|
|
3752
3942
|
case 1:
|
|
3753
|
-
var value =
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
case 3:
|
|
3757
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
3758
|
-
msg.setLsId(value);
|
|
3759
|
-
break;
|
|
3760
|
-
case 2:
|
|
3761
|
-
var value = /** @type {string} */ (reader.readString());
|
|
3762
|
-
msg.setFingType(value);
|
|
3943
|
+
var value = new google_protobuf_any_pb.Any;
|
|
3944
|
+
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
3945
|
+
msg.setBody(value);
|
|
3763
3946
|
break;
|
|
3764
3947
|
default:
|
|
3765
3948
|
reader.skipField();
|
|
@@ -3774,9 +3957,9 @@ proto.com.lansweeper.dp.outbound.v1.AssetType.deserializeBinaryFromReader = func
|
|
|
3774
3957
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3775
3958
|
* @return {!Uint8Array}
|
|
3776
3959
|
*/
|
|
3777
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3960
|
+
proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.serializeBinary = function() {
|
|
3778
3961
|
var writer = new jspb.BinaryWriter();
|
|
3779
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3962
|
+
proto.com.lansweeper.dp.outbound.v1.CloudEntity.serializeBinaryToWriter(this, writer);
|
|
3780
3963
|
return writer.getResultBuffer();
|
|
3781
3964
|
};
|
|
3782
3965
|
|
|
@@ -3784,108 +3967,67 @@ proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.serializeBinary = functi
|
|
|
3784
3967
|
/**
|
|
3785
3968
|
* Serializes the given message to binary data (in protobuf wire
|
|
3786
3969
|
* format), writing to the given BinaryWriter.
|
|
3787
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
3970
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.CloudEntity} message
|
|
3788
3971
|
* @param {!jspb.BinaryWriter} writer
|
|
3789
3972
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3790
3973
|
*/
|
|
3791
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3974
|
+
proto.com.lansweeper.dp.outbound.v1.CloudEntity.serializeBinaryToWriter = function(message, writer) {
|
|
3792
3975
|
var f = undefined;
|
|
3793
|
-
f = message.
|
|
3794
|
-
if (f.length > 0) {
|
|
3795
|
-
writer.writeString(
|
|
3796
|
-
1,
|
|
3797
|
-
f
|
|
3798
|
-
);
|
|
3799
|
-
}
|
|
3800
|
-
f = message.getLsId();
|
|
3801
|
-
if (f !== 0) {
|
|
3802
|
-
writer.writeInt32(
|
|
3803
|
-
3,
|
|
3804
|
-
f
|
|
3805
|
-
);
|
|
3806
|
-
}
|
|
3807
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
3976
|
+
f = message.getBody();
|
|
3808
3977
|
if (f != null) {
|
|
3809
|
-
writer.
|
|
3810
|
-
|
|
3811
|
-
f
|
|
3978
|
+
writer.writeMessage(
|
|
3979
|
+
1,
|
|
3980
|
+
f,
|
|
3981
|
+
google_protobuf_any_pb.Any.serializeBinaryToWriter
|
|
3812
3982
|
);
|
|
3813
3983
|
}
|
|
3814
3984
|
};
|
|
3815
3985
|
|
|
3816
3986
|
|
|
3817
3987
|
/**
|
|
3818
|
-
* optional
|
|
3819
|
-
* @return {
|
|
3820
|
-
*/
|
|
3821
|
-
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.getLsName = function() {
|
|
3822
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3823
|
-
};
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
/**
|
|
3827
|
-
* @param {string} value
|
|
3828
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.AssetType} returns this
|
|
3829
|
-
*/
|
|
3830
|
-
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.setLsName = function(value) {
|
|
3831
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3832
|
-
};
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
/**
|
|
3836
|
-
* optional int32 ls_id = 3;
|
|
3837
|
-
* @return {number}
|
|
3988
|
+
* optional google.protobuf.Any body = 1;
|
|
3989
|
+
* @return {?proto.google.protobuf.Any}
|
|
3838
3990
|
*/
|
|
3839
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3840
|
-
return /** @type
|
|
3991
|
+
proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.getBody = function() {
|
|
3992
|
+
return /** @type{?proto.google.protobuf.Any} */ (
|
|
3993
|
+
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 1));
|
|
3841
3994
|
};
|
|
3842
3995
|
|
|
3843
3996
|
|
|
3844
3997
|
/**
|
|
3845
|
-
* @param {
|
|
3846
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
3847
|
-
|
|
3848
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3849
|
-
return jspb.Message.
|
|
3998
|
+
* @param {?proto.google.protobuf.Any|undefined} value
|
|
3999
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudEntity} returns this
|
|
4000
|
+
*/
|
|
4001
|
+
proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.setBody = function(value) {
|
|
4002
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
3850
4003
|
};
|
|
3851
4004
|
|
|
3852
4005
|
|
|
3853
4006
|
/**
|
|
3854
|
-
*
|
|
3855
|
-
* @return {
|
|
4007
|
+
* Clears the message field making it undefined.
|
|
4008
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudEntity} returns this
|
|
3856
4009
|
*/
|
|
3857
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3858
|
-
return
|
|
4010
|
+
proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.clearBody = function() {
|
|
4011
|
+
return this.setBody(undefined);
|
|
3859
4012
|
};
|
|
3860
4013
|
|
|
3861
4014
|
|
|
3862
4015
|
/**
|
|
3863
|
-
*
|
|
3864
|
-
* @return {
|
|
4016
|
+
* Returns whether this field is set.
|
|
4017
|
+
* @return {boolean}
|
|
3865
4018
|
*/
|
|
3866
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3867
|
-
return jspb.Message.
|
|
4019
|
+
proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.hasBody = function() {
|
|
4020
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3868
4021
|
};
|
|
3869
4022
|
|
|
3870
4023
|
|
|
3871
|
-
/**
|
|
3872
|
-
* Clears the field making it undefined.
|
|
3873
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.AssetType} returns this
|
|
3874
|
-
*/
|
|
3875
|
-
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.clearFingType = function() {
|
|
3876
|
-
return jspb.Message.setField(this, 2, undefined);
|
|
3877
|
-
};
|
|
3878
|
-
|
|
3879
4024
|
|
|
3880
4025
|
/**
|
|
3881
|
-
*
|
|
3882
|
-
* @
|
|
4026
|
+
* List of repeated fields within this message type.
|
|
4027
|
+
* @private {!Array<number>}
|
|
4028
|
+
* @const
|
|
3883
4029
|
*/
|
|
3884
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3885
|
-
return jspb.Message.getField(this, 2) != null;
|
|
3886
|
-
};
|
|
3887
|
-
|
|
3888
|
-
|
|
4030
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.repeatedFields_ = [2,11];
|
|
3889
4031
|
|
|
3890
4032
|
|
|
3891
4033
|
|
|
@@ -3902,8 +4044,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3902
4044
|
* http://goto/soy-param-migration
|
|
3903
4045
|
* @return {!Object}
|
|
3904
4046
|
*/
|
|
3905
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
3906
|
-
return proto.com.lansweeper.dp.outbound.v1.
|
|
4047
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.toObject = function(opt_includeInstance) {
|
|
4048
|
+
return proto.com.lansweeper.dp.outbound.v1.OtModule.toObject(opt_includeInstance, this);
|
|
3907
4049
|
};
|
|
3908
4050
|
|
|
3909
4051
|
|
|
@@ -3912,16 +4054,965 @@ proto.com.lansweeper.dp.outbound.v1.CoreFields.prototype.toObject = function(opt
|
|
|
3912
4054
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3913
4055
|
* the JSPB instance for transitional soy proto support:
|
|
3914
4056
|
* http://goto/soy-param-migration
|
|
3915
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
4057
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtModule} msg The msg instance to transform.
|
|
3916
4058
|
* @return {!Object}
|
|
3917
4059
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3918
4060
|
*/
|
|
3919
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
4061
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.toObject = function(includeInstance, msg) {
|
|
3920
4062
|
var f, obj = {
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
4063
|
+
parentId: (f = msg.getParentId()) && proto.com.lansweeper.dp.outbound.v1.EntityPath.toObject(includeInstance, f),
|
|
4064
|
+
subModuleIdList: jspb.Message.toObjectList(msg.getSubModuleIdList(),
|
|
4065
|
+
proto.com.lansweeper.dp.outbound.v1.EntityPath.toObject, includeInstance),
|
|
4066
|
+
rackNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
4067
|
+
rackName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4068
|
+
rackSize: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
4069
|
+
slot: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
4070
|
+
slotWidth: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
4071
|
+
isMainModule: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
4072
|
+
componentType: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
4073
|
+
partNumber: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
4074
|
+
extInfoList: jspb.Message.toObjectList(msg.getExtInfoList(),
|
|
4075
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.toObject, includeInstance)
|
|
4076
|
+
};
|
|
4077
|
+
|
|
4078
|
+
if (includeInstance) {
|
|
4079
|
+
obj.$jspbMessageInstance = msg;
|
|
4080
|
+
}
|
|
4081
|
+
return obj;
|
|
4082
|
+
};
|
|
4083
|
+
}
|
|
4084
|
+
|
|
4085
|
+
|
|
4086
|
+
/**
|
|
4087
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4088
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4089
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule}
|
|
4090
|
+
*/
|
|
4091
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.deserializeBinary = function(bytes) {
|
|
4092
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4093
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.OtModule;
|
|
4094
|
+
return proto.com.lansweeper.dp.outbound.v1.OtModule.deserializeBinaryFromReader(msg, reader);
|
|
4095
|
+
};
|
|
4096
|
+
|
|
4097
|
+
|
|
4098
|
+
/**
|
|
4099
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4100
|
+
* given reader into the given message object.
|
|
4101
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtModule} msg The message object to deserialize into.
|
|
4102
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4103
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule}
|
|
4104
|
+
*/
|
|
4105
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.deserializeBinaryFromReader = function(msg, reader) {
|
|
4106
|
+
while (reader.nextField()) {
|
|
4107
|
+
if (reader.isEndGroup()) {
|
|
4108
|
+
break;
|
|
4109
|
+
}
|
|
4110
|
+
var field = reader.getFieldNumber();
|
|
4111
|
+
switch (field) {
|
|
4112
|
+
case 1:
|
|
4113
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.EntityPath;
|
|
4114
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.EntityPath.deserializeBinaryFromReader);
|
|
4115
|
+
msg.setParentId(value);
|
|
4116
|
+
break;
|
|
4117
|
+
case 2:
|
|
4118
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.EntityPath;
|
|
4119
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.EntityPath.deserializeBinaryFromReader);
|
|
4120
|
+
msg.addSubModuleId(value);
|
|
4121
|
+
break;
|
|
4122
|
+
case 3:
|
|
4123
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4124
|
+
msg.setRackNumber(value);
|
|
4125
|
+
break;
|
|
4126
|
+
case 4:
|
|
4127
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4128
|
+
msg.setRackName(value);
|
|
4129
|
+
break;
|
|
4130
|
+
case 5:
|
|
4131
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4132
|
+
msg.setRackSize(value);
|
|
4133
|
+
break;
|
|
4134
|
+
case 6:
|
|
4135
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4136
|
+
msg.setSlot(value);
|
|
4137
|
+
break;
|
|
4138
|
+
case 7:
|
|
4139
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4140
|
+
msg.setSlotWidth(value);
|
|
4141
|
+
break;
|
|
4142
|
+
case 8:
|
|
4143
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4144
|
+
msg.setIsMainModule(value);
|
|
4145
|
+
break;
|
|
4146
|
+
case 9:
|
|
4147
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4148
|
+
msg.setComponentType(value);
|
|
4149
|
+
break;
|
|
4150
|
+
case 10:
|
|
4151
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4152
|
+
msg.setPartNumber(value);
|
|
4153
|
+
break;
|
|
4154
|
+
case 11:
|
|
4155
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo;
|
|
4156
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.deserializeBinaryFromReader);
|
|
4157
|
+
msg.addExtInfo(value);
|
|
4158
|
+
break;
|
|
4159
|
+
default:
|
|
4160
|
+
reader.skipField();
|
|
4161
|
+
break;
|
|
4162
|
+
}
|
|
4163
|
+
}
|
|
4164
|
+
return msg;
|
|
4165
|
+
};
|
|
4166
|
+
|
|
4167
|
+
|
|
4168
|
+
/**
|
|
4169
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4170
|
+
* @return {!Uint8Array}
|
|
4171
|
+
*/
|
|
4172
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.serializeBinary = function() {
|
|
4173
|
+
var writer = new jspb.BinaryWriter();
|
|
4174
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.serializeBinaryToWriter(this, writer);
|
|
4175
|
+
return writer.getResultBuffer();
|
|
4176
|
+
};
|
|
4177
|
+
|
|
4178
|
+
|
|
4179
|
+
/**
|
|
4180
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4181
|
+
* format), writing to the given BinaryWriter.
|
|
4182
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtModule} message
|
|
4183
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4184
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4185
|
+
*/
|
|
4186
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.serializeBinaryToWriter = function(message, writer) {
|
|
4187
|
+
var f = undefined;
|
|
4188
|
+
f = message.getParentId();
|
|
4189
|
+
if (f != null) {
|
|
4190
|
+
writer.writeMessage(
|
|
4191
|
+
1,
|
|
4192
|
+
f,
|
|
4193
|
+
proto.com.lansweeper.dp.outbound.v1.EntityPath.serializeBinaryToWriter
|
|
4194
|
+
);
|
|
4195
|
+
}
|
|
4196
|
+
f = message.getSubModuleIdList();
|
|
4197
|
+
if (f.length > 0) {
|
|
4198
|
+
writer.writeRepeatedMessage(
|
|
4199
|
+
2,
|
|
4200
|
+
f,
|
|
4201
|
+
proto.com.lansweeper.dp.outbound.v1.EntityPath.serializeBinaryToWriter
|
|
4202
|
+
);
|
|
4203
|
+
}
|
|
4204
|
+
f = message.getRackNumber();
|
|
4205
|
+
if (f !== 0) {
|
|
4206
|
+
writer.writeInt32(
|
|
4207
|
+
3,
|
|
4208
|
+
f
|
|
4209
|
+
);
|
|
4210
|
+
}
|
|
4211
|
+
f = message.getRackName();
|
|
4212
|
+
if (f.length > 0) {
|
|
4213
|
+
writer.writeString(
|
|
4214
|
+
4,
|
|
4215
|
+
f
|
|
4216
|
+
);
|
|
4217
|
+
}
|
|
4218
|
+
f = message.getRackSize();
|
|
4219
|
+
if (f !== 0) {
|
|
4220
|
+
writer.writeInt32(
|
|
4221
|
+
5,
|
|
4222
|
+
f
|
|
4223
|
+
);
|
|
4224
|
+
}
|
|
4225
|
+
f = message.getSlot();
|
|
4226
|
+
if (f !== 0) {
|
|
4227
|
+
writer.writeInt32(
|
|
4228
|
+
6,
|
|
4229
|
+
f
|
|
4230
|
+
);
|
|
4231
|
+
}
|
|
4232
|
+
f = message.getSlotWidth();
|
|
4233
|
+
if (f !== 0) {
|
|
4234
|
+
writer.writeInt32(
|
|
4235
|
+
7,
|
|
4236
|
+
f
|
|
4237
|
+
);
|
|
4238
|
+
}
|
|
4239
|
+
f = message.getIsMainModule();
|
|
4240
|
+
if (f) {
|
|
4241
|
+
writer.writeBool(
|
|
4242
|
+
8,
|
|
4243
|
+
f
|
|
4244
|
+
);
|
|
4245
|
+
}
|
|
4246
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
4247
|
+
if (f != null) {
|
|
4248
|
+
writer.writeString(
|
|
4249
|
+
9,
|
|
4250
|
+
f
|
|
4251
|
+
);
|
|
4252
|
+
}
|
|
4253
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
4254
|
+
if (f != null) {
|
|
4255
|
+
writer.writeString(
|
|
4256
|
+
10,
|
|
4257
|
+
f
|
|
4258
|
+
);
|
|
4259
|
+
}
|
|
4260
|
+
f = message.getExtInfoList();
|
|
4261
|
+
if (f.length > 0) {
|
|
4262
|
+
writer.writeRepeatedMessage(
|
|
4263
|
+
11,
|
|
4264
|
+
f,
|
|
4265
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.serializeBinaryToWriter
|
|
4266
|
+
);
|
|
4267
|
+
}
|
|
4268
|
+
};
|
|
4269
|
+
|
|
4270
|
+
|
|
4271
|
+
/**
|
|
4272
|
+
* optional EntityPath parent_id = 1;
|
|
4273
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.EntityPath}
|
|
4274
|
+
*/
|
|
4275
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getParentId = function() {
|
|
4276
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.EntityPath} */ (
|
|
4277
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.EntityPath, 1));
|
|
4278
|
+
};
|
|
4279
|
+
|
|
4280
|
+
|
|
4281
|
+
/**
|
|
4282
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.EntityPath|undefined} value
|
|
4283
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4284
|
+
*/
|
|
4285
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setParentId = function(value) {
|
|
4286
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
4287
|
+
};
|
|
4288
|
+
|
|
4289
|
+
|
|
4290
|
+
/**
|
|
4291
|
+
* Clears the message field making it undefined.
|
|
4292
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4293
|
+
*/
|
|
4294
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearParentId = function() {
|
|
4295
|
+
return this.setParentId(undefined);
|
|
4296
|
+
};
|
|
4297
|
+
|
|
4298
|
+
|
|
4299
|
+
/**
|
|
4300
|
+
* Returns whether this field is set.
|
|
4301
|
+
* @return {boolean}
|
|
4302
|
+
*/
|
|
4303
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasParentId = function() {
|
|
4304
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4305
|
+
};
|
|
4306
|
+
|
|
4307
|
+
|
|
4308
|
+
/**
|
|
4309
|
+
* repeated EntityPath sub_module_id = 2;
|
|
4310
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.EntityPath>}
|
|
4311
|
+
*/
|
|
4312
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getSubModuleIdList = function() {
|
|
4313
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.EntityPath>} */ (
|
|
4314
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.EntityPath, 2));
|
|
4315
|
+
};
|
|
4316
|
+
|
|
4317
|
+
|
|
4318
|
+
/**
|
|
4319
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.EntityPath>} value
|
|
4320
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4321
|
+
*/
|
|
4322
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setSubModuleIdList = function(value) {
|
|
4323
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
4324
|
+
};
|
|
4325
|
+
|
|
4326
|
+
|
|
4327
|
+
/**
|
|
4328
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.EntityPath=} opt_value
|
|
4329
|
+
* @param {number=} opt_index
|
|
4330
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.EntityPath}
|
|
4331
|
+
*/
|
|
4332
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.addSubModuleId = function(opt_value, opt_index) {
|
|
4333
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.com.lansweeper.dp.outbound.v1.EntityPath, opt_index);
|
|
4334
|
+
};
|
|
4335
|
+
|
|
4336
|
+
|
|
4337
|
+
/**
|
|
4338
|
+
* Clears the list making it empty but non-null.
|
|
4339
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4340
|
+
*/
|
|
4341
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearSubModuleIdList = function() {
|
|
4342
|
+
return this.setSubModuleIdList([]);
|
|
4343
|
+
};
|
|
4344
|
+
|
|
4345
|
+
|
|
4346
|
+
/**
|
|
4347
|
+
* optional int32 rack_number = 3;
|
|
4348
|
+
* @return {number}
|
|
4349
|
+
*/
|
|
4350
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getRackNumber = function() {
|
|
4351
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
4352
|
+
};
|
|
4353
|
+
|
|
4354
|
+
|
|
4355
|
+
/**
|
|
4356
|
+
* @param {number} value
|
|
4357
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4358
|
+
*/
|
|
4359
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setRackNumber = function(value) {
|
|
4360
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
4361
|
+
};
|
|
4362
|
+
|
|
4363
|
+
|
|
4364
|
+
/**
|
|
4365
|
+
* optional string rack_name = 4;
|
|
4366
|
+
* @return {string}
|
|
4367
|
+
*/
|
|
4368
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getRackName = function() {
|
|
4369
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4370
|
+
};
|
|
4371
|
+
|
|
4372
|
+
|
|
4373
|
+
/**
|
|
4374
|
+
* @param {string} value
|
|
4375
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4376
|
+
*/
|
|
4377
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setRackName = function(value) {
|
|
4378
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4379
|
+
};
|
|
4380
|
+
|
|
4381
|
+
|
|
4382
|
+
/**
|
|
4383
|
+
* optional int32 rack_size = 5;
|
|
4384
|
+
* @return {number}
|
|
4385
|
+
*/
|
|
4386
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getRackSize = function() {
|
|
4387
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
4388
|
+
};
|
|
4389
|
+
|
|
4390
|
+
|
|
4391
|
+
/**
|
|
4392
|
+
* @param {number} value
|
|
4393
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4394
|
+
*/
|
|
4395
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setRackSize = function(value) {
|
|
4396
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
4397
|
+
};
|
|
4398
|
+
|
|
4399
|
+
|
|
4400
|
+
/**
|
|
4401
|
+
* optional int32 slot = 6;
|
|
4402
|
+
* @return {number}
|
|
4403
|
+
*/
|
|
4404
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getSlot = function() {
|
|
4405
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
4406
|
+
};
|
|
4407
|
+
|
|
4408
|
+
|
|
4409
|
+
/**
|
|
4410
|
+
* @param {number} value
|
|
4411
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4412
|
+
*/
|
|
4413
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setSlot = function(value) {
|
|
4414
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
4415
|
+
};
|
|
4416
|
+
|
|
4417
|
+
|
|
4418
|
+
/**
|
|
4419
|
+
* optional int32 slot_width = 7;
|
|
4420
|
+
* @return {number}
|
|
4421
|
+
*/
|
|
4422
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getSlotWidth = function() {
|
|
4423
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
4424
|
+
};
|
|
4425
|
+
|
|
4426
|
+
|
|
4427
|
+
/**
|
|
4428
|
+
* @param {number} value
|
|
4429
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4430
|
+
*/
|
|
4431
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setSlotWidth = function(value) {
|
|
4432
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
4433
|
+
};
|
|
4434
|
+
|
|
4435
|
+
|
|
4436
|
+
/**
|
|
4437
|
+
* optional bool is_main_module = 8;
|
|
4438
|
+
* @return {boolean}
|
|
4439
|
+
*/
|
|
4440
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getIsMainModule = function() {
|
|
4441
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
4442
|
+
};
|
|
4443
|
+
|
|
4444
|
+
|
|
4445
|
+
/**
|
|
4446
|
+
* @param {boolean} value
|
|
4447
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4448
|
+
*/
|
|
4449
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setIsMainModule = function(value) {
|
|
4450
|
+
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
4451
|
+
};
|
|
4452
|
+
|
|
4453
|
+
|
|
4454
|
+
/**
|
|
4455
|
+
* optional string component_type = 9;
|
|
4456
|
+
* @return {string}
|
|
4457
|
+
*/
|
|
4458
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getComponentType = function() {
|
|
4459
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
4460
|
+
};
|
|
4461
|
+
|
|
4462
|
+
|
|
4463
|
+
/**
|
|
4464
|
+
* @param {string} value
|
|
4465
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4466
|
+
*/
|
|
4467
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setComponentType = function(value) {
|
|
4468
|
+
return jspb.Message.setField(this, 9, value);
|
|
4469
|
+
};
|
|
4470
|
+
|
|
4471
|
+
|
|
4472
|
+
/**
|
|
4473
|
+
* Clears the field making it undefined.
|
|
4474
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4475
|
+
*/
|
|
4476
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearComponentType = function() {
|
|
4477
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
4478
|
+
};
|
|
4479
|
+
|
|
4480
|
+
|
|
4481
|
+
/**
|
|
4482
|
+
* Returns whether this field is set.
|
|
4483
|
+
* @return {boolean}
|
|
4484
|
+
*/
|
|
4485
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasComponentType = function() {
|
|
4486
|
+
return jspb.Message.getField(this, 9) != null;
|
|
4487
|
+
};
|
|
4488
|
+
|
|
4489
|
+
|
|
4490
|
+
/**
|
|
4491
|
+
* optional string part_number = 10;
|
|
4492
|
+
* @return {string}
|
|
4493
|
+
*/
|
|
4494
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getPartNumber = function() {
|
|
4495
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
4496
|
+
};
|
|
4497
|
+
|
|
4498
|
+
|
|
4499
|
+
/**
|
|
4500
|
+
* @param {string} value
|
|
4501
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4502
|
+
*/
|
|
4503
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setPartNumber = function(value) {
|
|
4504
|
+
return jspb.Message.setField(this, 10, value);
|
|
4505
|
+
};
|
|
4506
|
+
|
|
4507
|
+
|
|
4508
|
+
/**
|
|
4509
|
+
* Clears the field making it undefined.
|
|
4510
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4511
|
+
*/
|
|
4512
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearPartNumber = function() {
|
|
4513
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
4514
|
+
};
|
|
4515
|
+
|
|
4516
|
+
|
|
4517
|
+
/**
|
|
4518
|
+
* Returns whether this field is set.
|
|
4519
|
+
* @return {boolean}
|
|
4520
|
+
*/
|
|
4521
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasPartNumber = function() {
|
|
4522
|
+
return jspb.Message.getField(this, 10) != null;
|
|
4523
|
+
};
|
|
4524
|
+
|
|
4525
|
+
|
|
4526
|
+
/**
|
|
4527
|
+
* repeated OtModuleExtInfo ext_info = 11;
|
|
4528
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo>}
|
|
4529
|
+
*/
|
|
4530
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getExtInfoList = function() {
|
|
4531
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo>} */ (
|
|
4532
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo, 11));
|
|
4533
|
+
};
|
|
4534
|
+
|
|
4535
|
+
|
|
4536
|
+
/**
|
|
4537
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo>} value
|
|
4538
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4539
|
+
*/
|
|
4540
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setExtInfoList = function(value) {
|
|
4541
|
+
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
|
4542
|
+
};
|
|
4543
|
+
|
|
4544
|
+
|
|
4545
|
+
/**
|
|
4546
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo=} opt_value
|
|
4547
|
+
* @param {number=} opt_index
|
|
4548
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo}
|
|
4549
|
+
*/
|
|
4550
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.addExtInfo = function(opt_value, opt_index) {
|
|
4551
|
+
return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo, opt_index);
|
|
4552
|
+
};
|
|
4553
|
+
|
|
4554
|
+
|
|
4555
|
+
/**
|
|
4556
|
+
* Clears the list making it empty but non-null.
|
|
4557
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
4558
|
+
*/
|
|
4559
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearExtInfoList = function() {
|
|
4560
|
+
return this.setExtInfoList([]);
|
|
4561
|
+
};
|
|
4562
|
+
|
|
4563
|
+
|
|
4564
|
+
|
|
4565
|
+
|
|
4566
|
+
|
|
4567
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4568
|
+
/**
|
|
4569
|
+
* Creates an object representation of this proto.
|
|
4570
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4571
|
+
* Optional fields that are not set will be set to undefined.
|
|
4572
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4573
|
+
* For the list of reserved names please see:
|
|
4574
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4575
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4576
|
+
* JSPB instance for transitional soy proto support:
|
|
4577
|
+
* http://goto/soy-param-migration
|
|
4578
|
+
* @return {!Object}
|
|
4579
|
+
*/
|
|
4580
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.prototype.toObject = function(opt_includeInstance) {
|
|
4581
|
+
return proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.toObject(opt_includeInstance, this);
|
|
4582
|
+
};
|
|
4583
|
+
|
|
4584
|
+
|
|
4585
|
+
/**
|
|
4586
|
+
* Static version of the {@see toObject} method.
|
|
4587
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4588
|
+
* the JSPB instance for transitional soy proto support:
|
|
4589
|
+
* http://goto/soy-param-migration
|
|
4590
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo} msg The msg instance to transform.
|
|
4591
|
+
* @return {!Object}
|
|
4592
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4593
|
+
*/
|
|
4594
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.toObject = function(includeInstance, msg) {
|
|
4595
|
+
var f, obj = {
|
|
4596
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4597
|
+
value: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4598
|
+
};
|
|
4599
|
+
|
|
4600
|
+
if (includeInstance) {
|
|
4601
|
+
obj.$jspbMessageInstance = msg;
|
|
4602
|
+
}
|
|
4603
|
+
return obj;
|
|
4604
|
+
};
|
|
4605
|
+
}
|
|
4606
|
+
|
|
4607
|
+
|
|
4608
|
+
/**
|
|
4609
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4610
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4611
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo}
|
|
4612
|
+
*/
|
|
4613
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.deserializeBinary = function(bytes) {
|
|
4614
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4615
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo;
|
|
4616
|
+
return proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.deserializeBinaryFromReader(msg, reader);
|
|
4617
|
+
};
|
|
4618
|
+
|
|
4619
|
+
|
|
4620
|
+
/**
|
|
4621
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4622
|
+
* given reader into the given message object.
|
|
4623
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo} msg The message object to deserialize into.
|
|
4624
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4625
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo}
|
|
4626
|
+
*/
|
|
4627
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
4628
|
+
while (reader.nextField()) {
|
|
4629
|
+
if (reader.isEndGroup()) {
|
|
4630
|
+
break;
|
|
4631
|
+
}
|
|
4632
|
+
var field = reader.getFieldNumber();
|
|
4633
|
+
switch (field) {
|
|
4634
|
+
case 1:
|
|
4635
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4636
|
+
msg.setKey(value);
|
|
4637
|
+
break;
|
|
4638
|
+
case 2:
|
|
4639
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4640
|
+
msg.setValue(value);
|
|
4641
|
+
break;
|
|
4642
|
+
default:
|
|
4643
|
+
reader.skipField();
|
|
4644
|
+
break;
|
|
4645
|
+
}
|
|
4646
|
+
}
|
|
4647
|
+
return msg;
|
|
4648
|
+
};
|
|
4649
|
+
|
|
4650
|
+
|
|
4651
|
+
/**
|
|
4652
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4653
|
+
* @return {!Uint8Array}
|
|
4654
|
+
*/
|
|
4655
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.prototype.serializeBinary = function() {
|
|
4656
|
+
var writer = new jspb.BinaryWriter();
|
|
4657
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.serializeBinaryToWriter(this, writer);
|
|
4658
|
+
return writer.getResultBuffer();
|
|
4659
|
+
};
|
|
4660
|
+
|
|
4661
|
+
|
|
4662
|
+
/**
|
|
4663
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4664
|
+
* format), writing to the given BinaryWriter.
|
|
4665
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo} message
|
|
4666
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4667
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4668
|
+
*/
|
|
4669
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.serializeBinaryToWriter = function(message, writer) {
|
|
4670
|
+
var f = undefined;
|
|
4671
|
+
f = message.getKey();
|
|
4672
|
+
if (f.length > 0) {
|
|
4673
|
+
writer.writeString(
|
|
4674
|
+
1,
|
|
4675
|
+
f
|
|
4676
|
+
);
|
|
4677
|
+
}
|
|
4678
|
+
f = message.getValue();
|
|
4679
|
+
if (f.length > 0) {
|
|
4680
|
+
writer.writeString(
|
|
4681
|
+
2,
|
|
4682
|
+
f
|
|
4683
|
+
);
|
|
4684
|
+
}
|
|
4685
|
+
};
|
|
4686
|
+
|
|
4687
|
+
|
|
4688
|
+
/**
|
|
4689
|
+
* optional string key = 1;
|
|
4690
|
+
* @return {string}
|
|
4691
|
+
*/
|
|
4692
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.prototype.getKey = function() {
|
|
4693
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4694
|
+
};
|
|
4695
|
+
|
|
4696
|
+
|
|
4697
|
+
/**
|
|
4698
|
+
* @param {string} value
|
|
4699
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo} returns this
|
|
4700
|
+
*/
|
|
4701
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.prototype.setKey = function(value) {
|
|
4702
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4703
|
+
};
|
|
4704
|
+
|
|
4705
|
+
|
|
4706
|
+
/**
|
|
4707
|
+
* optional string value = 2;
|
|
4708
|
+
* @return {string}
|
|
4709
|
+
*/
|
|
4710
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.prototype.getValue = function() {
|
|
4711
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4712
|
+
};
|
|
4713
|
+
|
|
4714
|
+
|
|
4715
|
+
/**
|
|
4716
|
+
* @param {string} value
|
|
4717
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo} returns this
|
|
4718
|
+
*/
|
|
4719
|
+
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.prototype.setValue = function(value) {
|
|
4720
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4721
|
+
};
|
|
4722
|
+
|
|
4723
|
+
|
|
4724
|
+
|
|
4725
|
+
|
|
4726
|
+
|
|
4727
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4728
|
+
/**
|
|
4729
|
+
* Creates an object representation of this proto.
|
|
4730
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4731
|
+
* Optional fields that are not set will be set to undefined.
|
|
4732
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4733
|
+
* For the list of reserved names please see:
|
|
4734
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4735
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4736
|
+
* JSPB instance for transitional soy proto support:
|
|
4737
|
+
* http://goto/soy-param-migration
|
|
4738
|
+
* @return {!Object}
|
|
4739
|
+
*/
|
|
4740
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.toObject = function(opt_includeInstance) {
|
|
4741
|
+
return proto.com.lansweeper.dp.outbound.v1.AssetType.toObject(opt_includeInstance, this);
|
|
4742
|
+
};
|
|
4743
|
+
|
|
4744
|
+
|
|
4745
|
+
/**
|
|
4746
|
+
* Static version of the {@see toObject} method.
|
|
4747
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4748
|
+
* the JSPB instance for transitional soy proto support:
|
|
4749
|
+
* http://goto/soy-param-migration
|
|
4750
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.AssetType} msg The msg instance to transform.
|
|
4751
|
+
* @return {!Object}
|
|
4752
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4753
|
+
*/
|
|
4754
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.toObject = function(includeInstance, msg) {
|
|
4755
|
+
var f, obj = {
|
|
4756
|
+
lsName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4757
|
+
lsId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
4758
|
+
fingType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4759
|
+
subType: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
4760
|
+
};
|
|
4761
|
+
|
|
4762
|
+
if (includeInstance) {
|
|
4763
|
+
obj.$jspbMessageInstance = msg;
|
|
4764
|
+
}
|
|
4765
|
+
return obj;
|
|
4766
|
+
};
|
|
4767
|
+
}
|
|
4768
|
+
|
|
4769
|
+
|
|
4770
|
+
/**
|
|
4771
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4772
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4773
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.AssetType}
|
|
4774
|
+
*/
|
|
4775
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.deserializeBinary = function(bytes) {
|
|
4776
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4777
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.AssetType;
|
|
4778
|
+
return proto.com.lansweeper.dp.outbound.v1.AssetType.deserializeBinaryFromReader(msg, reader);
|
|
4779
|
+
};
|
|
4780
|
+
|
|
4781
|
+
|
|
4782
|
+
/**
|
|
4783
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4784
|
+
* given reader into the given message object.
|
|
4785
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.AssetType} msg The message object to deserialize into.
|
|
4786
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4787
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.AssetType}
|
|
4788
|
+
*/
|
|
4789
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.deserializeBinaryFromReader = function(msg, reader) {
|
|
4790
|
+
while (reader.nextField()) {
|
|
4791
|
+
if (reader.isEndGroup()) {
|
|
4792
|
+
break;
|
|
4793
|
+
}
|
|
4794
|
+
var field = reader.getFieldNumber();
|
|
4795
|
+
switch (field) {
|
|
4796
|
+
case 1:
|
|
4797
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4798
|
+
msg.setLsName(value);
|
|
4799
|
+
break;
|
|
4800
|
+
case 3:
|
|
4801
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4802
|
+
msg.setLsId(value);
|
|
4803
|
+
break;
|
|
4804
|
+
case 2:
|
|
4805
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4806
|
+
msg.setFingType(value);
|
|
4807
|
+
break;
|
|
4808
|
+
case 4:
|
|
4809
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4810
|
+
msg.setSubType(value);
|
|
4811
|
+
break;
|
|
4812
|
+
default:
|
|
4813
|
+
reader.skipField();
|
|
4814
|
+
break;
|
|
4815
|
+
}
|
|
4816
|
+
}
|
|
4817
|
+
return msg;
|
|
4818
|
+
};
|
|
4819
|
+
|
|
4820
|
+
|
|
4821
|
+
/**
|
|
4822
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4823
|
+
* @return {!Uint8Array}
|
|
4824
|
+
*/
|
|
4825
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.serializeBinary = function() {
|
|
4826
|
+
var writer = new jspb.BinaryWriter();
|
|
4827
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.serializeBinaryToWriter(this, writer);
|
|
4828
|
+
return writer.getResultBuffer();
|
|
4829
|
+
};
|
|
4830
|
+
|
|
4831
|
+
|
|
4832
|
+
/**
|
|
4833
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4834
|
+
* format), writing to the given BinaryWriter.
|
|
4835
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.AssetType} message
|
|
4836
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4837
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4838
|
+
*/
|
|
4839
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.serializeBinaryToWriter = function(message, writer) {
|
|
4840
|
+
var f = undefined;
|
|
4841
|
+
f = message.getLsName();
|
|
4842
|
+
if (f.length > 0) {
|
|
4843
|
+
writer.writeString(
|
|
4844
|
+
1,
|
|
4845
|
+
f
|
|
4846
|
+
);
|
|
4847
|
+
}
|
|
4848
|
+
f = message.getLsId();
|
|
4849
|
+
if (f !== 0) {
|
|
4850
|
+
writer.writeInt32(
|
|
4851
|
+
3,
|
|
4852
|
+
f
|
|
4853
|
+
);
|
|
4854
|
+
}
|
|
4855
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
4856
|
+
if (f != null) {
|
|
4857
|
+
writer.writeString(
|
|
4858
|
+
2,
|
|
4859
|
+
f
|
|
4860
|
+
);
|
|
4861
|
+
}
|
|
4862
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
4863
|
+
if (f != null) {
|
|
4864
|
+
writer.writeString(
|
|
4865
|
+
4,
|
|
4866
|
+
f
|
|
4867
|
+
);
|
|
4868
|
+
}
|
|
4869
|
+
};
|
|
4870
|
+
|
|
4871
|
+
|
|
4872
|
+
/**
|
|
4873
|
+
* optional string ls_name = 1;
|
|
4874
|
+
* @return {string}
|
|
4875
|
+
*/
|
|
4876
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.getLsName = function() {
|
|
4877
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4878
|
+
};
|
|
4879
|
+
|
|
4880
|
+
|
|
4881
|
+
/**
|
|
4882
|
+
* @param {string} value
|
|
4883
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.AssetType} returns this
|
|
4884
|
+
*/
|
|
4885
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.setLsName = function(value) {
|
|
4886
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4887
|
+
};
|
|
4888
|
+
|
|
4889
|
+
|
|
4890
|
+
/**
|
|
4891
|
+
* optional int32 ls_id = 3;
|
|
4892
|
+
* @return {number}
|
|
4893
|
+
*/
|
|
4894
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.getLsId = function() {
|
|
4895
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
4896
|
+
};
|
|
4897
|
+
|
|
4898
|
+
|
|
4899
|
+
/**
|
|
4900
|
+
* @param {number} value
|
|
4901
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.AssetType} returns this
|
|
4902
|
+
*/
|
|
4903
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.setLsId = function(value) {
|
|
4904
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
4905
|
+
};
|
|
4906
|
+
|
|
4907
|
+
|
|
4908
|
+
/**
|
|
4909
|
+
* optional string fing_type = 2;
|
|
4910
|
+
* @return {string}
|
|
4911
|
+
*/
|
|
4912
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.getFingType = function() {
|
|
4913
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4914
|
+
};
|
|
4915
|
+
|
|
4916
|
+
|
|
4917
|
+
/**
|
|
4918
|
+
* @param {string} value
|
|
4919
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.AssetType} returns this
|
|
4920
|
+
*/
|
|
4921
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.setFingType = function(value) {
|
|
4922
|
+
return jspb.Message.setField(this, 2, value);
|
|
4923
|
+
};
|
|
4924
|
+
|
|
4925
|
+
|
|
4926
|
+
/**
|
|
4927
|
+
* Clears the field making it undefined.
|
|
4928
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.AssetType} returns this
|
|
4929
|
+
*/
|
|
4930
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.clearFingType = function() {
|
|
4931
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
4932
|
+
};
|
|
4933
|
+
|
|
4934
|
+
|
|
4935
|
+
/**
|
|
4936
|
+
* Returns whether this field is set.
|
|
4937
|
+
* @return {boolean}
|
|
4938
|
+
*/
|
|
4939
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.hasFingType = function() {
|
|
4940
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4941
|
+
};
|
|
4942
|
+
|
|
4943
|
+
|
|
4944
|
+
/**
|
|
4945
|
+
* optional string sub_type = 4;
|
|
4946
|
+
* @return {string}
|
|
4947
|
+
*/
|
|
4948
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.getSubType = function() {
|
|
4949
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4950
|
+
};
|
|
4951
|
+
|
|
4952
|
+
|
|
4953
|
+
/**
|
|
4954
|
+
* @param {string} value
|
|
4955
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.AssetType} returns this
|
|
4956
|
+
*/
|
|
4957
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.setSubType = function(value) {
|
|
4958
|
+
return jspb.Message.setField(this, 4, value);
|
|
4959
|
+
};
|
|
4960
|
+
|
|
4961
|
+
|
|
4962
|
+
/**
|
|
4963
|
+
* Clears the field making it undefined.
|
|
4964
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.AssetType} returns this
|
|
4965
|
+
*/
|
|
4966
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.clearSubType = function() {
|
|
4967
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
4968
|
+
};
|
|
4969
|
+
|
|
4970
|
+
|
|
4971
|
+
/**
|
|
4972
|
+
* Returns whether this field is set.
|
|
4973
|
+
* @return {boolean}
|
|
4974
|
+
*/
|
|
4975
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.hasSubType = function() {
|
|
4976
|
+
return jspb.Message.getField(this, 4) != null;
|
|
4977
|
+
};
|
|
4978
|
+
|
|
4979
|
+
|
|
4980
|
+
|
|
4981
|
+
|
|
4982
|
+
|
|
4983
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4984
|
+
/**
|
|
4985
|
+
* Creates an object representation of this proto.
|
|
4986
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4987
|
+
* Optional fields that are not set will be set to undefined.
|
|
4988
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4989
|
+
* For the list of reserved names please see:
|
|
4990
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4991
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4992
|
+
* JSPB instance for transitional soy proto support:
|
|
4993
|
+
* http://goto/soy-param-migration
|
|
4994
|
+
* @return {!Object}
|
|
4995
|
+
*/
|
|
4996
|
+
proto.com.lansweeper.dp.outbound.v1.CoreFields.prototype.toObject = function(opt_includeInstance) {
|
|
4997
|
+
return proto.com.lansweeper.dp.outbound.v1.CoreFields.toObject(opt_includeInstance, this);
|
|
4998
|
+
};
|
|
4999
|
+
|
|
5000
|
+
|
|
5001
|
+
/**
|
|
5002
|
+
* Static version of the {@see toObject} method.
|
|
5003
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5004
|
+
* the JSPB instance for transitional soy proto support:
|
|
5005
|
+
* http://goto/soy-param-migration
|
|
5006
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.CoreFields} msg The msg instance to transform.
|
|
5007
|
+
* @return {!Object}
|
|
5008
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5009
|
+
*/
|
|
5010
|
+
proto.com.lansweeper.dp.outbound.v1.CoreFields.toObject = function(includeInstance, msg) {
|
|
5011
|
+
var f, obj = {
|
|
5012
|
+
type: (f = msg.getType()) && proto.com.lansweeper.dp.outbound.v1.AssetType.toObject(includeInstance, f),
|
|
5013
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5014
|
+
domain: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
5015
|
+
ipAddress: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3925
5016
|
serial: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3926
5017
|
mac: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3927
5018
|
macVendor: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
@@ -5383,14 +6474,15 @@ proto.com.lansweeper.dp.outbound.v1.SpecHardwareInfo.prototype.hasSerialNumber =
|
|
|
5383
6474
|
* @private {!Array<!Array<number>>}
|
|
5384
6475
|
* @const
|
|
5385
6476
|
*/
|
|
5386
|
-
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.oneofGroups_ = [[32]];
|
|
6477
|
+
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.oneofGroups_ = [[32,33]];
|
|
5387
6478
|
|
|
5388
6479
|
/**
|
|
5389
6480
|
* @enum {number}
|
|
5390
6481
|
*/
|
|
5391
6482
|
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.SpecCase = {
|
|
5392
6483
|
SPEC_NOT_SET: 0,
|
|
5393
|
-
WINDOWS: 32
|
|
6484
|
+
WINDOWS: 32,
|
|
6485
|
+
OT: 33
|
|
5394
6486
|
};
|
|
5395
6487
|
|
|
5396
6488
|
/**
|
|
@@ -5440,7 +6532,8 @@ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.toObject = function(incl
|
|
|
5440
6532
|
cpe: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
5441
6533
|
fwCpe: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
5442
6534
|
rank: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
5443
|
-
windows: (f = msg.getWindows()) && proto.com.lansweeper.dp.outbound.v1.WindowsOperatingSystemInfo.toObject(includeInstance, f)
|
|
6535
|
+
windows: (f = msg.getWindows()) && proto.com.lansweeper.dp.outbound.v1.WindowsOperatingSystemInfo.toObject(includeInstance, f),
|
|
6536
|
+
ot: (f = msg.getOt()) && proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.toObject(includeInstance, f)
|
|
5444
6537
|
};
|
|
5445
6538
|
|
|
5446
6539
|
if (includeInstance) {
|
|
@@ -5518,6 +6611,11 @@ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.deserializeBinaryFromRea
|
|
|
5518
6611
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.WindowsOperatingSystemInfo.deserializeBinaryFromReader);
|
|
5519
6612
|
msg.setWindows(value);
|
|
5520
6613
|
break;
|
|
6614
|
+
case 33:
|
|
6615
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo;
|
|
6616
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.deserializeBinaryFromReader);
|
|
6617
|
+
msg.setOt(value);
|
|
6618
|
+
break;
|
|
5521
6619
|
default:
|
|
5522
6620
|
reader.skipField();
|
|
5523
6621
|
break;
|
|
@@ -5618,6 +6716,14 @@ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.serializeBinaryToWriter
|
|
|
5618
6716
|
proto.com.lansweeper.dp.outbound.v1.WindowsOperatingSystemInfo.serializeBinaryToWriter
|
|
5619
6717
|
);
|
|
5620
6718
|
}
|
|
6719
|
+
f = message.getOt();
|
|
6720
|
+
if (f != null) {
|
|
6721
|
+
writer.writeMessage(
|
|
6722
|
+
33,
|
|
6723
|
+
f,
|
|
6724
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.serializeBinaryToWriter
|
|
6725
|
+
);
|
|
6726
|
+
}
|
|
5621
6727
|
};
|
|
5622
6728
|
|
|
5623
6729
|
|
|
@@ -5982,6 +7088,43 @@ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.hasWindows = f
|
|
|
5982
7088
|
};
|
|
5983
7089
|
|
|
5984
7090
|
|
|
7091
|
+
/**
|
|
7092
|
+
* optional OtFirmwareInfo ot = 33;
|
|
7093
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo}
|
|
7094
|
+
*/
|
|
7095
|
+
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.getOt = function() {
|
|
7096
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo} */ (
|
|
7097
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo, 33));
|
|
7098
|
+
};
|
|
7099
|
+
|
|
7100
|
+
|
|
7101
|
+
/**
|
|
7102
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo|undefined} value
|
|
7103
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo} returns this
|
|
7104
|
+
*/
|
|
7105
|
+
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.setOt = function(value) {
|
|
7106
|
+
return jspb.Message.setOneofWrapperField(this, 33, proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.oneofGroups_[0], value);
|
|
7107
|
+
};
|
|
7108
|
+
|
|
7109
|
+
|
|
7110
|
+
/**
|
|
7111
|
+
* Clears the message field making it undefined.
|
|
7112
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo} returns this
|
|
7113
|
+
*/
|
|
7114
|
+
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.clearOt = function() {
|
|
7115
|
+
return this.setOt(undefined);
|
|
7116
|
+
};
|
|
7117
|
+
|
|
7118
|
+
|
|
7119
|
+
/**
|
|
7120
|
+
* Returns whether this field is set.
|
|
7121
|
+
* @return {boolean}
|
|
7122
|
+
*/
|
|
7123
|
+
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.hasOt = function() {
|
|
7124
|
+
return jspb.Message.getField(this, 33) != null;
|
|
7125
|
+
};
|
|
7126
|
+
|
|
7127
|
+
|
|
5985
7128
|
|
|
5986
7129
|
|
|
5987
7130
|
|
|
@@ -6358,6 +7501,136 @@ proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch.prototype.hasWindowsSer
|
|
|
6358
7501
|
|
|
6359
7502
|
|
|
6360
7503
|
|
|
7504
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7505
|
+
/**
|
|
7506
|
+
* Creates an object representation of this proto.
|
|
7507
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7508
|
+
* Optional fields that are not set will be set to undefined.
|
|
7509
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7510
|
+
* For the list of reserved names please see:
|
|
7511
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7512
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7513
|
+
* JSPB instance for transitional soy proto support:
|
|
7514
|
+
* http://goto/soy-param-migration
|
|
7515
|
+
* @return {!Object}
|
|
7516
|
+
*/
|
|
7517
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.prototype.toObject = function(opt_includeInstance) {
|
|
7518
|
+
return proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.toObject(opt_includeInstance, this);
|
|
7519
|
+
};
|
|
7520
|
+
|
|
7521
|
+
|
|
7522
|
+
/**
|
|
7523
|
+
* Static version of the {@see toObject} method.
|
|
7524
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7525
|
+
* the JSPB instance for transitional soy proto support:
|
|
7526
|
+
* http://goto/soy-param-migration
|
|
7527
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo} msg The msg instance to transform.
|
|
7528
|
+
* @return {!Object}
|
|
7529
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7530
|
+
*/
|
|
7531
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.toObject = function(includeInstance, msg) {
|
|
7532
|
+
var f, obj = {
|
|
7533
|
+
firmware: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
7534
|
+
};
|
|
7535
|
+
|
|
7536
|
+
if (includeInstance) {
|
|
7537
|
+
obj.$jspbMessageInstance = msg;
|
|
7538
|
+
}
|
|
7539
|
+
return obj;
|
|
7540
|
+
};
|
|
7541
|
+
}
|
|
7542
|
+
|
|
7543
|
+
|
|
7544
|
+
/**
|
|
7545
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7546
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7547
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo}
|
|
7548
|
+
*/
|
|
7549
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.deserializeBinary = function(bytes) {
|
|
7550
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7551
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo;
|
|
7552
|
+
return proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.deserializeBinaryFromReader(msg, reader);
|
|
7553
|
+
};
|
|
7554
|
+
|
|
7555
|
+
|
|
7556
|
+
/**
|
|
7557
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7558
|
+
* given reader into the given message object.
|
|
7559
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo} msg The message object to deserialize into.
|
|
7560
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7561
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo}
|
|
7562
|
+
*/
|
|
7563
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
7564
|
+
while (reader.nextField()) {
|
|
7565
|
+
if (reader.isEndGroup()) {
|
|
7566
|
+
break;
|
|
7567
|
+
}
|
|
7568
|
+
var field = reader.getFieldNumber();
|
|
7569
|
+
switch (field) {
|
|
7570
|
+
case 1:
|
|
7571
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7572
|
+
msg.setFirmware(value);
|
|
7573
|
+
break;
|
|
7574
|
+
default:
|
|
7575
|
+
reader.skipField();
|
|
7576
|
+
break;
|
|
7577
|
+
}
|
|
7578
|
+
}
|
|
7579
|
+
return msg;
|
|
7580
|
+
};
|
|
7581
|
+
|
|
7582
|
+
|
|
7583
|
+
/**
|
|
7584
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7585
|
+
* @return {!Uint8Array}
|
|
7586
|
+
*/
|
|
7587
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.prototype.serializeBinary = function() {
|
|
7588
|
+
var writer = new jspb.BinaryWriter();
|
|
7589
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.serializeBinaryToWriter(this, writer);
|
|
7590
|
+
return writer.getResultBuffer();
|
|
7591
|
+
};
|
|
7592
|
+
|
|
7593
|
+
|
|
7594
|
+
/**
|
|
7595
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7596
|
+
* format), writing to the given BinaryWriter.
|
|
7597
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo} message
|
|
7598
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7599
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7600
|
+
*/
|
|
7601
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.serializeBinaryToWriter = function(message, writer) {
|
|
7602
|
+
var f = undefined;
|
|
7603
|
+
f = message.getFirmware();
|
|
7604
|
+
if (f.length > 0) {
|
|
7605
|
+
writer.writeString(
|
|
7606
|
+
1,
|
|
7607
|
+
f
|
|
7608
|
+
);
|
|
7609
|
+
}
|
|
7610
|
+
};
|
|
7611
|
+
|
|
7612
|
+
|
|
7613
|
+
/**
|
|
7614
|
+
* optional string firmware = 1;
|
|
7615
|
+
* @return {string}
|
|
7616
|
+
*/
|
|
7617
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.prototype.getFirmware = function() {
|
|
7618
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
7619
|
+
};
|
|
7620
|
+
|
|
7621
|
+
|
|
7622
|
+
/**
|
|
7623
|
+
* @param {string} value
|
|
7624
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo} returns this
|
|
7625
|
+
*/
|
|
7626
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareInfo.prototype.setFirmware = function(value) {
|
|
7627
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
7628
|
+
};
|
|
7629
|
+
|
|
7630
|
+
|
|
7631
|
+
|
|
7632
|
+
|
|
7633
|
+
|
|
6361
7634
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6362
7635
|
/**
|
|
6363
7636
|
* Creates an object representation of this proto.
|