@lansweeper/data-platform-outbound-grpc 0.12.0 → 0.13.0

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 (29) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +6 -0
  4. package/gen-proto/outbound_pb.js +49 -1
  5. package/generated-go/outbound.pb.go +11645 -11634
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +1 -0
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/LegacyFields$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/LegacyFields$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/LegacyFields.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/LegacyFieldsOrBuilder.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  14. package/model/target/classes/outbound.proto +1 -0
  15. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputer.java +9 -9
  16. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputerOrBuilder.java +3 -3
  17. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/LegacyFields.java +193 -0
  18. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/LegacyFieldsOrBuilder.java +29 -0
  19. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +3798 -3797
  20. package/model/target/maven-archiver/pom.properties +2 -2
  21. package/model/target/{outbound-model-0.11.0-sources.jar → outbound-model-0.12.0-sources.jar} +0 -0
  22. package/model/target/{outbound-model-0.11.0.jar → outbound-model-0.12.0.jar} +0 -0
  23. package/package.json +2 -2
  24. package/pom.xml +1 -1
  25. package/proto/outbound.proto +1 -0
  26. package/service/pom.xml +1 -1
  27. package/service/target/maven-archiver/pom.properties +2 -2
  28. package/service/target/{outbound-service-0.11.0-sources.jar → outbound-service-0.12.0-sources.jar} +0 -0
  29. package/service/target/{outbound-service-0.11.0.jar → outbound-service-0.12.0.jar} +0 -0
package/java.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.11.0",
2
+ "version": "0.12.0",
3
3
  "package": "com.lansweeper.dp.outbound.v1",
4
4
  "name": "outbound",
5
5
  "service": true
package/model/pom.xml CHANGED
@@ -6,7 +6,7 @@
6
6
  <parent>
7
7
  <groupId>com.lansweeper.dp.outbound.v1</groupId>
8
8
  <artifactId>parent</artifactId>
9
- <version>0.11.0</version>
9
+ <version>0.12.0</version>
10
10
  </parent>
11
11
 
12
12
  <artifactId>outbound-model</artifactId>
@@ -364,6 +364,7 @@ message LegacyFields {
364
364
  optional string ip_location_key = 17; // ip location config key. Reference the IP Location collection in mongoDB, and it's currently not store in vNEXT model.
365
365
  optional string ip_location_id = 18; // ip location config ID. Reference the IP Location id in the onprem, if existing.
366
366
  optional string asset_type_key = 20;
367
+ optional string as_server_key = 21; // Base64 encoded (scanServerName-AsServer-installKey) from onprem
367
368
  }
368
369
 
