@lansweeper/data-platform-outbound-grpc 0.3.6 → 0.3.8

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.
Files changed (49) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +107 -0
  4. package/gen-proto/outbound_pb.js +896 -37
  5. package/generated-go/outbound.pb.go +10255 -9966
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +27 -0
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/ScanCredential$1.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/ScanCredential$Builder.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/ScanCredential.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/ScanCredentialOrBuilder.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/Site$1.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/Site$Builder$UnlinkedInstallationsConverter.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/Site$Builder.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/Site$UnlinkedInstallationsDefaultEntryHolder.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/Site.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/SiteOrBuilder.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/SourceInfo$1.class +0 -0
  21. package/model/target/classes/com/lansweeper/dp/outbound/v1/SourceInfo$Builder.class +0 -0
  22. package/model/target/classes/com/lansweeper/dp/outbound/v1/SourceInfo.class +0 -0
  23. package/model/target/classes/com/lansweeper/dp/outbound/v1/SourceInfoOrBuilder.class +0 -0
  24. package/model/target/classes/com/lansweeper/dp/outbound/v1/UnlinkedInstallationMetadata$1.class +0 -0
  25. package/model/target/classes/com/lansweeper/dp/outbound/v1/UnlinkedInstallationMetadata$Builder.class +0 -0
  26. package/model/target/classes/com/lansweeper/dp/outbound/v1/UnlinkedInstallationMetadata.class +0 -0
  27. package/model/target/classes/com/lansweeper/dp/outbound/v1/UnlinkedInstallationMetadataOrBuilder.class +0 -0
  28. package/model/target/classes/outbound.proto +27 -0
  29. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +2968 -2913
  30. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ScanCredential.java +1114 -0
  31. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ScanCredentialOrBuilder.java +84 -0
  32. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Site.java +900 -0
  33. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SiteOrBuilder.java +106 -0
  34. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SourceInfo.java +447 -0
  35. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SourceInfoOrBuilder.java +44 -0
  36. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/UnlinkedInstallationMetadata.java +794 -0
  37. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/UnlinkedInstallationMetadataOrBuilder.java +40 -0
  38. package/model/target/maven-archiver/pom.properties +2 -2
  39. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +10 -0
  40. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +4 -0
  41. package/model/target/{outbound-model-0.3.5-sources.jar → outbound-model-0.3.7-sources.jar} +0 -0
  42. package/model/target/{outbound-model-0.3.5.jar → outbound-model-0.3.7.jar} +0 -0
  43. package/package.json +2 -2
  44. package/pom.xml +1 -1
  45. package/proto/outbound.proto +27 -0
  46. package/service/pom.xml +1 -1
  47. package/service/target/maven-archiver/pom.properties +2 -2
  48. package/service/target/{outbound-service-0.3.5-sources.jar → outbound-service-0.3.7-sources.jar} +0 -0
  49. package/service/target/{outbound-service-0.3.5.jar → outbound-service-0.3.7.jar} +0 -0
@@ -200,6 +200,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ReconciliationInfo.EntryS
200
200
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ReconciliationInfo.MasterType', null, global);
201
201
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Relation', null, global);
202
202
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.RunningProcess', null, global);
203
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScanCredential', null, global);
203
204
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScanError', null, global);
204
205
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScannedPort', null, global);
205
206
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SccmClient', null, global);
@@ -231,6 +232,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SqlServerService.ServiceS
231
232
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Tag', null, global);
232
233
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ThunderboltPort', null, global);
233
234
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.TrustedPlatformModule', null, global);
235
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata', null, global);
234
236
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Ups', null, global);
235
237
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.User', null, global);
236
238
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.UserAccount', null, global);
@@ -283,6 +285,27 @@ if (goog.DEBUG && !COMPILED) {
283
285
  */
284
286
  proto.com.lansweeper.dp.outbound.v1.Site.displayName = 'proto.com.lansweeper.dp.outbound.v1.Site';
285
287
  }
288
+ /**
289
+ * Generated by JsPbCodeGenerator.
290
+ * @param {Array=} opt_data Optional initial data array, typically from a
291
+ * server response, or constructed directly in Javascript. The array is used
292
+ * in place and becomes part of the constructed object. It is not cloned.
293
+ * If no data is provided, the constructed object will be empty, but still
294
+ * valid.
295
+ * @extends {jspb.Message}
296
+ * @constructor
297
+ */
298
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata = function(opt_data) {
299
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
300
+ };
301
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata, jspb.Message);
302
+ if (goog.DEBUG && !COMPILED) {
303
+ /**
304
+ * @public
305
+ * @override
306
+ */
307
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.displayName = 'proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata';
308
+ }
286
309
  /**
287
310
  * Generated by JsPbCodeGenerator.
288
311
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1029,7 +1052,7 @@ if (goog.DEBUG && !COMPILED) {
1029
1052
  * @constructor
1030
1053
  */
1031
1054
  proto.com.lansweeper.dp.outbound.v1.SourceInfo = function(opt_data) {
1032
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1055
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.dp.outbound.v1.SourceInfo.repeatedFields_, null);
1033
1056
  };
1034
1057
  goog.inherits(proto.com.lansweeper.dp.outbound.v1.SourceInfo, jspb.Message);
