@lansweeper/data-platform-outbound-grpc 0.6.0 → 0.6.1

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 (33) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +6 -6
  4. package/gen-proto/outbound_pb.js +52 -52
  5. package/generated-go/outbound.pb.go +8484 -8484
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +2 -2
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetOrBuilder.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/Printer$1.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/Printer$Builder.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/Printer.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/PrinterOrBuilder.class +0 -0
  18. package/model/target/classes/outbound.proto +2 -2
  19. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Asset.java +299 -114
  20. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +15 -0
  21. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +2611 -2611
  22. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Printer.java +4 -243
  23. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/PrinterOrBuilder.java +0 -27
  24. package/model/target/maven-archiver/pom.properties +2 -2
  25. package/model/target/{outbound-model-0.5.0-sources.jar → outbound-model-0.6.0-sources.jar} +0 -0
  26. package/model/target/{outbound-model-0.5.0.jar → outbound-model-0.6.0.jar} +0 -0
  27. package/package.json +2 -2
  28. package/pom.xml +1 -1
  29. package/proto/outbound.proto +2 -2
  30. package/service/pom.xml +1 -1
  31. package/service/target/maven-archiver/pom.properties +2 -2
  32. package/service/target/{outbound-service-0.5.0-sources.jar → outbound-service-0.6.0-sources.jar} +0 -0
  33. package/service/target/{outbound-service-0.5.0.jar → outbound-service-0.6.0.jar} +0 -0
@@ -8,7 +8,7 @@ package com.lansweeper.dp.outbound.v1;
8
8
  * <pre>
9
9
  **
10
10
  * Printer details.
11
- * Currently filled only from source SNMP and ActiveDirectory.
11
+ * Currently filled only from source SNMP.
12
12
  * </pre>
13
13
  *
14
14
  * Protobuf type {@code com.lansweeper.dp.outbound.v1.Printer}
@@ -289,44 +289,6 @@ private static final long serialVersionUID = 0L;
289
289
  return toner_.get(index);
290
290
  }
291
291
 
292
- public static final int AD_PRINTER_FIELD_NUMBER = 8;
293
- private com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter adPrinter_;
294
- /**
295
- * <pre>
296
- * Active Directory specific information
297
- * </pre>
298
- *
299
- * <code>optional .com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter ad_printer = 8;</code>
300
- * @return Whether the adPrinter field is set.
301
- */
302
- @java.lang.Override
303
- public boolean hasAdPrinter() {
304
- return ((bitField0_ & 0x00000040) != 0);
305
- }
306
- /**
307
- * <pre>
308
- * Active Directory specific information
309
- * </pre>
310
- *
311
- * <code>optional .com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter ad_printer = 8;</code>
312
- * @return The adPrinter.
313
- */
314
- @java.lang.Override
315
- public com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter getAdPrinter() {
316
- return adPrinter_ == null ? com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter.getDefaultInstance() : adPrinter_;
317
- }
318
- /**
319
- * <pre>
320
- * Active Directory specific information
321
- * </pre>
322
- *
323
- * <code>optional .com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter ad_printer = 8;</code>
324
- */
325
- @java.lang.Override
326
- public com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinterOrBuilder getAdPrinterOrBuilder() {
327
- return adPrinter_ == null ? com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter.getDefaultInstance() : adPrinter_;
328
- }
329
-
330
292
  private byte memoizedIsInitialized = -1;
331
293
  @java.lang.Override
332
294
  public final boolean isInitialized() {
@@ -362,9 +324,6 @@ private static final long serialVersionUID = 0L;
362
324
  for (int i = 0; i < toner_.size(); i++) {
363
325
  output.writeMessage(7, toner_.get(i));
364
326
  }
365
- if (((bitField0_ & 0x00000040) != 0)) {
366
- output.writeMessage(8, getAdPrinter());
367
- }
368
327
  getUnknownFields().writeTo(output);
369
328
  }
370
329
 
@@ -399,10 +358,6 @@ private static final long serialVersionUID = 0L;
399
358
  size += com.google.protobuf.CodedOutputStream
400
359
  .computeMessageSize(7, toner_.get(i));
401
360
  }
402
- if (((bitField0_ & 0x00000040) != 0)) {
403
- size += com.google.protobuf.CodedOutputStream
404
- .computeMessageSize(8, getAdPrinter());
405
- }
406
361
  size += getUnknownFields().getSerializedSize();
407
362
  memoizedSize = size;
408
363
  return size;
@@ -450,11 +405,6 @@ private static final long serialVersionUID = 0L;
450
405
  }
451
406
  if (!getTonerList()
452
407
  .equals(other.getTonerList())) return false;
