@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
@@ -32,6 +32,18 @@ private static final long serialVersionUID = 0L;
32
32
  return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Site_descriptor;
33
33
  }
34
34
 
35
+ @SuppressWarnings({"rawtypes"})
36
+ @java.lang.Override
37
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
38
+ int number) {
39
+ switch (number) {
40
+ case 14:
41
+ return internalGetUnlinkedInstallations();
42
+ default:
43
+ throw new RuntimeException(
44
+ "Invalid map field number: " + number);
45
+ }
46
+ }
35
47
  @java.lang.Override
36
48
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
37
49
  internalGetFieldAccessorTable() {
@@ -267,6 +279,191 @@ private static final long serialVersionUID = 0L;
267
279
  return reconciliationRefreshFrequency_;
268
280
  }
269
281
 
282
+ public static final int USER_SIZE_FIELD_NUMBER = 10;
283
+ private int userSize_ = 0;
284
+ /**
285
+ * <code>optional int32 user_size = 10;</code>
286
+ * @return Whether the userSize field is set.
287
+ */
288
+ @java.lang.Override
289
+ public boolean hasUserSize() {
290
+ return ((bitField0_ & 0x00000100) != 0);
291
+ }
292
+ /**
293
+ * <code>optional int32 user_size = 10;</code>
294
+ * @return The userSize.
295
+ */
296
+ @java.lang.Override
297
+ public int getUserSize() {
298
+ return userSize_;
299
+ }
300
+
301
+ public static final int GROUP_SIZE_FIELD_NUMBER = 11;
302
+ private int groupSize_ = 0;
303
+ /**
304
+ * <code>optional int32 group_size = 11;</code>
305
+ * @return Whether the groupSize field is set.
306
+ */
307
+ @java.lang.Override
308
+ public boolean hasGroupSize() {
309
+ return ((bitField0_ & 0x00000200) != 0);
310
+ }
311
+ /**
312
+ * <code>optional int32 group_size = 11;</code>
313
+ * @return The groupSize.
314
+ */
315
+ @java.lang.Override
316
+ public int getGroupSize() {
317
+ return groupSize_;
318
+ }
319
+
320
+ public static final int DELETION_REQUEST_FIELD_NUMBER = 12;
321
+ private com.google.protobuf.Timestamp deletionRequest_;
322
+ /**
323
+ * <code>optional .google.protobuf.Timestamp deletion_request = 12;</code>
324
+ * @return Whether the deletionRequest field is set.
325
+ */
326
+ @java.lang.Override
327
+ public boolean hasDeletionRequest() {
328
+ return ((bitField0_ & 0x00000400) != 0);
329
+ }
330
+ /**
331
+ * <code>optional .google.protobuf.Timestamp deletion_request = 12;</code>
332
+ * @return The deletionRequest.
333
+ */
334
+ @java.lang.Override
335
+ public com.google.protobuf.Timestamp getDeletionRequest() {
336
+ return deletionRequest_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deletionRequest_;
337
+ }
338
+ /**
339
+ * <code>optional .google.protobuf.Timestamp deletion_request = 12;</code>
340
+ */
341
+ @java.lang.Override
342
+ public com.google.protobuf.TimestampOrBuilder getDeletionRequestOrBuilder() {
343
+ return deletionRequest_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deletionRequest_;
344
+ }
345
+
346
+ public static final int DELETION_TIME_FIELD_NUMBER = 13;
347
+ private com.google.protobuf.Timestamp deletionTime_;
348
+ /**
349
+ * <code>optional .google.protobuf.Timestamp deletion_time = 13;</code>
350
+ * @return Whether the deletionTime field is set.
351
+ */
352
+ @java.lang.Override
353
+ public boolean hasDeletionTime() {
354
+ return ((bitField0_ & 0x00000800) != 0);
355
+ }
356
+ /**
357
+ * <code>optional .google.protobuf.Timestamp deletion_time = 13;</code>
358
+ * @return The deletionTime.
359
+ */
360
+ @java.lang.Override
361
+ public com.google.protobuf.Timestamp getDeletionTime() {
362
+ return deletionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deletionTime_;
363
+ }
364
+ /**
365
+ * <code>optional .google.protobuf.Timestamp deletion_time = 13;</code>
366
+ */
367
+ @java.lang.Override
368
+ public com.google.protobuf.TimestampOrBuilder getDeletionTimeOrBuilder() {
369
+ return deletionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deletionTime_;
370
+ }
371
+
372
+ public static final int UNLINKED_INSTALLATIONS_FIELD_NUMBER = 14;
373
+ private static final class UnlinkedInstallationsDefaultEntryHolder {
374
+ static final com.google.protobuf.MapEntry<
375
+ java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata> defaultEntry =
376
+ com.google.protobuf.MapEntry
377
+ .<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata>newDefaultInstance(
378
+ com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Site_UnlinkedInstallationsEntry_descriptor,
379
+ com.google.protobuf.WireFormat.FieldType.STRING,
380
+ "",
381
+ com.google.protobuf.WireFormat.FieldType.MESSAGE,
382
+ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.getDefaultInstance());
383
+ }
384
+ @SuppressWarnings("serial")
385
+ private com.google.protobuf.MapField<
386
+ java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata> unlinkedInstallations_;
387
+ private com.google.protobuf.MapField<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata>
388
+ internalGetUnlinkedInstallations() {
389
+ if (unlinkedInstallations_ == null) {
390
+ return com.google.protobuf.MapField.emptyMapField(
391
+ UnlinkedInstallationsDefaultEntryHolder.defaultEntry);
392
+ }
393
+ return unlinkedInstallations_;
394
+ }
395
+ public int getUnlinkedInstallationsCount() {
396
+ return internalGetUnlinkedInstallations().getMap().size();
397
+ }
398
+ /**
399
+ * <pre>
400
+ * Unlinked installations, where the key is the installation id and the value is the metadata
401
+ * </pre>
402
+ *
403
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata&gt; unlinked_installations = 14;</code>
404
+ */
405
+ @java.lang.Override
406
+ public boolean containsUnlinkedInstallations(
407
+ java.lang.String key) {
408
+ if (key == null) { throw new NullPointerException("map key"); }
409
+ return internalGetUnlinkedInstallations().getMap().containsKey(key);
410
+ }
411
+ /**
412
+ * Use {@link #getUnlinkedInstallationsMap()} instead.
413
+ */
414
+ @java.lang.Override
415
+ @java.lang.Deprecated
416
+ public java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata> getUnlinkedInstallations() {
417
+ return getUnlinkedInstallationsMap();
418
+ }
419
+ /**
420
+ * <pre>
421
+ * Unlinked installations, where the key is the installation id and the value is the metadata
422
+ * </pre>
423
+ *
424
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata&gt; unlinked_installations = 14;</code>
425
+ */
426
+ @java.lang.Override
427
+ public java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata> getUnlinkedInstallationsMap() {
428
+ return internalGetUnlinkedInstallations().getMap();
429
+ }
430
+ /**
431
+ * <pre>
432
+ * Unlinked installations, where the key is the installation id and the value is the metadata
433
+ * </pre>
434
+ *
435
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata&gt; unlinked_installations = 14;</code>
436
+ */
437
+ @java.lang.Override
438
+ public /* nullable */
439
+ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata getUnlinkedInstallationsOrDefault(
440
+ java.lang.String key,
441
+ /* nullable */
442
+ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata defaultValue) {
443
+ if (key == null) { throw new NullPointerException("map key"); }
444
+ java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata> map =
445
+ internalGetUnlinkedInstallations().getMap();
446
+ return map.containsKey(key) ? map.get(key) : defaultValue;
447
+ }
448
+ /**
449
+ * <pre>
450
+ * Unlinked installations, where the key is the installation id and the value is the metadata
451
+ * </pre>
452
+ *
453
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata&gt; unlinked_installations = 14;</code>
454
+ */
455
+ @java.lang.Override
456
+ public com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata getUnlinkedInstallationsOrThrow(
457
+ java.lang.String key) {
458
+ if (key == null) { throw new NullPointerException("map key"); }
459
+ java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata> map =
460
+ internalGetUnlinkedInstallations().getMap();
461
+ if (!map.containsKey(key)) {
462
+ throw new java.lang.IllegalArgumentException();
463
+ }
464
+ return map.get(key);
465
+ }
466
+
270
467
  private byte memoizedIsInitialized = -1;