369
370
  message AssetCustom {
@@ -364,6 +364,7 @@ message LegacyFields {
364
364
  optional string ip_location_key = 17; // ip location config key. Reference the IP Location collection in mongoDB, and it's currently not store in vNEXT model.
365
365
  optional string ip_location_id = 18; // ip location config ID. Reference the IP Location id in the onprem, if existing.
366
366
  optional string asset_type_key = 20;
367
+ optional string as_server_key = 21; // Base64 encoded (scanServerName-AsServer-installKey) from onprem
367
368
  }
368
369
 
369
370
  message AssetCustom {
@@ -512,7 +512,7 @@ private static final long serialVersionUID = 0L;
512
512
  /**
513
513
  * <code>optional string bitlocker_recovery_info = 11 [deprecated = true];</code>
514
514
  * @deprecated com.lansweeper.dp.outbound.v1.ActiveDirectoryComputer.bitlocker_recovery_info is deprecated.
515
- * See outbound.proto;l=4133
515
+ * See outbound.proto;l=4134
516
516
  * @return Whether the bitlockerRecoveryInfo field is set.
517
517
  */
518
518
  @java.lang.Override
@@ -522,7 +522,7 @@ private static final long serialVersionUID = 0L;
522
522
  /**
523
523
  * <code>optional string bitlocker_recovery_info = 11 [deprecated = true];</code>
524
524
  * @deprecated com.lansweeper.dp.outbound.v1.ActiveDirectoryComputer.bitlocker_recovery_info is deprecated.
525
- * See outbound.proto;l=4133
525
+ * See outbound.proto;l=4134
526
526
  * @return The bitlockerRecoveryInfo.
527
527
  */
528
528
  @java.lang.Override
@@ -541,7 +541,7 @@ private static final long serialVersionUID = 0L;
541
541
  /**
542
542
  * <code>optional string bitlocker_recovery_info = 11 [deprecated = true];</code>
543
543
  * @deprecated com.lansweeper.dp.outbound.v1.ActiveDirectoryComputer.bitlocker_recovery_info is deprecated.
544
- * See outbound.proto;l=4133
544
+ * See outbound.proto;l=4134
545
545
  * @return The bytes for bitlockerRecoveryInfo.
546
546
  */
547
547
  @java.lang.Override
@@ -2613,7 +2613,7 @@ private static final long serialVersionUID = 0L;
2613
2613
  /**
2614
2614
  * <code>optional string bitlocker_recovery_info = 11 [deprecated = true];</code>
2615
2615
  * @deprecated com.lansweeper.dp.outbound.v1.ActiveDirectoryComputer.bitlocker_recovery_info is deprecated.
2616
- * See outbound.proto;l=4133
2616
+ * See outbound.proto;l=4134
2617
2617
  * @return Whether the bitlockerRecoveryInfo field is set.
2618
2618
  */
2619
2619
  @java.lang.Deprecated public boolean hasBitlockerRecoveryInfo() {
@@ -2622,7 +2622,7 @@ private static final long serialVersionUID = 0L;
2622
2622
  /**
2623
2623
  * <code>optional string bitlocker_recovery_info = 11 [deprecated = true];</code>
2624
2624
  * @deprecated com.lansweeper.dp.outbound.v1.ActiveDirectoryComputer.bitlocker_recovery_info is deprecated.
2625
- * See outbound.proto;l=4133
2625
+ * See outbound.proto;l=4134
2626
2626
  * @return The bitlockerRecoveryInfo.
2627
2627
  */
2628
2628
  @java.lang.Deprecated public java.lang.String getBitlockerRecoveryInfo() {
@@ -2640,7 +2640,7 @@ private static final long serialVersionUID = 0L;
2640
2640
  /**
2641
2641
  * <code>optional string bitlocker_recovery_info = 11 [deprecated = true];</code>
2642
2642
  * @deprecated com.lansweeper.dp.outbound.v1.ActiveDirectoryComputer.bitlocker_recovery_info is deprecated.
2643
- * See outbound.proto;l=4133
2643
+ * See outbound.proto;l=4134
2644
2644
  * @return The bytes for bitlockerRecoveryInfo.
2645
2645
  */
2646
2646
  @java.lang.Deprecated public com.google.protobuf.ByteString
@@ -2659,7 +2659,7 @@ private static final long serialVersionUID = 0L;
2659
2659
  /**
2660
2660
  * <code>optional string bitlocker_recovery_info = 11 [deprecated = true];</code>
2661
2661
  * @deprecated com.lansweeper.dp.outbound.v1.ActiveDirectoryComputer.bitlocker_recovery_info is deprecated.
2662
- * See outbound.proto;l=4133
2662
+ * See outbound.proto;l=4134
2663
2663
  * @param value The bitlockerRecoveryInfo to set.
2664
2664
  * @return This builder for chaining.
2665
2665
  */
@@ -2674,7 +2674,7 @@ private static final long serialVersionUID = 0L;
2674
2674
  /**
2675
2675
  * <code>optional string bitlocker_recovery_info = 11 [deprecated = true];</code>
2676
2676
  * @deprecated com.lansweeper.dp.outbound.v1.ActiveDirectoryComputer.bitlocker_recovery_info is deprecated.
2677
- * See outbound.proto;l=4133
2677
+ * See outbound.proto;l=4134
2678
2678
  * @return This builder for chaining.
2679
2679
  */
2680
2680
  @java.lang.Deprecated public Builder clearBitlockerRecoveryInfo() {
@@ -2686,7 +2686,7 @@ private static final long serialVersionUID = 0L;
2686
2686
  /**
2687
2687
  * <code>optional string bitlocker_recovery_info = 11 [deprecated = true];</code>
2688
2688
  * @deprecated com.lansweeper.dp.outbound.v1.ActiveDirectoryComputer.bitlocker_recovery_info is deprecated.
2689
- * See outbound.proto;l=4133
2689
+ * See outbound.proto;l=4134
2690
2690
  * @param value The bytes for bitlockerRecoveryInfo to set.
2691
2691
  * @return This builder for chaining.
2692
2692
  */
@@ -188,21 +188,21 @@ public interface ActiveDirectoryComputerOrBuilder extends
188
188
  /**
189
189
  * <code>optional string bitlocker_recovery_info = 11 [deprecated = true];</code>
190
190
  * @deprecated com.lansweeper.dp.outbound.v1.ActiveDirectoryComputer.bitlocker_recovery_info is deprecated.
191
- * See outbound.proto;l=4133
191
+ * See outbound.proto;l=4134
192
192
  * @return Whether the bitlockerRecoveryInfo field is set.
193
193
  */
194
194
  @java.lang.Deprecated boolean hasBitlockerRecoveryInfo();
195
195
  /**
196
196
  * <code>optional string bitlocker_recovery_info = 11 [deprecated = true];</code>
197
197
  * @deprecated com.lansweeper.dp.outbound.v1.ActiveDirectoryComputer.bitlocker_recovery_info is deprecated.
198
- * See outbound.proto;l=4133
198
+ * See outbound.proto;l=4134
199
199
  * @return The bitlockerRecoveryInfo.
200
200
  */
201
201
  @java.lang.Deprecated java.lang.String getBitlockerRecoveryInfo();
202
202
  /**
203
203
  * <code>optional string bitlocker_recovery_info = 11 [deprecated = true];</code>
204
204
  * @deprecated com.lansweeper.dp.outbound.v1.ActiveDirectoryComputer.bitlocker_recovery_info is deprecated.
205
- * See outbound.proto;l=4133
205
+ * See outbound.proto;l=4134
206
206
  * @return The bytes for bitlockerRecoveryInfo.
207
207
  */
208
208
  @java.lang.Deprecated com.google.protobuf.ByteString
@@ -28,6 +28,7 @@ private static final long serialVersionUID = 0L;
28
28
  ipLocationKey_ = "";
29
29
  ipLocationId_ = "";
30
30
  assetTypeKey_ = "";
31
+ asServerKey_ = "";
31
32
  }
32
33
 
33
34
  @java.lang.Override
@@ -738,6 +739,65 @@ private static final long serialVersionUID = 0L;
738
739
  }
739
740
  }
740
741
 
742
+ public static final int AS_SERVER_KEY_FIELD_NUMBER = 21;
743
+ @SuppressWarnings("serial")
744
+ private volatile java.lang.Object asServerKey_ = "";
745
+ /**
746
+ * <pre>
747
+ * Base64 encoded (scanServerName-AsServer-installKey) from onprem
748
+ * </pre>
749
+ *
750
+ * <code>optional string as_server_key = 21;</code>
751
+ * @return Whether the asServerKey field is set.
752
+ */
753
+ @java.lang.Override
754
+ public boolean hasAsServerKey() {
755
+ return ((bitField0_ & 0x00080000) != 0);
756
+ }
757
+ /**
758
+ * <pre>
759
+ * Base64 encoded (scanServerName-AsServer-installKey) from onprem
760
+ * </pre>
761
+ *
762
+ * <code>optional string as_server_key = 21;</code>
763
+ * @return The asServerKey.
764
+ */
765
+ @java.lang.Override
766
+ public java.lang.String getAsServerKey() {
767
+ java.lang.Object ref = asServerKey_;
768
+ if (ref instanceof java.lang.String) {
769
+ return (java.lang.String) ref;
770
+ } else {
771
+ com.google.protobuf.ByteString bs =
772
+ (com.google.protobuf.ByteString) ref;
773
+ java.lang.String s = bs.toStringUtf8();
774
+ asServerKey_ = s;
775
+ return s;
776
+ }
777
+ }
778
+ /**
779
+ * <pre>
780
+ * Base64 encoded (scanServerName-AsServer-installKey) from onprem
781
+ * </pre>
782
+ *
783
+ * <code>optional string as_server_key = 21;</code>
784
+ * @return The bytes for asServerKey.
785
+ */
786
+ @java.lang.Override
787
+ public com.google.protobuf.ByteString
788
+ getAsServerKeyBytes() {
789
+ java.lang.Object ref = asServerKey_;
790
+ if (ref instanceof java.lang.String) {
791
+ com.google.protobuf.ByteString b =
792
+ com.google.protobuf.ByteString.copyFromUtf8(
793
+ (java.lang.String) ref);
794
+ asServerKey_ = b;
795
+ return b;
796
+ } else {
797
+ return (com.google.protobuf.ByteString) ref;
798
+ }
799
+ }
800
+
741
801
  private byte memoizedIsInitialized = -1;
742
802
  @java.lang.Override
743
803
  public final boolean isInitialized() {
@@ -812,6 +872,9 @@ private static final long serialVersionUID = 0L;
812
872
  if (((bitField0_ & 0x00040000) != 0)) {
813
873
  com.google.protobuf.GeneratedMessageV3.writeString(output, 20, assetTypeKey_);
814
874
  }
875
+ if (((bitField0_ & 0x00080000) != 0)) {
876
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 21, asServerKey_);
877
+ }
815
878
  getUnknownFields().writeTo(output);
816
879
  }
817
880
 
@@ -897,6 +960,9 @@ private static final long serialVersionUID = 0L;
897
960
  if (((bitField0_ & 0x00040000) != 0)) {
898
961
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, assetTypeKey_);
899
962
  }