1035
1058
  if (goog.DEBUG && !COMPILED) {
@@ -1060,6 +1083,27 @@ if (goog.DEBUG && !COMPILED) {
1060
1083
  */
1061
1084
  proto.com.lansweeper.dp.outbound.v1.ScanError.displayName = 'proto.com.lansweeper.dp.outbound.v1.ScanError';
1062
1085
  }
1086
+ /**
1087
+ * Generated by JsPbCodeGenerator.
1088
+ * @param {Array=} opt_data Optional initial data array, typically from a
1089
+ * server response, or constructed directly in Javascript. The array is used
1090
+ * in place and becomes part of the constructed object. It is not cloned.
1091
+ * If no data is provided, the constructed object will be empty, but still
1092
+ * valid.
1093
+ * @extends {jspb.Message}
1094
+ * @constructor
1095
+ */
1096
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential = function(opt_data) {
1097
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1098
+ };
1099
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.ScanCredential, jspb.Message);
1100
+ if (goog.DEBUG && !COMPILED) {
1101
+ /**
1102
+ * @public
1103
+ * @override
1104
+ */
1105
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.displayName = 'proto.com.lansweeper.dp.outbound.v1.ScanCredential';
1106
+ }
1063
1107
  /**
1064
1108
  * Generated by JsPbCodeGenerator.
1065
1109
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4783,7 +4827,12 @@ proto.com.lansweeper.dp.outbound.v1.Site.toObject = function(includeInstance, ms
4783
4827
  customTraceProbability: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
4784
4828
  needsReconcile: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
4785
4829
  rawCheckpointEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
4786
- reconciliationRefreshFrequency: jspb.Message.getFieldWithDefault(msg, 9, 0)
4830
+ reconciliationRefreshFrequency: jspb.Message.getFieldWithDefault(msg, 9, 0),
4831
+ userSize: jspb.Message.getFieldWithDefault(msg, 10, 0),
4832
+ groupSize: jspb.Message.getFieldWithDefault(msg, 11, 0),
4833
+ deletionRequest: (f = msg.getDeletionRequest()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
4834
+ deletionTime: (f = msg.getDeletionTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
4835
+ unlinkedInstallationsMap: (f = msg.getUnlinkedInstallationsMap()) ? f.toObject(includeInstance, proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.toObject) : []
4787
4836
  };
4788
4837
 
4789
4838
  if (includeInstance) {
@@ -4860,6 +4909,30 @@ proto.com.lansweeper.dp.outbound.v1.Site.deserializeBinaryFromReader = function(
4860
4909
  var value = /** @type {number} */ (reader.readInt64());
4861
4910
  msg.setReconciliationRefreshFrequency(value);
4862
4911
  break;
4912
+ case 10:
4913
+ var value = /** @type {number} */ (reader.readInt32());
4914
+ msg.setUserSize(value);
4915
+ break;
4916
+ case 11:
4917
+ var value = /** @type {number} */ (reader.readInt32());
4918
+ msg.setGroupSize(value);
4919
+ break;
4920
+ case 12:
4921
+ var value = new google_protobuf_timestamp_pb.Timestamp;
4922
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
4923
+ msg.setDeletionRequest(value);
4924
+ break;
4925
+ case 13:
4926
+ var value = new google_protobuf_timestamp_pb.Timestamp;
4927
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
4928
+ msg.setDeletionTime(value);
4929
+ break;
4930
+ case 14:
4931
+ var value = msg.getUnlinkedInstallationsMap();
4932
+ reader.readMessage(value, function(message, reader) {
4933
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.deserializeBinaryFromReader, "", new proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata());
4934
+ });
4935
+ break;
4863
4936
  default:
4864
4937
  reader.skipField();
4865
4938
  break;
@@ -4956,6 +5029,40 @@ proto.com.lansweeper.dp.outbound.v1.Site.serializeBinaryToWriter = function(mess
4956
5029
  f
4957
5030
  );
4958
5031
  }
5032
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
5033
+ if (f != null) {
5034
+ writer.writeInt32(
5035
+ 10,
5036
+ f
5037
+ );
5038
+ }
5039
+ f = /** @type {number} */ (jspb.Message.getField(message, 11));
5040
+ if (f != null) {
5041
+ writer.writeInt32(
5042
+ 11,
5043
+ f
5044
+ );
5045
+ }
5046
+ f = message.getDeletionRequest();
5047
+ if (f != null) {
5048
+ writer.writeMessage(
5049
+ 12,
5050
+ f,
5051
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
5052
+ );
5053
+ }
5054
+ f = message.getDeletionTime();
5055
+ if (f != null) {
5056
+ writer.writeMessage(
5057
+ 13,
5058
+ f,
5059
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
5060
+ );
5061
+ }
5062
+ f = message.getUnlinkedInstallationsMap(true);
5063
+ if (f && f.getLength() > 0) {
5064
+ f.serializeBinary(14, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.serializeBinaryToWriter);
5065
+ }
4959
5066
  };
4960
5067
 
4961
5068
 
@@ -5288,6 +5395,174 @@ proto.com.lansweeper.dp.outbound.v1.Site.prototype.hasReconciliationRefreshFrequ
5288
5395
  };
5289
5396
 
5290
5397
 
