@lansweeper/data-platform-outbound-grpc 0.3.27 → 0.3.29

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 (35) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +12 -0
  4. package/gen-proto/outbound_pb.js +97 -1
  5. package/generated-go/outbound.pb.go +1058 -1033
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +2 -0
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/SourceInfo$1.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/SourceInfo$Builder.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/SourceInfo.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/SourceInfoOrBuilder.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$1.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$Builder$EsxiGuestSnapshotsConverter.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$Builder.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$EsxiGuestSnapshotsDefaultEntryHolder.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVmOrBuilder.class +0 -0
  20. package/model/target/classes/outbound.proto +2 -0
  21. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +2726 -2724
  22. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SourceInfo.java +261 -68
  23. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SourceInfoOrBuilder.java +29 -0
  24. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm.java +193 -0
  25. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVmOrBuilder.java +29 -0
  26. package/model/target/maven-archiver/pom.properties +2 -2
  27. package/model/target/{outbound-model-0.3.26-sources.jar → outbound-model-0.3.28-sources.jar} +0 -0
  28. package/model/target/{outbound-model-0.3.26.jar → outbound-model-0.3.28.jar} +0 -0
  29. package/package.json +2 -2
  30. package/pom.xml +1 -1
  31. package/proto/outbound.proto +2 -0
  32. package/service/pom.xml +1 -1
  33. package/service/target/maven-archiver/pom.properties +2 -2
  34. package/service/target/{outbound-service-0.3.26-sources.jar → outbound-service-0.3.28-sources.jar} +0 -0
  35. package/service/target/{outbound-service-0.3.26.jar → outbound-service-0.3.28.jar} +0 -0
@@ -48,6 +48,35 @@ public interface SourceInfoOrBuilder extends
48
48
  com.google.protobuf.ByteString
49
49
  getSourceTypeBytes();
50
50
 
