@lansweeper/data-platform-outbound-grpc 0.10.1 → 0.10.2

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 (27) hide show
  1. package/CHANGELOG.md +4 -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 +11614 -11602
  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/LegacyFields.java +157 -0
  16. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/LegacyFieldsOrBuilder.java +17 -0
  17. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +3781 -3780
  18. package/model/target/maven-archiver/pom.properties +2 -2
  19. package/model/target/{outbound-model-0.10.0-sources.jar → outbound-model-0.10.1-sources.jar} +0 -0
  20. package/model/target/{outbound-model-0.10.0.jar → outbound-model-0.10.1.jar} +0 -0
  21. package/package.json +2 -2
  22. package/pom.xml +1 -1
  23. package/proto/outbound.proto +1 -0
  24. package/service/pom.xml +1 -1
  25. package/service/target/maven-archiver/pom.properties +2 -2
  26. package/service/target/{outbound-service-0.10.0-sources.jar → outbound-service-0.10.1-sources.jar} +0 -0
  27. package/service/target/{outbound-service-0.10.0.jar → outbound-service-0.10.1.jar} +0 -0
package/java.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.10.0",
2
+ "version": "0.10.1",
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.10.0</version>
9
+ <version>0.10.1</version>
10
10
  </parent>
11
11
 
12
12
  <artifactId>outbound-model</artifactId>
@@ -363,6 +363,7 @@ message LegacyFields {
363
363
  repeated AssetGroupLink group_link = 16; // asset group link from the asset.group_link section
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
+ optional string asset_type_key = 20;
366
367
  }
367
368
 
368
369
  message AssetCustom {
@@ -363,6 +363,7 @@ message LegacyFields {
363
363
  repeated AssetGroupLink group_link = 16; // asset group link from the asset.group_link section
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
+ optional string asset_type_key = 20;
366
367
  }
367
368
 
368
369
  message AssetCustom {
@@ -27,6 +27,7 @@ private static final long serialVersionUID = 0L;
27
27
  groupLink_ = java.util.Collections.emptyList();
28
28
  ipLocationKey_ = "";
29
29
  ipLocationId_ = "";
30
+ assetTypeKey_ = "";
30
31
  }
31
32
 
32
33
  @java.lang.Override
@@ -690,6 +691,53 @@ private static final long serialVersionUID = 0L;
690
691
  }
691
692
  }
692
693
 
694
+ public static final int ASSET_TYPE_KEY_FIELD_NUMBER = 20;
695
+ @SuppressWarnings("serial")
696
+ private volatile java.lang.Object assetTypeKey_ = "";
697
+ /**
698
+ * <code>optional string asset_type_key = 20;</code>
699
+ * @return Whether the assetTypeKey field is set.
700
+ */
701
+ @java.lang.Override
702
+ public boolean hasAssetTypeKey() {
703
+ return ((bitField0_ & 0x00040000) != 0);
704
+ }
705
+ /**
706
+ * <code>optional string asset_type_key = 20;</code>
707
+ * @return The assetTypeKey.
708
+ */
709
+ @java.lang.Override
710
+ public java.lang.String getAssetTypeKey() {
711
+ java.lang.Object ref = assetTypeKey_;
712
+ if (ref instanceof java.lang.String) {
713
+ return (java.lang.String) ref;
714
+ } else {
715
+ com.google.protobuf.ByteString bs =
716
+ (com.google.protobuf.ByteString) ref;
717
+ java.lang.String s = bs.toStringUtf8();
718
+ assetTypeKey_ = s;
719
+ return s;
720
+ }
721
+ }
722
+ /**
723
+ * <code>optional string asset_type_key = 20;</code>
724
+ * @return The bytes for assetTypeKey.
725
+ */
726
+ @java.lang.Override
727
+ public com.google.protobuf.ByteString
728
+ getAssetTypeKeyBytes() {
729
+ java.lang.Object ref = assetTypeKey_;
730
+ if (ref instanceof java.lang.String) {
731
+ com.google.protobuf.ByteString b =
732
+ com.google.protobuf.ByteString.copyFromUtf8(
733
+ (java.lang.String) ref);
734
+ assetTypeKey_ = b;
735
+ return b;
736
+ } else {
737
+ return (com.google.protobuf.ByteString) ref;
738
+ }
739
+ }
740
+
693
741
  private byte memoizedIsInitialized = -1;
694
742
  @java.lang.Override
