@lansweeper/data-platform-outbound-grpc 0.3.5 → 0.3.7

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 (43) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +63 -5
  4. package/gen-proto/outbound_pb.js +480 -22
  5. package/generated-go/outbound.pb.go +10115 -9946
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +15 -1
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryGroup$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryGroup$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryGroup.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryGroupOrBuilder.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.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/UnlinkedInstallationMetadata$1.class +0 -0
  21. package/model/target/classes/com/lansweeper/dp/outbound/v1/UnlinkedInstallationMetadata$Builder.class +0 -0
  22. package/model/target/classes/com/lansweeper/dp/outbound/v1/UnlinkedInstallationMetadata.class +0 -0
  23. package/model/target/classes/com/lansweeper/dp/outbound/v1/UnlinkedInstallationMetadataOrBuilder.class +0 -0
  24. package/model/target/classes/outbound.proto +15 -1
  25. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryGroup.java +149 -52
  26. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryGroupOrBuilder.java +10 -6
  27. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +2948 -2909
  28. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Site.java +900 -0
  29. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SiteOrBuilder.java +106 -0
  30. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/UnlinkedInstallationMetadata.java +794 -0
  31. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/UnlinkedInstallationMetadataOrBuilder.java +40 -0
  32. package/model/target/maven-archiver/pom.properties +2 -2
  33. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +6 -0
  34. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +2 -0
  35. package/model/target/{outbound-model-0.3.4-sources.jar → outbound-model-0.3.6-sources.jar} +0 -0
  36. package/model/target/{outbound-model-0.3.4.jar → outbound-model-0.3.6.jar} +0 -0
  37. package/package.json +2 -2
  38. package/pom.xml +1 -1
  39. package/proto/outbound.proto +15 -1
  40. package/service/pom.xml +1 -1
  41. package/service/target/maven-archiver/pom.properties +2 -2
  42. package/service/target/{outbound-service-0.3.4-sources.jar → outbound-service-0.3.6-sources.jar} +0 -0
  43. package/service/target/{outbound-service-0.3.4.jar → outbound-service-0.3.6.jar} +0 -0