271
468
  @java.lang.Override
272
469
  public final boolean isInitialized() {
@@ -308,6 +505,24 @@ private static final long serialVersionUID = 0L;
308
505
  if (((bitField0_ & 0x00000080) != 0)) {
309
506
  output.writeInt64(9, reconciliationRefreshFrequency_);
310
507
  }
508
+ if (((bitField0_ & 0x00000100) != 0)) {
509
+ output.writeInt32(10, userSize_);
510
+ }
511
+ if (((bitField0_ & 0x00000200) != 0)) {
512
+ output.writeInt32(11, groupSize_);
513
+ }
514
+ if (((bitField0_ & 0x00000400) != 0)) {
515
+ output.writeMessage(12, getDeletionRequest());
516
+ }
517
+ if (((bitField0_ & 0x00000800) != 0)) {
518
+ output.writeMessage(13, getDeletionTime());
519
+ }
520
+ com.google.protobuf.GeneratedMessageV3
521
+ .serializeStringMapTo(
522
+ output,
523
+ internalGetUnlinkedInstallations(),
524
+ UnlinkedInstallationsDefaultEntryHolder.defaultEntry,
525
+ 14);
311
526
  getUnknownFields().writeTo(output);
312
527
  }
313
528
 
@@ -353,6 +568,32 @@ private static final long serialVersionUID = 0L;
353
568
  size += com.google.protobuf.CodedOutputStream
354
569
  .computeInt64Size(9, reconciliationRefreshFrequency_);
355
570
  }
571
+ if (((bitField0_ & 0x00000100) != 0)) {
572
+ size += com.google.protobuf.CodedOutputStream
573
+ .computeInt32Size(10, userSize_);
574
+ }
575
+ if (((bitField0_ & 0x00000200) != 0)) {
576
+ size += com.google.protobuf.CodedOutputStream
577
+ .computeInt32Size(11, groupSize_);
578
+ }
579
+ if (((bitField0_ & 0x00000400) != 0)) {
580
+ size += com.google.protobuf.CodedOutputStream
581
+ .computeMessageSize(12, getDeletionRequest());
582
+ }
583
+ if (((bitField0_ & 0x00000800) != 0)) {
584
+ size += com.google.protobuf.CodedOutputStream
585
+ .computeMessageSize(13, getDeletionTime());
586
+ }
587
+ for (java.util.Map.Entry<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata> entry
588
+ : internalGetUnlinkedInstallations().getMap().entrySet()) {
589
+ com.google.protobuf.MapEntry<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata>
590
+ unlinkedInstallations__ = UnlinkedInstallationsDefaultEntryHolder.defaultEntry.newBuilderForType()
591
+ .setKey(entry.getKey())
592
+ .setValue(entry.getValue())
593
+ .build();
594
+ size += com.google.protobuf.CodedOutputStream
595
+ .computeMessageSize(14, unlinkedInstallations__);
596
+ }
356
597
  size += getUnknownFields().getSerializedSize();