695
743
  public final boolean isInitialized() {
@@ -761,6 +809,9 @@ private static final long serialVersionUID = 0L;
761
809
  if (((bitField0_ & 0x00000001) != 0)) {
762
810
  com.google.protobuf.GeneratedMessageV3.writeString(output, 19, assetId_);
763
811
  }
812
+ if (((bitField0_ & 0x00040000) != 0)) {
813
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 20, assetTypeKey_);
814
+ }
764
815
  getUnknownFields().writeTo(output);
765
816
  }
766
817
 
@@ -843,6 +894,9 @@ private static final long serialVersionUID = 0L;
843
894
  if (((bitField0_ & 0x00000001) != 0)) {
844
895
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, assetId_);
845
896
  }
897
+ if (((bitField0_ & 0x00040000) != 0)) {
898
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, assetTypeKey_);
899
+ }
846
900
  size += getUnknownFields().getSerializedSize();
847
901
  memoizedSize = size;
848
902
  return size;
@@ -950,6 +1004,11 @@ private static final long serialVersionUID = 0L;
950
1004
  if (!getIpLocationId()
951
1005
  .equals(other.getIpLocationId())) return false;
952
1006
  }
1007
+ if (hasAssetTypeKey() != other.hasAssetTypeKey()) return false;
1008
+ if (hasAssetTypeKey()) {
1009
+ if (!getAssetTypeKey()
1010
+ .equals(other.getAssetTypeKey())) return false;
1011
+ }
953
1012
  if (!getUnknownFields().equals(other.getUnknownFields())) return false;
954
1013
  return true;
955
1014
  }
@@ -1037,6 +1096,10 @@ private static final long serialVersionUID = 0L;
1037
1096
  hash = (37 * hash) + IP_LOCATION_ID_FIELD_NUMBER;
1038
1097
  hash = (53 * hash) + getIpLocationId().hashCode();
1039
1098
  }
1099
+ if (hasAssetTypeKey()) {
1100
+ hash = (37 * hash) + ASSET_TYPE_KEY_FIELD_NUMBER;
1101
+ hash = (53 * hash) + getAssetTypeKey().hashCode();
1102
+ }
1040
1103
  hash = (29 * hash) + getUnknownFields().hashCode();
1041
1104
  memoizedHashCode = hash;
1042
1105
  return hash;
@@ -1280,6 +1343,7 @@ private static final long serialVersionUID = 0L;
1280
1343
  bitField0_ = (bitField0_ & ~0x00010000);
1281
1344
  ipLocationKey_ = "";
1282
1345
  ipLocationId_ = "";
1346
+ assetTypeKey_ = "";
1283
1347
  return this;
1284
1348
  }
1285
1349
 
@@ -1429,6 +1493,10 @@ private static final long serialVersionUID = 0L;
1429
1493
  result.ipLocationId_ = ipLocationId_;
1430
1494
  to_bitField0_ |= 0x00020000;
1431
1495
  }
1496
+ if (((from_bitField0_ & 0x00080000) != 0)) {
1497
+ result.assetTypeKey_ = assetTypeKey_;
1498
+ to_bitField0_ |= 0x00040000;
1499
+ }
1432
1500
  result.bitField0_ |= to_bitField0_;
1433
1501
  }
1434
1502
 
@@ -1562,6 +1630,11 @@ private static final long serialVersionUID = 0L;
1562
1630
  bitField0_ |= 0x00040000;
1563
1631
  onChanged();
1564
1632
  }
1633
+ if (other.hasAssetTypeKey()) {
1634
+ assetTypeKey_ = other.assetTypeKey_;
1635
+ bitField0_ |= 0x00080000;
1636
+ onChanged();
1637
+ }
1565
1638
  this.mergeUnknownFields(other.getUnknownFields());
1566
1639
  onChanged();
1567
1640
  return this;
@@ -1721,6 +1794,11 @@ private static final long serialVersionUID = 0L;
1721
1794
  bitField0_ |= 0x00000001;
1722
1795
  break;
1723
1796
  } // case 154
1797
+ case 162: {
1798
+ assetTypeKey_ = input.readStringRequireUtf8();
1799
+ bitField0_ |= 0x00080000;
1800
+ break;
1801
+ } // case 162
1724
1802
  default: {
1725
1803
  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1726
1804
  done = true; // was an endgroup tag
@@ -4209,6 +4287,85 @@ private static final long serialVersionUID = 0L;
4209
4287
  onChanged();
4210
4288
  return this;
4211
4289
  }