51
+ /**
52
+ * <pre>
53
+ * sensor id of the source
54
+ * </pre>
55
+ *
56
+ * <code>optional string sensor_id = 10;</code>
57
+ * @return Whether the sensorId field is set.
58
+ */
59
+ boolean hasSensorId();
60
+ /**
61
+ * <pre>
62
+ * sensor id of the source
63
+ * </pre>
64
+ *
65
+ * <code>optional string sensor_id = 10;</code>
66
+ * @return The sensorId.
67
+ */
68
+ java.lang.String getSensorId();
69
+ /**
70
+ * <pre>
71
+ * sensor id of the source
72
+ * </pre>
73
+ *
74
+ * <code>optional string sensor_id = 10;</code>
75
+ * @return The bytes for sensorId.
76
+ */
77
+ com.google.protobuf.ByteString
78
+ getSensorIdBytes();
79
+
51
80
  /**
52
81
  * <pre>
53
82
  * source agent name and version
@@ -36,6 +36,7 @@ private static final long serialVersionUID = 0L;
36
36
  toolsVersionStatus_ = "";
37
37
  domainName_ = "";
38
38
  configName_ = "";
39
+ vcenterInstanceReference_ = "";
39
40
  }
40
41
 
41
42
  @java.lang.Override
@@ -1141,6 +1142,65 @@ com.lansweeper.dp.outbound.v1.VmwareSnapshot defaultValue) {
1141
1142
  return memorySizeMb_;
1142
1143
  }
1143
1144
 
1145
+ public static final int VCENTER_INSTANCE_REFERENCE_FIELD_NUMBER = 22;
1146
+ @SuppressWarnings("serial")
1147
+ private volatile java.lang.Object vcenterInstanceReference_ = "";
1148
+ /**
1149
+ * <pre>
1150
+ * Reference to the VCenter instance, if this Vm contains a vCenter instance
1151
+ * </pre>
1152
+ *
1153
+ * <code>optional string vcenter_instance_reference = 22;</code>
1154
+ * @return Whether the vcenterInstanceReference field is set.
1155
+ */
1156
+ @java.lang.Override
1157
+ public boolean hasVcenterInstanceReference() {
1158
+ return ((bitField0_ & 0x00040000) != 0);
1159
+ }
1160
+ /**
1161
+ * <pre>
1162
+ * Reference to the VCenter instance, if this Vm contains a vCenter instance
1163
+ * </pre>
1164
+ *
1165
+ * <code>optional string vcenter_instance_reference = 22;</code>
1166
+ * @return The vcenterInstanceReference.
1167
+ */
1168
+ @java.lang.Override
1169
+ public java.lang.String getVcenterInstanceReference() {
1170
+ java.lang.Object ref = vcenterInstanceReference_;
1171
+ if (ref instanceof java.lang.String) {
1172
+ return (java.lang.String) ref;
1173
+ } else {
1174
+ com.google.protobuf.ByteString bs =
1175
+ (com.google.protobuf.ByteString) ref;
1176
+ java.lang.String s = bs.toStringUtf8();
1177
+ vcenterInstanceReference_ = s;
1178
+ return s;
1179
+ }
1180
+ }
1181
+ /**
1182
+ * <pre>
1183
+ * Reference to the VCenter instance, if this Vm contains a vCenter instance
1184
+ * </pre>
1185
+ *
1186
+ * <code>optional string vcenter_instance_reference = 22;</code>
1187
+ * @return The bytes for vcenterInstanceReference.
1188
+ */
1189
+ @java.lang.Override
1190
+ public com.google.protobuf.ByteString
1191
+ getVcenterInstanceReferenceBytes() {
1192
+ java.lang.Object ref = vcenterInstanceReference_;
1193
+ if (ref instanceof java.lang.String) {
1194
+ com.google.protobuf.ByteString b =
1195
+ com.google.protobuf.ByteString.copyFromUtf8(
1196
+ (java.lang.String) ref);
1197
+ vcenterInstanceReference_ = b;
1198
+ return b;
1199
+ } else {
1200
+ return (com.google.protobuf.ByteString) ref;
1201
+ }
1202
+ }
1203
+
1144
1204
  private byte memoizedIsInitialized = -1;
1145
1205
  @java.lang.Override
1146
1206
  public final boolean isInitialized() {
@@ -1221,6 +1281,9 @@ com.lansweeper.dp.outbound.v1.VmwareSnapshot defaultValue) {
1221
1281
  if (((bitField0_ & 0x00020000) != 0)) {
1222
1282
  output.writeDouble(21, memorySizeMb_);
1223
1283
  }
1284
+ if (((bitField0_ & 0x00040000) != 0)) {
1285
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 22, vcenterInstanceReference_);
1286
+ }
1224
1287
  getUnknownFields().writeTo(output);
1225
1288
  }
1226
1289
 
@@ -1306,6 +1369,9 @@ com.lansweeper.dp.outbound.v1.VmwareSnapshot defaultValue) {
1306
1369
  size += com.google.protobuf.CodedOutputStream
1307
1370
  .computeDoubleSize(21, memorySizeMb_);
1308
1371
  }
1372
+ if (((bitField0_ & 0x00040000) != 0)) {
1373
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, vcenterInstanceReference_);
1374
+ }
1309
1375
  size += getUnknownFields().getSerializedSize();
1310
1376
  memoizedSize = size;
1311
1377
  return size;
@@ -1418,6 +1484,11 @@ com.lansweeper.dp.outbound.v1.VmwareSnapshot defaultValue) {
1418
1484
  != java.lang.Double.doubleToLongBits(
1419
1485
  other.getMemorySizeMb())) return false;
1420
1486
  }
1487
+ if (hasVcenterInstanceReference() != other.hasVcenterInstanceReference()) return false;
1488
+ if (hasVcenterInstanceReference()) {
1489
+ if (!getVcenterInstanceReference()
1490
+ .equals(other.getVcenterInstanceReference())) return false;
1491
+ }
1421
1492
  if (!getUnknownFields().equals(other.getUnknownFields())) return false;