357
598
  memoizedSize = size;
358
599
  return size;
@@ -411,6 +652,28 @@ private static final long serialVersionUID = 0L;
411
652
  if (getReconciliationRefreshFrequency()
412
653
  != other.getReconciliationRefreshFrequency()) return false;
413
654
  }
655
+ if (hasUserSize() != other.hasUserSize()) return false;
656
+ if (hasUserSize()) {
657
+ if (getUserSize()
658
+ != other.getUserSize()) return false;
659
+ }
660
+ if (hasGroupSize() != other.hasGroupSize()) return false;
661
+ if (hasGroupSize()) {
662
+ if (getGroupSize()
663
+ != other.getGroupSize()) return false;
664
+ }
665
+ if (hasDeletionRequest() != other.hasDeletionRequest()) return false;
666
+ if (hasDeletionRequest()) {
667
+ if (!getDeletionRequest()
668
+ .equals(other.getDeletionRequest())) return false;
669
+ }
670
+ if (hasDeletionTime() != other.hasDeletionTime()) return false;
671
+ if (hasDeletionTime()) {
672
+ if (!getDeletionTime()
673
+ .equals(other.getDeletionTime())) return false;
674
+ }
675
+ if (!internalGetUnlinkedInstallations().equals(
676
+ other.internalGetUnlinkedInstallations())) return false;
414
677
  if (!getUnknownFields().equals(other.getUnknownFields())) return false;
415
678
  return true;
416
679
  }
@@ -462,6 +725,26 @@ private static final long serialVersionUID = 0L;
462
725
  hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
463
726
  getReconciliationRefreshFrequency());
464
727
  }
728
+ if (hasUserSize()) {
729
+ hash = (37 * hash) + USER_SIZE_FIELD_NUMBER;
730
+ hash = (53 * hash) + getUserSize();
731
+ }
732
+ if (hasGroupSize()) {
733
+ hash = (37 * hash) + GROUP_SIZE_FIELD_NUMBER;
734
+ hash = (53 * hash) + getGroupSize();
735
+ }
736
+ if (hasDeletionRequest()) {
737
+ hash = (37 * hash) + DELETION_REQUEST_FIELD_NUMBER;
738
+ hash = (53 * hash) + getDeletionRequest().hashCode();
739
+ }
740
+ if (hasDeletionTime()) {
741
+ hash = (37 * hash) + DELETION_TIME_FIELD_NUMBER;
742
+ hash = (53 * hash) + getDeletionTime().hashCode();
743
+ }
744
+ if (!internalGetUnlinkedInstallations().getMap().isEmpty()) {
745
+ hash = (37 * hash) + UNLINKED_INSTALLATIONS_FIELD_NUMBER;
746
+ hash = (53 * hash) + internalGetUnlinkedInstallations().hashCode();
747
+ }
465
748
  hash = (29 * hash) + getUnknownFields().hashCode();
466
749
  memoizedHashCode = hash;
467
750
  return hash;
@@ -571,6 +854,28 @@ private static final long serialVersionUID = 0L;
571
854
  return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Site_descriptor;
572
855
  }
573
856
 
857
+ @SuppressWarnings({"rawtypes"})
858
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
859
+ int number) {
860
+ switch (number) {
861
+ case 14:
862
+ return internalGetUnlinkedInstallations();
863
+ default:
864
+ throw new RuntimeException(
865
+ "Invalid map field number: " + number);
866
+ }
867
+ }
868
+ @SuppressWarnings({"rawtypes"})
869
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
870
+ int number) {
871
+ switch (number) {
872
+ case 14:
873
+ return internalGetMutableUnlinkedInstallations();
874
+ default:
875
+ throw new RuntimeException(
876
+ "Invalid map field number: " + number);
877
+ }
878
+ }
574
879
  @java.lang.Override
575
880
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
576
881
  internalGetFieldAccessorTable() {
@@ -596,6 +901,8 @@ private static final long serialVersionUID = 0L;
596
901
  getLastUpdateFieldBuilder();
597
902
  getReconRuleSetFieldBuilder();
598
903
  getIpLocationConfigsFieldBuilder();
904
+ getDeletionRequestFieldBuilder();
905
+ getDeletionTimeFieldBuilder();
599
906
  }
600
907
  }
601
908
  @java.lang.Override
@@ -629,6 +936,19 @@ private static final long serialVersionUID = 0L;
629
936
  needsReconcile_ = false;
630
937
  rawCheckpointEnabled_ = false;
631
938
  reconciliationRefreshFrequency_ = 0L;