5398
+ /**
5399
+ * optional int32 user_size = 10;
5400
+ * @return {number}
5401
+ */
5402
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.getUserSize = function() {
5403
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
5404
+ };
5405
+
5406
+
5407
+ /**
5408
+ * @param {number} value
5409
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Site} returns this
5410
+ */
5411
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.setUserSize = function(value) {
5412
+ return jspb.Message.setField(this, 10, value);
5413
+ };
5414
+
5415
+
5416
+ /**
5417
+ * Clears the field making it undefined.
5418
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Site} returns this
5419
+ */
5420
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.clearUserSize = function() {
5421
+ return jspb.Message.setField(this, 10, undefined);
5422
+ };
5423
+
5424
+
5425
+ /**
5426
+ * Returns whether this field is set.
5427
+ * @return {boolean}
5428
+ */
5429
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.hasUserSize = function() {
5430
+ return jspb.Message.getField(this, 10) != null;
5431
+ };
5432
+
5433
+
5434
+ /**
5435
+ * optional int32 group_size = 11;
5436
+ * @return {number}
5437
+ */
5438
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.getGroupSize = function() {
5439
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
5440
+ };
5441
+
5442
+
5443
+ /**
5444
+ * @param {number} value
5445
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Site} returns this
5446
+ */
5447
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.setGroupSize = function(value) {
5448
+ return jspb.Message.setField(this, 11, value);
5449
+ };
5450
+
5451
+
5452
+ /**
5453
+ * Clears the field making it undefined.
5454
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Site} returns this
5455
+ */
5456
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.clearGroupSize = function() {
5457
+ return jspb.Message.setField(this, 11, undefined);
5458
+ };
5459
+
5460
+
5461
+ /**
5462
+ * Returns whether this field is set.
5463
+ * @return {boolean}
5464
+ */
5465
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.hasGroupSize = function() {
5466
+ return jspb.Message.getField(this, 11) != null;
5467
+ };
5468
+
5469
+
5470
+ /**
5471
+ * optional google.protobuf.Timestamp deletion_request = 12;
5472
+ * @return {?proto.google.protobuf.Timestamp}
5473
+ */
5474
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.getDeletionRequest = function() {
5475
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
5476
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 12));
5477
+ };
5478
+
5479
+
5480
+ /**
5481
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
5482
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Site} returns this
5483
+ */
5484
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.setDeletionRequest = function(value) {
5485
+ return jspb.Message.setWrapperField(this, 12, value);
5486
+ };
5487
+
5488
+
5489
+ /**
5490
+ * Clears the message field making it undefined.
5491
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Site} returns this
5492
+ */
5493
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.clearDeletionRequest = function() {
5494
+ return this.setDeletionRequest(undefined);
5495
+ };
5496
+
5497
+
5498
+ /**
5499
+ * Returns whether this field is set.
5500
+ * @return {boolean}
5501
+ */
5502
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.hasDeletionRequest = function() {
5503
+ return jspb.Message.getField(this, 12) != null;
5504
+ };
5505
+
5506
+
5507
+ /**
5508
+ * optional google.protobuf.Timestamp deletion_time = 13;
5509
+ * @return {?proto.google.protobuf.Timestamp}
5510
+ */
5511
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.getDeletionTime = function() {
5512
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
5513
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 13));
5514
+ };
5515
+
5516
+
5517
+ /**
5518
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
5519
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Site} returns this
5520
+ */
5521
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.setDeletionTime = function(value) {
5522
+ return jspb.Message.setWrapperField(this, 13, value);
5523
+ };
5524
+
5525
+
5526
+ /**
5527
+ * Clears the message field making it undefined.
5528
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Site} returns this
5529
+ */
5530
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.clearDeletionTime = function() {
5531
+ return this.setDeletionTime(undefined);
5532
+ };
5533
+
5534
+
5535
+ /**
5536
+ * Returns whether this field is set.
5537
+ * @return {boolean}
5538
+ */
5539
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.hasDeletionTime = function() {
5540
+ return jspb.Message.getField(this, 13) != null;
5541
+ };
5542
+
5543
+
5544
+ /**
5545
+ * map<string, UnlinkedInstallationMetadata> unlinked_installations = 14;
5546
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
5547
+ * empty, instead returning `undefined`
5548
+ * @return {!jspb.Map<string,!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata>}
5549
+ */
5550
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.getUnlinkedInstallationsMap = function(opt_noLazyCreate) {
5551
+ return /** @type {!jspb.Map<string,!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata>} */ (
5552
+ jspb.Message.getMapField(this, 14, opt_noLazyCreate,
5553
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata));
5554
+ };
5555
+
5556
+
5557
+ /**
5558
+ * Clears values from the map. The map will be non-null.
5559
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Site} returns this
5560
+ */
5561
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.clearUnlinkedInstallationsMap = function() {
5562
+ this.getUnlinkedInstallationsMap().clear();
5563
+ return this;};
5564
+
5565
+
5291
5566
 
5292
5567
 
5293
5568
 
@@ -5304,8 +5579,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
5304
5579
  * http://goto/soy-param-migration
5305
5580
  * @return {!Object}
5306
5581
  */