453
- if (hasAdPrinter() != other.hasAdPrinter()) return false;
454
- if (hasAdPrinter()) {
455
- if (!getAdPrinter()
456
- .equals(other.getAdPrinter())) return false;
457
- }
458
408
  if (!getUnknownFields().equals(other.getUnknownFields())) return false;
459
409
  return true;
460
410
  }
@@ -497,10 +447,6 @@ private static final long serialVersionUID = 0L;
497
447
  hash = (37 * hash) + TONER_FIELD_NUMBER;
498
448
  hash = (53 * hash) + getTonerList().hashCode();
499
449
  }
500
- if (hasAdPrinter()) {
501
- hash = (37 * hash) + AD_PRINTER_FIELD_NUMBER;
502
- hash = (53 * hash) + getAdPrinter().hashCode();
503
- }
504
450
  hash = (29 * hash) + getUnknownFields().hashCode();
505
451
  memoizedHashCode = hash;
506
452
  return hash;
@@ -602,7 +548,7 @@ private static final long serialVersionUID = 0L;
602
548
  * <pre>
603
549
  **
604
550
  * Printer details.
605
- * Currently filled only from source SNMP and ActiveDirectory.
551
+ * Currently filled only from source SNMP.
606
552
  * </pre>
607
553
  *
608
554
  * Protobuf type {@code com.lansweeper.dp.outbound.v1.Printer}
@@ -626,20 +572,13 @@ private static final long serialVersionUID = 0L;
626
572
 
627
573
  // Construct using com.lansweeper.dp.outbound.v1.Printer.newBuilder()
628
574
  private Builder() {
629
- maybeForceBuilderInitialization();
575
+
630
576
  }
631
577
 
632
578
  private Builder(
633
579
  com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
634
580
  super(parent);
635
- maybeForceBuilderInitialization();
636
- }
637
- private void maybeForceBuilderInitialization() {
638
- if (com.google.protobuf.GeneratedMessageV3
639
- .alwaysUseFieldBuilders) {
640
- getTonerFieldBuilder();
641
- getAdPrinterFieldBuilder();
642
- }
581
+
643
582
  }
644
583
  @java.lang.Override
645
584
  public Builder clear() {
@@ -658,11 +597,6 @@ private static final long serialVersionUID = 0L;
658
597
  tonerBuilder_.clear();
659
598
  }
660
599
  bitField0_ = (bitField0_ & ~0x00000040);
661
- adPrinter_ = null;
662
- if (adPrinterBuilder_ != null) {
663
- adPrinterBuilder_.dispose();
664
- adPrinterBuilder_ = null;
665
- }
666
600
  return this;
667
601
  }
668
602
 
@@ -734,12 +668,6 @@ private static final long serialVersionUID = 0L;
734
668
  result.serialNumber_ = serialNumber_;
735
669
  to_bitField0_ |= 0x00000020;
736
670
  }
737
- if (((from_bitField0_ & 0x00000080) != 0)) {
738
- result.adPrinter_ = adPrinterBuilder_ == null
739
- ? adPrinter_
740
- : adPrinterBuilder_.build();
741
- to_bitField0_ |= 0x00000040;
742
- }
743
671
  result.bitField0_ |= to_bitField0_;
744
672
  }
745
673
 
@@ -837,9 +765,6 @@ private static final long serialVersionUID = 0L;
837
765
  }
838
766
  }
839
767
  }
840
- if (other.hasAdPrinter()) {
841
- mergeAdPrinter(other.getAdPrinter());
842
- }
843
768
  this.mergeUnknownFields(other.getUnknownFields());
844
769
  onChanged();
845
770
  return this;
@@ -909,13 +834,6 @@ private static final long serialVersionUID = 0L;
909
834
  }
910
835
  break;
911
836
  } // case 58
912
- case 66: {
913
- input.readMessage(
914
- getAdPrinterFieldBuilder().getBuilder(),
915
- extensionRegistry);
916
- bitField0_ |= 0x00000080;
917
- break;
918
- } // case 66
919
837
  default: {
920
838
  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
921
839
  done = true; // was an endgroup tag
@@ -1529,163 +1447,6 @@ private static final long serialVersionUID = 0L;
1529
1447
  }
1530
1448
  return tonerBuilder_;
1531
1449
  }