939
+ userSize_ = 0;
940
+ groupSize_ = 0;
941
+ deletionRequest_ = null;
942
+ if (deletionRequestBuilder_ != null) {
943
+ deletionRequestBuilder_.dispose();
944
+ deletionRequestBuilder_ = null;
945
+ }
946
+ deletionTime_ = null;
947
+ if (deletionTimeBuilder_ != null) {
948
+ deletionTimeBuilder_.dispose();
949
+ deletionTimeBuilder_ = null;
950
+ }
951
+ internalGetMutableUnlinkedInstallations().clear();
632
952
  return this;
633
953
  }
634
954
 
@@ -714,6 +1034,29 @@ private static final long serialVersionUID = 0L;
714
1034
  result.reconciliationRefreshFrequency_ = reconciliationRefreshFrequency_;
715
1035
  to_bitField0_ |= 0x00000080;
716
1036
  }
1037
+ if (((from_bitField0_ & 0x00000200) != 0)) {
1038
+ result.userSize_ = userSize_;
1039
+ to_bitField0_ |= 0x00000100;
1040
+ }
1041
+ if (((from_bitField0_ & 0x00000400) != 0)) {
1042
+ result.groupSize_ = groupSize_;
1043
+ to_bitField0_ |= 0x00000200;
1044
+ }
1045
+ if (((from_bitField0_ & 0x00000800) != 0)) {
1046
+ result.deletionRequest_ = deletionRequestBuilder_ == null
1047
+ ? deletionRequest_
1048
+ : deletionRequestBuilder_.build();
1049
+ to_bitField0_ |= 0x00000400;
1050
+ }
1051
+ if (((from_bitField0_ & 0x00001000) != 0)) {
1052
+ result.deletionTime_ = deletionTimeBuilder_ == null
1053
+ ? deletionTime_
1054
+ : deletionTimeBuilder_.build();
1055
+ to_bitField0_ |= 0x00000800;
1056
+ }
1057
+ if (((from_bitField0_ & 0x00002000) != 0)) {
1058
+ result.unlinkedInstallations_ = internalGetUnlinkedInstallations().build(UnlinkedInstallationsDefaultEntryHolder.defaultEntry);
1059
+ }
717
1060
  result.bitField0_ |= to_bitField0_;
718
1061
  }
719
1062
 
@@ -811,6 +1154,21 @@ private static final long serialVersionUID = 0L;
811
1154
  if (other.hasReconciliationRefreshFrequency()) {
812
1155
  setReconciliationRefreshFrequency(other.getReconciliationRefreshFrequency());
813
1156
  }
1157
+ if (other.hasUserSize()) {
1158
+ setUserSize(other.getUserSize());
1159
+ }
1160
+ if (other.hasGroupSize()) {
1161
+ setGroupSize(other.getGroupSize());
1162
+ }
1163
+ if (other.hasDeletionRequest()) {
1164
+ mergeDeletionRequest(other.getDeletionRequest());
1165
+ }
1166
+ if (other.hasDeletionTime()) {
1167
+ mergeDeletionTime(other.getDeletionTime());
1168
+ }
1169
+ internalGetMutableUnlinkedInstallations().mergeFrom(
1170
+ other.internalGetUnlinkedInstallations());
1171
+ bitField0_ |= 0x00002000;
814
1172
  this.mergeUnknownFields(other.getUnknownFields());
815
1173
  onChanged();
816
1174
  return this;
@@ -896,6 +1254,39 @@ private static final long serialVersionUID = 0L;
896
1254
  bitField0_ |= 0x00000100;
897
1255
  break;
898
1256
  } // case 72