1422
1493
  return true;
1423
1494
  }
@@ -1511,6 +1582,10 @@ com.lansweeper.dp.outbound.v1.VmwareSnapshot defaultValue) {
1511
1582
  hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1512
1583
  java.lang.Double.doubleToLongBits(getMemorySizeMb()));
1513
1584
  }
1585
+ if (hasVcenterInstanceReference()) {
1586
+ hash = (37 * hash) + VCENTER_INSTANCE_REFERENCE_FIELD_NUMBER;
1587
+ hash = (53 * hash) + getVcenterInstanceReference().hashCode();
1588
+ }
1514
1589
  hash = (29 * hash) + getUnknownFields().hashCode();
1515
1590
  memoizedHashCode = hash;
1516
1591
  return hash;
@@ -1700,6 +1775,7 @@ com.lansweeper.dp.outbound.v1.VmwareSnapshot defaultValue) {
1700
1775
  domainName_ = "";
1701
1776
  configName_ = "";
1702
1777
  memorySizeMb_ = 0D;
1778
+ vcenterInstanceReference_ = "";
1703
1779
  return this;
1704
1780
  }
1705
1781
 
@@ -1817,6 +1893,10 @@ com.lansweeper.dp.outbound.v1.VmwareSnapshot defaultValue) {
1817
1893
  result.memorySizeMb_ = memorySizeMb_;
1818
1894
  to_bitField0_ |= 0x00020000;
1819
1895
  }
1896
+ if (((from_bitField0_ & 0x00200000) != 0)) {
1897
+ result.vcenterInstanceReference_ = vcenterInstanceReference_;
1898
+ to_bitField0_ |= 0x00040000;
1899
+ }
1820
1900
  result.bitField0_ |= to_bitField0_;
1821
1901
  }
1822
1902
 
@@ -1955,6 +2035,11 @@ com.lansweeper.dp.outbound.v1.VmwareSnapshot defaultValue) {
1955
2035
  if (other.hasMemorySizeMb()) {
1956
2036
  setMemorySizeMb(other.getMemorySizeMb());
1957
2037
  }
2038
+ if (other.hasVcenterInstanceReference()) {
2039
+ vcenterInstanceReference_ = other.vcenterInstanceReference_;
2040
+ bitField0_ |= 0x00200000;
2041
+ onChanged();
2042
+ }
1958
2043
  this.mergeUnknownFields(other.getUnknownFields());
1959
2044
  onChanged();
1960
2045
  return this;
@@ -2092,6 +2177,11 @@ com.lansweeper.dp.outbound.v1.VmwareSnapshot defaultValue) {
2092
2177
  bitField0_ |= 0x00100000;
2093
2178
  break;
2094
2179
  } // case 169
2180
+ case 178: {
2181
+ vcenterInstanceReference_ = input.readStringRequireUtf8();
2182
+ bitField0_ |= 0x00200000;
2183
+ break;
2184
+ } // case 178
2095
2185
  default: {
2096
2186
  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
2097
2187
  done = true; // was an endgroup tag
@@ -4152,6 +4242,109 @@ com.lansweeper.dp.outbound.v1.VmwareSnapshot defaultValue) {
4152
4242
  onChanged();
4153
4243
  return this;
4154
4244
  }