1532
-
1533
- private com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter adPrinter_;
1534
- private com.google.protobuf.SingleFieldBuilderV3<
1535
- com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter, com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter.Builder, com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinterOrBuilder> adPrinterBuilder_;
1536
- /**
1537
- * <pre>
1538
- * Active Directory specific information
1539
- * </pre>
1540
- *
1541
- * <code>optional .com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter ad_printer = 8;</code>
1542
- * @return Whether the adPrinter field is set.
1543
- */
1544
- public boolean hasAdPrinter() {
1545
- return ((bitField0_ & 0x00000080) != 0);
1546
- }
1547
- /**
1548
- * <pre>
1549
- * Active Directory specific information
1550
- * </pre>
1551
- *
1552
- * <code>optional .com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter ad_printer = 8;</code>
1553
- * @return The adPrinter.
1554
- */
1555
- public com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter getAdPrinter() {
1556
- if (adPrinterBuilder_ == null) {
1557
- return adPrinter_ == null ? com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter.getDefaultInstance() : adPrinter_;
1558
- } else {
1559
- return adPrinterBuilder_.getMessage();
1560
- }
1561
- }
1562
- /**
1563
- * <pre>
1564
- * Active Directory specific information
1565
- * </pre>
1566
- *
1567
- * <code>optional .com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter ad_printer = 8;</code>
1568
- */
1569
- public Builder setAdPrinter(com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter value) {
1570
- if (adPrinterBuilder_ == null) {
1571
- if (value == null) {
1572
- throw new NullPointerException();
1573
- }
1574
- adPrinter_ = value;
1575
- } else {
1576
- adPrinterBuilder_.setMessage(value);
1577
- }
1578
- bitField0_ |= 0x00000080;
1579
- onChanged();
1580
- return this;
1581
- }
1582
- /**
1583
- * <pre>
1584
- * Active Directory specific information
1585
- * </pre>
1586
- *
1587
- * <code>optional .com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter ad_printer = 8;</code>
1588
- */
1589
- public Builder setAdPrinter(
1590
- com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter.Builder builderForValue) {
1591
- if (adPrinterBuilder_ == null) {
1592
- adPrinter_ = builderForValue.build();
1593
- } else {
1594
- adPrinterBuilder_.setMessage(builderForValue.build());
1595
- }
1596
- bitField0_ |= 0x00000080;
1597
- onChanged();
1598
- return this;
1599
- }
1600
- /**
1601
- * <pre>
1602
- * Active Directory specific information
1603
- * </pre>
1604
- *
1605
- * <code>optional .com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter ad_printer = 8;</code>
1606
- */
1607
- public Builder mergeAdPrinter(com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter value) {
1608
- if (adPrinterBuilder_ == null) {
1609
- if (((bitField0_ & 0x00000080) != 0) &&
1610
- adPrinter_ != null &&
1611
- adPrinter_ != com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter.getDefaultInstance()) {
1612
- getAdPrinterBuilder().mergeFrom(value);
1613
- } else {
1614
- adPrinter_ = value;
1615
- }
1616
- } else {
1617
- adPrinterBuilder_.mergeFrom(value);
1618
- }
1619
- if (adPrinter_ != null) {
1620
- bitField0_ |= 0x00000080;
1621
- onChanged();
1622
- }
1623
- return this;
1624
- }
1625
- /**
1626
- * <pre>
1627
- * Active Directory specific information
1628
- * </pre>
1629
- *
1630
- * <code>optional .com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter ad_printer = 8;</code>
1631
- */
1632
- public Builder clearAdPrinter() {
1633
- bitField0_ = (bitField0_ & ~0x00000080);
1634
- adPrinter_ = null;
1635
- if (adPrinterBuilder_ != null) {
1636
- adPrinterBuilder_.dispose();
1637
- adPrinterBuilder_ = null;
1638
- }
1639
- onChanged();
1640
- return this;
1641
- }
1642
- /**
1643
- * <pre>
1644
- * Active Directory specific information
1645
- * </pre>
1646
- *
1647
- * <code>optional .com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter ad_printer = 8;</code>
1648
- */
1649
- public com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter.Builder getAdPrinterBuilder() {
1650
- bitField0_ |= 0x00000080;
1651
- onChanged();
1652
- return getAdPrinterFieldBuilder().getBuilder();
1653
- }
1654
- /**
1655
- * <pre>
1656
- * Active Directory specific information
1657
- * </pre>
1658
- *
1659
- * <code>optional .com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter ad_printer = 8;</code>
1660
- */
1661
- public com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinterOrBuilder getAdPrinterOrBuilder() {
1662
- if (adPrinterBuilder_ != null) {
1663
- return adPrinterBuilder_.getMessageOrBuilder();
1664
- } else {
1665
- return adPrinter_ == null ?
1666
- com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter.getDefaultInstance() : adPrinter_;
1667
- }
1668
- }
1669
- /**
1670
- * <pre>
1671
- * Active Directory specific information
1672
- * </pre>
1673
- *
1674
- * <code>optional .com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter ad_printer = 8;</code>
1675
- */
1676
- private com.google.protobuf.SingleFieldBuilderV3<
1677
- com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter, com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter.Builder, com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinterOrBuilder>
1678
- getAdPrinterFieldBuilder() {
1679
- if (adPrinterBuilder_ == null) {
1680
- adPrinterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
1681
- com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter, com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter.Builder, com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinterOrBuilder>(
1682
- getAdPrinter(),
1683
- getParentForChildren(),
1684
- isClean());
1685
- adPrinter_ = null;
1686
- }
1687
- return adPrinterBuilder_;
1688
- }
1689
1450
  @java.lang.Override