@@ -54,6 +54,29 @@ export class Site extends jspb.Message {
54
54
  getReconciliationRefreshFrequency(): number | undefined;
55
55
  setReconciliationRefreshFrequency(value: number): Site;
56
56
 
57
+ hasUserSize(): boolean;
58
+ clearUserSize(): void;
59
+ getUserSize(): number | undefined;
60
+ setUserSize(value: number): Site;
61
+
62
+ hasGroupSize(): boolean;
63
+ clearGroupSize(): void;
64
+ getGroupSize(): number | undefined;
65
+ setGroupSize(value: number): Site;
66
+
67
+ hasDeletionRequest(): boolean;
68
+ clearDeletionRequest(): void;
69
+ getDeletionRequest(): google_protobuf_timestamp_pb.Timestamp | undefined;
70
+ setDeletionRequest(value?: google_protobuf_timestamp_pb.Timestamp): Site;
71
+
72
+ hasDeletionTime(): boolean;
73
+ clearDeletionTime(): void;
74
+ getDeletionTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
75
+ setDeletionTime(value?: google_protobuf_timestamp_pb.Timestamp): Site;
76
+
77
+ getUnlinkedInstallationsMap(): jspb.Map<string, UnlinkedInstallationMetadata>;
78
+ clearUnlinkedInstallationsMap(): void;
79
+
57
80
  serializeBinary(): Uint8Array;
58
81
  toObject(includeInstance?: boolean): Site.AsObject;
59
82
  static toObject(includeInstance: boolean, msg: Site): Site.AsObject;
@@ -75,6 +98,41 @@ export namespace Site {
75
98
  needsReconcile?: boolean,
76
99
  rawCheckpointEnabled?: boolean,
77
100
  reconciliationRefreshFrequency?: number,
101
+ userSize?: number,
102
+ groupSize?: number,
103
+ deletionRequest?: google_protobuf_timestamp_pb.Timestamp.AsObject,
104
+ deletionTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
105
+
106
+ unlinkedInstallationsMap: Array<[string, UnlinkedInstallationMetadata.AsObject]>,
107
+ }
108
+ }
109
+
110
+ export class UnlinkedInstallationMetadata extends jspb.Message {
111
+
112
+ hasDeletionRequest(): boolean;
113
+ clearDeletionRequest(): void;
114
+ getDeletionRequest(): google_protobuf_timestamp_pb.Timestamp | undefined;
115
+ setDeletionRequest(value?: google_protobuf_timestamp_pb.Timestamp): UnlinkedInstallationMetadata;
116
+
117
+ hasDeletionTime(): boolean;
118
+ clearDeletionTime(): void;
119
+ getDeletionTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
120
+ setDeletionTime(value?: google_protobuf_timestamp_pb.Timestamp): UnlinkedInstallationMetadata;
121
+
122
+ serializeBinary(): Uint8Array;
123
+ toObject(includeInstance?: boolean): UnlinkedInstallationMetadata.AsObject;
124
+ static toObject(includeInstance: boolean, msg: UnlinkedInstallationMetadata): UnlinkedInstallationMetadata.AsObject;
125
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
126
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
127
+ static serializeBinaryToWriter(message: UnlinkedInstallationMetadata, writer: jspb.BinaryWriter): void;
128
+ static deserializeBinary(bytes: Uint8Array): UnlinkedInstallationMetadata;
129
+ static deserializeBinaryFromReader(message: UnlinkedInstallationMetadata, reader: jspb.BinaryReader): UnlinkedInstallationMetadata;
130
+ }
131
+
132
+ export namespace UnlinkedInstallationMetadata {
133
+ export type AsObject = {
134
+ deletionRequest?: google_protobuf_timestamp_pb.Timestamp.AsObject,
135
+ deletionTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
78
136
  }
79
137
  }
80
138
 