4245
+
4246
+ private java.lang.Object vcenterInstanceReference_ = "";
4247
+ /**
4248
+ * <pre>
4249
+ * Reference to the VCenter instance, if this Vm contains a vCenter instance
4250
+ * </pre>
4251
+ *
4252
+ * <code>optional string vcenter_instance_reference = 22;</code>
4253
+ * @return Whether the vcenterInstanceReference field is set.
4254
+ */
4255
+ public boolean hasVcenterInstanceReference() {
4256
+ return ((bitField0_ & 0x00200000) != 0);
4257
+ }
4258
+ /**
4259
+ * <pre>
4260
+ * Reference to the VCenter instance, if this Vm contains a vCenter instance
4261
+ * </pre>
4262
+ *
4263
+ * <code>optional string vcenter_instance_reference = 22;</code>
4264
+ * @return The vcenterInstanceReference.
4265
+ */
4266
+ public java.lang.String getVcenterInstanceReference() {
4267
+ java.lang.Object ref = vcenterInstanceReference_;
4268
+ if (!(ref instanceof java.lang.String)) {
4269
+ com.google.protobuf.ByteString bs =
4270
+ (com.google.protobuf.ByteString) ref;
4271
+ java.lang.String s = bs.toStringUtf8();
4272
+ vcenterInstanceReference_ = s;
4273
+ return s;
4274
+ } else {
4275
+ return (java.lang.String) ref;
4276
+ }
4277
+ }
4278
+ /**
4279
+ * <pre>
4280
+ * Reference to the VCenter instance, if this Vm contains a vCenter instance
4281
+ * </pre>
4282
+ *
4283
+ * <code>optional string vcenter_instance_reference = 22;</code>
4284
+ * @return The bytes for vcenterInstanceReference.
4285
+ */
4286
+ public com.google.protobuf.ByteString
4287
+ getVcenterInstanceReferenceBytes() {
4288
+ java.lang.Object ref = vcenterInstanceReference_;
4289
+ if (ref instanceof String) {
4290
+ com.google.protobuf.ByteString b =
4291
+ com.google.protobuf.ByteString.copyFromUtf8(
4292
+ (java.lang.String) ref);
4293
+ vcenterInstanceReference_ = b;
4294
+ return b;
4295
+ } else {
4296
+ return (com.google.protobuf.ByteString) ref;
4297
+ }
4298
+ }
4299
+ /**
4300
+ * <pre>
4301
+ * Reference to the VCenter instance, if this Vm contains a vCenter instance
4302
+ * </pre>
4303
+ *
4304
+ * <code>optional string vcenter_instance_reference = 22;</code>
4305
+ * @param value The vcenterInstanceReference to set.
4306
+ * @return This builder for chaining.
4307
+ */
4308
+ public Builder setVcenterInstanceReference(
4309
+ java.lang.String value) {
4310
+ if (value == null) { throw new NullPointerException(); }
4311
+ vcenterInstanceReference_ = value;
4312
+ bitField0_ |= 0x00200000;
4313
+ onChanged();
4314
+ return this;
4315
+ }
4316
+ /**
4317
+ * <pre>
4318
+ * Reference to the VCenter instance, if this Vm contains a vCenter instance
4319
+ * </pre>
4320
+ *
4321
+ * <code>optional string vcenter_instance_reference = 22;</code>
4322
+ * @return This builder for chaining.
4323
+ */
4324
+ public Builder clearVcenterInstanceReference() {
4325
+ vcenterInstanceReference_ = getDefaultInstance().getVcenterInstanceReference();
4326
+ bitField0_ = (bitField0_ & ~0x00200000);
4327
+ onChanged();
4328
+ return this;
4329
+ }
4330
+ /**
4331
+ * <pre>
4332
+ * Reference to the VCenter instance, if this Vm contains a vCenter instance
4333
+ * </pre>
4334
+ *
4335
+ * <code>optional string vcenter_instance_reference = 22;</code>
4336
+ * @param value The bytes for vcenterInstanceReference to set.
4337
+ * @return This builder for chaining.
4338
+ */
4339
+ public Builder setVcenterInstanceReferenceBytes(
4340
+ com.google.protobuf.ByteString value) {
4341
+ if (value == null) { throw new NullPointerException(); }
4342
+ checkByteStringIsUtf8(value);
4343
+ vcenterInstanceReference_ = value;
4344
+ bitField0_ |= 0x00200000;
4345
+ onChanged();
4346
+ return this;
4347
+ }
4155
4348
  @java.lang.Override