1690
1451
  public final Builder setUnknownFields(
1691
1452
  final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -115,31 +115,4 @@ public interface PrinterOrBuilder extends
115
115
  */
116
116
  com.lansweeper.dp.outbound.v1.PrinterTonerInfoOrBuilder getTonerOrBuilder(
117
117
  int index);
118
-
119
- /**
120
- * <pre>
121
- * Active Directory specific information
122
- * </pre>
123
- *
124
- * <code>optional .com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter ad_printer = 8;</code>
125
- * @return Whether the adPrinter field is set.
126
- */
127
- boolean hasAdPrinter();
128
- /**
129
- * <pre>
130
- * Active Directory specific information
131
- * </pre>
132
- *
133
- * <code>optional .com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter ad_printer = 8;</code>
134
- * @return The adPrinter.
135
- */
136
- com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter getAdPrinter();
137
- /**
138
- * <pre>
139
- * Active Directory specific information
140
- * </pre>
141
- *
142
- * <code>optional .com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter ad_printer = 8;</code>
143
- */
144
- com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinterOrBuilder getAdPrinterOrBuilder();
145
118
  }
@@ -1,5 +1,5 @@
1
1
  #Generated by Maven
2
- #Tue Apr 08 14:13:24 UTC 2025
2
+ #Tue Apr 08 14:37:18 UTC 2025
3
3
  groupId=com.lansweeper.dp.outbound.v1
4
4
  artifactId=outbound-model
5
- version=0.5.0
5
+ version=0.6.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/data-platform-outbound-grpc",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Data Platform Outbound gRPC",
5
5
  "main": "gen-proto/index.js",
6
6
  "types": "gen-proto/index.d.ts",
@@ -9,5 +9,5 @@
9
9
  "@grpc/grpc-js": "^1.5.1",
10
10
  "google-protobuf": "^3.17.0"
11
11
  },
12
- "gitHead": "44fb3190428f439e0283f60bb76eda70d5781938"
12
+ "gitHead": "3341ef7643af782d0784ae7cec20a4f2df27687b"
13
13
  }
package/pom.xml CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  <groupId>com.lansweeper.dp.outbound.v1</groupId>
8
8
  <artifactId>parent</artifactId>
9
- <version>0.5.0</version>
9
+ <version>0.6.0</version>
10
10
  <packaging>pom</packaging>
11
11
  <modules>
12
12
  <module>model</module>
@@ -314,6 +314,7 @@ message Asset {
314
314
  optional ActiveDirectoryComputer ad_computer = 88;
315
315
  optional HyperV hyper_v_computer = 89;
316
316
 
317
+ optional ActiveDirectoryPrinter ad_printer = 96;
317
318
  optional Printer printer = 84;
318
319
  optional Ups ups = 85;
319
320
 
@@ -3707,7 +3708,7 @@ message CatalogMonitor {
3707
3708
 
3708
3709
  /**
3709
3710
  * Printer details.
3710
- * Currently filled only from source SNMP and ActiveDirectory.
3711
+ * Currently filled only from source SNMP.
3711
3712
  */
3712
3713
  message Printer {
3713
3714
  optional string printer_name = 1;
@@ -3717,7 +3718,6 @@ message Printer {
3717
3718
  optional string printer_status = 5;
3718
3719
  optional string serial_number = 6;
3719
3720
  repeated PrinterTonerInfo toner = 7;
3720
- optional ActiveDirectoryPrinter ad_printer = 8; // Active Directory specific information
3721
3721
  }
3722
3722
 
3723
3723
  /**
package/service/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.5.0</version>
9
+ <version>0.6.0</version>
10
10
  </parent>
11
11
 
12
12
  <artifactId>outbound-service</artifactId>
@@ -1,5 +1,5 @@
1
1
  #Generated by Maven
2
- #Tue Apr 08 14:13:30 UTC 2025
2
+ #Tue Apr 08 14:37:23 UTC 2025
3
3
  groupId=com.lansweeper.dp.outbound.v1
4
4
  artifactId=outbound-service
5
- version=0.5.0
5
+ version=0.6.0
index 73b016b..c399111 100644
Binary file