@@ -15339,10 +15397,10 @@ export class ActiveDirectoryGroup extends jspb.Message {
15339
15397
  getComment(): string | undefined;
15340
15398
  setComment(value: string): ActiveDirectoryGroup;
15341
15399
 
15342
- hasGroupType(): boolean;
15343
- clearGroupType(): void;
15344
- getGroupType(): number | undefined;
15345
- setGroupType(value: number): ActiveDirectoryGroup;
15400
+ hasType(): boolean;
15401
+ clearType(): void;
15402
+ getType(): MappedValue | undefined;
15403
+ setType(value?: MappedValue): ActiveDirectoryGroup;
15346
15404
 
15347
15405
  hasEmail(): boolean;
15348
15406
  clearEmail(): void;
@@ -15381,7 +15439,7 @@ export namespace ActiveDirectoryGroup {
15381
15439
  ou?: string,
15382
15440
  description?: string,
15383
15441
  comment?: string,
15384
- groupType?: number,
15442
+ type?: MappedValue.AsObject,
15385
15443
  email?: string,
15386
15444
  managedByUserOid?: string,
15387
15445
  managedByGroupOid?: string,
@@ -231,6 +231,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SqlServerService.ServiceS
231
231
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Tag', null, global);
232
232
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ThunderboltPort', null, global);
233
233
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.TrustedPlatformModule', null, global);
234
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata', null, global);
234
235
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Ups', null, global);
235
236
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.User', null, global);
236
237
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.UserAccount', null, global);
@@ -283,6 +284,27 @@ if (goog.DEBUG && !COMPILED) {
283
284
  */
284
285
  proto.com.lansweeper.dp.outbound.v1.Site.displayName = 'proto.com.lansweeper.dp.outbound.v1.Site';
285
286
  }
287
+ /**
288
+ * Generated by JsPbCodeGenerator.
289
+ * @param {Array=} opt_data Optional initial data array, typically from a
290
+ * server response, or constructed directly in Javascript. The array is used
291
+ * in place and becomes part of the constructed object. It is not cloned.
292
+ * If no data is provided, the constructed object will be empty, but still
293
+ * valid.
294
+ * @extends {jspb.Message}
295
+ * @constructor
296
+ */
297
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata = function(opt_data) {
298
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
299
+ };
300
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata, jspb.Message);
301
+ if (goog.DEBUG && !COMPILED) {
302
+ /**
303
+ * @public
304
+ * @override
305
+ */
306
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.displayName = 'proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata';
307
+ }
286
308
  /**
287
309
  * Generated by JsPbCodeGenerator.
288
310
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4783,7 +4805,12 @@ proto.com.lansweeper.dp.outbound.v1.Site.toObject = function(includeInstance, ms
4783
4805
  customTraceProbability: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
4784
4806
  needsReconcile: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
4785
4807
  rawCheckpointEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
4786
- reconciliationRefreshFrequency: jspb.Message.getFieldWithDefault(msg, 9, 0)
4808
+ reconciliationRefreshFrequency: jspb.Message.getFieldWithDefault(msg, 9, 0),
4809
+ userSize: jspb.Message.getFieldWithDefault(msg, 10, 0),
4810
+ groupSize: jspb.Message.getFieldWithDefault(msg, 11, 0),
4811
+ deletionRequest: (f = msg.getDeletionRequest()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
4812
+ deletionTime: (f = msg.getDeletionTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
4813
+ unlinkedInstallationsMap: (f = msg.getUnlinkedInstallationsMap()) ? f.toObject(includeInstance, proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.toObject) : []
4787
4814
  };
4788
4815
 
4789
4816
  if (includeInstance) {
@@ -4860,6 +4887,30 @@ proto.com.lansweeper.dp.outbound.v1.Site.deserializeBinaryFromReader = function(
4860
4887
  var value = /** @type {number} */ (reader.readInt64());
4861
4888
  msg.setReconciliationRefreshFrequency(value);
4862
4889
  break;
4890
+ case 10:
4891
+ var value = /** @type {number} */ (reader.readInt32());
4892
+ msg.setUserSize(value);
4893
+ break;
4894
+ case 11:
4895
+ var value = /** @type {number} */ (reader.readInt32());
4896
+ msg.setGroupSize(value);
4897
+ break;
4898
+ case 12:
4899
+ var value = new google_protobuf_timestamp_pb.Timestamp;
4900
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
4901
+ msg.setDeletionRequest(value);
4902
+ break;
4903
+ case 13:
4904
+ var value = new google_protobuf_timestamp_pb.Timestamp;
4905
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
4906
+ msg.setDeletionTime(value);
4907
+ break;
4908
+ case 14:
4909
+ var value = msg.getUnlinkedInstallationsMap();
4910
+ reader.readMessage(value, function(message, reader) {
4911
+ 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());
4912
+ });
4913
+ break;
4863
4914
  default:
4864
4915
  reader.skipField();
4865
4916
  break;
@@ -4956,6 +5007,40 @@ proto.com.lansweeper.dp.outbound.v1.Site.serializeBinaryToWriter = function(mess
4956
5007
  f
4957
5008
  );
4958
5009
  }
5010
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
5011
+ if (f != null) {
5012
+ writer.writeInt32(
5013
+ 10,
5014
+ f
5015
+ );
5016
+ }
5017
+ f = /** @type {number} */ (jspb.Message.getField(message, 11));
5018
+ if (f != null) {
5019
+ writer.writeInt32(
5020
+ 11,
5021
+ f
5022
+ );
5023
+ }
5024
+ f = message.getDeletionRequest();
5025
+ if (f != null) {
5026
+ writer.writeMessage(
5027
+ 12,
5028
+ f,
5029
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
5030
+ );
5031
+ }
5032
+ f = message.getDeletionTime();
5033
+ if (f != null) {
5034
+ writer.writeMessage(
5035
+ 13,
5036
+ f,
5037
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
5038
+ );
5039
+ }
5040
+ f = message.getUnlinkedInstallationsMap(true);
5041
+ if (f && f.getLength() > 0) {
5042
+ f.serializeBinary(14, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.serializeBinaryToWriter);
5043
+ }
4959
5044
  };