963
+ if (((bitField0_ & 0x00080000) != 0)) {
964
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, asServerKey_);
965
+ }
900
966
  size += getUnknownFields().getSerializedSize();
901
967
  memoizedSize = size;
902
968
  return size;
@@ -1009,6 +1075,11 @@ private static final long serialVersionUID = 0L;
1009
1075
  if (!getAssetTypeKey()
1010
1076
  .equals(other.getAssetTypeKey())) return false;
1011
1077
  }
1078
+ if (hasAsServerKey() != other.hasAsServerKey()) return false;
1079
+ if (hasAsServerKey()) {
1080
+ if (!getAsServerKey()
1081
+ .equals(other.getAsServerKey())) return false;
1082
+ }
1012
1083
  if (!getUnknownFields().equals(other.getUnknownFields())) return false;
1013
1084
  return true;
1014
1085
  }
@@ -1100,6 +1171,10 @@ private static final long serialVersionUID = 0L;
1100
1171
  hash = (37 * hash) + ASSET_TYPE_KEY_FIELD_NUMBER;
1101
1172
  hash = (53 * hash) + getAssetTypeKey().hashCode();
1102
1173
  }
1174
+ if (hasAsServerKey()) {
1175
+ hash = (37 * hash) + AS_SERVER_KEY_FIELD_NUMBER;
1176
+ hash = (53 * hash) + getAsServerKey().hashCode();
1177
+ }
1103
1178
  hash = (29 * hash) + getUnknownFields().hashCode();