4290
+
4291
+ private java.lang.Object assetTypeKey_ = "";
4292
+ /**
4293
+ * <code>optional string asset_type_key = 20;</code>
4294
+ * @return Whether the assetTypeKey field is set.
4295
+ */
4296
+ public boolean hasAssetTypeKey() {
4297
+ return ((bitField0_ & 0x00080000) != 0);
4298
+ }
4299
+ /**
4300
+ * <code>optional string asset_type_key = 20;</code>
4301
+ * @return The assetTypeKey.
4302
+ */
4303
+ public java.lang.String getAssetTypeKey() {
4304
+ java.lang.Object ref = assetTypeKey_;
4305
+ if (!(ref instanceof java.lang.String)) {
4306
+ com.google.protobuf.ByteString bs =
4307
+ (com.google.protobuf.ByteString) ref;
4308
+ java.lang.String s = bs.toStringUtf8();
4309
+ assetTypeKey_ = s;
4310
+ return s;
4311
+ } else {
4312
+ return (java.lang.String) ref;
4313
+ }
4314
+ }
4315
+ /**
4316
+ * <code>optional string asset_type_key = 20;</code>
4317
+ * @return The bytes for assetTypeKey.
4318
+ */
4319
+ public com.google.protobuf.ByteString
4320
+ getAssetTypeKeyBytes() {
4321
+ java.lang.Object ref = assetTypeKey_;
4322
+ if (ref instanceof String) {
4323
+ com.google.protobuf.ByteString b =
4324
+ com.google.protobuf.ByteString.copyFromUtf8(
4325
+ (java.lang.String) ref);
4326
+ assetTypeKey_ = b;
4327
+ return b;
4328
+ } else {
4329
+ return (com.google.protobuf.ByteString) ref;
4330
+ }
4331
+ }
4332
+ /**
4333
+ * <code>optional string asset_type_key = 20;</code>
4334
+ * @param value The assetTypeKey to set.
4335
+ * @return This builder for chaining.
4336
+ */
4337
+ public Builder setAssetTypeKey(
4338
+ java.lang.String value) {
4339
+ if (value == null) { throw new NullPointerException(); }
4340
+ assetTypeKey_ = value;
4341
+ bitField0_ |= 0x00080000;
4342
+ onChanged();
4343
+ return this;
4344
+ }
4345
+ /**
4346
+ * <code>optional string asset_type_key = 20;</code>
4347
+ * @return This builder for chaining.
4348
+ */
4349
+ public Builder clearAssetTypeKey() {
4350
+ assetTypeKey_ = getDefaultInstance().getAssetTypeKey();
4351
+ bitField0_ = (bitField0_ & ~0x00080000);
4352
+ onChanged();
4353
+ return this;
4354
+ }
4355
+ /**
4356
+ * <code>optional string asset_type_key = 20;</code>
4357
+ * @param value The bytes for assetTypeKey to set.
4358
+ * @return This builder for chaining.
4359
+ */
4360
+ public Builder setAssetTypeKeyBytes(
4361
+ com.google.protobuf.ByteString value) {
4362
+ if (value == null) { throw new NullPointerException(); }
4363
+ checkByteStringIsUtf8(value);
4364
+ assetTypeKey_ = value;
4365
+ bitField0_ |= 0x00080000;
4366
+ onChanged();
4367
+ return this;
4368
+ }
4212
4369
  @java.lang.Override
4213
4370
  public final Builder setUnknownFields(
4214
4371
  final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -375,4 +375,21 @@ public interface LegacyFieldsOrBuilder extends
375
375
  */
376
376
  com.google.protobuf.ByteString
377
377
  getIpLocationIdBytes();
378
+
379
+ /**
380
+ * <code>optional string asset_type_key = 20;</code>
381
+ * @return Whether the assetTypeKey field is set.
382
+ */
383
+ boolean hasAssetTypeKey();
384
+ /**
385
+ * <code>optional string asset_type_key = 20;</code>
386
+ * @return The assetTypeKey.
387
+ */
388
+ java.lang.String getAssetTypeKey();
389
+ /**
390
+ * <code>optional string asset_type_key = 20;</code>
391
+ * @return The bytes for assetTypeKey.
392
+ */
393
+ com.google.protobuf.ByteString
394
+ getAssetTypeKeyBytes();
378
395
  }