4156
4349
  public final Builder setUnknownFields(
4157
4350
  final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -571,4 +571,33 @@ com.lansweeper.dp.outbound.v1.VmwareSnapshot defaultValue);
571
571
  * @return The memorySizeMb.
572
572
  */
573
573
  double getMemorySizeMb();
574
+
575
+ /**
576
+ * <pre>
577
+ * Reference to the VCenter instance, if this Vm contains a vCenter instance
578
+ * </pre>
579
+ *
580
+ * <code>optional string vcenter_instance_reference = 22;</code>
581
+ * @return Whether the vcenterInstanceReference field is set.
582
+ */
583
+ boolean hasVcenterInstanceReference();
584
+ /**
585
+ * <pre>
586
+ * Reference to the VCenter instance, if this Vm contains a vCenter instance
587
+ * </pre>
588
+ *
589
+ * <code>optional string vcenter_instance_reference = 22;</code>
590
+ * @return The vcenterInstanceReference.
591
+ */
592
+ java.lang.String getVcenterInstanceReference();
593
+ /**
594
+ * <pre>
595
+ * Reference to the VCenter instance, if this Vm contains a vCenter instance
596
+ * </pre>
597
+ *
598
+ * <code>optional string vcenter_instance_reference = 22;</code>
599
+ * @return The bytes for vcenterInstanceReference.
600
+ */
601
+ com.google.protobuf.ByteString
602
+ getVcenterInstanceReferenceBytes();
574
603
  }
@@ -1,5 +1,5 @@
1
1
  #Generated by Maven
2
- #Fri Oct 25 13:26:16 UTC 2024
2
+ #Tue Oct 29 11:17:02 UTC 2024
3
3
  groupId=com.lansweeper.dp.outbound.v1
4
4
  artifactId=outbound-model
5
- version=0.3.26
5
+ version=0.3.28
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/data-platform-outbound-grpc",
3
- "version": "0.3.27",
3
+ "version": "0.3.29",
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": "099d817f9beffd1c97ce6503762300785b668feb"
12
+ "gitHead": "41f32d7eee29bb8aaece5e7a64069f99b1d4ddf9"
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.3.26</version>
9
+ <version>0.3.28</version>
10
10
  <packaging>pom</packaging>
11
11
  <modules>
12
12
  <module>model</module>
@@ -790,6 +790,7 @@ message IntuneApplication {
790
790
  message SourceInfo {
791
791
  string source_id = 1; // source id, like installation id of IT
792
792
  string source_type = 2; // source type like e.g. IT
793
+ optional string sensor_id = 10; // sensor id of the source
793
794
  optional string source_agent = 3; // source agent name and version
794
795
  optional string source_name = 4; // source name
795
796
  optional string source_tag = 8; // source tag
@@ -3984,6 +3985,7 @@ message VmwareEsxiGuestVm {
3984
3985
  optional string domain_name = 18; // Domain name of the Esxi Guest VM
3985
3986
  optional string config_name = 19; // Config name of the Esxi Guest VM
3986
3987
  optional double memory_size_mb = 21; // Memory size in MB of the Esxi Guest VM
3988
+ optional string vcenter_instance_reference = 22; // Reference to the VCenter instance, if this Vm contains a vCenter instance
3987
3989
  }
3988
3990
 
3989
3991
  /*
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.3.26</version>
9
+ <version>0.3.28</version>
10
10
  </parent>
11
11
 
12
12
  <artifactId>outbound-service</artifactId>
@@ -1,5 +1,5 @@
1
1
  #Generated by Maven
2
- #Fri Oct 25 13:26:25 UTC 2024
2
+ #Tue Oct 29 11:17:06 UTC 2024
3
3
  groupId=com.lansweeper.dp.outbound.v1
4
4
  artifactId=outbound-service
5
- version=0.3.26
5
+ version=0.3.28
index b209733..c785a8b 100644
Binary file