4960
5045
 
4961
5046
 
@@ -5288,6 +5373,376 @@ proto.com.lansweeper.dp.outbound.v1.Site.prototype.hasReconciliationRefreshFrequ
5288
5373
  };
5289
5374
 
5290
5375
 
5376
+ /**
5377
+ * optional int32 user_size = 10;
5378
+ * @return {number}
5379
+ */
5380
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.getUserSize = function() {
5381
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
5382
+ };
5383
+
5384
+
5385
+ /**
5386
+ * @param {number} value
5387
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Site} returns this
5388
+ */
5389
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.setUserSize = function(value) {
5390
+ return jspb.Message.setField(this, 10, value);
5391
+ };
5392
+
5393
+
5394
+ /**
5395
+ * Clears the field making it undefined.
5396
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Site} returns this
5397
+ */
5398
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.clearUserSize = function() {
5399
+ return jspb.Message.setField(this, 10, undefined);
5400
+ };
5401
+
5402
+
5403
+ /**
5404
+ * Returns whether this field is set.
5405
+ * @return {boolean}
5406
+ */
5407
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.hasUserSize = function() {
5408
+ return jspb.Message.getField(this, 10) != null;
5409
+ };
5410
+
5411
+
5412
+ /**
5413
+ * optional int32 group_size = 11;
5414
+ * @return {number}
5415
+ */
5416
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.getGroupSize = function() {
5417
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
5418
+ };
5419
+
5420
+
5421
+ /**
5422
+ * @param {number} value
5423
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Site} returns this
5424
+ */
5425
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.setGroupSize = function(value) {
5426
+ return jspb.Message.setField(this, 11, value);
5427
+ };
5428
+
5429
+
5430
+ /**
5431
+ * Clears the field making it undefined.
5432
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Site} returns this
5433
+ */
5434
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.clearGroupSize = function() {
5435
+ return jspb.Message.setField(this, 11, undefined);
5436
+ };
5437
+
5438
+
5439
+ /**
5440
+ * Returns whether this field is set.
5441
+ * @return {boolean}
5442
+ */
5443
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.hasGroupSize = function() {
5444
+ return jspb.Message.getField(this, 11) != null;
5445
+ };
5446
+
5447
+
5448
+ /**
5449
+ * optional google.protobuf.Timestamp deletion_request = 12;
5450
+ * @return {?proto.google.protobuf.Timestamp}
5451
+ */
5452
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.getDeletionRequest = function() {
5453
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
5454
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 12));
5455
+ };
5456
+
5457
+
5458
+ /**
5459
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
5460
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Site} returns this
5461
+ */
5462
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.setDeletionRequest = function(value) {
5463
+ return jspb.Message.setWrapperField(this, 12, value);
5464
+ };
5465
+
5466
+
5467
+ /**
5468
+ * Clears the message field making it undefined.
5469
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Site} returns this
5470
+ */
5471
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.clearDeletionRequest = function() {
5472
+ return this.setDeletionRequest(undefined);
5473
+ };
5474
+
5475
+
5476
+ /**
5477
+ * Returns whether this field is set.
5478
+ * @return {boolean}
5479
+ */
5480
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.hasDeletionRequest = function() {
5481
+ return jspb.Message.getField(this, 12) != null;
5482
+ };
5483
+
5484
+
5485
+ /**
5486
+ * optional google.protobuf.Timestamp deletion_time = 13;
5487
+ * @return {?proto.google.protobuf.Timestamp}
5488
+ */
5489
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.getDeletionTime = function() {
5490
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
5491
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 13));
5492
+ };
5493
+
5494
+
5495
+ /**
5496
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
5497
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Site} returns this
5498
+ */
5499
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.setDeletionTime = function(value) {
5500
+ return jspb.Message.setWrapperField(this, 13, value);
5501
+ };
5502
+
5503
+
5504
+ /**
5505
+ * Clears the message field making it undefined.
5506
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Site} returns this
5507
+ */
5508
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.clearDeletionTime = function() {
5509
+ return this.setDeletionTime(undefined);
5510
+ };
5511
+
5512
+
5513
+ /**
5514
+ * Returns whether this field is set.
5515
+ * @return {boolean}
5516
+ */
5517
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.hasDeletionTime = function() {
5518
+ return jspb.Message.getField(this, 13) != null;
5519
+ };
5520
+
5521
+
5522
+ /**
5523
+ * map<string, UnlinkedInstallationMetadata> unlinked_installations = 14;
5524
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
5525
+ * empty, instead returning `undefined`
5526
+ * @return {!jspb.Map<string,!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata>}
5527
+ */
5528
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.getUnlinkedInstallationsMap = function(opt_noLazyCreate) {
5529
+ return /** @type {!jspb.Map<string,!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata>} */ (
5530
+ jspb.Message.getMapField(this, 14, opt_noLazyCreate,
5531
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata));
5532
+ };
5533
+
5534
+
5535
+ /**
5536
+ * Clears values from the map. The map will be non-null.
5537
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Site} returns this
5538
+ */
5539
+ proto.com.lansweeper.dp.outbound.v1.Site.prototype.clearUnlinkedInstallationsMap = function() {
5540
+ this.getUnlinkedInstallationsMap().clear();
5541
+ return this;};
5542
+
5543
+
5544
+
5545
+
5546
+
5547
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5548
+ /**
5549
+ * Creates an object representation of this proto.
5550
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5551
+ * Optional fields that are not set will be set to undefined.
5552
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5553
+ * For the list of reserved names please see:
5554
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5555
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5556
+ * JSPB instance for transitional soy proto support:
5557
+ * http://goto/soy-param-migration
5558
+ * @return {!Object}
5559
+ */
5560
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.toObject = function(opt_includeInstance) {
5561
+ return proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.toObject(opt_includeInstance, this);
5562
+ };
5563
+
5564
+
5565
+ /**
5566
+ * Static version of the {@see toObject} method.
5567
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5568
+ * the JSPB instance for transitional soy proto support:
5569
+ * http://goto/soy-param-migration
5570
+ * @param {!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata} msg The msg instance to transform.
5571
+ * @return {!Object}
5572
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5573
+ */
5574
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.toObject = function(includeInstance, msg) {
5575
+ var f, obj = {
5576
+ deletionRequest: (f = msg.getDeletionRequest()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
5577
+ deletionTime: (f = msg.getDeletionTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
5578
+ };
5579
+
5580
+ if (includeInstance) {
5581
+ obj.$jspbMessageInstance = msg;
5582
+ }
5583
+ return obj;
5584
+ };
5585
+ }
5586
+
5587
+
5588
+ /**
5589
+ * Deserializes binary data (in protobuf wire format).
5590
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5591
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata}
5592
+ */
5593
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.deserializeBinary = function(bytes) {
5594
+ var reader = new jspb.BinaryReader(bytes);
5595
+ var msg = new proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata;
5596
+ return proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.deserializeBinaryFromReader(msg, reader);
5597
+ };
5598
+
5599
+
5600
+ /**
5601
+ * Deserializes binary data (in protobuf wire format) from the
5602
+ * given reader into the given message object.
5603
+ * @param {!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata} msg The message object to deserialize into.
5604
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5605
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata}
5606
+ */
5607
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.deserializeBinaryFromReader = function(msg, reader) {
5608
+ while (reader.nextField()) {
5609
+ if (reader.isEndGroup()) {
5610
+ break;
5611
+ }
5612
+ var field = reader.getFieldNumber();
5613
+ switch (field) {
5614
+ case 12:
5615
+ var value = new google_protobuf_timestamp_pb.Timestamp;
5616
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
5617
+ msg.setDeletionRequest(value);
5618
+ break;
5619
+ case 13:
5620
+ var value = new google_protobuf_timestamp_pb.Timestamp;
5621
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
5622
+ msg.setDeletionTime(value);
5623
+ break;
5624
+ default:
5625
+ reader.skipField();
5626
+ break;
5627
+ }
5628
+ }
5629
+ return msg;
5630
+ };
5631
+
5632
+
5633
+ /**
5634
+ * Serializes the message to binary data (in protobuf wire format).
5635
+ * @return {!Uint8Array}
5636
+ */
5637
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.serializeBinary = function() {
5638
+ var writer = new jspb.BinaryWriter();
5639
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.serializeBinaryToWriter(this, writer);
5640
+ return writer.getResultBuffer();
5641
+ };
5642
+
5643
+
5644
+ /**
5645
+ * Serializes the given message to binary data (in protobuf wire
5646
+ * format), writing to the given BinaryWriter.
5647
+ * @param {!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata} message
5648
+ * @param {!jspb.BinaryWriter} writer
5649
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5650
+ */
5651
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.serializeBinaryToWriter = function(message, writer) {
5652
+ var f = undefined;
5653
+ f = message.getDeletionRequest();
5654
+ if (f != null) {
5655
+ writer.writeMessage(
5656
+ 12,
5657
+ f,
5658
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
5659
+ );
5660
+ }
5661
+ f = message.getDeletionTime();
5662
+ if (f != null) {
5663
+ writer.writeMessage(
5664
+ 13,
5665
+ f,
5666
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
5667
+ );
5668
+ }
5669
+ };
5670
+
5671
+
5672
+ /**
5673
+ * optional google.protobuf.Timestamp deletion_request = 12;
5674
+ * @return {?proto.google.protobuf.Timestamp}
5675
+ */
5676
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.getDeletionRequest = function() {
5677
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
5678
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 12));
5679
+ };
5680
+
5681
+
5682
+ /**
5683
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
5684
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata} returns this
5685
+ */
5686
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.setDeletionRequest = function(value) {
5687
+ return jspb.Message.setWrapperField(this, 12, value);
5688
+ };
5689
+
5690
+
5691
+ /**
5692
+ * Clears the message field making it undefined.
5693
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata} returns this
5694
+ */
5695
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.clearDeletionRequest = function() {
5696
+ return this.setDeletionRequest(undefined);
5697
+ };
5698
+
5699
+
5700
+ /**
5701
+ * Returns whether this field is set.
5702
+ * @return {boolean}
5703
+ */
5704
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.hasDeletionRequest = function() {
5705
+ return jspb.Message.getField(this, 12) != null;
5706
+ };
5707
+
5708
+
5709
+ /**
5710
+ * optional google.protobuf.Timestamp deletion_time = 13;
5711
+ * @return {?proto.google.protobuf.Timestamp}
5712
+ */
5713
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.getDeletionTime = function() {
5714
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
5715
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 13));
5716
+ };
5717
+
5718
+
5719
+ /**
5720
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
5721
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata} returns this
5722
+ */
5723
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.setDeletionTime = function(value) {
5724
+ return jspb.Message.setWrapperField(this, 13, value);
5725
+ };
5726
+
5727
+
5728
+ /**
5729
+ * Clears the message field making it undefined.
5730
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata} returns this
5731
+ */
5732
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.clearDeletionTime = function() {
5733
+ return this.setDeletionTime(undefined);
5734
+ };
5735
+
5736
+
5737
+ /**
5738
+ * Returns whether this field is set.
5739
+ * @return {boolean}
5740
+ */
5741
+ proto.com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.prototype.hasDeletionTime = function() {
5742
+ return jspb.Message.getField(this, 13) != null;
5743
+ };
5744
+
5745
+
5291
5746
 