5307
- proto.com.lansweeper.dp.outbound.v1.EntityFilter.prototype.toObject = function(opt_includeInstance) {
5308
- return proto.com.lansweeper.dp.outbound.v1.EntityFilter.toObject(opt_includeInstance, this);
5582
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.toObject = function(opt_includeInstance) {
5583
+ return proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.toObject(opt_includeInstance, this);
5309
5584
  };
5310
5585
 
5311
5586
 
@@ -5314,16 +5589,14 @@ proto.com.lansweeper.dp.outbound.v1.EntityFilter.prototype.toObject = function(o
5314
5589
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5315
5590
  * the JSPB instance for transitional soy proto support:
5316
5591
  * http://goto/soy-param-migration
5317
- * @param {!proto.com.lansweeper.dp.outbound.v1.EntityFilter} msg The msg instance to transform.
5592
+ * @param {!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata} msg The msg instance to transform.
5318
5593
  * @return {!Object}
5319
5594
  * @suppress {unusedLocalVariables} f is only used for nested messages
5320
5595
  */
5321
- proto.com.lansweeper.dp.outbound.v1.EntityFilter.toObject = function(includeInstance, msg) {
5596
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.toObject = function(includeInstance, msg) {
5322
5597
  var f, obj = {
5323
- siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
5324
- fullEntity: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
5325
- entryState: jspb.Message.getFieldWithDefault(msg, 3, 0),
5326
- virtualState: jspb.Message.getFieldWithDefault(msg, 4, 0)
5598
+ deletionRequest: (f = msg.getDeletionRequest()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
5599
+ deletionTime: (f = msg.getDeletionTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
5327
5600
  };
5328
5601
 
5329
5602
  if (includeInstance) {
@@ -5337,44 +5610,38 @@ proto.com.lansweeper.dp.outbound.v1.EntityFilter.toObject = function(includeInst
5337
5610
  /**
5338
5611
  * Deserializes binary data (in protobuf wire format).
5339
5612
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
5340
- * @return {!proto.com.lansweeper.dp.outbound.v1.EntityFilter}
5613
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata}
5341
5614
  */
5342
- proto.com.lansweeper.dp.outbound.v1.EntityFilter.deserializeBinary = function(bytes) {
5615
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.deserializeBinary = function(bytes) {
5343
5616
  var reader = new jspb.BinaryReader(bytes);
5344
- var msg = new proto.com.lansweeper.dp.outbound.v1.EntityFilter;
5345
- return proto.com.lansweeper.dp.outbound.v1.EntityFilter.deserializeBinaryFromReader(msg, reader);
5617
+ var msg = new proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata;
5618
+ return proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.deserializeBinaryFromReader(msg, reader);
5346
5619
  };
5347
5620
 
5348
5621
 
5349
5622
  /**
5350
5623
  * Deserializes binary data (in protobuf wire format) from the
5351
5624
  * given reader into the given message object.
5352
- * @param {!proto.com.lansweeper.dp.outbound.v1.EntityFilter} msg The message object to deserialize into.
5625
+ * @param {!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata} msg The message object to deserialize into.
5353
5626
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5354
- * @return {!proto.com.lansweeper.dp.outbound.v1.EntityFilter}
5627
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata}
5355
5628
  */
5356
- proto.com.lansweeper.dp.outbound.v1.EntityFilter.deserializeBinaryFromReader = function(msg, reader) {
5629
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.deserializeBinaryFromReader = function(msg, reader) {
5357
5630
  while (reader.nextField()) {
5358
5631
  if (reader.isEndGroup()) {
5359
5632
  break;
5360
5633
  }
5361
5634
  var field = reader.getFieldNumber();
5362
5635
  switch (field) {
5363
- case 1:
5364
- var value = /** @type {string} */ (reader.readString());
5365
- msg.setSiteId(value);
5366
- break;
5367
- case 2:
5368
- var value = /** @type {boolean} */ (reader.readBool());
5369
- msg.setFullEntity(value);
5370
- break;
5371
- case 3:
5372
- var value = /** @type {!proto.com.lansweeper.dp.outbound.v1.EntityFilter.EntryState} */ (reader.readEnum());
5373
- msg.setEntryState(value);
5636
+ case 12:
5637
+ var value = new google_protobuf_timestamp_pb.Timestamp;
5638
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
5639
+ msg.setDeletionRequest(value);
5374
5640
  break;
5375
- case 4:
5376
- var value = /** @type {!proto.com.lansweeper.dp.outbound.v1.EntityFilter.VirtualState} */ (reader.readEnum());
5377
- msg.setVirtualState(value);
5641
+ case 13:
5642
+ var value = new google_protobuf_timestamp_pb.Timestamp;
5643
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
5644
+ msg.setDeletionTime(value);
5378
5645
  break;
5379
5646
  default:
5380
5647
  reader.skipField();
@@ -5389,9 +5656,9 @@ proto.com.lansweeper.dp.outbound.v1.EntityFilter.deserializeBinaryFromReader = f
5389
5656
  * Serializes the message to binary data (in protobuf wire format).
5390
5657
  * @return {!Uint8Array}
5391
5658
  */
5392
- proto.com.lansweeper.dp.outbound.v1.EntityFilter.prototype.serializeBinary = function() {
5659
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.serializeBinary = function() {
5393
5660
  var writer = new jspb.BinaryWriter();
5394
- proto.com.lansweeper.dp.outbound.v1.EntityFilter.serializeBinaryToWriter(this, writer);
5661
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.serializeBinaryToWriter(this, writer);
5395
5662
  return writer.getResultBuffer();
5396
5663
  };
5397
5664
 
@@ -5399,13 +5666,223 @@ proto.com.lansweeper.dp.outbound.v1.EntityFilter.prototype.serializeBinary = fun
5399
5666
  /**
5400
5667
  * Serializes the given message to binary data (in protobuf wire
5401
5668
  * format), writing to the given BinaryWriter.
5402
- * @param {!proto.com.lansweeper.dp.outbound.v1.EntityFilter} message
5669
+ * @param {!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata} message
5403
5670
  * @param {!jspb.BinaryWriter} writer
5404
5671
  * @suppress {unusedLocalVariables} f is only used for nested messages
5405
5672
  */
5406
- proto.com.lansweeper.dp.outbound.v1.EntityFilter.serializeBinaryToWriter = function(message, writer) {
5673
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.serializeBinaryToWriter = function(message, writer) {
5407
5674
  var f = undefined;
5408
- f = message.getSiteId();
5675
+ f = message.getDeletionRequest();
5676
+ if (f != null) {
5677
+ writer.writeMessage(
5678
+ 12,
5679
+ f,
5680
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
5681
+ );
5682
+ }
5683
+ f = message.getDeletionTime();
5684
+ if (f != null) {
5685
+ writer.writeMessage(
5686
+ 13,
5687
+ f,
5688
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
5689
+ );
5690
+ }
5691
+ };
5692
+
5693
+
5694
+ /**
5695
+ * optional google.protobuf.Timestamp deletion_request = 12;
5696
+ * @return {?proto.google.protobuf.Timestamp}
5697
+ */
5698
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.getDeletionRequest = function() {
5699
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
5700
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 12));
5701
+ };
5702
+
5703
+
5704
+ /**
5705
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
5706
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata} returns this
5707
+ */
5708
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.setDeletionRequest = function(value) {
5709
+ return jspb.Message.setWrapperField(this, 12, value);
5710
+ };
5711
+
5712
+
5713
+ /**
5714
+ * Clears the message field making it undefined.
5715
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata} returns this
5716
+ */
5717
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.clearDeletionRequest = function() {
5718
+ return this.setDeletionRequest(undefined);
5719
+ };
5720
+
5721
+
5722
+ /**
5723
+ * Returns whether this field is set.
5724
+ * @return {boolean}
5725
+ */
5726
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.hasDeletionRequest = function() {
5727
+ return jspb.Message.getField(this, 12) != null;
5728
+ };
5729
+
5730
+
5731
+ /**
5732
+ * optional google.protobuf.Timestamp deletion_time = 13;
5733
+ * @return {?proto.google.protobuf.Timestamp}
5734
+ */
5735
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.getDeletionTime = function() {
5736
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
5737
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 13));
5738
+ };
5739
+
5740
+
5741
+ /**
5742
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
5743
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata} returns this
5744
+ */
5745
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.setDeletionTime = function(value) {
5746
+ return jspb.Message.setWrapperField(this, 13, value);
5747
+ };
5748
+
5749
+
5750
+ /**
5751
+ * Clears the message field making it undefined.
5752
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata} returns this
5753
+ */
5754
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.clearDeletionTime = function() {
5755
+ return this.setDeletionTime(undefined);
5756
+ };
5757
+
5758
+
5759
+ /**
5760
+ * Returns whether this field is set.
5761
+ * @return {boolean}
5762
+ */
5763
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.hasDeletionTime = function() {
5764
+ return jspb.Message.getField(this, 13) != null;
5765
+ };
5766
+
5767
+
5768
+
5769
+
5770
+
5771
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5772
+ /**
5773
+ * Creates an object representation of this proto.
5774
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5775
+ * Optional fields that are not set will be set to undefined.
5776
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5777
+ * For the list of reserved names please see:
5778
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5779
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5780
+ * JSPB instance for transitional soy proto support:
5781
+ * http://goto/soy-param-migration
5782
+ * @return {!Object}
5783
+ */
5784
+ proto.com.lansweeper.dp.outbound.v1.EntityFilter.prototype.toObject = function(opt_includeInstance) {
5785
+ return proto.com.lansweeper.dp.outbound.v1.EntityFilter.toObject(opt_includeInstance, this);
5786
+ };
5787
+
5788
+
5789
+ /**
5790
+ * Static version of the {@see toObject} method.
5791
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5792
+ * the JSPB instance for transitional soy proto support:
5793
+ * http://goto/soy-param-migration
5794
+ * @param {!proto.com.lansweeper.dp.outbound.v1.EntityFilter} msg The msg instance to transform.
5795
+ * @return {!Object}
5796
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5797
+ */
5798
+ proto.com.lansweeper.dp.outbound.v1.EntityFilter.toObject = function(includeInstance, msg) {
5799
+ var f, obj = {
5800
+ siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
5801
+ fullEntity: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
5802
+ entryState: jspb.Message.getFieldWithDefault(msg, 3, 0),
5803
+ virtualState: jspb.Message.getFieldWithDefault(msg, 4, 0)
5804
+ };
5805
+
5806
+ if (includeInstance) {
5807
+ obj.$jspbMessageInstance = msg;
5808
+ }
5809
+ return obj;
5810
+ };
5811
+ }
5812
+
5813
+
5814
+ /**
5815
+ * Deserializes binary data (in protobuf wire format).
5816
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5817
+ * @return {!proto.com.lansweeper.dp.outbound.v1.EntityFilter}
5818
+ */
5819
+ proto.com.lansweeper.dp.outbound.v1.EntityFilter.deserializeBinary = function(bytes) {
5820
+ var reader = new jspb.BinaryReader(bytes);
5821
+ var msg = new proto.com.lansweeper.dp.outbound.v1.EntityFilter;
5822
+ return proto.com.lansweeper.dp.outbound.v1.EntityFilter.deserializeBinaryFromReader(msg, reader);
5823
+ };
5824
+
5825
+
5826
+ /**
5827
+ * Deserializes binary data (in protobuf wire format) from the
5828
+ * given reader into the given message object.
5829
+ * @param {!proto.com.lansweeper.dp.outbound.v1.EntityFilter} msg The message object to deserialize into.
5830
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5831
+ * @return {!proto.com.lansweeper.dp.outbound.v1.EntityFilter}
5832
+ */
5833
+ proto.com.lansweeper.dp.outbound.v1.EntityFilter.deserializeBinaryFromReader = function(msg, reader) {
5834
+ while (reader.nextField()) {
5835
+ if (reader.isEndGroup()) {
5836
+ break;
5837
+ }
5838
+ var field = reader.getFieldNumber();
5839
+ switch (field) {
5840
+ case 1:
5841
+ var value = /** @type {string} */ (reader.readString());
5842
+ msg.setSiteId(value);
5843
+ break;
5844
+ case 2:
5845
+ var value = /** @type {boolean} */ (reader.readBool());
5846
+ msg.setFullEntity(value);
5847
+ break;
5848
+ case 3:
5849
+ var value = /** @type {!proto.com.lansweeper.dp.outbound.v1.EntityFilter.EntryState} */ (reader.readEnum());
5850
+ msg.setEntryState(value);
5851
+ break;
5852
+ case 4:
5853
+ var value = /** @type {!proto.com.lansweeper.dp.outbound.v1.EntityFilter.VirtualState} */ (reader.readEnum());
5854
+ msg.setVirtualState(value);
5855
+ break;
5856
+ default:
5857
+ reader.skipField();
5858
+ break;
5859
+ }
5860
+ }
5861
+ return msg;
5862
+ };
5863
+
5864
+
5865
+ /**
5866
+ * Serializes the message to binary data (in protobuf wire format).
5867
+ * @return {!Uint8Array}
5868
+ */
5869
+ proto.com.lansweeper.dp.outbound.v1.EntityFilter.prototype.serializeBinary = function() {
5870
+ var writer = new jspb.BinaryWriter();
5871
+ proto.com.lansweeper.dp.outbound.v1.EntityFilter.serializeBinaryToWriter(this, writer);
5872
+ return writer.getResultBuffer();
5873
+ };
5874
+
5875
+
5876
+ /**
5877
+ * Serializes the given message to binary data (in protobuf wire
5878
+ * format), writing to the given BinaryWriter.
5879
+ * @param {!proto.com.lansweeper.dp.outbound.v1.EntityFilter} message
5880
+ * @param {!jspb.BinaryWriter} writer
5881
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5882
+ */
5883
+ proto.com.lansweeper.dp.outbound.v1.EntityFilter.serializeBinaryToWriter = function(message, writer) {
5884
+ var f = undefined;
5885
+ f = message.getSiteId();
5409
5886
  if (f.length > 0) {
5410
5887
  writer.writeString(
5411
5888
  1,
@@ -21442,6 +21919,13 @@ proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.hasSubType = function()
21442
21919
 
21443
21920
 
21444
21921
 
21922
+ /**
21923
+ * List of repeated fields within this message type.
21924
+ * @private {!Array<number>}
21925
+ * @const
21926
+ */
21927
+ proto.com.lansweeper.dp.outbound.v1.SourceInfo.repeatedFields_ = [9];
21928
+
21445
21929
 
21446
21930
 
21447
21931
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -21480,7 +21964,9 @@ proto.com.lansweeper.dp.outbound.v1.SourceInfo.toObject = function(includeInstan
21480
21964
  sourceTag: jspb.Message.getFieldWithDefault(msg, 8, ""),
21481
21965
  rawId: jspb.Message.getFieldWithDefault(msg, 5, ""),
21482
21966
  entityId: jspb.Message.getFieldWithDefault(msg, 7, ""),
21483
- lastSynced: (f = msg.getLastSynced()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
21967
+ lastSynced: (f = msg.getLastSynced()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
21968
+ credentialsList: jspb.Message.toObjectList(msg.getCredentialsList(),
21969
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.toObject, includeInstance)
21484
21970
  };
21485
21971
 
21486
21972
  if (includeInstance) {
@@ -21550,6 +22036,11 @@ proto.com.lansweeper.dp.outbound.v1.SourceInfo.deserializeBinaryFromReader = fun
21550
22036
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
21551
22037
  msg.setLastSynced(value);
21552
22038
  break;
22039
+ case 9:
22040
+ var value = new proto.com.lansweeper.dp.outbound.v1.ScanCredential;
22041
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ScanCredential.deserializeBinaryFromReader);
22042
+ msg.addCredentials(value);
22043
+ break;
21553
22044
  default:
21554
22045
  reader.skipField();
21555
22046
  break;
@@ -21636,6 +22127,14 @@ proto.com.lansweeper.dp.outbound.v1.SourceInfo.serializeBinaryToWriter = functio
21636
22127
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
21637
22128
  );
21638
22129
  }
22130
+ f = message.getCredentialsList();
22131
+ if (f.length > 0) {
22132
+ writer.writeRepeatedMessage(
22133
+ 9,
22134
+ f,
22135
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.serializeBinaryToWriter
22136
+ );
22137
+ }
21639
22138
  };
21640
22139
 
21641
22140
 
@@ -21874,6 +22373,44 @@ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.hasLastSynced = functio
21874
22373
  };
21875
22374
 
21876
22375
 
22376
+ /**
22377
+ * repeated ScanCredential credentials = 9;
22378
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.ScanCredential>}
22379
+ */
22380
+ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.getCredentialsList = function() {
22381
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.ScanCredential>} */ (
22382
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.ScanCredential, 9));
22383
+ };
22384
+
22385
+
22386
+ /**
22387
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.ScanCredential>} value
22388
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SourceInfo} returns this
22389
+ */
22390
+ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.setCredentialsList = function(value) {
22391
+ return jspb.Message.setRepeatedWrapperField(this, 9, value);
22392
+ };
22393
+
22394
+
22395
+ /**
22396
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ScanCredential=} opt_value
22397
+ * @param {number=} opt_index
22398
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ScanCredential}
22399
+ */
22400
+ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.addCredentials = function(opt_value, opt_index) {
22401
+ return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.com.lansweeper.dp.outbound.v1.ScanCredential, opt_index);
22402
+ };
22403
+
22404
+
22405
+ /**
22406
+ * Clears the list making it empty but non-null.
22407
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SourceInfo} returns this
22408
+ */
22409
+ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.clearCredentialsList = function() {
22410
+ return this.setCredentialsList([]);
22411
+ };
22412
+
22413
+
21877
22414
 
21878
22415
 
21879
22416
 
@@ -22184,6 +22721,328 @@ proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.hasDuration = function()
22184
22721
 
22185
22722
 
22186
22723
 
22724
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22725
+ /**
22726
+ * Creates an object representation of this proto.
22727
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22728
+ * Optional fields that are not set will be set to undefined.
22729
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22730
+ * For the list of reserved names please see:
22731
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22732
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22733
+ * JSPB instance for transitional soy proto support:
22734
+ * http://goto/soy-param-migration
22735
+ * @return {!Object}
22736
+ */
22737
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.toObject = function(opt_includeInstance) {
22738
+ return proto.com.lansweeper.dp.outbound.v1.ScanCredential.toObject(opt_includeInstance, this);
22739
+ };
22740
+
22741
+
22742
+ /**
22743
+ * Static version of the {@see toObject} method.
22744
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22745
+ * the JSPB instance for transitional soy proto support:
22746
+ * http://goto/soy-param-migration
22747
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ScanCredential} msg The msg instance to transform.
22748
+ * @return {!Object}
22749
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22750
+ */
22751
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.toObject = function(includeInstance, msg) {
22752
+ var f, obj = {
22753
+ vaultType: jspb.Message.getFieldWithDefault(msg, 1, ""),
22754
+ vaultName: jspb.Message.getFieldWithDefault(msg, 2, ""),
22755
+ name: jspb.Message.getFieldWithDefault(msg, 3, ""),
22756
+ isSuccess: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
22757
+ cloudId: jspb.Message.getFieldWithDefault(msg, 5, "")
22758
+ };
22759
+
22760
+ if (includeInstance) {
22761
+ obj.$jspbMessageInstance = msg;
22762
+ }
22763
+ return obj;
22764
+ };
22765
+ }
22766
+
22767
+
22768
+ /**
22769
+ * Deserializes binary data (in protobuf wire format).
22770
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22771
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ScanCredential}
22772
+ */
22773
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.deserializeBinary = function(bytes) {
22774
+ var reader = new jspb.BinaryReader(bytes);
22775
+ var msg = new proto.com.lansweeper.dp.outbound.v1.ScanCredential;
22776
+ return proto.com.lansweeper.dp.outbound.v1.ScanCredential.deserializeBinaryFromReader(msg, reader);
22777
+ };
22778
+
22779
+
22780
+ /**
22781
+ * Deserializes binary data (in protobuf wire format) from the
22782
+ * given reader into the given message object.
22783
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ScanCredential} msg The message object to deserialize into.
22784
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22785
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ScanCredential}
22786
+ */
22787
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.deserializeBinaryFromReader = function(msg, reader) {
22788
+ while (reader.nextField()) {
22789
+ if (reader.isEndGroup()) {
22790
+ break;
22791
+ }
22792
+ var field = reader.getFieldNumber();
22793
+ switch (field) {
22794
+ case 1:
22795
+ var value = /** @type {string} */ (reader.readString());
22796
+ msg.setVaultType(value);
22797
+ break;
22798
+ case 2:
22799
+ var value = /** @type {string} */ (reader.readString());
22800
+ msg.setVaultName(value);
22801
+ break;
22802
+ case 3:
22803
+ var value = /** @type {string} */ (reader.readString());
22804
+ msg.setName(value);
22805
+ break;
22806
+ case 4:
22807
+ var value = /** @type {boolean} */ (reader.readBool());
22808
+ msg.setIsSuccess(value);
22809
+ break;
22810
+ case 5:
22811
+ var value = /** @type {string} */ (reader.readString());
22812
+ msg.setCloudId(value);
22813
+ break;
22814
+ default:
22815
+ reader.skipField();
22816
+ break;
22817
+ }
22818
+ }
22819
+ return msg;
22820
+ };
22821
+
22822
+
22823
+ /**
22824
+ * Serializes the message to binary data (in protobuf wire format).
22825
+ * @return {!Uint8Array}
22826
+ */
22827
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.serializeBinary = function() {
22828
+ var writer = new jspb.BinaryWriter();
22829
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.serializeBinaryToWriter(this, writer);
22830
+ return writer.getResultBuffer();
22831
+ };
22832
+
22833
+
22834
+ /**
22835
+ * Serializes the given message to binary data (in protobuf wire
22836
+ * format), writing to the given BinaryWriter.
22837
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ScanCredential} message
22838
+ * @param {!jspb.BinaryWriter} writer
22839
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22840
+ */
22841
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.serializeBinaryToWriter = function(message, writer) {
22842
+ var f = undefined;
22843
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
22844
+ if (f != null) {
22845
+ writer.writeString(
22846
+ 1,
22847
+ f
22848
+ );
22849
+ }
22850
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
22851
+ if (f != null) {
22852
+ writer.writeString(
22853
+ 2,
22854
+ f
22855
+ );
22856
+ }
22857
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
22858
+ if (f != null) {
22859
+ writer.writeString(
22860
+ 3,
22861
+ f
22862
+ );
22863
+ }
22864
+ f = message.getIsSuccess();
22865
+ if (f) {
22866
+ writer.writeBool(
22867
+ 4,
22868
+ f
22869
+ );
22870
+ }
22871
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
22872
+ if (f != null) {
22873
+ writer.writeString(
22874
+ 5,
22875
+ f
22876
+ );
22877
+ }
22878
+ };
22879
+
22880
+
22881
+ /**
22882
+ * optional string vault_type = 1;
22883
+ * @return {string}
22884
+ */
22885
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.getVaultType = function() {
22886
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
22887
+ };
22888
+
22889
+
22890
+ /**
22891
+ * @param {string} value
22892
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ScanCredential} returns this
22893
+ */
22894
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.setVaultType = function(value) {
22895
+ return jspb.Message.setField(this, 1, value);
22896
+ };
22897
+
22898
+
22899
+ /**
22900
+ * Clears the field making it undefined.
22901
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ScanCredential} returns this
22902
+ */
22903
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.clearVaultType = function() {
22904
+ return jspb.Message.setField(this, 1, undefined);
22905
+ };
22906
+
22907
+
22908
+ /**
22909
+ * Returns whether this field is set.
22910
+ * @return {boolean}
22911
+ */
22912
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.hasVaultType = function() {
22913
+ return jspb.Message.getField(this, 1) != null;
22914
+ };
22915
+
22916
+
22917
+ /**
22918
+ * optional string vault_name = 2;
22919
+ * @return {string}
22920
+ */
22921
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.getVaultName = function() {
22922
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
22923
+ };
22924
+
22925
+
22926
+ /**
22927
+ * @param {string} value
22928
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ScanCredential} returns this
22929
+ */
22930
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.setVaultName = function(value) {
22931
+ return jspb.Message.setField(this, 2, value);
22932
+ };
22933
+
22934
+
22935
+ /**
22936
+ * Clears the field making it undefined.
22937
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ScanCredential} returns this
22938
+ */
22939
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.clearVaultName = function() {
22940
+ return jspb.Message.setField(this, 2, undefined);
22941
+ };
22942
+
22943
+
22944
+ /**
22945
+ * Returns whether this field is set.
22946
+ * @return {boolean}
22947
+ */
22948
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.hasVaultName = function() {
22949
+ return jspb.Message.getField(this, 2) != null;
22950
+ };
22951
+
22952
+
22953
+ /**
22954
+ * optional string name = 3;
22955
+ * @return {string}
22956
+ */
22957
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.getName = function() {
22958
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
22959
+ };
22960
+
22961
+
22962
+ /**
22963
+ * @param {string} value
22964
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ScanCredential} returns this
22965
+ */
22966
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.setName = function(value) {
22967
+ return jspb.Message.setField(this, 3, value);
22968
+ };
22969
+
22970
+
22971
+ /**
22972
+ * Clears the field making it undefined.
22973
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ScanCredential} returns this
22974
+ */
22975
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.clearName = function() {
22976
+ return jspb.Message.setField(this, 3, undefined);
22977
+ };
22978
+
22979
+
22980
+ /**
22981
+ * Returns whether this field is set.
22982
+ * @return {boolean}
22983
+ */
22984
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.hasName = function() {
22985
+ return jspb.Message.getField(this, 3) != null;
22986
+ };
22987
+
22988
+
22989
+ /**
22990
+ * optional bool is_success = 4;
22991
+ * @return {boolean}
22992
+ */
22993
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.getIsSuccess = function() {
22994
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
22995
+ };
22996
+
22997
+
22998
+ /**
22999
+ * @param {boolean} value
23000
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ScanCredential} returns this
23001
+ */
23002
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.setIsSuccess = function(value) {
23003
+ return jspb.Message.setProto3BooleanField(this, 4, value);
23004
+ };
23005
+
23006
+
23007
+ /**
23008
+ * optional string cloud_id = 5;
23009
+ * @return {string}
23010
+ */
23011
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.getCloudId = function() {
23012
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
23013
+ };
23014
+
23015
+
23016
+ /**
23017
+ * @param {string} value
23018
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ScanCredential} returns this
23019
+ */
23020
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.setCloudId = function(value) {
23021
+ return jspb.Message.setField(this, 5, value);
23022
+ };
23023
+
23024
+
23025
+ /**
23026
+ * Clears the field making it undefined.
23027
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ScanCredential} returns this
23028
+ */
23029
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.clearCloudId = function() {
23030
+ return jspb.Message.setField(this, 5, undefined);
23031
+ };
23032
+
23033
+
23034
+ /**
23035
+ * Returns whether this field is set.
23036
+ * @return {boolean}
23037
+ */
23038
+ proto.com.lansweeper.dp.outbound.v1.ScanCredential.prototype.hasCloudId = function() {
23039
+ return jspb.Message.getField(this, 5) != null;
23040
+ };
23041
+
23042
+
23043
+
23044
+
23045
+
22187
23046
  if (jspb.Message.GENERATE_TO_OBJECT) {
22188
23047
  /**
22189
23048
  * Creates an object representation of this proto.