@lansweeper/data-platform-outbound-grpc 0.7.0 → 0.8.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.
- package/CHANGELOG.md +260 -1052
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +85 -0
- package/gen-proto/outbound_pb.js +656 -2
- package/generated-go/outbound.pb.go +8058 -7823
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/outbound.proto +18 -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/Computer$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerOrBuilder.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/com/lansweeper/dp/outbound/v1/WindowsComputerRegistryInfo$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsComputerRegistryInfo$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsComputerRegistryInfo.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsComputerRegistryInfoOrBuilder.class +0 -0
- package/model/target/classes/outbound.proto +18 -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/Computer.java +551 -108
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerOrBuilder.java +44 -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 +3937 -3876
- 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/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/WindowsComputerRegistryInfo.java +1240 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/WindowsComputerRegistryInfoOrBuilder.java +107 -0
- package/model/target/maven-archiver/pom.properties +2 -2
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +10 -0
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +4 -0
- package/model/target/{outbound-model-0.6.1-sources.jar → outbound-model-0.8.0-sources.jar} +0 -0
- package/model/target/{outbound-model-0.6.1.jar → outbound-model-0.8.0.jar} +0 -0
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +18 -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.8.0-sources.jar} +0 -0
- package/service/target/{outbound-service-0.6.1.jar → outbound-service-0.8.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
|
}
|