5292
5747
 
5293
5748
 
@@ -122679,7 +123134,7 @@ proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryGroup.toObject = function(inc
122679
123134
  ou: jspb.Message.getFieldWithDefault(msg, 4, ""),
122680
123135
  description: jspb.Message.getFieldWithDefault(msg, 5, ""),
122681
123136
  comment: jspb.Message.getFieldWithDefault(msg, 6, ""),
122682
- groupType: jspb.Message.getFieldWithDefault(msg, 7, 0),
123137
+ type: (f = msg.getType()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
122683
123138
  email: jspb.Message.getFieldWithDefault(msg, 8, ""),
122684
123139
  managedByUserOid: jspb.Message.getFieldWithDefault(msg, 9, ""),
122685
123140
  managedByGroupOid: jspb.Message.getFieldWithDefault(msg, 10, ""),
@@ -122745,9 +123200,10 @@ proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryGroup.deserializeBinaryFromRe
122745
123200
  var value = /** @type {string} */ (reader.readString());
122746
123201
  msg.setComment(value);
122747
123202
  break;
122748
- case 7:
122749
- var value = /** @type {number} */ (reader.readInt32());
122750
- msg.setGroupType(value);
123203
+ case 12:
123204
+ var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
123205
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
123206
+ msg.setType(value);
122751
123207
  break;
122752
123208
  case 8:
122753
123209
  var value = /** @type {string} */ (reader.readString());
@@ -122837,11 +123293,12 @@ proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryGroup.serializeBinaryToWriter
122837
123293
  f
122838
123294
  );
122839
123295
  }