1104
1179
  memoizedHashCode = hash;
1105
1180
  return hash;
@@ -1344,6 +1419,7 @@ private static final long serialVersionUID = 0L;
1344
1419
  ipLocationKey_ = "";
1345
1420
  ipLocationId_ = "";
1346
1421
  assetTypeKey_ = "";
1422
+ asServerKey_ = "";
1347
1423
  return this;
1348
1424
  }
1349
1425
 
@@ -1497,6 +1573,10 @@ private static final long serialVersionUID = 0L;
1497
1573
  result.assetTypeKey_ = assetTypeKey_;
1498
1574
  to_bitField0_ |= 0x00040000;
1499
1575
  }
1576
+ if (((from_bitField0_ & 0x00100000) != 0)) {
1577
+ result.asServerKey_ = asServerKey_;
1578
+ to_bitField0_ |= 0x00080000;
1579
+ }
1500
1580
  result.bitField0_ |= to_bitField0_;
1501
1581
  }
1502
1582
 
@@ -1635,6 +1715,11 @@ private static final long serialVersionUID = 0L;
1635
1715
  bitField0_ |= 0x00080000;
1636
1716
  onChanged();
1637
1717
  }
1718
+ if (other.hasAsServerKey()) {
1719
+ asServerKey_ = other.asServerKey_;
1720
+ bitField0_ |= 0x00100000;
1721
+ onChanged();
1722
+ }
1638
1723
  this.mergeUnknownFields(other.getUnknownFields());
