@lansweeper/data-platform-outbound-grpc 0.1.13 → 0.1.14
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 +159 -0
- package/gen-proto/outbound_pb.js +1436 -121
- package/generated-go/outbound.pb.go +1331 -928
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +41 -0
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -38,6 +38,9 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ListEntityResponse', null
|
|
|
38
38
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Monitor', null, global);
|
|
39
39
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Monitor.RawCase', null, global);
|
|
40
40
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MonitorInventory', null, global);
|
|
41
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.NetIpAddress', null, global);
|
|
42
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.NetworkInterface', null, global);
|
|
43
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces', null, global);
|
|
41
44
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo', null, global);
|
|
42
45
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.RawCase', null, global);
|
|
43
46
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.RawHardwareInfo', null, global);
|
|
@@ -361,6 +364,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
361
364
|
*/
|
|
362
365
|
proto.com.lansweeper.dp.outbound.v1.WindowsRawOperatingSystemInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.WindowsRawOperatingSystemInfo';
|
|
363
366
|
}
|
|
367
|
+
/**
|
|
368
|
+
* Generated by JsPbCodeGenerator.
|
|
369
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
370
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
371
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
372
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
373
|
+
* valid.
|
|
374
|
+
* @extends {jspb.Message}
|
|
375
|
+
* @constructor
|
|
376
|
+
*/
|
|
377
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces = function(opt_data) {
|
|
378
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.repeatedFields_, null);
|
|
379
|
+
};
|
|
380
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces, jspb.Message);
|
|
381
|
+
if (goog.DEBUG && !COMPILED) {
|
|
382
|
+
/**
|
|
383
|
+
* @public
|
|
384
|
+
* @override
|
|
385
|
+
*/
|
|
386
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.displayName = 'proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces';
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* Generated by JsPbCodeGenerator.
|
|
390
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
391
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
392
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
393
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
394
|
+
* valid.
|
|
395
|
+
* @extends {jspb.Message}
|
|
396
|
+
* @constructor
|
|
397
|
+
*/
|
|
398
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface = function(opt_data) {
|
|
399
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.dp.outbound.v1.NetworkInterface.repeatedFields_, null);
|
|
400
|
+
};
|
|
401
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.NetworkInterface, jspb.Message);
|
|
402
|
+
if (goog.DEBUG && !COMPILED) {
|
|
403
|
+
/**
|
|
404
|
+
* @public
|
|
405
|
+
* @override
|
|
406
|
+
*/
|
|
407
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.displayName = 'proto.com.lansweeper.dp.outbound.v1.NetworkInterface';
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* Generated by JsPbCodeGenerator.
|
|
411
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
412
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
413
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
414
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
415
|
+
* valid.
|
|
416
|
+
* @extends {jspb.Message}
|
|
417
|
+
* @constructor
|
|
418
|
+
*/
|
|
419
|
+
proto.com.lansweeper.dp.outbound.v1.NetIpAddress = function(opt_data) {
|
|
420
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
421
|
+
};
|
|
422
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.NetIpAddress, jspb.Message);
|
|
423
|
+
if (goog.DEBUG && !COMPILED) {
|
|
424
|
+
/**
|
|
425
|
+
* @public
|
|
426
|
+
* @override
|
|
427
|
+
*/
|
|
428
|
+
proto.com.lansweeper.dp.outbound.v1.NetIpAddress.displayName = 'proto.com.lansweeper.dp.outbound.v1.NetIpAddress';
|
|
429
|
+
}
|
|
364
430
|
/**
|
|
365
431
|
* Generated by JsPbCodeGenerator.
|
|
366
432
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2715,7 +2781,8 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
|
|
|
2715
2781
|
hw: (f = msg.getHw()) && proto.com.lansweeper.dp.outbound.v1.HardwareInfo.toObject(includeInstance, f),
|
|
2716
2782
|
os: (f = msg.getOs()) && proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.toObject(includeInstance, f),
|
|
2717
2783
|
softwareInventory: (f = msg.getSoftwareInventory()) && proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.toObject(includeInstance, f),
|
|
2718
|
-
monitorInventory: (f = msg.getMonitorInventory()) && proto.com.lansweeper.dp.outbound.v1.MonitorInventory.toObject(includeInstance, f)
|
|
2784
|
+
monitorInventory: (f = msg.getMonitorInventory()) && proto.com.lansweeper.dp.outbound.v1.MonitorInventory.toObject(includeInstance, f),
|
|
2785
|
+
networkInterfaces: (f = msg.getNetworkInterfaces()) && proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.toObject(includeInstance, f)
|
|
2719
2786
|
};
|
|
2720
2787
|
|
|
2721
2788
|
if (includeInstance) {
|
|
@@ -2802,6 +2869,11 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
|
|
|
2802
2869
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MonitorInventory.deserializeBinaryFromReader);
|
|
2803
2870
|
msg.setMonitorInventory(value);
|
|
2804
2871
|
break;
|
|
2872
|
+
case 11:
|
|
2873
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces;
|
|
2874
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.deserializeBinaryFromReader);
|
|
2875
|
+
msg.setNetworkInterfaces(value);
|
|
2876
|
+
break;
|
|
2805
2877
|
default:
|
|
2806
2878
|
reader.skipField();
|
|
2807
2879
|
break;
|
|
@@ -2911,6 +2983,14 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
|
|
|
2911
2983
|
proto.com.lansweeper.dp.outbound.v1.MonitorInventory.serializeBinaryToWriter
|
|
2912
2984
|
);
|
|
2913
2985
|
}
|
|
2986
|
+
f = message.getNetworkInterfaces();
|
|
2987
|
+
if (f != null) {
|
|
2988
|
+
writer.writeMessage(
|
|
2989
|
+
11,
|
|
2990
|
+
f,
|
|
2991
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.serializeBinaryToWriter
|
|
2992
|
+
);
|
|
2993
|
+
}
|
|
2914
2994
|
};
|
|
2915
2995
|
|
|
2916
2996
|
|
|
@@ -3284,6 +3364,43 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasMonitorInventory = functi
|
|
|
3284
3364
|
};
|
|
3285
3365
|
|
|
3286
3366
|
|
|
3367
|
+
/**
|
|
3368
|
+
* optional NetworkInterfaces network_interfaces = 11;
|
|
3369
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces}
|
|
3370
|
+
*/
|
|
3371
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getNetworkInterfaces = function() {
|
|
3372
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces} */ (
|
|
3373
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces, 11));
|
|
3374
|
+
};
|
|
3375
|
+
|
|
3376
|
+
|
|
3377
|
+
/**
|
|
3378
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces|undefined} value
|
|
3379
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
3380
|
+
*/
|
|
3381
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setNetworkInterfaces = function(value) {
|
|
3382
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
3383
|
+
};
|
|
3384
|
+
|
|
3385
|
+
|
|
3386
|
+
/**
|
|
3387
|
+
* Clears the message field making it undefined.
|
|
3388
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
3389
|
+
*/
|
|
3390
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearNetworkInterfaces = function() {
|
|
3391
|
+
return this.setNetworkInterfaces(undefined);
|
|
3392
|
+
};
|
|
3393
|
+
|
|
3394
|
+
|
|
3395
|
+
/**
|
|
3396
|
+
* Returns whether this field is set.
|
|
3397
|
+
* @return {boolean}
|
|
3398
|
+
*/
|
|
3399
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasNetworkInterfaces = function() {
|
|
3400
|
+
return jspb.Message.getField(this, 11) != null;
|
|
3401
|
+
};
|
|
3402
|
+
|
|
3403
|
+
|
|
3287
3404
|
|
|
3288
3405
|
|
|
3289
3406
|
|
|
@@ -6174,7 +6291,7 @@ proto.com.lansweeper.dp.outbound.v1.WindowsRawOperatingSystemInfo.prototype.hasO
|
|
|
6174
6291
|
* @private {!Array<number>}
|
|
6175
6292
|
* @const
|
|
6176
6293
|
*/
|
|
6177
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6294
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.repeatedFields_ = [2];
|
|
6178
6295
|
|
|
6179
6296
|
|
|
6180
6297
|
|
|
@@ -6191,8 +6308,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6191
6308
|
* http://goto/soy-param-migration
|
|
6192
6309
|
* @return {!Object}
|
|
6193
6310
|
*/
|
|
6194
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6195
|
-
return proto.com.lansweeper.dp.outbound.v1.
|
|
6311
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.prototype.toObject = function(opt_includeInstance) {
|
|
6312
|
+
return proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.toObject(opt_includeInstance, this);
|
|
6196
6313
|
};
|
|
6197
6314
|
|
|
6198
6315
|
|
|
@@ -6201,15 +6318,15 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.toObject = functi
|
|
|
6201
6318
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6202
6319
|
* the JSPB instance for transitional soy proto support:
|
|
6203
6320
|
* http://goto/soy-param-migration
|
|
6204
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
6321
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces} msg The msg instance to transform.
|
|
6205
6322
|
* @return {!Object}
|
|
6206
6323
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6207
6324
|
*/
|
|
6208
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6325
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.toObject = function(includeInstance, msg) {
|
|
6209
6326
|
var f, obj = {
|
|
6210
6327
|
timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6211
|
-
|
|
6212
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6328
|
+
interfaceList: jspb.Message.toObjectList(msg.getInterfaceList(),
|
|
6329
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.toObject, includeInstance)
|
|
6213
6330
|
};
|
|
6214
6331
|
|
|
6215
6332
|
if (includeInstance) {
|
|
@@ -6223,23 +6340,23 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.toObject = function(include
|
|
|
6223
6340
|
/**
|
|
6224
6341
|
* Deserializes binary data (in protobuf wire format).
|
|
6225
6342
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6226
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
6343
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces}
|
|
6227
6344
|
*/
|
|
6228
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6345
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.deserializeBinary = function(bytes) {
|
|
6229
6346
|
var reader = new jspb.BinaryReader(bytes);
|
|
6230
|
-
var msg = new proto.com.lansweeper.dp.outbound.v1.
|
|
6231
|
-
return proto.com.lansweeper.dp.outbound.v1.
|
|
6347
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces;
|
|
6348
|
+
return proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.deserializeBinaryFromReader(msg, reader);
|
|
6232
6349
|
};
|
|
6233
6350
|
|
|
6234
6351
|
|
|
6235
6352
|
/**
|
|
6236
6353
|
* Deserializes binary data (in protobuf wire format) from the
|
|
6237
6354
|
* given reader into the given message object.
|
|
6238
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
6355
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces} msg The message object to deserialize into.
|
|
6239
6356
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6240
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
6357
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces}
|
|
6241
6358
|
*/
|
|
6242
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6359
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.deserializeBinaryFromReader = function(msg, reader) {
|
|
6243
6360
|
while (reader.nextField()) {
|
|
6244
6361
|
if (reader.isEndGroup()) {
|
|
6245
6362
|
break;
|
|
@@ -6252,9 +6369,9 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.deserializeBinaryFromReader
|
|
|
6252
6369
|
msg.setTimestamp(value);
|
|
6253
6370
|
break;
|
|
6254
6371
|
case 2:
|
|
6255
|
-
var value = new proto.com.lansweeper.dp.outbound.v1.
|
|
6256
|
-
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.
|
|
6257
|
-
msg.
|
|
6372
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.NetworkInterface;
|
|
6373
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.NetworkInterface.deserializeBinaryFromReader);
|
|
6374
|
+
msg.addInterface(value);
|
|
6258
6375
|
break;
|
|
6259
6376
|
default:
|
|
6260
6377
|
reader.skipField();
|
|
@@ -6269,9 +6386,9 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.deserializeBinaryFromReader
|
|
|
6269
6386
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6270
6387
|
* @return {!Uint8Array}
|
|
6271
6388
|
*/
|
|
6272
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6389
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.prototype.serializeBinary = function() {
|
|
6273
6390
|
var writer = new jspb.BinaryWriter();
|
|
6274
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6391
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.serializeBinaryToWriter(this, writer);
|
|
6275
6392
|
return writer.getResultBuffer();
|
|
6276
6393
|
};
|
|
6277
6394
|
|
|
@@ -6279,11 +6396,11 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.serializeBinary =
|
|
|
6279
6396
|
/**
|
|
6280
6397
|
* Serializes the given message to binary data (in protobuf wire
|
|
6281
6398
|
* format), writing to the given BinaryWriter.
|
|
6282
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
6399
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces} message
|
|
6283
6400
|
* @param {!jspb.BinaryWriter} writer
|
|
6284
6401
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6285
6402
|
*/
|
|
6286
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6403
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.serializeBinaryToWriter = function(message, writer) {
|
|
6287
6404
|
var f = undefined;
|
|
6288
6405
|
f = message.getTimestamp();
|
|
6289
6406
|
if (f != null) {
|
|
@@ -6293,12 +6410,12 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.serializeBinaryToWriter = f
|
|
|
6293
6410
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
6294
6411
|
);
|
|
6295
6412
|
}
|
|
6296
|
-
f = message.
|
|
6413
|
+
f = message.getInterfaceList();
|
|
6297
6414
|
if (f.length > 0) {
|
|
6298
6415
|
writer.writeRepeatedMessage(
|
|
6299
6416
|
2,
|
|
6300
6417
|
f,
|
|
6301
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6418
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.serializeBinaryToWriter
|
|
6302
6419
|
);
|
|
6303
6420
|
}
|
|
6304
6421
|
};
|
|
@@ -6308,7 +6425,7 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.serializeBinaryToWriter = f
|
|
|
6308
6425
|
* optional google.protobuf.Timestamp timestamp = 1;
|
|
6309
6426
|
* @return {?proto.google.protobuf.Timestamp}
|
|
6310
6427
|
*/
|
|
6311
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6428
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.prototype.getTimestamp = function() {
|
|
6312
6429
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
6313
6430
|
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
|
|
6314
6431
|
};
|
|
@@ -6316,18 +6433,18 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.getTimestamp = fu
|
|
|
6316
6433
|
|
|
6317
6434
|
/**
|
|
6318
6435
|
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
6319
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
6436
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces} returns this
|
|
6320
6437
|
*/
|
|
6321
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6438
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.prototype.setTimestamp = function(value) {
|
|
6322
6439
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
6323
6440
|
};
|
|
6324
6441
|
|
|
6325
6442
|
|
|
6326
6443
|
/**
|
|
6327
6444
|
* Clears the message field making it undefined.
|
|
6328
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
6445
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces} returns this
|
|
6329
6446
|
*/
|
|
6330
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6447
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.prototype.clearTimestamp = function() {
|
|
6331
6448
|
return this.setTimestamp(undefined);
|
|
6332
6449
|
};
|
|
6333
6450
|
|
|
@@ -6336,74 +6453,56 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.clearTimestamp =
|
|
|
6336
6453
|
* Returns whether this field is set.
|
|
6337
6454
|
* @return {boolean}
|
|
6338
6455
|
*/
|
|
6339
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6456
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.prototype.hasTimestamp = function() {
|
|
6340
6457
|
return jspb.Message.getField(this, 1) != null;
|
|
6341
6458
|
};
|
|
6342
6459
|
|
|
6343
6460
|
|
|
6344
6461
|
/**
|
|
6345
|
-
* repeated
|
|
6346
|
-
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.
|
|
6462
|
+
* repeated NetworkInterface interface = 2;
|
|
6463
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.NetworkInterface>}
|
|
6347
6464
|
*/
|
|
6348
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6349
|
-
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.
|
|
6350
|
-
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.
|
|
6465
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.prototype.getInterfaceList = function() {
|
|
6466
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.NetworkInterface>} */ (
|
|
6467
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.NetworkInterface, 2));
|
|
6351
6468
|
};
|
|
6352
6469
|
|
|
6353
6470
|
|
|
6354
6471
|
/**
|
|
6355
|
-
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.
|
|
6356
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
6472
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.NetworkInterface>} value
|
|
6473
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces} returns this
|
|
6357
6474
|
*/
|
|
6358
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6475
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.prototype.setInterfaceList = function(value) {
|
|
6359
6476
|
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
6360
6477
|
};
|
|
6361
6478
|
|
|
6362
6479
|
|
|
6363
6480
|
/**
|
|
6364
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
6481
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface=} opt_value
|
|
6365
6482
|
* @param {number=} opt_index
|
|
6366
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
6483
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface}
|
|
6367
6484
|
*/
|
|
6368
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6369
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.com.lansweeper.dp.outbound.v1.
|
|
6485
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.prototype.addInterface = function(opt_value, opt_index) {
|
|
6486
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.com.lansweeper.dp.outbound.v1.NetworkInterface, opt_index);
|
|
6370
6487
|
};
|
|
6371
6488
|
|
|
6372
6489
|
|
|
6373
6490
|
/**
|
|
6374
6491
|
* Clears the list making it empty but non-null.
|
|
6375
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
6492
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces} returns this
|
|
6376
6493
|
*/
|
|
6377
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6378
|
-
return this.
|
|
6494
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.prototype.clearInterfaceList = function() {
|
|
6495
|
+
return this.setInterfaceList([]);
|
|
6379
6496
|
};
|
|
6380
6497
|
|
|
6381
6498
|
|
|
6382
6499
|
|
|
6383
6500
|
/**
|
|
6384
|
-
*
|
|
6385
|
-
*
|
|
6386
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
|
6387
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
|
6388
|
-
* @private {!Array<!Array<number>>}
|
|
6501
|
+
* List of repeated fields within this message type.
|
|
6502
|
+
* @private {!Array<number>}
|
|
6389
6503
|
* @const
|
|
6390
6504
|
*/
|
|
6391
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6392
|
-
|
|
6393
|
-
/**
|
|
6394
|
-
* @enum {number}
|
|
6395
|
-
*/
|
|
6396
|
-
proto.com.lansweeper.dp.outbound.v1.Monitor.RawCase = {
|
|
6397
|
-
RAW_NOT_SET: 0,
|
|
6398
|
-
WINDOWS: 20
|
|
6399
|
-
};
|
|
6400
|
-
|
|
6401
|
-
/**
|
|
6402
|
-
* @return {proto.com.lansweeper.dp.outbound.v1.Monitor.RawCase}
|
|
6403
|
-
*/
|
|
6404
|
-
proto.com.lansweeper.dp.outbound.v1.Monitor.prototype.getRawCase = function() {
|
|
6405
|
-
return /** @type {proto.com.lansweeper.dp.outbound.v1.Monitor.RawCase} */(jspb.Message.computeOneofCase(this, proto.com.lansweeper.dp.outbound.v1.Monitor.oneofGroups_[0]));
|
|
6406
|
-
};
|
|
6505
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.repeatedFields_ = [8,11];
|
|
6407
6506
|
|
|
6408
6507
|
|
|
6409
6508
|
|
|
@@ -6420,8 +6519,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6420
6519
|
* http://goto/soy-param-migration
|
|
6421
6520
|
* @return {!Object}
|
|
6422
6521
|
*/
|
|
6423
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6424
|
-
return proto.com.lansweeper.dp.outbound.v1.
|
|
6522
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.toObject = function(opt_includeInstance) {
|
|
6523
|
+
return proto.com.lansweeper.dp.outbound.v1.NetworkInterface.toObject(opt_includeInstance, this);
|
|
6425
6524
|
};
|
|
6426
6525
|
|
|
6427
6526
|
|
|
@@ -6430,19 +6529,28 @@ proto.com.lansweeper.dp.outbound.v1.Monitor.prototype.toObject = function(opt_in
|
|
|
6430
6529
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6431
6530
|
* the JSPB instance for transitional soy proto support:
|
|
6432
6531
|
* http://goto/soy-param-migration
|
|
6433
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
6532
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} msg The msg instance to transform.
|
|
6434
6533
|
* @return {!Object}
|
|
6435
6534
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6436
6535
|
*/
|
|
6437
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6536
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.toObject = function(includeInstance, msg) {
|
|
6438
6537
|
var f, obj = {
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6538
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6539
|
+
type: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6540
|
+
subType: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6541
|
+
id: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
6542
|
+
mac: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
6543
|
+
dhcpEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
6544
|
+
dhcpServerIp: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
6545
|
+
ipList: jspb.Message.toObjectList(msg.getIpList(),
|
|
6546
|
+
proto.com.lansweeper.dp.outbound.v1.NetIpAddress.toObject, includeInstance),
|
|
6547
|
+
gatewayIp: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
6548
|
+
gatewayMac: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
6549
|
+
dnsServerList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
|
6550
|
+
dnsHostName: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
6551
|
+
dnsDomainSuffixSearchOrder: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
6552
|
+
serviceName: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
6553
|
+
databasePath: jspb.Message.getFieldWithDefault(msg, 15, "")
|
|
6446
6554
|
};
|
|
6447
6555
|
|
|
6448
6556
|
if (includeInstance) {
|
|
@@ -6456,23 +6564,23 @@ proto.com.lansweeper.dp.outbound.v1.Monitor.toObject = function(includeInstance,
|
|
|
6456
6564
|
/**
|
|
6457
6565
|
* Deserializes binary data (in protobuf wire format).
|
|
6458
6566
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6459
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
6567
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface}
|
|
6460
6568
|
*/
|
|
6461
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6569
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.deserializeBinary = function(bytes) {
|
|
6462
6570
|
var reader = new jspb.BinaryReader(bytes);
|
|
6463
|
-
var msg = new proto.com.lansweeper.dp.outbound.v1.
|
|
6464
|
-
return proto.com.lansweeper.dp.outbound.v1.
|
|
6571
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.NetworkInterface;
|
|
6572
|
+
return proto.com.lansweeper.dp.outbound.v1.NetworkInterface.deserializeBinaryFromReader(msg, reader);
|
|
6465
6573
|
};
|
|
6466
6574
|
|
|
6467
6575
|
|
|
6468
6576
|
/**
|
|
6469
6577
|
* Deserializes binary data (in protobuf wire format) from the
|
|
6470
6578
|
* given reader into the given message object.
|
|
6471
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
6579
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} msg The message object to deserialize into.
|
|
6472
6580
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6473
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
6581
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface}
|
|
6474
6582
|
*/
|
|
6475
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6583
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.deserializeBinaryFromReader = function(msg, reader) {
|
|
6476
6584
|
while (reader.nextField()) {
|
|
6477
6585
|
if (reader.isEndGroup()) {
|
|
6478
6586
|
break;
|
|
@@ -6480,34 +6588,65 @@ proto.com.lansweeper.dp.outbound.v1.Monitor.deserializeBinaryFromReader = functi
|
|
|
6480
6588
|
var field = reader.getFieldNumber();
|
|
6481
6589
|
switch (field) {
|
|
6482
6590
|
case 1:
|
|
6483
|
-
var value = /** @type {
|
|
6484
|
-
msg.
|
|
6591
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6592
|
+
msg.setName(value);
|
|
6485
6593
|
break;
|
|
6486
6594
|
case 2:
|
|
6487
|
-
var value = /** @type {
|
|
6488
|
-
msg.
|
|
6595
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6596
|
+
msg.setType(value);
|
|
6489
6597
|
break;
|
|
6490
6598
|
case 3:
|
|
6491
6599
|
var value = /** @type {string} */ (reader.readString());
|
|
6492
|
-
msg.
|
|
6600
|
+
msg.setSubType(value);
|
|
6493
6601
|
break;
|
|
6494
6602
|
case 4:
|
|
6495
6603
|
var value = /** @type {string} */ (reader.readString());
|
|
6496
|
-
msg.
|
|
6604
|
+
msg.setId(value);
|
|
6497
6605
|
break;
|
|
6498
6606
|
case 5:
|
|
6499
6607
|
var value = /** @type {string} */ (reader.readString());
|
|
6500
|
-
msg.
|
|
6608
|
+
msg.setMac(value);
|
|
6501
6609
|
break;
|
|
6502
6610
|
case 6:
|
|
6503
|
-
var value =
|
|
6504
|
-
|
|
6505
|
-
msg.setManufacturerDate(value);
|
|
6611
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6612
|
+
msg.setDhcpEnabled(value);
|
|
6506
6613
|
break;
|
|
6507
|
-
case
|
|
6508
|
-
var value =
|
|
6509
|
-
|
|
6510
|
-
|
|
6614
|
+
case 7:
|
|
6615
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6616
|
+
msg.setDhcpServerIp(value);
|
|
6617
|
+
break;
|
|
6618
|
+
case 8:
|
|
6619
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.NetIpAddress;
|
|
6620
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.NetIpAddress.deserializeBinaryFromReader);
|
|
6621
|
+
msg.addIp(value);
|
|
6622
|
+
break;
|
|
6623
|
+
case 9:
|
|
6624
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6625
|
+
msg.setGatewayIp(value);
|
|
6626
|
+
break;
|
|
6627
|
+
case 10:
|
|
6628
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6629
|
+
msg.setGatewayMac(value);
|
|
6630
|
+
break;
|
|
6631
|
+
case 11:
|
|
6632
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6633
|
+
msg.addDnsServer(value);
|
|
6634
|
+
break;
|
|
6635
|
+
case 12:
|
|
6636
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6637
|
+
msg.setDnsHostName(value);
|
|
6638
|
+
break;
|
|
6639
|
+
case 13:
|
|
6640
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6641
|
+
msg.setDnsDomainSuffixSearchOrder(value);
|
|
6642
|
+
break;
|
|
6643
|
+
case 14:
|
|
6644
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6645
|
+
msg.setServiceName(value);
|
|
6646
|
+
break;
|
|
6647
|
+
case 15:
|
|
6648
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6649
|
+
msg.setDatabasePath(value);
|
|
6511
6650
|
break;
|
|
6512
6651
|
default:
|
|
6513
6652
|
reader.skipField();
|
|
@@ -6522,9 +6661,9 @@ proto.com.lansweeper.dp.outbound.v1.Monitor.deserializeBinaryFromReader = functi
|
|
|
6522
6661
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6523
6662
|
* @return {!Uint8Array}
|
|
6524
6663
|
*/
|
|
6525
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6664
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.serializeBinary = function() {
|
|
6526
6665
|
var writer = new jspb.BinaryWriter();
|
|
6527
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6666
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.serializeBinaryToWriter(this, writer);
|
|
6528
6667
|
return writer.getResultBuffer();
|
|
6529
6668
|
};
|
|
6530
6669
|
|
|
@@ -6532,35 +6671,35 @@ proto.com.lansweeper.dp.outbound.v1.Monitor.prototype.serializeBinary = function
|
|
|
6532
6671
|
/**
|
|
6533
6672
|
* Serializes the given message to binary data (in protobuf wire
|
|
6534
6673
|
* format), writing to the given BinaryWriter.
|
|
6535
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
6674
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} message
|
|
6536
6675
|
* @param {!jspb.BinaryWriter} writer
|
|
6537
6676
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6538
6677
|
*/
|
|
6539
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
6678
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.serializeBinaryToWriter = function(message, writer) {
|
|
6540
6679
|
var f = undefined;
|
|
6541
|
-
f =
|
|
6542
|
-
if (f
|
|
6543
|
-
writer.
|
|
6680
|
+
f = message.getName();
|
|
6681
|
+
if (f.length > 0) {
|
|
6682
|
+
writer.writeString(
|
|
6544
6683
|
1,
|
|
6545
6684
|
f
|
|
6546
6685
|
);
|
|
6547
6686
|
}
|
|
6548
|
-
f =
|
|
6549
|
-
if (f
|
|
6550
|
-
writer.
|
|
6687
|
+
f = message.getType();
|
|
6688
|
+
if (f.length > 0) {
|
|
6689
|
+
writer.writeString(
|
|
6551
6690
|
2,
|
|
6552
6691
|
f
|
|
6553
6692
|
);
|
|
6554
6693
|
}
|
|
6555
|
-
f = message.
|
|
6694
|
+
f = message.getSubType();
|
|
6556
6695
|
if (f.length > 0) {
|
|
6557
6696
|
writer.writeString(
|
|
6558
6697
|
3,
|
|
6559
6698
|
f
|
|
6560
6699
|
);
|
|
6561
6700
|
}
|
|
6562
|
-
f =
|
|
6563
|
-
if (f
|
|
6701
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
6702
|
+
if (f != null) {
|
|
6564
6703
|
writer.writeString(
|
|
6565
6704
|
4,
|
|
6566
6705
|
f
|
|
@@ -6573,23 +6712,1151 @@ proto.com.lansweeper.dp.outbound.v1.Monitor.serializeBinaryToWriter = function(m
|
|
|
6573
6712
|
f
|
|
6574
6713
|
);
|
|
6575
6714
|
}
|
|
6576
|
-
f =
|
|
6715
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
|
|
6577
6716
|
if (f != null) {
|
|
6578
|
-
writer.
|
|
6717
|
+
writer.writeBool(
|
|
6579
6718
|
6,
|
|
6580
|
-
f
|
|
6581
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
6719
|
+
f
|
|
6582
6720
|
);
|
|
6583
6721
|
}
|
|
6584
|
-
f =
|
|
6722
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
6585
6723
|
if (f != null) {
|
|
6586
|
-
writer.
|
|
6587
|
-
|
|
6588
|
-
f
|
|
6589
|
-
proto.com.lansweeper.dp.outbound.v1.WindowsRawMonitorInfo.serializeBinaryToWriter
|
|
6724
|
+
writer.writeString(
|
|
6725
|
+
7,
|
|
6726
|
+
f
|
|
6590
6727
|
);
|
|
6591
6728
|
}
|
|
6592
|
-
|
|
6729
|
+
f = message.getIpList();
|
|
6730
|
+
if (f.length > 0) {
|
|
6731
|
+
writer.writeRepeatedMessage(
|
|
6732
|
+
8,
|
|
6733
|
+
f,
|
|
6734
|
+
proto.com.lansweeper.dp.outbound.v1.NetIpAddress.serializeBinaryToWriter
|
|
6735
|
+
);
|
|
6736
|
+
}
|
|
6737
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
6738
|
+
if (f != null) {
|
|
6739
|
+
writer.writeString(
|
|
6740
|
+
9,
|
|
6741
|
+
f
|
|
6742
|
+
);
|
|
6743
|
+
}
|
|
6744
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
6745
|
+
if (f != null) {
|
|
6746
|
+
writer.writeString(
|
|
6747
|
+
10,
|
|
6748
|
+
f
|
|
6749
|
+
);
|
|
6750
|
+
}
|
|
6751
|
+
f = message.getDnsServerList();
|
|
6752
|
+
if (f.length > 0) {
|
|
6753
|
+
writer.writeRepeatedString(
|
|
6754
|
+
11,
|
|
6755
|
+
f
|
|
6756
|
+
);
|
|
6757
|
+
}
|
|
6758
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
6759
|
+
if (f != null) {
|
|
6760
|
+
writer.writeString(
|
|
6761
|
+
12,
|
|
6762
|
+
f
|
|
6763
|
+
);
|
|
6764
|
+
}
|
|
6765
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
6766
|
+
if (f != null) {
|
|
6767
|
+
writer.writeString(
|
|
6768
|
+
13,
|
|
6769
|
+
f
|
|
6770
|
+
);
|
|
6771
|
+
}
|
|
6772
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
|
6773
|
+
if (f != null) {
|
|
6774
|
+
writer.writeString(
|
|
6775
|
+
14,
|
|
6776
|
+
f
|
|
6777
|
+
);
|
|
6778
|
+
}
|
|
6779
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 15));
|
|
6780
|
+
if (f != null) {
|
|
6781
|
+
writer.writeString(
|
|
6782
|
+
15,
|
|
6783
|
+
f
|
|
6784
|
+
);
|
|
6785
|
+
}
|
|
6786
|
+
};
|
|
6787
|
+
|
|
6788
|
+
|
|
6789
|
+
/**
|
|
6790
|
+
* optional string name = 1;
|
|
6791
|
+
* @return {string}
|
|
6792
|
+
*/
|
|
6793
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getName = function() {
|
|
6794
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6795
|
+
};
|
|
6796
|
+
|
|
6797
|
+
|
|
6798
|
+
/**
|
|
6799
|
+
* @param {string} value
|
|
6800
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
6801
|
+
*/
|
|
6802
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setName = function(value) {
|
|
6803
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6804
|
+
};
|
|
6805
|
+
|
|
6806
|
+
|
|
6807
|
+
/**
|
|
6808
|
+
* optional string type = 2;
|
|
6809
|
+
* @return {string}
|
|
6810
|
+
*/
|
|
6811
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getType = function() {
|
|
6812
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6813
|
+
};
|
|
6814
|
+
|
|
6815
|
+
|
|
6816
|
+
/**
|
|
6817
|
+
* @param {string} value
|
|
6818
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
6819
|
+
*/
|
|
6820
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setType = function(value) {
|
|
6821
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
6822
|
+
};
|
|
6823
|
+
|
|
6824
|
+
|
|
6825
|
+
/**
|
|
6826
|
+
* optional string sub_type = 3;
|
|
6827
|
+
* @return {string}
|
|
6828
|
+
*/
|
|
6829
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getSubType = function() {
|
|
6830
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
6831
|
+
};
|
|
6832
|
+
|
|
6833
|
+
|
|
6834
|
+
/**
|
|
6835
|
+
* @param {string} value
|
|
6836
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
6837
|
+
*/
|
|
6838
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setSubType = function(value) {
|
|
6839
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
6840
|
+
};
|
|
6841
|
+
|
|
6842
|
+
|
|
6843
|
+
/**
|
|
6844
|
+
* optional string id = 4;
|
|
6845
|
+
* @return {string}
|
|
6846
|
+
*/
|
|
6847
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getId = function() {
|
|
6848
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
6849
|
+
};
|
|
6850
|
+
|
|
6851
|
+
|
|
6852
|
+
/**
|
|
6853
|
+
* @param {string} value
|
|
6854
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
6855
|
+
*/
|
|
6856
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setId = function(value) {
|
|
6857
|
+
return jspb.Message.setField(this, 4, value);
|
|
6858
|
+
};
|
|
6859
|
+
|
|
6860
|
+
|
|
6861
|
+
/**
|
|
6862
|
+
* Clears the field making it undefined.
|
|
6863
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
6864
|
+
*/
|
|
6865
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearId = function() {
|
|
6866
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
6867
|
+
};
|
|
6868
|
+
|
|
6869
|
+
|
|
6870
|
+
/**
|
|
6871
|
+
* Returns whether this field is set.
|
|
6872
|
+
* @return {boolean}
|
|
6873
|
+
*/
|
|
6874
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasId = function() {
|
|
6875
|
+
return jspb.Message.getField(this, 4) != null;
|
|
6876
|
+
};
|
|
6877
|
+
|
|
6878
|
+
|
|
6879
|
+
/**
|
|
6880
|
+
* optional string mac = 5;
|
|
6881
|
+
* @return {string}
|
|
6882
|
+
*/
|
|
6883
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getMac = function() {
|
|
6884
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
6885
|
+
};
|
|
6886
|
+
|
|
6887
|
+
|
|
6888
|
+
/**
|
|
6889
|
+
* @param {string} value
|
|
6890
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
6891
|
+
*/
|
|
6892
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setMac = function(value) {
|
|
6893
|
+
return jspb.Message.setField(this, 5, value);
|
|
6894
|
+
};
|
|
6895
|
+
|
|
6896
|
+
|
|
6897
|
+
/**
|
|
6898
|
+
* Clears the field making it undefined.
|
|
6899
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
6900
|
+
*/
|
|
6901
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearMac = function() {
|
|
6902
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
6903
|
+
};
|
|
6904
|
+
|
|
6905
|
+
|
|
6906
|
+
/**
|
|
6907
|
+
* Returns whether this field is set.
|
|
6908
|
+
* @return {boolean}
|
|
6909
|
+
*/
|
|
6910
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasMac = function() {
|
|
6911
|
+
return jspb.Message.getField(this, 5) != null;
|
|
6912
|
+
};
|
|
6913
|
+
|
|
6914
|
+
|
|
6915
|
+
/**
|
|
6916
|
+
* optional bool dhcp_enabled = 6;
|
|
6917
|
+
* @return {boolean}
|
|
6918
|
+
*/
|
|
6919
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getDhcpEnabled = function() {
|
|
6920
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
6921
|
+
};
|
|
6922
|
+
|
|
6923
|
+
|
|
6924
|
+
/**
|
|
6925
|
+
* @param {boolean} value
|
|
6926
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
6927
|
+
*/
|
|
6928
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setDhcpEnabled = function(value) {
|
|
6929
|
+
return jspb.Message.setField(this, 6, value);
|
|
6930
|
+
};
|
|
6931
|
+
|
|
6932
|
+
|
|
6933
|
+
/**
|
|
6934
|
+
* Clears the field making it undefined.
|
|
6935
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
6936
|
+
*/
|
|
6937
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearDhcpEnabled = function() {
|
|
6938
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
6939
|
+
};
|
|
6940
|
+
|
|
6941
|
+
|
|
6942
|
+
/**
|
|
6943
|
+
* Returns whether this field is set.
|
|
6944
|
+
* @return {boolean}
|
|
6945
|
+
*/
|
|
6946
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasDhcpEnabled = function() {
|
|
6947
|
+
return jspb.Message.getField(this, 6) != null;
|
|
6948
|
+
};
|
|
6949
|
+
|
|
6950
|
+
|
|
6951
|
+
/**
|
|
6952
|
+
* optional string dhcp_server_ip = 7;
|
|
6953
|
+
* @return {string}
|
|
6954
|
+
*/
|
|
6955
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getDhcpServerIp = function() {
|
|
6956
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
6957
|
+
};
|
|
6958
|
+
|
|
6959
|
+
|
|
6960
|
+
/**
|
|
6961
|
+
* @param {string} value
|
|
6962
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
6963
|
+
*/
|
|
6964
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setDhcpServerIp = function(value) {
|
|
6965
|
+
return jspb.Message.setField(this, 7, value);
|
|
6966
|
+
};
|
|
6967
|
+
|
|
6968
|
+
|
|
6969
|
+
/**
|
|
6970
|
+
* Clears the field making it undefined.
|
|
6971
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
6972
|
+
*/
|
|
6973
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearDhcpServerIp = function() {
|
|
6974
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
6975
|
+
};
|
|
6976
|
+
|
|
6977
|
+
|
|
6978
|
+
/**
|
|
6979
|
+
* Returns whether this field is set.
|
|
6980
|
+
* @return {boolean}
|
|
6981
|
+
*/
|
|
6982
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasDhcpServerIp = function() {
|
|
6983
|
+
return jspb.Message.getField(this, 7) != null;
|
|
6984
|
+
};
|
|
6985
|
+
|
|
6986
|
+
|
|
6987
|
+
/**
|
|
6988
|
+
* repeated NetIpAddress ip = 8;
|
|
6989
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.NetIpAddress>}
|
|
6990
|
+
*/
|
|
6991
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getIpList = function() {
|
|
6992
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.NetIpAddress>} */ (
|
|
6993
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.NetIpAddress, 8));
|
|
6994
|
+
};
|
|
6995
|
+
|
|
6996
|
+
|
|
6997
|
+
/**
|
|
6998
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.NetIpAddress>} value
|
|
6999
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
7000
|
+
*/
|
|
7001
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setIpList = function(value) {
|
|
7002
|
+
return jspb.Message.setRepeatedWrapperField(this, 8, value);
|
|
7003
|
+
};
|
|
7004
|
+
|
|
7005
|
+
|
|
7006
|
+
/**
|
|
7007
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.NetIpAddress=} opt_value
|
|
7008
|
+
* @param {number=} opt_index
|
|
7009
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetIpAddress}
|
|
7010
|
+
*/
|
|
7011
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.addIp = function(opt_value, opt_index) {
|
|
7012
|
+
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.com.lansweeper.dp.outbound.v1.NetIpAddress, opt_index);
|
|
7013
|
+
};
|
|
7014
|
+
|
|
7015
|
+
|
|
7016
|
+
/**
|
|
7017
|
+
* Clears the list making it empty but non-null.
|
|
7018
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
7019
|
+
*/
|
|
7020
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearIpList = function() {
|
|
7021
|
+
return this.setIpList([]);
|
|
7022
|
+
};
|
|
7023
|
+
|
|
7024
|
+
|
|
7025
|
+
/**
|
|
7026
|
+
* optional string gateway_ip = 9;
|
|
7027
|
+
* @return {string}
|
|
7028
|
+
*/
|
|
7029
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getGatewayIp = function() {
|
|
7030
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
7031
|
+
};
|
|
7032
|
+
|
|
7033
|
+
|
|
7034
|
+
/**
|
|
7035
|
+
* @param {string} value
|
|
7036
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
7037
|
+
*/
|
|
7038
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setGatewayIp = function(value) {
|
|
7039
|
+
return jspb.Message.setField(this, 9, value);
|
|
7040
|
+
};
|
|
7041
|
+
|
|
7042
|
+
|
|
7043
|
+
/**
|
|
7044
|
+
* Clears the field making it undefined.
|
|
7045
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
7046
|
+
*/
|
|
7047
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearGatewayIp = function() {
|
|
7048
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
7049
|
+
};
|
|
7050
|
+
|
|
7051
|
+
|
|
7052
|
+
/**
|
|
7053
|
+
* Returns whether this field is set.
|
|
7054
|
+
* @return {boolean}
|
|
7055
|
+
*/
|
|
7056
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasGatewayIp = function() {
|
|
7057
|
+
return jspb.Message.getField(this, 9) != null;
|
|
7058
|
+
};
|
|
7059
|
+
|
|
7060
|
+
|
|
7061
|
+
/**
|
|
7062
|
+
* optional string gateway_mac = 10;
|
|
7063
|
+
* @return {string}
|
|
7064
|
+
*/
|
|
7065
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getGatewayMac = function() {
|
|
7066
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
7067
|
+
};
|
|
7068
|
+
|
|
7069
|
+
|
|
7070
|
+
/**
|
|
7071
|
+
* @param {string} value
|
|
7072
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
7073
|
+
*/
|
|
7074
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setGatewayMac = function(value) {
|
|
7075
|
+
return jspb.Message.setField(this, 10, value);
|
|
7076
|
+
};
|
|
7077
|
+
|
|
7078
|
+
|
|
7079
|
+
/**
|
|
7080
|
+
* Clears the field making it undefined.
|
|
7081
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
7082
|
+
*/
|
|
7083
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearGatewayMac = function() {
|
|
7084
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
7085
|
+
};
|
|
7086
|
+
|
|
7087
|
+
|
|
7088
|
+
/**
|
|
7089
|
+
* Returns whether this field is set.
|
|
7090
|
+
* @return {boolean}
|
|
7091
|
+
*/
|
|
7092
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasGatewayMac = function() {
|
|
7093
|
+
return jspb.Message.getField(this, 10) != null;
|
|
7094
|
+
};
|
|
7095
|
+
|
|
7096
|
+
|
|
7097
|
+
/**
|
|
7098
|
+
* repeated string dns_server = 11;
|
|
7099
|
+
* @return {!Array<string>}
|
|
7100
|
+
*/
|
|
7101
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getDnsServerList = function() {
|
|
7102
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 11));
|
|
7103
|
+
};
|
|
7104
|
+
|
|
7105
|
+
|
|
7106
|
+
/**
|
|
7107
|
+
* @param {!Array<string>} value
|
|
7108
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
7109
|
+
*/
|
|
7110
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setDnsServerList = function(value) {
|
|
7111
|
+
return jspb.Message.setField(this, 11, value || []);
|
|
7112
|
+
};
|
|
7113
|
+
|
|
7114
|
+
|
|
7115
|
+
/**
|
|
7116
|
+
* @param {string} value
|
|
7117
|
+
* @param {number=} opt_index
|
|
7118
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
7119
|
+
*/
|
|
7120
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.addDnsServer = function(value, opt_index) {
|
|
7121
|
+
return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
|
|
7122
|
+
};
|
|
7123
|
+
|
|
7124
|
+
|
|
7125
|
+
/**
|
|
7126
|
+
* Clears the list making it empty but non-null.
|
|
7127
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
7128
|
+
*/
|
|
7129
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearDnsServerList = function() {
|
|
7130
|
+
return this.setDnsServerList([]);
|
|
7131
|
+
};
|
|
7132
|
+
|
|
7133
|
+
|
|
7134
|
+
/**
|
|
7135
|
+
* optional string dns_host_name = 12;
|
|
7136
|
+
* @return {string}
|
|
7137
|
+
*/
|
|
7138
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getDnsHostName = function() {
|
|
7139
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
7140
|
+
};
|
|
7141
|
+
|
|
7142
|
+
|
|
7143
|
+
/**
|
|
7144
|
+
* @param {string} value
|
|
7145
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
7146
|
+
*/
|
|
7147
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setDnsHostName = function(value) {
|
|
7148
|
+
return jspb.Message.setField(this, 12, value);
|
|
7149
|
+
};
|
|
7150
|
+
|
|
7151
|
+
|
|
7152
|
+
/**
|
|
7153
|
+
* Clears the field making it undefined.
|
|
7154
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
7155
|
+
*/
|
|
7156
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearDnsHostName = function() {
|
|
7157
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
7158
|
+
};
|
|
7159
|
+
|
|
7160
|
+
|
|
7161
|
+
/**
|
|
7162
|
+
* Returns whether this field is set.
|
|
7163
|
+
* @return {boolean}
|
|
7164
|
+
*/
|
|
7165
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasDnsHostName = function() {
|
|
7166
|
+
return jspb.Message.getField(this, 12) != null;
|
|
7167
|
+
};
|
|
7168
|
+
|
|
7169
|
+
|
|
7170
|
+
/**
|
|
7171
|
+
* optional string dns_domain_suffix_search_order = 13;
|
|
7172
|
+
* @return {string}
|
|
7173
|
+
*/
|
|
7174
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getDnsDomainSuffixSearchOrder = function() {
|
|
7175
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
7176
|
+
};
|
|
7177
|
+
|
|
7178
|
+
|
|
7179
|
+
/**
|
|
7180
|
+
* @param {string} value
|
|
7181
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
7182
|
+
*/
|
|
7183
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setDnsDomainSuffixSearchOrder = function(value) {
|
|
7184
|
+
return jspb.Message.setField(this, 13, value);
|
|
7185
|
+
};
|
|
7186
|
+
|
|
7187
|
+
|
|
7188
|
+
/**
|
|
7189
|
+
* Clears the field making it undefined.
|
|
7190
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
7191
|
+
*/
|
|
7192
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearDnsDomainSuffixSearchOrder = function() {
|
|
7193
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
7194
|
+
};
|
|
7195
|
+
|
|
7196
|
+
|
|
7197
|
+
/**
|
|
7198
|
+
* Returns whether this field is set.
|
|
7199
|
+
* @return {boolean}
|
|
7200
|
+
*/
|
|
7201
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasDnsDomainSuffixSearchOrder = function() {
|
|
7202
|
+
return jspb.Message.getField(this, 13) != null;
|
|
7203
|
+
};
|
|
7204
|
+
|
|
7205
|
+
|
|
7206
|
+
/**
|
|
7207
|
+
* optional string service_name = 14;
|
|
7208
|
+
* @return {string}
|
|
7209
|
+
*/
|
|
7210
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getServiceName = function() {
|
|
7211
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
7212
|
+
};
|
|
7213
|
+
|
|
7214
|
+
|
|
7215
|
+
/**
|
|
7216
|
+
* @param {string} value
|
|
7217
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
7218
|
+
*/
|
|
7219
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setServiceName = function(value) {
|
|
7220
|
+
return jspb.Message.setField(this, 14, value);
|
|
7221
|
+
};
|
|
7222
|
+
|
|
7223
|
+
|
|
7224
|
+
/**
|
|
7225
|
+
* Clears the field making it undefined.
|
|
7226
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
7227
|
+
*/
|
|
7228
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearServiceName = function() {
|
|
7229
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
7230
|
+
};
|
|
7231
|
+
|
|
7232
|
+
|
|
7233
|
+
/**
|
|
7234
|
+
* Returns whether this field is set.
|
|
7235
|
+
* @return {boolean}
|
|
7236
|
+
*/
|
|
7237
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasServiceName = function() {
|
|
7238
|
+
return jspb.Message.getField(this, 14) != null;
|
|
7239
|
+
};
|
|
7240
|
+
|
|
7241
|
+
|
|
7242
|
+
/**
|
|
7243
|
+
* optional string database_path = 15;
|
|
7244
|
+
* @return {string}
|
|
7245
|
+
*/
|
|
7246
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getDatabasePath = function() {
|
|
7247
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
7248
|
+
};
|
|
7249
|
+
|
|
7250
|
+
|
|
7251
|
+
/**
|
|
7252
|
+
* @param {string} value
|
|
7253
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
7254
|
+
*/
|
|
7255
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setDatabasePath = function(value) {
|
|
7256
|
+
return jspb.Message.setField(this, 15, value);
|
|
7257
|
+
};
|
|
7258
|
+
|
|
7259
|
+
|
|
7260
|
+
/**
|
|
7261
|
+
* Clears the field making it undefined.
|
|
7262
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
7263
|
+
*/
|
|
7264
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearDatabasePath = function() {
|
|
7265
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
7266
|
+
};
|
|
7267
|
+
|
|
7268
|
+
|
|
7269
|
+
/**
|
|
7270
|
+
* Returns whether this field is set.
|
|
7271
|
+
* @return {boolean}
|
|
7272
|
+
*/
|
|
7273
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasDatabasePath = function() {
|
|
7274
|
+
return jspb.Message.getField(this, 15) != null;
|
|
7275
|
+
};
|
|
7276
|
+
|
|
7277
|
+
|
|
7278
|
+
|
|
7279
|
+
|
|
7280
|
+
|
|
7281
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7282
|
+
/**
|
|
7283
|
+
* Creates an object representation of this proto.
|
|
7284
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7285
|
+
* Optional fields that are not set will be set to undefined.
|
|
7286
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7287
|
+
* For the list of reserved names please see:
|
|
7288
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7289
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7290
|
+
* JSPB instance for transitional soy proto support:
|
|
7291
|
+
* http://goto/soy-param-migration
|
|
7292
|
+
* @return {!Object}
|
|
7293
|
+
*/
|
|
7294
|
+
proto.com.lansweeper.dp.outbound.v1.NetIpAddress.prototype.toObject = function(opt_includeInstance) {
|
|
7295
|
+
return proto.com.lansweeper.dp.outbound.v1.NetIpAddress.toObject(opt_includeInstance, this);
|
|
7296
|
+
};
|
|
7297
|
+
|
|
7298
|
+
|
|
7299
|
+
/**
|
|
7300
|
+
* Static version of the {@see toObject} method.
|
|
7301
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7302
|
+
* the JSPB instance for transitional soy proto support:
|
|
7303
|
+
* http://goto/soy-param-migration
|
|
7304
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.NetIpAddress} msg The msg instance to transform.
|
|
7305
|
+
* @return {!Object}
|
|
7306
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7307
|
+
*/
|
|
7308
|
+
proto.com.lansweeper.dp.outbound.v1.NetIpAddress.toObject = function(includeInstance, msg) {
|
|
7309
|
+
var f, obj = {
|
|
7310
|
+
ip: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7311
|
+
subnet: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
7312
|
+
};
|
|
7313
|
+
|
|
7314
|
+
if (includeInstance) {
|
|
7315
|
+
obj.$jspbMessageInstance = msg;
|
|
7316
|
+
}
|
|
7317
|
+
return obj;
|
|
7318
|
+
};
|
|
7319
|
+
}
|
|
7320
|
+
|
|
7321
|
+
|
|
7322
|
+
/**
|
|
7323
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7324
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7325
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetIpAddress}
|
|
7326
|
+
*/
|
|
7327
|
+
proto.com.lansweeper.dp.outbound.v1.NetIpAddress.deserializeBinary = function(bytes) {
|
|
7328
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7329
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.NetIpAddress;
|
|
7330
|
+
return proto.com.lansweeper.dp.outbound.v1.NetIpAddress.deserializeBinaryFromReader(msg, reader);
|
|
7331
|
+
};
|
|
7332
|
+
|
|
7333
|
+
|
|
7334
|
+
/**
|
|
7335
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7336
|
+
* given reader into the given message object.
|
|
7337
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.NetIpAddress} msg The message object to deserialize into.
|
|
7338
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7339
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetIpAddress}
|
|
7340
|
+
*/
|
|
7341
|
+
proto.com.lansweeper.dp.outbound.v1.NetIpAddress.deserializeBinaryFromReader = function(msg, reader) {
|
|
7342
|
+
while (reader.nextField()) {
|
|
7343
|
+
if (reader.isEndGroup()) {
|
|
7344
|
+
break;
|
|
7345
|
+
}
|
|
7346
|
+
var field = reader.getFieldNumber();
|
|
7347
|
+
switch (field) {
|
|
7348
|
+
case 1:
|
|
7349
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7350
|
+
msg.setIp(value);
|
|
7351
|
+
break;
|
|
7352
|
+
case 2:
|
|
7353
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7354
|
+
msg.setSubnet(value);
|
|
7355
|
+
break;
|
|
7356
|
+
default:
|
|
7357
|
+
reader.skipField();
|
|
7358
|
+
break;
|
|
7359
|
+
}
|
|
7360
|
+
}
|
|
7361
|
+
return msg;
|
|
7362
|
+
};
|
|
7363
|
+
|
|
7364
|
+
|
|
7365
|
+
/**
|
|
7366
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7367
|
+
* @return {!Uint8Array}
|
|
7368
|
+
*/
|
|
7369
|
+
proto.com.lansweeper.dp.outbound.v1.NetIpAddress.prototype.serializeBinary = function() {
|
|
7370
|
+
var writer = new jspb.BinaryWriter();
|
|
7371
|
+
proto.com.lansweeper.dp.outbound.v1.NetIpAddress.serializeBinaryToWriter(this, writer);
|
|
7372
|
+
return writer.getResultBuffer();
|
|
7373
|
+
};
|
|
7374
|
+
|
|
7375
|
+
|
|
7376
|
+
/**
|
|
7377
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7378
|
+
* format), writing to the given BinaryWriter.
|
|
7379
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.NetIpAddress} message
|
|
7380
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7381
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7382
|
+
*/
|
|
7383
|
+
proto.com.lansweeper.dp.outbound.v1.NetIpAddress.serializeBinaryToWriter = function(message, writer) {
|
|
7384
|
+
var f = undefined;
|
|
7385
|
+
f = message.getIp();
|
|
7386
|
+
if (f.length > 0) {
|
|
7387
|
+
writer.writeString(
|
|
7388
|
+
1,
|
|
7389
|
+
f
|
|
7390
|
+
);
|
|
7391
|
+
}
|
|
7392
|
+
f = message.getSubnet();
|
|
7393
|
+
if (f.length > 0) {
|
|
7394
|
+
writer.writeString(
|
|
7395
|
+
2,
|
|
7396
|
+
f
|
|
7397
|
+
);
|
|
7398
|
+
}
|
|
7399
|
+
};
|
|
7400
|
+
|
|
7401
|
+
|
|
7402
|
+
/**
|
|
7403
|
+
* optional string ip = 1;
|
|
7404
|
+
* @return {string}
|
|
7405
|
+
*/
|
|
7406
|
+
proto.com.lansweeper.dp.outbound.v1.NetIpAddress.prototype.getIp = function() {
|
|
7407
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
7408
|
+
};
|
|
7409
|
+
|
|
7410
|
+
|
|
7411
|
+
/**
|
|
7412
|
+
* @param {string} value
|
|
7413
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetIpAddress} returns this
|
|
7414
|
+
*/
|
|
7415
|
+
proto.com.lansweeper.dp.outbound.v1.NetIpAddress.prototype.setIp = function(value) {
|
|
7416
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
7417
|
+
};
|
|
7418
|
+
|
|
7419
|
+
|
|
7420
|
+
/**
|
|
7421
|
+
* optional string subnet = 2;
|
|
7422
|
+
* @return {string}
|
|
7423
|
+
*/
|
|
7424
|
+
proto.com.lansweeper.dp.outbound.v1.NetIpAddress.prototype.getSubnet = function() {
|
|
7425
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7426
|
+
};
|
|
7427
|
+
|
|
7428
|
+
|
|
7429
|
+
/**
|
|
7430
|
+
* @param {string} value
|
|
7431
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetIpAddress} returns this
|
|
7432
|
+
*/
|
|
7433
|
+
proto.com.lansweeper.dp.outbound.v1.NetIpAddress.prototype.setSubnet = function(value) {
|
|
7434
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7435
|
+
};
|
|
7436
|
+
|
|
7437
|
+
|
|
7438
|
+
|
|
7439
|
+
/**
|
|
7440
|
+
* List of repeated fields within this message type.
|
|
7441
|
+
* @private {!Array<number>}
|
|
7442
|
+
* @const
|
|
7443
|
+
*/
|
|
7444
|
+
proto.com.lansweeper.dp.outbound.v1.MonitorInventory.repeatedFields_ = [2];
|
|
7445
|
+
|
|
7446
|
+
|
|
7447
|
+
|
|
7448
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7449
|
+
/**
|
|
7450
|
+
* Creates an object representation of this proto.
|
|
7451
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7452
|
+
* Optional fields that are not set will be set to undefined.
|
|
7453
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7454
|
+
* For the list of reserved names please see:
|
|
7455
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7456
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7457
|
+
* JSPB instance for transitional soy proto support:
|
|
7458
|
+
* http://goto/soy-param-migration
|
|
7459
|
+
* @return {!Object}
|
|
7460
|
+
*/
|
|
7461
|
+
proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.toObject = function(opt_includeInstance) {
|
|
7462
|
+
return proto.com.lansweeper.dp.outbound.v1.MonitorInventory.toObject(opt_includeInstance, this);
|
|
7463
|
+
};
|
|
7464
|
+
|
|
7465
|
+
|
|
7466
|
+
/**
|
|
7467
|
+
* Static version of the {@see toObject} method.
|
|
7468
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7469
|
+
* the JSPB instance for transitional soy proto support:
|
|
7470
|
+
* http://goto/soy-param-migration
|
|
7471
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.MonitorInventory} msg The msg instance to transform.
|
|
7472
|
+
* @return {!Object}
|
|
7473
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7474
|
+
*/
|
|
7475
|
+
proto.com.lansweeper.dp.outbound.v1.MonitorInventory.toObject = function(includeInstance, msg) {
|
|
7476
|
+
var f, obj = {
|
|
7477
|
+
timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
7478
|
+
monitorList: jspb.Message.toObjectList(msg.getMonitorList(),
|
|
7479
|
+
proto.com.lansweeper.dp.outbound.v1.Monitor.toObject, includeInstance)
|
|
7480
|
+
};
|
|
7481
|
+
|
|
7482
|
+
if (includeInstance) {
|
|
7483
|
+
obj.$jspbMessageInstance = msg;
|
|
7484
|
+
}
|
|
7485
|
+
return obj;
|
|
7486
|
+
};
|
|
7487
|
+
}
|
|
7488
|
+
|
|
7489
|
+
|
|
7490
|
+
/**
|
|
7491
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7492
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7493
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.MonitorInventory}
|
|
7494
|
+
*/
|
|
7495
|
+
proto.com.lansweeper.dp.outbound.v1.MonitorInventory.deserializeBinary = function(bytes) {
|
|
7496
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7497
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.MonitorInventory;
|
|
7498
|
+
return proto.com.lansweeper.dp.outbound.v1.MonitorInventory.deserializeBinaryFromReader(msg, reader);
|
|
7499
|
+
};
|
|
7500
|
+
|
|
7501
|
+
|
|
7502
|
+
/**
|
|
7503
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7504
|
+
* given reader into the given message object.
|
|
7505
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.MonitorInventory} msg The message object to deserialize into.
|
|
7506
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7507
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.MonitorInventory}
|
|
7508
|
+
*/
|
|
7509
|
+
proto.com.lansweeper.dp.outbound.v1.MonitorInventory.deserializeBinaryFromReader = function(msg, reader) {
|
|
7510
|
+
while (reader.nextField()) {
|
|
7511
|
+
if (reader.isEndGroup()) {
|
|
7512
|
+
break;
|
|
7513
|
+
}
|
|
7514
|
+
var field = reader.getFieldNumber();
|
|
7515
|
+
switch (field) {
|
|
7516
|
+
case 1:
|
|
7517
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
7518
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
7519
|
+
msg.setTimestamp(value);
|
|
7520
|
+
break;
|
|
7521
|
+
case 2:
|
|
7522
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.Monitor;
|
|
7523
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Monitor.deserializeBinaryFromReader);
|
|
7524
|
+
msg.addMonitor(value);
|
|
7525
|
+
break;
|
|
7526
|
+
default:
|
|
7527
|
+
reader.skipField();
|
|
7528
|
+
break;
|
|
7529
|
+
}
|
|
7530
|
+
}
|
|
7531
|
+
return msg;
|
|
7532
|
+
};
|
|
7533
|
+
|
|
7534
|
+
|
|
7535
|
+
/**
|
|
7536
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7537
|
+
* @return {!Uint8Array}
|
|
7538
|
+
*/
|
|
7539
|
+
proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.serializeBinary = function() {
|
|
7540
|
+
var writer = new jspb.BinaryWriter();
|
|
7541
|
+
proto.com.lansweeper.dp.outbound.v1.MonitorInventory.serializeBinaryToWriter(this, writer);
|
|
7542
|
+
return writer.getResultBuffer();
|
|
7543
|
+
};
|
|
7544
|
+
|
|
7545
|
+
|
|
7546
|
+
/**
|
|
7547
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7548
|
+
* format), writing to the given BinaryWriter.
|
|
7549
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.MonitorInventory} message
|
|
7550
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7551
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7552
|
+
*/
|
|
7553
|
+
proto.com.lansweeper.dp.outbound.v1.MonitorInventory.serializeBinaryToWriter = function(message, writer) {
|
|
7554
|
+
var f = undefined;
|
|
7555
|
+
f = message.getTimestamp();
|
|
7556
|
+
if (f != null) {
|
|
7557
|
+
writer.writeMessage(
|
|
7558
|
+
1,
|
|
7559
|
+
f,
|
|
7560
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
7561
|
+
);
|
|
7562
|
+
}
|
|
7563
|
+
f = message.getMonitorList();
|
|
7564
|
+
if (f.length > 0) {
|
|
7565
|
+
writer.writeRepeatedMessage(
|
|
7566
|
+
2,
|
|
7567
|
+
f,
|
|
7568
|
+
proto.com.lansweeper.dp.outbound.v1.Monitor.serializeBinaryToWriter
|
|
7569
|
+
);
|
|
7570
|
+
}
|
|
7571
|
+
};
|
|
7572
|
+
|
|
7573
|
+
|
|
7574
|
+
/**
|
|
7575
|
+
* optional google.protobuf.Timestamp timestamp = 1;
|
|
7576
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
7577
|
+
*/
|
|
7578
|
+
proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.getTimestamp = function() {
|
|
7579
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
7580
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
|
|
7581
|
+
};
|
|
7582
|
+
|
|
7583
|
+
|
|
7584
|
+
/**
|
|
7585
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
7586
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.MonitorInventory} returns this
|
|
7587
|
+
*/
|
|
7588
|
+
proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.setTimestamp = function(value) {
|
|
7589
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
7590
|
+
};
|
|
7591
|
+
|
|
7592
|
+
|
|
7593
|
+
/**
|
|
7594
|
+
* Clears the message field making it undefined.
|
|
7595
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.MonitorInventory} returns this
|
|
7596
|
+
*/
|
|
7597
|
+
proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.clearTimestamp = function() {
|
|
7598
|
+
return this.setTimestamp(undefined);
|
|
7599
|
+
};
|
|
7600
|
+
|
|
7601
|
+
|
|
7602
|
+
/**
|
|
7603
|
+
* Returns whether this field is set.
|
|
7604
|
+
* @return {boolean}
|
|
7605
|
+
*/
|
|
7606
|
+
proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.hasTimestamp = function() {
|
|
7607
|
+
return jspb.Message.getField(this, 1) != null;
|
|
7608
|
+
};
|
|
7609
|
+
|
|
7610
|
+
|
|
7611
|
+
/**
|
|
7612
|
+
* repeated Monitor monitor = 2;
|
|
7613
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.Monitor>}
|
|
7614
|
+
*/
|
|
7615
|
+
proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.getMonitorList = function() {
|
|
7616
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.Monitor>} */ (
|
|
7617
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.Monitor, 2));
|
|
7618
|
+
};
|
|
7619
|
+
|
|
7620
|
+
|
|
7621
|
+
/**
|
|
7622
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.Monitor>} value
|
|
7623
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.MonitorInventory} returns this
|
|
7624
|
+
*/
|
|
7625
|
+
proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.setMonitorList = function(value) {
|
|
7626
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
7627
|
+
};
|
|
7628
|
+
|
|
7629
|
+
|
|
7630
|
+
/**
|
|
7631
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.Monitor=} opt_value
|
|
7632
|
+
* @param {number=} opt_index
|
|
7633
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Monitor}
|
|
7634
|
+
*/
|
|
7635
|
+
proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.addMonitor = function(opt_value, opt_index) {
|
|
7636
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.com.lansweeper.dp.outbound.v1.Monitor, opt_index);
|
|
7637
|
+
};
|
|
7638
|
+
|
|
7639
|
+
|
|
7640
|
+
/**
|
|
7641
|
+
* Clears the list making it empty but non-null.
|
|
7642
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.MonitorInventory} returns this
|
|
7643
|
+
*/
|
|
7644
|
+
proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.clearMonitorList = function() {
|
|
7645
|
+
return this.setMonitorList([]);
|
|
7646
|
+
};
|
|
7647
|
+
|
|
7648
|
+
|
|
7649
|
+
|
|
7650
|
+
/**
|
|
7651
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
7652
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
7653
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
7654
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
7655
|
+
* @private {!Array<!Array<number>>}
|
|
7656
|
+
* @const
|
|
7657
|
+
*/
|
|
7658
|
+
proto.com.lansweeper.dp.outbound.v1.Monitor.oneofGroups_ = [[20]];
|
|
7659
|
+
|
|
7660
|
+
/**
|
|
7661
|
+
* @enum {number}
|
|
7662
|
+
*/
|
|
7663
|
+
proto.com.lansweeper.dp.outbound.v1.Monitor.RawCase = {
|
|
7664
|
+
RAW_NOT_SET: 0,
|
|
7665
|
+
WINDOWS: 20
|
|
7666
|
+
};
|
|
7667
|
+
|
|
7668
|
+
/**
|
|
7669
|
+
* @return {proto.com.lansweeper.dp.outbound.v1.Monitor.RawCase}
|
|
7670
|
+
*/
|
|
7671
|
+
proto.com.lansweeper.dp.outbound.v1.Monitor.prototype.getRawCase = function() {
|
|
7672
|
+
return /** @type {proto.com.lansweeper.dp.outbound.v1.Monitor.RawCase} */(jspb.Message.computeOneofCase(this, proto.com.lansweeper.dp.outbound.v1.Monitor.oneofGroups_[0]));
|
|
7673
|
+
};
|
|
7674
|
+
|
|
7675
|
+
|
|
7676
|
+
|
|
7677
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7678
|
+
/**
|
|
7679
|
+
* Creates an object representation of this proto.
|
|
7680
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7681
|
+
* Optional fields that are not set will be set to undefined.
|
|
7682
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7683
|
+
* For the list of reserved names please see:
|
|
7684
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7685
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7686
|
+
* JSPB instance for transitional soy proto support:
|
|
7687
|
+
* http://goto/soy-param-migration
|
|
7688
|
+
* @return {!Object}
|
|
7689
|
+
*/
|
|
7690
|
+
proto.com.lansweeper.dp.outbound.v1.Monitor.prototype.toObject = function(opt_includeInstance) {
|
|
7691
|
+
return proto.com.lansweeper.dp.outbound.v1.Monitor.toObject(opt_includeInstance, this);
|
|
7692
|
+
};
|
|
7693
|
+
|
|
7694
|
+
|
|
7695
|
+
/**
|
|
7696
|
+
* Static version of the {@see toObject} method.
|
|
7697
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7698
|
+
* the JSPB instance for transitional soy proto support:
|
|
7699
|
+
* http://goto/soy-param-migration
|
|
7700
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.Monitor} msg The msg instance to transform.
|
|
7701
|
+
* @return {!Object}
|
|
7702
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7703
|
+
*/
|
|
7704
|
+
proto.com.lansweeper.dp.outbound.v1.Monitor.toObject = function(includeInstance, msg) {
|
|
7705
|
+
var f, obj = {
|
|
7706
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7707
|
+
makeId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7708
|
+
makeName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7709
|
+
modelName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
7710
|
+
serialNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
7711
|
+
manufacturerDate: (f = msg.getManufacturerDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
7712
|
+
windows: (f = msg.getWindows()) && proto.com.lansweeper.dp.outbound.v1.WindowsRawMonitorInfo.toObject(includeInstance, f)
|
|
7713
|
+
};
|
|
7714
|
+
|
|
7715
|
+
if (includeInstance) {
|
|
7716
|
+
obj.$jspbMessageInstance = msg;
|
|
7717
|
+
}
|
|
7718
|
+
return obj;
|
|
7719
|
+
};
|
|
7720
|
+
}
|
|
7721
|
+
|
|
7722
|
+
|
|
7723
|
+
/**
|
|
7724
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7725
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7726
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Monitor}
|
|
7727
|
+
*/
|
|
7728
|
+
proto.com.lansweeper.dp.outbound.v1.Monitor.deserializeBinary = function(bytes) {
|
|
7729
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7730
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.Monitor;
|
|
7731
|
+
return proto.com.lansweeper.dp.outbound.v1.Monitor.deserializeBinaryFromReader(msg, reader);
|
|
7732
|
+
};
|
|
7733
|
+
|
|
7734
|
+
|
|
7735
|
+
/**
|
|
7736
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7737
|
+
* given reader into the given message object.
|
|
7738
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.Monitor} msg The message object to deserialize into.
|
|
7739
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7740
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Monitor}
|
|
7741
|
+
*/
|
|
7742
|
+
proto.com.lansweeper.dp.outbound.v1.Monitor.deserializeBinaryFromReader = function(msg, reader) {
|
|
7743
|
+
while (reader.nextField()) {
|
|
7744
|
+
if (reader.isEndGroup()) {
|
|
7745
|
+
break;
|
|
7746
|
+
}
|
|
7747
|
+
var field = reader.getFieldNumber();
|
|
7748
|
+
switch (field) {
|
|
7749
|
+
case 1:
|
|
7750
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7751
|
+
msg.setId(value);
|
|
7752
|
+
break;
|
|
7753
|
+
case 2:
|
|
7754
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7755
|
+
msg.setMakeId(value);
|
|
7756
|
+
break;
|
|
7757
|
+
case 3:
|
|
7758
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7759
|
+
msg.setMakeName(value);
|
|
7760
|
+
break;
|
|
7761
|
+
case 4:
|
|
7762
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7763
|
+
msg.setModelName(value);
|
|
7764
|
+
break;
|
|
7765
|
+
case 5:
|
|
7766
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7767
|
+
msg.setSerialNumber(value);
|
|
7768
|
+
break;
|
|
7769
|
+
case 6:
|
|
7770
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
7771
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
7772
|
+
msg.setManufacturerDate(value);
|
|
7773
|
+
break;
|
|
7774
|
+
case 20:
|
|
7775
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.WindowsRawMonitorInfo;
|
|
7776
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.WindowsRawMonitorInfo.deserializeBinaryFromReader);
|
|
7777
|
+
msg.setWindows(value);
|
|
7778
|
+
break;
|
|
7779
|
+
default:
|
|
7780
|
+
reader.skipField();
|
|
7781
|
+
break;
|
|
7782
|
+
}
|
|
7783
|
+
}
|
|
7784
|
+
return msg;
|
|
7785
|
+
};
|
|
7786
|
+
|
|
7787
|
+
|
|
7788
|
+
/**
|
|
7789
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7790
|
+
* @return {!Uint8Array}
|
|
7791
|
+
*/
|
|
7792
|
+
proto.com.lansweeper.dp.outbound.v1.Monitor.prototype.serializeBinary = function() {
|
|
7793
|
+
var writer = new jspb.BinaryWriter();
|
|
7794
|
+
proto.com.lansweeper.dp.outbound.v1.Monitor.serializeBinaryToWriter(this, writer);
|
|
7795
|
+
return writer.getResultBuffer();
|
|
7796
|
+
};
|
|
7797
|
+
|
|
7798
|
+
|
|
7799
|
+
/**
|
|
7800
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7801
|
+
* format), writing to the given BinaryWriter.
|
|
7802
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.Monitor} message
|
|
7803
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7804
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7805
|
+
*/
|
|
7806
|
+
proto.com.lansweeper.dp.outbound.v1.Monitor.serializeBinaryToWriter = function(message, writer) {
|
|
7807
|
+
var f = undefined;
|
|
7808
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
7809
|
+
if (f != null) {
|
|
7810
|
+
writer.writeInt64(
|
|
7811
|
+
1,
|
|
7812
|
+
f
|
|
7813
|
+
);
|
|
7814
|
+
}
|
|
7815
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
7816
|
+
if (f != null) {
|
|
7817
|
+
writer.writeInt64(
|
|
7818
|
+
2,
|
|
7819
|
+
f
|
|
7820
|
+
);
|
|
7821
|
+
}
|
|
7822
|
+
f = message.getMakeName();
|
|
7823
|
+
if (f.length > 0) {
|
|
7824
|
+
writer.writeString(
|
|
7825
|
+
3,
|
|
7826
|
+
f
|
|
7827
|
+
);
|
|
7828
|
+
}
|
|
7829
|
+
f = message.getModelName();
|
|
7830
|
+
if (f.length > 0) {
|
|
7831
|
+
writer.writeString(
|
|
7832
|
+
4,
|
|
7833
|
+
f
|
|
7834
|
+
);
|
|
7835
|
+
}
|
|
7836
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
7837
|
+
if (f != null) {
|
|
7838
|
+
writer.writeString(
|
|
7839
|
+
5,
|
|
7840
|
+
f
|
|
7841
|
+
);
|
|
7842
|
+
}
|
|
7843
|
+
f = message.getManufacturerDate();
|
|
7844
|
+
if (f != null) {
|
|
7845
|
+
writer.writeMessage(
|
|
7846
|
+
6,
|
|
7847
|
+
f,
|
|
7848
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
7849
|
+
);
|
|
7850
|
+
}
|
|
7851
|
+
f = message.getWindows();
|
|
7852
|
+
if (f != null) {
|
|
7853
|
+
writer.writeMessage(
|
|
7854
|
+
20,
|
|
7855
|
+
f,
|
|
7856
|
+
proto.com.lansweeper.dp.outbound.v1.WindowsRawMonitorInfo.serializeBinaryToWriter
|
|
7857
|
+
);
|
|
7858
|
+
}
|
|
7859
|
+
};
|
|
6593
7860
|
|
|
6594
7861
|
|
|
6595
7862
|
/**
|
|
@@ -9168,6 +10435,7 @@ proto.com.lansweeper.dp.outbound.v1.CatalogBrand.toObject = function(includeInst
|
|
|
9168
10435
|
instagramAccount: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
9169
10436
|
youtubeAccount: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
9170
10437
|
pinterestAccount: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
10438
|
+
tiktokAccount: jspb.Message.getFieldWithDefault(msg, 31, ""),
|
|
9171
10439
|
classHardware: jspb.Message.getBooleanFieldWithDefault(msg, 25, false),
|
|
9172
10440
|
classSoftware: jspb.Message.getBooleanFieldWithDefault(msg, 26, false),
|
|
9173
10441
|
classConsumer: jspb.Message.getBooleanFieldWithDefault(msg, 27, false),
|
|
@@ -9295,6 +10563,10 @@ proto.com.lansweeper.dp.outbound.v1.CatalogBrand.deserializeBinaryFromReader = f
|
|
|
9295
10563
|
var value = /** @type {string} */ (reader.readString());
|
|
9296
10564
|
msg.setPinterestAccount(value);
|
|
9297
10565
|
break;
|
|
10566
|
+
case 31:
|
|
10567
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10568
|
+
msg.setTiktokAccount(value);
|
|
10569
|
+
break;
|
|
9298
10570
|
case 25:
|
|
9299
10571
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
9300
10572
|
msg.setClassHardware(value);
|
|
@@ -9499,6 +10771,13 @@ proto.com.lansweeper.dp.outbound.v1.CatalogBrand.serializeBinaryToWriter = funct
|
|
|
9499
10771
|
f
|
|
9500
10772
|
);
|
|
9501
10773
|
}
|
|
10774
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 31));
|
|
10775
|
+
if (f != null) {
|
|
10776
|
+
writer.writeString(
|
|
10777
|
+
31,
|
|
10778
|
+
f
|
|
10779
|
+
);
|
|
10780
|
+
}
|
|
9502
10781
|
f = /** @type {boolean} */ (jspb.Message.getField(message, 25));
|
|
9503
10782
|
if (f != null) {
|
|
9504
10783
|
writer.writeBool(
|
|
@@ -10271,6 +11550,42 @@ proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.hasPinterestAccount =
|
|
|
10271
11550
|
};
|
|
10272
11551
|
|
|
10273
11552
|
|
|
11553
|
+
/**
|
|
11554
|
+
* optional string tiktok_account = 31;
|
|
11555
|
+
* @return {string}
|
|
11556
|
+
*/
|
|
11557
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.getTiktokAccount = function() {
|
|
11558
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 31, ""));
|
|
11559
|
+
};
|
|
11560
|
+
|
|
11561
|
+
|
|
11562
|
+
/**
|
|
11563
|
+
* @param {string} value
|
|
11564
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogBrand} returns this
|
|
11565
|
+
*/
|
|
11566
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.setTiktokAccount = function(value) {
|
|
11567
|
+
return jspb.Message.setField(this, 31, value);
|
|
11568
|
+
};
|
|
11569
|
+
|
|
11570
|
+
|
|
11571
|
+
/**
|
|
11572
|
+
* Clears the field making it undefined.
|
|
11573
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogBrand} returns this
|
|
11574
|
+
*/
|
|
11575
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.clearTiktokAccount = function() {
|
|
11576
|
+
return jspb.Message.setField(this, 31, undefined);
|
|
11577
|
+
};
|
|
11578
|
+
|
|
11579
|
+
|
|
11580
|
+
/**
|
|
11581
|
+
* Returns whether this field is set.
|
|
11582
|
+
* @return {boolean}
|
|
11583
|
+
*/
|
|
11584
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.hasTiktokAccount = function() {
|
|
11585
|
+
return jspb.Message.getField(this, 31) != null;
|
|
11586
|
+
};
|
|
11587
|
+
|
|
11588
|
+
|
|
10274
11589
|
/**
|
|
10275
11590
|
* optional bool class_hardware = 25;
|
|
10276
11591
|
* @return {boolean}
|