122840
- f = /** @type {number} */ (jspb.Message.getField(message, 7));
123296
+ f = message.getType();
122841
123297
  if (f != null) {
122842
- writer.writeInt32(
122843
- 7,
122844
- f
123298
+ writer.writeMessage(
123299
+ 12,
123300
+ f,
123301
+ proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
122845
123302
  );
122846
123303
  }
122847
123304
  f = /** @type {string} */ (jspb.Message.getField(message, 8));
@@ -123093,29 +123550,30 @@ proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryGroup.prototype.hasComment =
123093
123550
 
123094
123551
 
123095
123552
  /**
123096
- * optional int32 group_type = 7;
123097
- * @return {number}
123553
+ * optional MappedValue type = 12;
123554
+ * @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
123098
123555
  */
123099
- proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryGroup.prototype.getGroupType = function() {
123100
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
123556
+ proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryGroup.prototype.getType = function() {
123557
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
123558
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 12));
123101
123559
  };
123102
123560
 
123103
123561
 
123104
123562
  /**
123105
- * @param {number} value
123563
+ * @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
123106
123564
  * @return {!proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryGroup} returns this
123107
- */
123108
- proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryGroup.prototype.setGroupType = function(value) {
123109
- return jspb.Message.setField(this, 7, value);
123565
+ */
123566
+ proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryGroup.prototype.setType = function(value) {
123567
+ return jspb.Message.setWrapperField(this, 12, value);
123110
123568
  };
123111
123569
 
123112
123570
 
123113
123571
  /**
123114
- * Clears the field making it undefined.
123572
+ * Clears the message field making it undefined.
123115
123573
  * @return {!proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryGroup} returns this
123116
123574
  */
123117
- proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryGroup.prototype.clearGroupType = function() {
123118
- return jspb.Message.setField(this, 7, undefined);
123575
+ proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryGroup.prototype.clearType = function() {
123576
+ return this.setType(undefined);
123119
123577
  };
123120
123578
 
123121
123579
 
@@ -123123,8 +123581,8 @@ proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryGroup.prototype.clearGroupTyp
123123
123581
  * Returns whether this field is set.
123124
123582
  * @return {boolean}
123125
123583
  */
123126
- proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryGroup.prototype.hasGroupType = function() {
123127
- return jspb.Message.getField(this, 7) != null;
123584
+ proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryGroup.prototype.hasType = function() {
123585
+ return jspb.Message.getField(this, 12) != null;
123128
123586
  };
123129
123587
 
123130
123588