1639
1724
  onChanged();
1640
1725
  return this;
@@ -1799,6 +1884,11 @@ private static final long serialVersionUID = 0L;
1799
1884
  bitField0_ |= 0x00080000;
1800
1885
  break;
1801
1886
  } // case 162
1887
+ case 170: {
1888
+ asServerKey_ = input.readStringRequireUtf8();
1889
+ bitField0_ |= 0x00100000;
1890
+ break;
1891
+ } // case 170
1802
1892
  default: {
1803
1893
  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1804
1894
  done = true; // was an endgroup tag
@@ -4366,6 +4456,109 @@ private static final long serialVersionUID = 0L;
4366
4456
  onChanged();
4367
4457
  return this;
4368
4458
  }
4459
+
4460
+ private java.lang.Object asServerKey_ = "";
4461
+ /**
4462
+ * <pre>
4463
+ * Base64 encoded (scanServerName-AsServer-installKey) from onprem
4464
+ * </pre>
4465
+ *
4466
+ * <code>optional string as_server_key = 21;</code>
4467
+ * @return Whether the asServerKey field is set.
4468
+ */
4469
+ public boolean hasAsServerKey() {
4470
+ return ((bitField0_ & 0x00100000) != 0);
4471
+ }
4472
+ /**
4473
+ * <pre>
4474
+ * Base64 encoded (scanServerName-AsServer-installKey) from onprem
4475
+ * </pre>
4476
+ *
4477
+ * <code>optional string as_server_key = 21;</code>
4478
+ * @return The asServerKey.
4479
+ */
4480
+ public java.lang.String getAsServerKey() {
4481
+ java.lang.Object ref = asServerKey_;
4482
+ if (!(ref instanceof java.lang.String)) {
4483
+ com.google.protobuf.ByteString bs =
4484
+ (com.google.protobuf.ByteString) ref;
4485
+ java.lang.String s = bs.toStringUtf8();
4486
+ asServerKey_ = s;
4487
+ return s;
4488
+ } else {
4489
+ return (java.lang.String) ref;
4490
+ }
4491
+ }
4492
+ /**
4493
+ * <pre>
4494
+ * Base64 encoded (scanServerName-AsServer-installKey) from onprem
4495
+ * </pre>
4496
+ *
4497
+ * <code>optional string as_server_key = 21;</code>
4498
+ * @return The bytes for asServerKey.
4499
+ */
4500
+ public com.google.protobuf.ByteString
4501
+ getAsServerKeyBytes() {
4502
+ java.lang.Object ref = asServerKey_;
4503
+ if (ref instanceof String) {
4504
+ com.google.protobuf.ByteString b =
4505
+ com.google.protobuf.ByteString.copyFromUtf8(
4506
+ (java.lang.String) ref);
4507
+ asServerKey_ = b;
4508
+ return b;
4509
+ } else {
4510
+ return (com.google.protobuf.ByteString) ref;
4511
+ }
4512
+ }
4513
+ /**
4514
+ * <pre>
4515
+ * Base64 encoded (scanServerName-AsServer-installKey) from onprem
4516
+ * </pre>
4517
+ *
4518
+ * <code>optional string as_server_key = 21;</code>
4519
+ * @param value The asServerKey to set.
4520
+ * @return This builder for chaining.
4521
+ */
4522
+ public Builder setAsServerKey(
4523
+ java.lang.String value) {
4524
+ if (value == null) { throw new NullPointerException(); }
4525
+ asServerKey_ = value;
4526
+ bitField0_ |= 0x00100000;
4527
+ onChanged();
4528
+ return this;
4529
+ }
4530
+ /**
4531
+ * <pre>
4532
+ * Base64 encoded (scanServerName-AsServer-installKey) from onprem
4533
+ * </pre>
4534
+ *
4535
+ * <code>optional string as_server_key = 21;</code>
4536
+ * @return This builder for chaining.
4537
+ */
4538
+ public Builder clearAsServerKey() {
4539
+ asServerKey_ = getDefaultInstance().getAsServerKey();
4540
+ bitField0_ = (bitField0_ & ~0x00100000);
4541
+ onChanged();
4542
+ return this;
4543
+ }
4544
+ /**
4545
+ * <pre>
4546
+ * Base64 encoded (scanServerName-AsServer-installKey) from onprem
4547
+ * </pre>
4548
+ *
4549
+ * <code>optional string as_server_key = 21;</code>
4550
+ * @param value The bytes for asServerKey to set.
4551
+ * @return This builder for chaining.
4552
+ */
4553
+ public Builder setAsServerKeyBytes(
4554
+ com.google.protobuf.ByteString value) {
4555
+ if (value == null) { throw new NullPointerException(); }
4556
+ checkByteStringIsUtf8(value);
4557
+ asServerKey_ = value;
4558
+ bitField0_ |= 0x00100000;
4559
+ onChanged();
4560
+ return this;
4561
+ }
4369
4562
  @java.lang.Override