1257
+ case 80: {
1258
+ userSize_ = input.readInt32();
1259
+ bitField0_ |= 0x00000200;
1260
+ break;
1261
+ } // case 80
1262
+ case 88: {
1263
+ groupSize_ = input.readInt32();
1264
+ bitField0_ |= 0x00000400;
1265
+ break;
1266
+ } // case 88
1267
+ case 98: {
1268
+ input.readMessage(
1269
+ getDeletionRequestFieldBuilder().getBuilder(),
1270
+ extensionRegistry);
1271
+ bitField0_ |= 0x00000800;
1272
+ break;
1273
+ } // case 98
1274
+ case 106: {
1275
+ input.readMessage(
1276
+ getDeletionTimeFieldBuilder().getBuilder(),
1277
+ extensionRegistry);
1278
+ bitField0_ |= 0x00001000;
1279
+ break;
1280
+ } // case 106
1281
+ case 114: {
1282
+ com.google.protobuf.MapEntry<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata>
1283
+ unlinkedInstallations__ = input.readMessage(
1284
+ UnlinkedInstallationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
1285
+ internalGetMutableUnlinkedInstallations().ensureBuilderMap().put(
1286
+ unlinkedInstallations__.getKey(), unlinkedInstallations__.getValue());
1287
+ bitField0_ |= 0x00002000;
1288
+ break;
1289
+ } // case 114
899
1290
  default: {
900
1291
  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
901
1292
  done = true; // was an endgroup tag
@@ -1751,6 +2142,515 @@ private static final long serialVersionUID = 0L;
1751
2142
  onChanged();
1752
2143
  return this;
1753
2144
  }
2145
+
2146
+ private int userSize_ ;
2147
+ /**
2148
+ * <code>optional int32 user_size = 10;</code>
2149
+ * @return Whether the userSize field is set.
2150
+ */
2151
+ @java.lang.Override
2152
+ public boolean hasUserSize() {
2153
+ return ((bitField0_ & 0x00000200) != 0);
2154
+ }
2155
+ /**
2156
+ * <code>optional int32 user_size = 10;</code>
2157
+ * @return The userSize.
2158
+ */
2159
+ @java.lang.Override
2160
+ public int getUserSize() {
2161
+ return userSize_;
2162
+ }
2163
+ /**
2164
+ * <code>optional int32 user_size = 10;</code>
2165
+ * @param value The userSize to set.
2166
+ * @return This builder for chaining.
2167
+ */
2168
+ public Builder setUserSize(int value) {
2169
+
2170
+ userSize_ = value;
2171
+ bitField0_ |= 0x00000200;
2172
+ onChanged();
2173
+ return this;
2174
+ }
2175
+ /**
2176
+ * <code>optional int32 user_size = 10;</code>
2177
+ * @return This builder for chaining.
2178
+ */
2179
+ public Builder clearUserSize() {
2180
+ bitField0_ = (bitField0_ & ~0x00000200);
2181
+ userSize_ = 0;
2182
+ onChanged();
2183
+ return this;
2184
+ }
2185
+
2186
+ private int groupSize_ ;
2187
+ /**
2188
+ * <code>optional int32 group_size = 11;</code>
2189
+ * @return Whether the groupSize field is set.
2190
+ */
2191
+ @java.lang.Override
2192
+ public boolean hasGroupSize() {
2193
+ return ((bitField0_ & 0x00000400) != 0);
2194
+ }
2195
+ /**
2196
+ * <code>optional int32 group_size = 11;</code>
2197
+ * @return The groupSize.
2198
+ */
2199
+ @java.lang.Override
2200
+ public int getGroupSize() {
2201
+ return groupSize_;
2202
+ }
2203
+ /**
2204
+ * <code>optional int32 group_size = 11;</code>
2205
+ * @param value The groupSize to set.
2206
+ * @return This builder for chaining.
2207
+ */
2208
+ public Builder setGroupSize(int value) {
2209
+
2210
+ groupSize_ = value;
2211
+ bitField0_ |= 0x00000400;
2212
+ onChanged();
2213
+ return this;
2214
+ }
2215
+ /**
2216
+ * <code>optional int32 group_size = 11;</code>
2217
+ * @return This builder for chaining.
2218
+ */
2219
+ public Builder clearGroupSize() {
2220
+ bitField0_ = (bitField0_ & ~0x00000400);
2221
+ groupSize_ = 0;
2222
+ onChanged();
2223
+ return this;
2224
+ }
2225
+
2226
+ private com.google.protobuf.Timestamp deletionRequest_;
2227
+ private com.google.protobuf.SingleFieldBuilderV3<
2228
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deletionRequestBuilder_;
2229
+ /**
2230
+ * <code>optional .google.protobuf.Timestamp deletion_request = 12;</code>
2231
+ * @return Whether the deletionRequest field is set.
2232
+ */
2233
+ public boolean hasDeletionRequest() {
2234
+ return ((bitField0_ & 0x00000800) != 0);
2235
+ }
2236
+ /**
2237
+ * <code>optional .google.protobuf.Timestamp deletion_request = 12;</code>
2238
+ * @return The deletionRequest.
2239
+ */
2240
+ public com.google.protobuf.Timestamp getDeletionRequest() {
2241
+ if (deletionRequestBuilder_ == null) {
2242
+ return deletionRequest_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deletionRequest_;
2243
+ } else {
2244
+ return deletionRequestBuilder_.getMessage();
2245
+ }
2246
+ }
2247
+ /**
2248
+ * <code>optional .google.protobuf.Timestamp deletion_request = 12;</code>
2249
+ */
2250
+ public Builder setDeletionRequest(com.google.protobuf.Timestamp value) {
2251
+ if (deletionRequestBuilder_ == null) {
2252
+ if (value == null) {
2253
+ throw new NullPointerException();
2254
+ }
2255
+ deletionRequest_ = value;
2256
+ } else {
2257
+ deletionRequestBuilder_.setMessage(value);
2258
+ }
2259
+ bitField0_ |= 0x00000800;
2260
+ onChanged();
2261
+ return this;
2262
+ }
2263
+ /**
2264
+ * <code>optional .google.protobuf.Timestamp deletion_request = 12;</code>
2265
+ */
2266
+ public Builder setDeletionRequest(
2267
+ com.google.protobuf.Timestamp.Builder builderForValue) {
2268
+ if (deletionRequestBuilder_ == null) {
2269
+ deletionRequest_ = builderForValue.build();
2270
+ } else {
2271
+ deletionRequestBuilder_.setMessage(builderForValue.build());
2272
+ }
2273
+ bitField0_ |= 0x00000800;
2274
+ onChanged();
2275
+ return this;
2276
+ }
2277
+ /**
2278
+ * <code>optional .google.protobuf.Timestamp deletion_request = 12;</code>
2279
+ */
2280
+ public Builder mergeDeletionRequest(com.google.protobuf.Timestamp value) {
2281
+ if (deletionRequestBuilder_ == null) {
2282
+ if (((bitField0_ & 0x00000800) != 0) &&
2283
+ deletionRequest_ != null &&
2284
+ deletionRequest_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
2285
+ getDeletionRequestBuilder().mergeFrom(value);
2286
+ } else {
2287
+ deletionRequest_ = value;
2288
+ }
2289
+ } else {
2290
+ deletionRequestBuilder_.mergeFrom(value);
2291
+ }
2292
+ if (deletionRequest_ != null) {
2293
+ bitField0_ |= 0x00000800;
2294
+ onChanged();
2295
+ }
2296
+ return this;
2297
+ }
2298
+ /**
2299
+ * <code>optional .google.protobuf.Timestamp deletion_request = 12;</code>
2300
+ */
2301
+ public Builder clearDeletionRequest() {
2302
+ bitField0_ = (bitField0_ & ~0x00000800);
2303
+ deletionRequest_ = null;
2304
+ if (deletionRequestBuilder_ != null) {
2305
+ deletionRequestBuilder_.dispose();
2306
+ deletionRequestBuilder_ = null;
2307
+ }
2308
+ onChanged();
2309
+ return this;
2310
+ }
2311
+ /**
2312
+ * <code>optional .google.protobuf.Timestamp deletion_request = 12;</code>
2313
+ */
2314
+ public com.google.protobuf.Timestamp.Builder getDeletionRequestBuilder() {
2315
+ bitField0_ |= 0x00000800;
2316
+ onChanged();
2317
+ return getDeletionRequestFieldBuilder().getBuilder();
2318
+ }
2319
+ /**
2320
+ * <code>optional .google.protobuf.Timestamp deletion_request = 12;</code>
2321
+ */
2322
+ public com.google.protobuf.TimestampOrBuilder getDeletionRequestOrBuilder() {
2323
+ if (deletionRequestBuilder_ != null) {
2324
+ return deletionRequestBuilder_.getMessageOrBuilder();
2325
+ } else {
2326
+ return deletionRequest_ == null ?
2327
+ com.google.protobuf.Timestamp.getDefaultInstance() : deletionRequest_;
2328
+ }
2329
+ }
2330
+ /**
2331
+ * <code>optional .google.protobuf.Timestamp deletion_request = 12;</code>
2332
+ */
2333
+ private com.google.protobuf.SingleFieldBuilderV3<
2334
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
2335
+ getDeletionRequestFieldBuilder() {
2336
+ if (deletionRequestBuilder_ == null) {
2337
+ deletionRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
2338
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
2339
+ getDeletionRequest(),
2340
+ getParentForChildren(),
2341
+ isClean());
2342
+ deletionRequest_ = null;
2343
+ }
2344
+ return deletionRequestBuilder_;
2345
+ }
2346
+
2347
+ private com.google.protobuf.Timestamp deletionTime_;
2348
+ private com.google.protobuf.SingleFieldBuilderV3<
2349
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deletionTimeBuilder_;
2350
+ /**
2351
+ * <code>optional .google.protobuf.Timestamp deletion_time = 13;</code>
2352
+ * @return Whether the deletionTime field is set.
2353
+ */
2354
+ public boolean hasDeletionTime() {
2355
+ return ((bitField0_ & 0x00001000) != 0);
2356
+ }
2357
+ /**
2358
+ * <code>optional .google.protobuf.Timestamp deletion_time = 13;</code>
2359
+ * @return The deletionTime.
2360
+ */
2361
+ public com.google.protobuf.Timestamp getDeletionTime() {
2362
+ if (deletionTimeBuilder_ == null) {
2363
+ return deletionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deletionTime_;
2364
+ } else {
2365
+ return deletionTimeBuilder_.getMessage();
2366
+ }
2367
+ }
2368
+ /**
2369
+ * <code>optional .google.protobuf.Timestamp deletion_time = 13;</code>
2370
+ */
2371
+ public Builder setDeletionTime(com.google.protobuf.Timestamp value) {
2372
+ if (deletionTimeBuilder_ == null) {
2373
+ if (value == null) {
2374
+ throw new NullPointerException();
2375
+ }
2376
+ deletionTime_ = value;
2377
+ } else {
2378
+ deletionTimeBuilder_.setMessage(value);
2379
+ }
2380
+ bitField0_ |= 0x00001000;
2381
+ onChanged();
2382
+ return this;
2383
+ }
2384
+ /**
2385
+ * <code>optional .google.protobuf.Timestamp deletion_time = 13;</code>
2386
+ */
2387
+ public Builder setDeletionTime(
2388
+ com.google.protobuf.Timestamp.Builder builderForValue) {
2389
+ if (deletionTimeBuilder_ == null) {
2390
+ deletionTime_ = builderForValue.build();
2391
+ } else {
2392
+ deletionTimeBuilder_.setMessage(builderForValue.build());
2393
+ }
2394
+ bitField0_ |= 0x00001000;
2395
+ onChanged();
2396
+ return this;
2397
+ }
2398
+ /**
2399
+ * <code>optional .google.protobuf.Timestamp deletion_time = 13;</code>
2400
+ */
2401
+ public Builder mergeDeletionTime(com.google.protobuf.Timestamp value) {
2402
+ if (deletionTimeBuilder_ == null) {
2403
+ if (((bitField0_ & 0x00001000) != 0) &&
2404
+ deletionTime_ != null &&
2405
+ deletionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
2406
+ getDeletionTimeBuilder().mergeFrom(value);
2407
+ } else {
2408
+ deletionTime_ = value;
2409
+ }
2410
+ } else {
2411
+ deletionTimeBuilder_.mergeFrom(value);
2412
+ }
2413
+ if (deletionTime_ != null) {
2414
+ bitField0_ |= 0x00001000;
2415
+ onChanged();
2416
+ }
2417
+ return this;
2418
+ }
2419
+ /**
2420
+ * <code>optional .google.protobuf.Timestamp deletion_time = 13;</code>
2421
+ */
2422
+ public Builder clearDeletionTime() {
2423
+ bitField0_ = (bitField0_ & ~0x00001000);
2424
+ deletionTime_ = null;
2425
+ if (deletionTimeBuilder_ != null) {
2426
+ deletionTimeBuilder_.dispose();
2427
+ deletionTimeBuilder_ = null;
2428
+ }
2429
+ onChanged();
2430
+ return this;
2431
+ }
2432
+ /**
2433
+ * <code>optional .google.protobuf.Timestamp deletion_time = 13;</code>
2434
+ */
2435
+ public com.google.protobuf.Timestamp.Builder getDeletionTimeBuilder() {
2436
+ bitField0_ |= 0x00001000;
2437
+ onChanged();
2438
+ return getDeletionTimeFieldBuilder().getBuilder();
2439
+ }
2440
+ /**
2441
+ * <code>optional .google.protobuf.Timestamp deletion_time = 13;</code>
2442
+ */
2443
+ public com.google.protobuf.TimestampOrBuilder getDeletionTimeOrBuilder() {
2444
+ if (deletionTimeBuilder_ != null) {
2445
+ return deletionTimeBuilder_.getMessageOrBuilder();
2446
+ } else {
2447
+ return deletionTime_ == null ?
2448
+ com.google.protobuf.Timestamp.getDefaultInstance() : deletionTime_;
2449
+ }
2450
+ }
2451
+ /**
2452
+ * <code>optional .google.protobuf.Timestamp deletion_time = 13;</code>
2453
+ */
2454
+ private com.google.protobuf.SingleFieldBuilderV3<
2455
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
2456
+ getDeletionTimeFieldBuilder() {
2457
+ if (deletionTimeBuilder_ == null) {
2458
+ deletionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
2459
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
2460
+ getDeletionTime(),
2461
+ getParentForChildren(),
2462
+ isClean());
2463
+ deletionTime_ = null;
2464
+ }
2465
+ return deletionTimeBuilder_;
2466
+ }
2467
+
2468
+ private static final class UnlinkedInstallationsConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadataOrBuilder, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata> {
2469
+ @java.lang.Override
2470
+ public com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata build(com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadataOrBuilder val) {
2471
+ if (val instanceof com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata) { return (com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata) val; }
2472
+ return ((com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.Builder) val).build();
2473
+ }
2474
+
2475
+ @java.lang.Override
2476
+ public com.google.protobuf.MapEntry<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata> defaultEntry() {
2477
+ return UnlinkedInstallationsDefaultEntryHolder.defaultEntry;
2478
+ }
2479
+ };
2480
+ private static final UnlinkedInstallationsConverter unlinkedInstallationsConverter = new UnlinkedInstallationsConverter();
2481
+
2482
+ private com.google.protobuf.MapFieldBuilder<
2483
+ java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadataOrBuilder, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.Builder> unlinkedInstallations_;
2484
+ private com.google.protobuf.MapFieldBuilder<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadataOrBuilder, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.Builder>
2485
+ internalGetUnlinkedInstallations() {
2486
+ if (unlinkedInstallations_ == null) {
2487
+ return new com.google.protobuf.MapFieldBuilder<>(unlinkedInstallationsConverter);
2488
+ }
2489
+ return unlinkedInstallations_;
2490
+ }
2491
+ private com.google.protobuf.MapFieldBuilder<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadataOrBuilder, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.Builder>
2492
+ internalGetMutableUnlinkedInstallations() {
2493
+ if (unlinkedInstallations_ == null) {
2494
+ unlinkedInstallations_ = new com.google.protobuf.MapFieldBuilder<>(unlinkedInstallationsConverter);
2495
+ }
2496
+ bitField0_ |= 0x00002000;
2497
+ onChanged();
2498
+ return unlinkedInstallations_;
2499
+ }
2500
+ public int getUnlinkedInstallationsCount() {
2501
+ return internalGetUnlinkedInstallations().ensureBuilderMap().size();
2502
+ }
2503
+ /**
2504
+ * <pre>
2505
+ * Unlinked installations, where the key is the installation id and the value is the metadata
2506
+ * </pre>
2507
+ *
2508
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata&gt; unlinked_installations = 14;</code>
2509
+ */
2510
+ @java.lang.Override
2511
+ public boolean containsUnlinkedInstallations(
2512
+ java.lang.String key) {
2513
+ if (key == null) { throw new NullPointerException("map key"); }
2514
+ return internalGetUnlinkedInstallations().ensureBuilderMap().containsKey(key);
2515
+ }
2516
+ /**
2517
+ * Use {@link #getUnlinkedInstallationsMap()} instead.
2518
+ */
2519
+ @java.lang.Override
2520
+ @java.lang.Deprecated
2521
+ public java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata> getUnlinkedInstallations() {
2522
+ return getUnlinkedInstallationsMap();
2523
+ }
2524
+ /**
2525
+ * <pre>
2526
+ * Unlinked installations, where the key is the installation id and the value is the metadata
2527
+ * </pre>
2528
+ *
2529
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata&gt; unlinked_installations = 14;</code>
2530
+ */
2531
+ @java.lang.Override
2532
+ public java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata> getUnlinkedInstallationsMap() {
2533
+ return internalGetUnlinkedInstallations().getImmutableMap();
2534
+ }
2535
+ /**
2536
+ * <pre>
2537
+ * Unlinked installations, where the key is the installation id and the value is the metadata
2538
+ * </pre>
2539
+ *
2540
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata&gt; unlinked_installations = 14;</code>
2541
+ */
2542
+ @java.lang.Override
2543
+ public /* nullable */
2544
+ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata getUnlinkedInstallationsOrDefault(
2545
+ java.lang.String key,
2546
+ /* nullable */
2547
+ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata defaultValue) {
2548
+ if (key == null) { throw new NullPointerException("map key"); }
2549
+ java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadataOrBuilder> map = internalGetMutableUnlinkedInstallations().ensureBuilderMap();
2550
+ return map.containsKey(key) ? unlinkedInstallationsConverter.build(map.get(key)) : defaultValue;
2551
+ }
2552
+ /**
2553
+ * <pre>
2554
+ * Unlinked installations, where the key is the installation id and the value is the metadata
2555
+ * </pre>
2556
+ *
2557
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata&gt; unlinked_installations = 14;</code>
2558
+ */
2559
+ @java.lang.Override
2560
+ public com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata getUnlinkedInstallationsOrThrow(
2561
+ java.lang.String key) {
2562
+ if (key == null) { throw new NullPointerException("map key"); }
2563
+ java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadataOrBuilder> map = internalGetMutableUnlinkedInstallations().ensureBuilderMap();
2564
+ if (!map.containsKey(key)) {
2565
+ throw new java.lang.IllegalArgumentException();
2566
+ }
2567
+ return unlinkedInstallationsConverter.build(map.get(key));
2568
+ }
2569
+ public Builder clearUnlinkedInstallations() {
2570
+ bitField0_ = (bitField0_ & ~0x00002000);
2571
+ internalGetMutableUnlinkedInstallations().clear();
2572
+ return this;
2573
+ }
2574
+ /**
2575
+ * <pre>
2576
+ * Unlinked installations, where the key is the installation id and the value is the metadata
2577
+ * </pre>
2578
+ *
2579
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata&gt; unlinked_installations = 14;</code>
2580
+ */
2581
+ public Builder removeUnlinkedInstallations(
2582
+ java.lang.String key) {
2583
+ if (key == null) { throw new NullPointerException("map key"); }
2584
+ internalGetMutableUnlinkedInstallations().ensureBuilderMap()
2585
+ .remove(key);
2586
+ return this;
2587
+ }
2588
+ /**
2589
+ * Use alternate mutation accessors instead.
2590
+ */
2591
+ @java.lang.Deprecated
2592
+ public java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata>
2593
+ getMutableUnlinkedInstallations() {
2594
+ bitField0_ |= 0x00002000;
2595
+ return internalGetMutableUnlinkedInstallations().ensureMessageMap();
2596
+ }
2597
+ /**
2598
+ * <pre>
2599
+ * Unlinked installations, where the key is the installation id and the value is the metadata
2600
+ * </pre>
2601
+ *
2602
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata&gt; unlinked_installations = 14;</code>
2603
+ */
2604
+ public Builder putUnlinkedInstallations(
2605
+ java.lang.String key,
2606
+ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata value) {
2607
+ if (key == null) { throw new NullPointerException("map key"); }
2608
+ if (value == null) { throw new NullPointerException("map value"); }
2609
+ internalGetMutableUnlinkedInstallations().ensureBuilderMap()
2610
+ .put(key, value);
2611
+ bitField0_ |= 0x00002000;
2612
+ return this;
2613
+ }
2614
+ /**
2615
+ * <pre>
2616
+ * Unlinked installations, where the key is the installation id and the value is the metadata
2617
+ * </pre>
2618
+ *
2619
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata&gt; unlinked_installations = 14;</code>
2620
+ */
2621
+ public Builder putAllUnlinkedInstallations(
2622
+ java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata> values) {
2623
+ for (java.util.Map.Entry<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata> e : values.entrySet()) {
2624
+ if (e.getKey() == null || e.getValue() == null) {
2625
+ throw new NullPointerException();
2626
+ }
2627
+ }
2628
+ internalGetMutableUnlinkedInstallations().ensureBuilderMap()
2629
+ .putAll(values);
2630
+ bitField0_ |= 0x00002000;
2631
+ return this;
2632
+ }
2633
+ /**
2634
+ * <pre>
2635
+ * Unlinked installations, where the key is the installation id and the value is the metadata
2636
+ * </pre>
2637
+ *
2638
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata&gt; unlinked_installations = 14;</code>
2639
+ */
2640
+ public com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.Builder putUnlinkedInstallationsBuilderIfAbsent(
2641
+ java.lang.String key) {
2642
+ java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadataOrBuilder> builderMap = internalGetMutableUnlinkedInstallations().ensureBuilderMap();
2643
+ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadataOrBuilder entry = builderMap.get(key);
2644
+ if (entry == null) {
2645
+ entry = com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.newBuilder();
2646
+ builderMap.put(key, entry);
2647
+ }
2648
+ if (entry instanceof com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata) {
2649
+ entry = ((com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata) entry).toBuilder();
2650
+ builderMap.put(key, entry);
2651
+ }
2652
+ return (com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata.Builder) entry;
2653
+ }
1754
2654
  @java.lang.Override
1755
2655
  public final Builder setUnknownFields(
1756
2656
  final com.google.protobuf.UnknownFieldSet unknownFields) {