@lansweeper/data-platform-outbound-grpc 0.7.0 → 0.8.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.
- package/CHANGELOG.md +14 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +33 -0
- package/gen-proto/outbound_pb.js +240 -1
- package/generated-go/outbound.pb.go +13232 -13122
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/outbound.proto +6 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/HyperVHost$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/HyperVHost$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/HyperVHost$HyperVGuestKeysDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/HyperVHost.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/HyperVHostOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/SccmServer$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/SccmServer$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/SccmServer$SccmChildSitesDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/SccmServer.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/SccmServerOrBuilder.class +0 -0
- package/model/target/classes/outbound.proto +6 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Asset.java +376 -140
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +27 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/HyperVHost.java +725 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/HyperVHostOrBuilder.java +62 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +3942 -3899
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SccmServer.java +319 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SccmServerOrBuilder.java +52 -0
- package/model/target/maven-archiver/pom.properties +2 -2
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +6 -0
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +2 -0
- package/model/target/{outbound-model-0.6.1-sources.jar → outbound-model-0.7.0-sources.jar} +0 -0
- package/model/target/{outbound-model-0.6.1.jar → outbound-model-0.7.0.jar} +0 -0
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +6 -0
- package/service/pom.xml +1 -1
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/{outbound-service-0.6.1-sources.jar → outbound-service-0.7.0-sources.jar} +0 -0
- package/service/target/{outbound-service-0.6.1.jar → outbound-service-0.7.0.jar} +0 -0
package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SccmServer.java
CHANGED
|
@@ -35,6 +35,18 @@ private static final long serialVersionUID = 0L;
|
|
|
35
35
|
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_SccmServer_descriptor;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
+
@SuppressWarnings({"rawtypes"})
|
|
39
|
+
@java.lang.Override
|
|
40
|
+
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
|
|
41
|
+
int number) {
|
|
42
|
+
switch (number) {
|
|
43
|
+
case 6:
|
|
44
|
+
return internalGetSccmChildSites();
|
|
45
|
+
default:
|
|
46
|
+
throw new RuntimeException(
|
|
47
|
+
"Invalid map field number: " + number);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
38
50
|
@java.lang.Override
|
|
39
51
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
40
52
|
internalGetFieldAccessorTable() {
|
|
@@ -272,6 +284,99 @@ private static final long serialVersionUID = 0L;
|
|
|
272
284
|
return sccmSite_.get(index);
|
|
273
285
|
}
|
|
274
286
|
|
|
287
|
+
public static final int SCCM_CHILD_SITES_FIELD_NUMBER = 6;
|
|
288
|
+
private static final class SccmChildSitesDefaultEntryHolder {
|
|
289
|
+
static final com.google.protobuf.MapEntry<
|
|
290
|
+
java.lang.String, java.lang.Boolean> defaultEntry =
|
|
291
|
+
com.google.protobuf.MapEntry
|
|
292
|
+
.<java.lang.String, java.lang.Boolean>newDefaultInstance(
|
|
293
|
+
com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_SccmServer_SccmChildSitesEntry_descriptor,
|
|
294
|
+
com.google.protobuf.WireFormat.FieldType.STRING,
|
|
295
|
+
"",
|
|
296
|
+
com.google.protobuf.WireFormat.FieldType.BOOL,
|
|
297
|
+
false);
|
|
298
|
+
}
|
|
299
|
+
@SuppressWarnings("serial")
|
|
300
|
+
private com.google.protobuf.MapField<
|
|
301
|
+
java.lang.String, java.lang.Boolean> sccmChildSites_;
|
|
302
|
+
private com.google.protobuf.MapField<java.lang.String, java.lang.Boolean>
|
|
303
|
+
internalGetSccmChildSites() {
|
|
304
|
+
if (sccmChildSites_ == null) {
|
|
305
|
+
return com.google.protobuf.MapField.emptyMapField(
|
|
306
|
+
SccmChildSitesDefaultEntryHolder.defaultEntry);
|
|
307
|
+
}
|
|
308
|
+
return sccmChildSites_;
|
|
309
|
+
}
|
|
310
|
+
public int getSccmChildSitesCount() {
|
|
311
|
+
return internalGetSccmChildSites().getMap().size();
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* <pre>
|
|
315
|
+
* map of child sites, where key is the entity_id of the child SCCM asset
|
|
316
|
+
* </pre>
|
|
317
|
+
*
|
|
318
|
+
* <code>map<string, bool> sccm_child_sites = 6;</code>
|
|
319
|
+
*/
|
|
320
|
+
@java.lang.Override
|
|
321
|
+
public boolean containsSccmChildSites(
|
|
322
|
+
java.lang.String key) {
|
|
323
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
324
|
+
return internalGetSccmChildSites().getMap().containsKey(key);
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* Use {@link #getSccmChildSitesMap()} instead.
|
|
328
|
+
*/
|
|
329
|
+
@java.lang.Override
|
|
330
|
+
@java.lang.Deprecated
|
|
331
|
+
public java.util.Map<java.lang.String, java.lang.Boolean> getSccmChildSites() {
|
|
332
|
+
return getSccmChildSitesMap();
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* <pre>
|
|
336
|
+
* map of child sites, where key is the entity_id of the child SCCM asset
|
|
337
|
+
* </pre>
|
|
338
|
+
*
|
|
339
|
+
* <code>map<string, bool> sccm_child_sites = 6;</code>
|
|
340
|
+
*/
|
|
341
|
+
@java.lang.Override
|
|
342
|
+
public java.util.Map<java.lang.String, java.lang.Boolean> getSccmChildSitesMap() {
|
|
343
|
+
return internalGetSccmChildSites().getMap();
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* <pre>
|
|
347
|
+
* map of child sites, where key is the entity_id of the child SCCM asset
|
|
348
|
+
* </pre>
|
|
349
|
+
*
|
|
350
|
+
* <code>map<string, bool> sccm_child_sites = 6;</code>
|
|
351
|
+
*/
|
|
352
|
+
@java.lang.Override
|
|
353
|
+
public boolean getSccmChildSitesOrDefault(
|
|
354
|
+
java.lang.String key,
|
|
355
|
+
boolean defaultValue) {
|
|
356
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
357
|
+
java.util.Map<java.lang.String, java.lang.Boolean> map =
|
|
358
|
+
internalGetSccmChildSites().getMap();
|
|
359
|
+
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* <pre>
|
|
363
|
+
* map of child sites, where key is the entity_id of the child SCCM asset
|
|
364
|
+
* </pre>
|
|
365
|
+
*
|
|
366
|
+
* <code>map<string, bool> sccm_child_sites = 6;</code>
|
|
367
|
+
*/
|
|
368
|
+
@java.lang.Override
|
|
369
|
+
public boolean getSccmChildSitesOrThrow(
|
|
370
|
+
java.lang.String key) {
|
|
371
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
372
|
+
java.util.Map<java.lang.String, java.lang.Boolean> map =
|
|
373
|
+
internalGetSccmChildSites().getMap();
|
|
374
|
+
if (!map.containsKey(key)) {
|
|
375
|
+
throw new java.lang.IllegalArgumentException();
|
|
376
|
+
}
|
|
377
|
+
return map.get(key);
|
|
378
|
+
}
|
|
379
|
+
|
|
275
380
|
private byte memoizedIsInitialized = -1;
|
|
276
381
|
@java.lang.Override
|
|
277
382
|
public final boolean isInitialized() {
|
|
@@ -301,6 +406,12 @@ private static final long serialVersionUID = 0L;
|
|
|
301
406
|
for (int i = 0; i < sccmSite_.size(); i++) {
|
|
302
407
|
output.writeMessage(5, sccmSite_.get(i));
|
|
303
408
|
}
|
|
409
|
+
com.google.protobuf.GeneratedMessageV3
|
|
410
|
+
.serializeStringMapTo(
|
|
411
|
+
output,
|
|
412
|
+
internalGetSccmChildSites(),
|
|
413
|
+
SccmChildSitesDefaultEntryHolder.defaultEntry,
|
|
414
|
+
6);
|
|
304
415
|
getUnknownFields().writeTo(output);
|
|
305
416
|
}
|
|
306
417
|
|
|
@@ -327,6 +438,16 @@ private static final long serialVersionUID = 0L;
|
|
|
327
438
|
size += com.google.protobuf.CodedOutputStream
|
|
328
439
|
.computeMessageSize(5, sccmSite_.get(i));
|
|
329
440
|
}
|
|
441
|
+
for (java.util.Map.Entry<java.lang.String, java.lang.Boolean> entry
|
|
442
|
+
: internalGetSccmChildSites().getMap().entrySet()) {
|
|
443
|
+
com.google.protobuf.MapEntry<java.lang.String, java.lang.Boolean>
|
|
444
|
+
sccmChildSites__ = SccmChildSitesDefaultEntryHolder.defaultEntry.newBuilderForType()
|
|
445
|
+
.setKey(entry.getKey())
|
|
446
|
+
.setValue(entry.getValue())
|
|
447
|
+
.build();
|
|
448
|
+
size += com.google.protobuf.CodedOutputStream
|
|
449
|
+
.computeMessageSize(6, sccmChildSites__);
|
|
450
|
+
}
|
|
330
451
|
size += getUnknownFields().getSerializedSize();
|
|
331
452
|
memoizedSize = size;
|
|
332
453
|
return size;
|
|
@@ -361,6 +482,8 @@ private static final long serialVersionUID = 0L;
|
|
|
361
482
|
.equals(other.getServerId())) return false;
|
|
362
483
|
if (!getSccmSiteList()
|
|
363
484
|
.equals(other.getSccmSiteList())) return false;
|
|
485
|
+
if (!internalGetSccmChildSites().equals(
|
|
486
|
+
other.internalGetSccmChildSites())) return false;
|
|
364
487
|
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
|
365
488
|
return true;
|
|
366
489
|
}
|
|
@@ -390,6 +513,10 @@ private static final long serialVersionUID = 0L;
|
|
|
390
513
|
hash = (37 * hash) + SCCM_SITE_FIELD_NUMBER;
|
|
391
514
|
hash = (53 * hash) + getSccmSiteList().hashCode();
|
|
392
515
|
}
|
|
516
|
+
if (!internalGetSccmChildSites().getMap().isEmpty()) {
|
|
517
|
+
hash = (37 * hash) + SCCM_CHILD_SITES_FIELD_NUMBER;
|
|
518
|
+
hash = (53 * hash) + internalGetSccmChildSites().hashCode();
|
|
519
|
+
}
|
|
393
520
|
hash = (29 * hash) + getUnknownFields().hashCode();
|
|
394
521
|
memoizedHashCode = hash;
|
|
395
522
|
return hash;
|
|
@@ -499,6 +626,28 @@ private static final long serialVersionUID = 0L;
|
|
|
499
626
|
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_SccmServer_descriptor;
|
|
500
627
|
}
|
|
501
628
|
|
|
629
|
+
@SuppressWarnings({"rawtypes"})
|
|
630
|
+
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
|
|
631
|
+
int number) {
|
|
632
|
+
switch (number) {
|
|
633
|
+
case 6:
|
|
634
|
+
return internalGetSccmChildSites();
|
|
635
|
+
default:
|
|
636
|
+
throw new RuntimeException(
|
|
637
|
+
"Invalid map field number: " + number);
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
@SuppressWarnings({"rawtypes"})
|
|
641
|
+
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
|
|
642
|
+
int number) {
|
|
643
|
+
switch (number) {
|
|
644
|
+
case 6:
|
|
645
|
+
return internalGetMutableSccmChildSites();
|
|
646
|
+
default:
|
|
647
|
+
throw new RuntimeException(
|
|
648
|
+
"Invalid map field number: " + number);
|
|
649
|
+
}
|
|
650
|
+
}
|
|
502
651
|
@java.lang.Override
|
|
503
652
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
504
653
|
internalGetFieldAccessorTable() {
|
|
@@ -543,6 +692,7 @@ private static final long serialVersionUID = 0L;
|
|
|
543
692
|
sccmSiteBuilder_.clear();
|
|
544
693
|
}
|
|
545
694
|
bitField0_ = (bitField0_ & ~0x00000010);
|
|
695
|
+
internalGetMutableSccmChildSites().clear();
|
|
546
696
|
return this;
|
|
547
697
|
}
|
|
548
698
|
|
|
@@ -607,6 +757,10 @@ private static final long serialVersionUID = 0L;
|
|
|
607
757
|
if (((from_bitField0_ & 0x00000008) != 0)) {
|
|
608
758
|
result.serverId_ = serverId_;
|
|
609
759
|
}
|
|
760
|
+
if (((from_bitField0_ & 0x00000020) != 0)) {
|
|
761
|
+
result.sccmChildSites_ = internalGetSccmChildSites();
|
|
762
|
+
result.sccmChildSites_.makeImmutable();
|
|
763
|
+
}
|
|
610
764
|
result.bitField0_ |= to_bitField0_;
|
|
611
765
|
}
|
|
612
766
|
|
|
@@ -698,6 +852,9 @@ private static final long serialVersionUID = 0L;
|
|
|
698
852
|
}
|
|
699
853
|
}
|
|
700
854
|
}
|
|
855
|
+
internalGetMutableSccmChildSites().mergeFrom(
|
|
856
|
+
other.internalGetSccmChildSites());
|
|
857
|
+
bitField0_ |= 0x00000020;
|
|
701
858
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
702
859
|
onChanged();
|
|
703
860
|
return this;
|
|
@@ -759,6 +916,15 @@ private static final long serialVersionUID = 0L;
|
|
|
759
916
|
}
|
|
760
917
|
break;
|
|
761
918
|
} // case 42
|
|
919
|
+
case 50: {
|
|
920
|
+
com.google.protobuf.MapEntry<java.lang.String, java.lang.Boolean>
|
|
921
|
+
sccmChildSites__ = input.readMessage(
|
|
922
|
+
SccmChildSitesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
|
|
923
|
+
internalGetMutableSccmChildSites().getMutableMap().put(
|
|
924
|
+
sccmChildSites__.getKey(), sccmChildSites__.getValue());
|
|
925
|
+
bitField0_ |= 0x00000020;
|
|
926
|
+
break;
|
|
927
|
+
} // case 50
|
|
762
928
|
default: {
|
|
763
929
|
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
|
764
930
|
done = true; // was an endgroup tag
|
|
@@ -1458,6 +1624,159 @@ private static final long serialVersionUID = 0L;
|
|
|
1458
1624
|
}
|
|
1459
1625
|
return sccmSiteBuilder_;
|
|
1460
1626
|
}
|
|
1627
|
+
|
|
1628
|
+
private com.google.protobuf.MapField<
|
|
1629
|
+
java.lang.String, java.lang.Boolean> sccmChildSites_;
|
|
1630
|
+
private com.google.protobuf.MapField<java.lang.String, java.lang.Boolean>
|
|
1631
|
+
internalGetSccmChildSites() {
|
|
1632
|
+
if (sccmChildSites_ == null) {
|
|
1633
|
+
return com.google.protobuf.MapField.emptyMapField(
|
|
1634
|
+
SccmChildSitesDefaultEntryHolder.defaultEntry);
|
|
1635
|
+
}
|
|
1636
|
+
return sccmChildSites_;
|
|
1637
|
+
}
|
|
1638
|
+
private com.google.protobuf.MapField<java.lang.String, java.lang.Boolean>
|
|
1639
|
+
internalGetMutableSccmChildSites() {
|
|
1640
|
+
if (sccmChildSites_ == null) {
|
|
1641
|
+
sccmChildSites_ = com.google.protobuf.MapField.newMapField(
|
|
1642
|
+
SccmChildSitesDefaultEntryHolder.defaultEntry);
|
|
1643
|
+
}
|
|
1644
|
+
if (!sccmChildSites_.isMutable()) {
|
|
1645
|
+
sccmChildSites_ = sccmChildSites_.copy();
|
|
1646
|
+
}
|
|
1647
|
+
bitField0_ |= 0x00000020;
|
|
1648
|
+
onChanged();
|
|
1649
|
+
return sccmChildSites_;
|
|
1650
|
+
}
|
|
1651
|
+
public int getSccmChildSitesCount() {
|
|
1652
|
+
return internalGetSccmChildSites().getMap().size();
|
|
1653
|
+
}
|
|
1654
|
+
/**
|
|
1655
|
+
* <pre>
|
|
1656
|
+
* map of child sites, where key is the entity_id of the child SCCM asset
|
|
1657
|
+
* </pre>
|
|
1658
|
+
*
|
|
1659
|
+
* <code>map<string, bool> sccm_child_sites = 6;</code>
|
|
1660
|
+
*/
|
|
1661
|
+
@java.lang.Override
|
|
1662
|
+
public boolean containsSccmChildSites(
|
|
1663
|
+
java.lang.String key) {
|
|
1664
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
1665
|
+
return internalGetSccmChildSites().getMap().containsKey(key);
|
|
1666
|
+
}
|
|
1667
|
+
/**
|
|
1668
|
+
* Use {@link #getSccmChildSitesMap()} instead.
|
|
1669
|
+
*/
|
|
1670
|
+
@java.lang.Override
|
|
1671
|
+
@java.lang.Deprecated
|
|
1672
|
+
public java.util.Map<java.lang.String, java.lang.Boolean> getSccmChildSites() {
|
|
1673
|
+
return getSccmChildSitesMap();
|
|
1674
|
+
}
|
|
1675
|
+
/**
|
|
1676
|
+
* <pre>
|
|
1677
|
+
* map of child sites, where key is the entity_id of the child SCCM asset
|
|
1678
|
+
* </pre>
|
|
1679
|
+
*
|
|
1680
|
+
* <code>map<string, bool> sccm_child_sites = 6;</code>
|
|
1681
|
+
*/
|
|
1682
|
+
@java.lang.Override
|
|
1683
|
+
public java.util.Map<java.lang.String, java.lang.Boolean> getSccmChildSitesMap() {
|
|
1684
|
+
return internalGetSccmChildSites().getMap();
|
|
1685
|
+
}
|
|
1686
|
+
/**
|
|
1687
|
+
* <pre>
|
|
1688
|
+
* map of child sites, where key is the entity_id of the child SCCM asset
|
|
1689
|
+
* </pre>
|
|
1690
|
+
*
|
|
1691
|
+
* <code>map<string, bool> sccm_child_sites = 6;</code>
|
|
1692
|
+
*/
|
|
1693
|
+
@java.lang.Override
|
|
1694
|
+
public boolean getSccmChildSitesOrDefault(
|
|
1695
|
+
java.lang.String key,
|
|
1696
|
+
boolean defaultValue) {
|
|
1697
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
1698
|
+
java.util.Map<java.lang.String, java.lang.Boolean> map =
|
|
1699
|
+
internalGetSccmChildSites().getMap();
|
|
1700
|
+
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
1701
|
+
}
|
|
1702
|
+
/**
|
|
1703
|
+
* <pre>
|
|
1704
|
+
* map of child sites, where key is the entity_id of the child SCCM asset
|
|
1705
|
+
* </pre>
|
|
1706
|
+
*
|
|
1707
|
+
* <code>map<string, bool> sccm_child_sites = 6;</code>
|
|
1708
|
+
*/
|
|
1709
|
+
@java.lang.Override
|
|
1710
|
+
public boolean getSccmChildSitesOrThrow(
|
|
1711
|
+
java.lang.String key) {
|
|
1712
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
1713
|
+
java.util.Map<java.lang.String, java.lang.Boolean> map =
|
|
1714
|
+
internalGetSccmChildSites().getMap();
|
|
1715
|
+
if (!map.containsKey(key)) {
|
|
1716
|
+
throw new java.lang.IllegalArgumentException();
|
|
1717
|
+
}
|
|
1718
|
+
return map.get(key);
|
|
1719
|
+
}
|
|
1720
|
+
public Builder clearSccmChildSites() {
|
|
1721
|
+
bitField0_ = (bitField0_ & ~0x00000020);
|
|
1722
|
+
internalGetMutableSccmChildSites().getMutableMap()
|
|
1723
|
+
.clear();
|
|
1724
|
+
return this;
|
|
1725
|
+
}
|
|
1726
|
+
/**
|
|
1727
|
+
* <pre>
|
|
1728
|
+
* map of child sites, where key is the entity_id of the child SCCM asset
|
|
1729
|
+
* </pre>
|
|
1730
|
+
*
|
|
1731
|
+
* <code>map<string, bool> sccm_child_sites = 6;</code>
|
|
1732
|
+
*/
|
|
1733
|
+
public Builder removeSccmChildSites(
|
|
1734
|
+
java.lang.String key) {
|
|
1735
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
1736
|
+
internalGetMutableSccmChildSites().getMutableMap()
|
|
1737
|
+
.remove(key);
|
|
1738
|
+
return this;
|
|
1739
|
+
}
|
|
1740
|
+
/**
|
|
1741
|
+
* Use alternate mutation accessors instead.
|
|
1742
|
+
*/
|
|
1743
|
+
@java.lang.Deprecated
|
|
1744
|
+
public java.util.Map<java.lang.String, java.lang.Boolean>
|
|
1745
|
+
getMutableSccmChildSites() {
|
|
1746
|
+
bitField0_ |= 0x00000020;
|
|
1747
|
+
return internalGetMutableSccmChildSites().getMutableMap();
|
|
1748
|
+
}
|
|
1749
|
+
/**
|
|
1750
|
+
* <pre>
|
|
1751
|
+
* map of child sites, where key is the entity_id of the child SCCM asset
|
|
1752
|
+
* </pre>
|
|
1753
|
+
*
|
|
1754
|
+
* <code>map<string, bool> sccm_child_sites = 6;</code>
|
|
1755
|
+
*/
|
|
1756
|
+
public Builder putSccmChildSites(
|
|
1757
|
+
java.lang.String key,
|
|
1758
|
+
boolean value) {
|
|
1759
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
1760
|
+
|
|
1761
|
+
internalGetMutableSccmChildSites().getMutableMap()
|
|
1762
|
+
.put(key, value);
|
|
1763
|
+
bitField0_ |= 0x00000020;
|
|
1764
|
+
return this;
|
|
1765
|
+
}
|
|
1766
|
+
/**
|
|
1767
|
+
* <pre>
|
|
1768
|
+
* map of child sites, where key is the entity_id of the child SCCM asset
|
|
1769
|
+
* </pre>
|
|
1770
|
+
*
|
|
1771
|
+
* <code>map<string, bool> sccm_child_sites = 6;</code>
|
|
1772
|
+
*/
|
|
1773
|
+
public Builder putAllSccmChildSites(
|
|
1774
|
+
java.util.Map<java.lang.String, java.lang.Boolean> values) {
|
|
1775
|
+
internalGetMutableSccmChildSites().getMutableMap()
|
|
1776
|
+
.putAll(values);
|
|
1777
|
+
bitField0_ |= 0x00000020;
|
|
1778
|
+
return this;
|
|
1779
|
+
}
|
|
1461
1780
|
@java.lang.Override
|
|
1462
1781
|
public final Builder setUnknownFields(
|
|
1463
1782
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
@@ -120,4 +120,56 @@ public interface SccmServerOrBuilder extends
|
|
|
120
120
|
*/
|
|
121
121
|
com.lansweeper.dp.outbound.v1.SccmSiteOrBuilder getSccmSiteOrBuilder(
|
|
122
122
|
int index);
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* <pre>
|
|
126
|
+
* map of child sites, where key is the entity_id of the child SCCM asset
|
|
127
|
+
* </pre>
|
|
128
|
+
*
|
|
129
|
+
* <code>map<string, bool> sccm_child_sites = 6;</code>
|
|
130
|
+
*/
|
|
131
|
+
int getSccmChildSitesCount();
|
|
132
|
+
/**
|
|
133
|
+
* <pre>
|
|
134
|
+
* map of child sites, where key is the entity_id of the child SCCM asset
|
|
135
|
+
* </pre>
|
|
136
|
+
*
|
|
137
|
+
* <code>map<string, bool> sccm_child_sites = 6;</code>
|
|
138
|
+
*/
|
|
139
|
+
boolean containsSccmChildSites(
|
|
140
|
+
java.lang.String key);
|
|
141
|
+
/**
|
|
142
|
+
* Use {@link #getSccmChildSitesMap()} instead.
|
|
143
|
+
*/
|
|
144
|
+
@java.lang.Deprecated
|
|
145
|
+
java.util.Map<java.lang.String, java.lang.Boolean>
|
|
146
|
+
getSccmChildSites();
|
|
147
|
+
/**
|
|
148
|
+
* <pre>
|
|
149
|
+
* map of child sites, where key is the entity_id of the child SCCM asset
|
|
150
|
+
* </pre>
|
|
151
|
+
*
|
|
152
|
+
* <code>map<string, bool> sccm_child_sites = 6;</code>
|
|
153
|
+
*/
|
|
154
|
+
java.util.Map<java.lang.String, java.lang.Boolean>
|
|
155
|
+
getSccmChildSitesMap();
|
|
156
|
+
/**
|
|
157
|
+
* <pre>
|
|
158
|
+
* map of child sites, where key is the entity_id of the child SCCM asset
|
|
159
|
+
* </pre>
|
|
160
|
+
*
|
|
161
|
+
* <code>map<string, bool> sccm_child_sites = 6;</code>
|
|
162
|
+
*/
|
|
163
|
+
boolean getSccmChildSitesOrDefault(
|
|
164
|
+
java.lang.String key,
|
|
165
|
+
boolean defaultValue);
|
|
166
|
+
/**
|
|
167
|
+
* <pre>
|
|
168
|
+
* map of child sites, where key is the entity_id of the child SCCM asset
|
|
169
|
+
* </pre>
|
|
170
|
+
*
|
|
171
|
+
* <code>map<string, bool> sccm_child_sites = 6;</code>
|
|
172
|
+
*/
|
|
173
|
+
boolean getSccmChildSitesOrThrow(
|
|
174
|
+
java.lang.String key);
|
|
123
175
|
}
|
package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
CHANGED
|
@@ -458,6 +458,7 @@ com/lansweeper/dp/outbound/v1/Chassis$1.class
|
|
|
458
458
|
com/lansweeper/dp/outbound/v1/ComputerMacSecureElementsOrBuilder.class
|
|
459
459
|
com/lansweeper/dp/outbound/v1/ComputerWindowsPageFile.class
|
|
460
460
|
com/lansweeper/dp/outbound/v1/ComputerMacHardwareController$Builder.class
|
|
461
|
+
com/lansweeper/dp/outbound/v1/HyperVHost$1.class
|
|
461
462
|
com/lansweeper/dp/outbound/v1/VmwareVCenterOrBuilder.class
|
|
462
463
|
com/lansweeper/dp/outbound/v1/OtScanInfo$Builder.class
|
|
463
464
|
com/lansweeper/dp/outbound/v1/ComputerMacAccessibility.class
|
|
@@ -539,6 +540,7 @@ com/lansweeper/dp/outbound/v1/Driver$Builder.class
|
|
|
539
540
|
com/lansweeper/dp/outbound/v1/ComputerLinuxBasicInfo$1.class
|
|
540
541
|
com/lansweeper/dp/outbound/v1/OperatingSystemChangeEvent.class
|
|
541
542
|
com/lansweeper/dp/outbound/v1/ComputerMacRegionalSettings$Builder.class
|
|
543
|
+
com/lansweeper/dp/outbound/v1/HyperVHostOrBuilder.class
|
|
542
544
|
com/lansweeper/dp/outbound/v1/ScannedPort$1.class
|
|
543
545
|
com/lansweeper/dp/outbound/v1/OperatingSystemRecoveryOrBuilder.class
|
|
544
546
|
com/lansweeper/dp/outbound/v1/ReconRuleSet$1.class
|
|
@@ -578,6 +580,7 @@ com/lansweeper/dp/outbound/v1/TrustedPlatformModuleOrBuilder.class
|
|
|
578
580
|
com/lansweeper/dp/outbound/v1/HyperVNetworkOrBuilder.class
|
|
579
581
|
com/lansweeper/dp/outbound/v1/ComputerWindowsDisplay$Builder.class
|
|
580
582
|
com/lansweeper/dp/outbound/v1/DriveVolume.class
|
|
583
|
+
com/lansweeper/dp/outbound/v1/HyperVHost$HyperVGuestKeysDefaultEntryHolder.class
|
|
581
584
|
com/lansweeper/dp/outbound/v1/CorrField$Builder.class
|
|
582
585
|
com/lansweeper/dp/outbound/v1/HttpCertificateOrBuilder.class
|
|
583
586
|
com/lansweeper/dp/outbound/v1/CorrelationIndexRealignmentResponse$1.class
|
|
@@ -956,6 +959,7 @@ com/lansweeper/dp/outbound/v1/CloudEntity$Builder.class
|
|
|
956
959
|
com/lansweeper/dp/outbound/v1/CitrixPool$1.class
|
|
957
960
|
com/lansweeper/dp/outbound/v1/ListEntityRequest.class
|
|
958
961
|
com/lansweeper/dp/outbound/v1/SoftwareChangeEvent$1.class
|
|
962
|
+
com/lansweeper/dp/outbound/v1/HyperVHost.class
|
|
959
963
|
com/lansweeper/dp/outbound/v1/AssetType$1.class
|
|
960
964
|
com/lansweeper/dp/outbound/v1/ComputerWindowsDisplayController.class
|
|
961
965
|
com/lansweeper/dp/outbound/v1/BluetoothDevice.class
|
|
@@ -1077,6 +1081,7 @@ com/lansweeper/dp/outbound/v1/SharedResource$1.class
|
|
|
1077
1081
|
com/lansweeper/dp/outbound/v1/CorrelationRealignment.class
|
|
1078
1082
|
com/lansweeper/dp/outbound/v1/Bios$SpecCase.class
|
|
1079
1083
|
com/lansweeper/dp/outbound/v1/DatastoreClusterDrsPodConfigRule$Builder.class
|
|
1084
|
+
com/lansweeper/dp/outbound/v1/SccmServer$SccmChildSitesDefaultEntryHolder.class
|
|
1080
1085
|
com/lansweeper/dp/outbound/v1/ComputerWindowsIdeController$1.class
|
|
1081
1086
|
com/lansweeper/dp/outbound/v1/Software$Builder.class
|
|
1082
1087
|
com/lansweeper/dp/outbound/v1/Driver$1.class
|
|
@@ -1091,6 +1096,7 @@ com/lansweeper/dp/outbound/v1/DeconcileResponse$1.class
|
|
|
1091
1096
|
com/lansweeper/dp/outbound/v1/LinuxCommandInformation.class
|
|
1092
1097
|
com/lansweeper/dp/outbound/v1/LinuxOperatingSystemInfo$Builder.class
|
|
1093
1098
|
com/lansweeper/dp/outbound/v1/MacPrinterSoftwareItem.class
|
|
1099
|
+
com/lansweeper/dp/outbound/v1/HyperVHost$Builder.class
|
|
1094
1100
|
com/lansweeper/dp/outbound/v1/SqlServerClusterNode$1.class
|
|
1095
1101
|
com/lansweeper/dp/outbound/v1/Office365Mailbox$1.class
|
|
1096
1102
|
com/lansweeper/dp/outbound/v1/IpLocationConfig$Builder.class
|
package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
CHANGED
|
@@ -160,6 +160,7 @@
|
|
|
160
160
|
/home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MotherboardOrBuilder.java
|
|
161
161
|
/home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SqlServerClusterNode.java
|
|
162
162
|
/home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AntivirusSoftwareOrBuilder.java
|
|
163
|
+
/home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/HyperVHostOrBuilder.java
|
|
163
164
|
/home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SqlServerDatabase.java
|
|
164
165
|
/home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CitrixHostPatchOrBuilder.java
|
|
165
166
|
/home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxPcieCard.java
|
|
@@ -426,6 +427,7 @@
|
|
|
426
427
|
/home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerMacNVMExpressOrBuilder.java
|
|
427
428
|
/home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareSnapshotOrBuilder.java
|
|
428
429
|
/home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CorrelationInfoOrBuilder.java
|
|
430
|
+
/home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/HyperVHost.java
|
|
429
431
|
/home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MacThunderboltController.java
|
|
430
432
|
/home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/LinuxBios.java
|
|
431
433
|
/home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerMacRegionalSettingsOrBuilder.java
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/data-platform-outbound-grpc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
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": "
|
|
12
|
+
"gitHead": "163a82bc45a79279f0c3a98c6f7d3f2d5c023d70"
|
|
13
13
|
}
|
package/pom.xml
CHANGED
package/proto/outbound.proto
CHANGED
|
@@ -313,6 +313,7 @@ message Asset {
|
|
|
313
313
|
|
|
314
314
|
optional ActiveDirectoryComputer ad_computer = 88;
|
|
315
315
|
optional HyperV hyper_v_computer = 89;
|
|
316
|
+
optional HyperVHost hyper_v_host = 98; // HyperV Host info, if asset is a HyperV Guest
|
|
316
317
|
|
|
317
318
|
optional ActiveDirectoryPrinter ad_printer = 96;
|
|
318
319
|
optional Printer printer = 84;
|
|
@@ -506,6 +507,7 @@ message SccmServer {
|
|
|
506
507
|
optional string domain = 3;
|
|
507
508
|
string server_id = 4; // reference to site useful for SccmSite Entity in Syncer
|
|
508
509
|
repeated SccmSite sccm_site = 5; // filled by SCCM Server for all sites - LECAdapter will create the opportunity Entity type [SccmSite and SccmServer]
|
|
510
|
+
map<string, bool> sccm_child_sites = 6; // map of child sites, where key is the entity_id of the child SCCM asset
|
|
509
511
|
}
|
|
510
512
|
|
|
511
513
|
message SccmSite {
|
|
@@ -522,6 +524,10 @@ message SccmClient {
|
|
|
522
524
|
optional string client_version = 2;
|
|
523
525
|
}
|
|
524
526
|
|
|
527
|
+
message HyperVHost {
|
|
528
|
+
map<string, bool> hyper_v_guest_keys = 1; // map of hyper-v guest keys, where key is the entity_id of the guest asset
|
|
529
|
+
}
|
|
530
|
+
|
|
525
531
|
/*
|
|
526
532
|
* HyperV Host/Guest only Windows
|
|
527
533
|
* WMI mappings at: https://learn.microsoft.com/en-us/windows/win32/hyperv_v2/msvm-computersystem
|
package/service/pom.xml
CHANGED
package/service/target/{outbound-service-0.6.1-sources.jar → outbound-service-0.7.0-sources.jar}
RENAMED
|
index b2d74f5..f59d91b 100644
|
|
|
Binary file
|
|
index 9680d29..23ff75e 100644
|
|
|
Binary file
|