4370
4563
  public final Builder setUnknownFields(
4371
4564
  final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -392,4 +392,33 @@ public interface LegacyFieldsOrBuilder extends
392
392
  */
393
393
  com.google.protobuf.ByteString
394
394
  getAssetTypeKeyBytes();
395
+
396
+ /**
397
+ * <pre>
398
+ * Base64 encoded (scanServerName-AsServer-installKey) from onprem
399
+ * </pre>
400
+ *
401
+ * <code>optional string as_server_key = 21;</code>
402
+ * @return Whether the asServerKey field is set.
403
+ */
404
+ boolean hasAsServerKey();
405
+ /**
406
+ * <pre>
407
+ * Base64 encoded (scanServerName-AsServer-installKey) from onprem
408
+ * </pre>
409
+ *
410
+ * <code>optional string as_server_key = 21;</code>
411
+ * @return The asServerKey.
412
+ */
413
+ java.lang.String getAsServerKey();
414
+ /**
415
+ * <pre>
416
+ * Base64 encoded (scanServerName-AsServer-installKey) from onprem
417
+ * </pre>
418
+ *
419
+ * <code>optional string as_server_key = 21;</code>
420
+ * @return The bytes for asServerKey.
421
+ */
422
+ com.google.protobuf.ByteString
423
+ getAsServerKeyBytes();
395
424
  }