@lansweeper/data-platform-outbound-grpc 0.8.13 → 0.9.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 (47) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +94 -0
  4. package/gen-proto/outbound_pb.js +732 -2
  5. package/generated-go/outbound.pb.go +4726 -4463
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +44 -0
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryUser$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryUser$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryUser.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryUserOrBuilder.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/DebianBasedSoftwareDataPoints$1.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/DebianBasedSoftwareDataPoints$Builder.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/DebianBasedSoftwareDataPoints.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/DebianBasedSoftwareDataPointsOrBuilder.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/RhelBasedSoftwareDataPoints$1.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/RhelBasedSoftwareDataPoints$Builder.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/RhelBasedSoftwareDataPoints.class +0 -0
  21. package/model/target/classes/com/lansweeper/dp/outbound/v1/RhelBasedSoftwareDataPointsOrBuilder.class +0 -0
  22. package/model/target/classes/com/lansweeper/dp/outbound/v1/Software$1.class +0 -0
  23. package/model/target/classes/com/lansweeper/dp/outbound/v1/Software$Builder.class +0 -0
  24. package/model/target/classes/com/lansweeper/dp/outbound/v1/Software.class +0 -0
  25. package/model/target/classes/com/lansweeper/dp/outbound/v1/SoftwareOrBuilder.class +0 -0
  26. package/model/target/classes/outbound.proto +44 -0
  27. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryUser.java +157 -0
  28. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryUserOrBuilder.java +17 -0
  29. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DebianBasedSoftwareDataPoints.java +1270 -0
  30. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DebianBasedSoftwareDataPointsOrBuilder.java +153 -0
  31. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +1319 -1279
  32. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/RhelBasedSoftwareDataPoints.java +939 -0
  33. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/RhelBasedSoftwareDataPointsOrBuilder.java +95 -0
  34. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Software.java +370 -0
  35. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SoftwareOrBuilder.java +30 -0
  36. package/model/target/maven-archiver/pom.properties +2 -2
  37. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +8 -0
  38. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +4 -0
  39. package/model/target/{outbound-model-0.8.12-sources.jar → outbound-model-0.9.0-sources.jar} +0 -0
  40. package/model/target/{outbound-model-0.8.12.jar → outbound-model-0.9.0.jar} +0 -0
  41. package/package.json +2 -2
  42. package/pom.xml +1 -1
  43. package/proto/outbound.proto +44 -0
  44. package/service/pom.xml +1 -1
  45. package/service/target/maven-archiver/pom.properties +2 -2
  46. package/service/target/{outbound-service-0.8.12-sources.jar → outbound-service-0.9.0-sources.jar} +0 -0
  47. package/service/target/{outbound-service-0.8.12.jar → outbound-service-0.9.0.jar} +0 -0
@@ -0,0 +1,939 @@
1
+ // Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ // source: outbound.proto
3
+
4
+ // Protobuf Java Version: 3.25.1
5
+ package com.lansweeper.dp.outbound.v1;
6
+
7
+ /**
8
+ * <pre>
9
+ * Contains attributes specific to software packages found on RHEL-based distributions (e.g., RHEL, CentOS, Fedora, AlmaLinux, Rocky Linux, Amazon Linux) managed by rpm.
10
+ * </pre>
11
+ *
12
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints}
13
+ */
14
+ public final class RhelBasedSoftwareDataPoints extends
15
+ com.google.protobuf.GeneratedMessageV3 implements
16
+ // @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints)
17
+ RhelBasedSoftwareDataPointsOrBuilder {
18
+ private static final long serialVersionUID = 0L;
19
+ // Use RhelBasedSoftwareDataPoints.newBuilder() to construct.
20
+ private RhelBasedSoftwareDataPoints(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
21
+ super(builder);
22
+ }
23
+ private RhelBasedSoftwareDataPoints() {
24
+ sourceRpm_ = "";
25
+ uiFromRepo_ = "";
26
+ }
27
+
28
+ @java.lang.Override
29
+ @SuppressWarnings({"unused"})
30
+ protected java.lang.Object newInstance(
31
+ UnusedPrivateParameter unused) {
32
+ return new RhelBasedSoftwareDataPoints();
33
+ }
34
+
35
+ public static final com.google.protobuf.Descriptors.Descriptor
36
+ getDescriptor() {
37
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_RhelBasedSoftwareDataPoints_descriptor;
38
+ }
39
+
40
+ @java.lang.Override
41
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
42
+ internalGetFieldAccessorTable() {
43
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_RhelBasedSoftwareDataPoints_fieldAccessorTable
44
+ .ensureFieldAccessorsInitialized(
45
+ com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints.class, com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints.Builder.class);
46
+ }
47
+
48
+ private int bitField0_;
49
+ public static final int SOURCE_RPM_FIELD_NUMBER = 1;
50
+ @SuppressWarnings("serial")
51
+ private volatile java.lang.Object sourceRpm_ = "";
52
+ /**
53
+ * <pre>
54
+ * For RPM packages, the original source RPM file name from which the binary package was built.
55
+ * Example: "ntp-4.2.6p5-10.el6.centos.2.src.rpm"
56
+ * </pre>
57
+ *
58
+ * <code>optional string source_rpm = 1;</code>
59
+ * @return Whether the sourceRpm field is set.
60
+ */
61
+ @java.lang.Override
62
+ public boolean hasSourceRpm() {
63
+ return ((bitField0_ & 0x00000001) != 0);
64
+ }
65
+ /**
66
+ * <pre>
67
+ * For RPM packages, the original source RPM file name from which the binary package was built.
68
+ * Example: "ntp-4.2.6p5-10.el6.centos.2.src.rpm"
69
+ * </pre>
70
+ *
71
+ * <code>optional string source_rpm = 1;</code>
72
+ * @return The sourceRpm.
73
+ */
74
+ @java.lang.Override
75
+ public java.lang.String getSourceRpm() {
76
+ java.lang.Object ref = sourceRpm_;
77
+ if (ref instanceof java.lang.String) {
78
+ return (java.lang.String) ref;
79
+ } else {
80
+ com.google.protobuf.ByteString bs =
81
+ (com.google.protobuf.ByteString) ref;
82
+ java.lang.String s = bs.toStringUtf8();
83
+ sourceRpm_ = s;
84
+ return s;
85
+ }
86
+ }
87
+ /**
88
+ * <pre>
89
+ * For RPM packages, the original source RPM file name from which the binary package was built.
90
+ * Example: "ntp-4.2.6p5-10.el6.centos.2.src.rpm"
91
+ * </pre>
92
+ *
93
+ * <code>optional string source_rpm = 1;</code>
94
+ * @return The bytes for sourceRpm.
95
+ */
96
+ @java.lang.Override
97
+ public com.google.protobuf.ByteString
98
+ getSourceRpmBytes() {
99
+ java.lang.Object ref = sourceRpm_;
100
+ if (ref instanceof java.lang.String) {
101
+ com.google.protobuf.ByteString b =
102
+ com.google.protobuf.ByteString.copyFromUtf8(
103
+ (java.lang.String) ref);
104
+ sourceRpm_ = b;
105
+ return b;
106
+ } else {
107
+ return (com.google.protobuf.ByteString) ref;
108
+ }
109
+ }
110
+
111
+ public static final int EPOCH_FIELD_NUMBER = 2;
112
+ private int epoch_ = 0;
113
+ /**
114
+ * <pre>
115
+ * The epoch number for RPM packages. Used in version comparison to handle cases where upstream versioning changes.
116
+ * Example: "1" for "1:2.3.4-5". Defaults to 0 if no explicit epoch is present.
117
+ * </pre>
118
+ *
119
+ * <code>optional uint32 epoch = 2;</code>
120
+ * @return Whether the epoch field is set.
121
+ */
122
+ @java.lang.Override
123
+ public boolean hasEpoch() {
124
+ return ((bitField0_ & 0x00000002) != 0);
125
+ }
126
+ /**
127
+ * <pre>
128
+ * The epoch number for RPM packages. Used in version comparison to handle cases where upstream versioning changes.
129
+ * Example: "1" for "1:2.3.4-5". Defaults to 0 if no explicit epoch is present.
130
+ * </pre>
131
+ *
132
+ * <code>optional uint32 epoch = 2;</code>
133
+ * @return The epoch.
134
+ */
135
+ @java.lang.Override
136
+ public int getEpoch() {
137
+ return epoch_;
138
+ }
139
+
140
+ public static final int UI_FROM_REPO_FIELD_NUMBER = 3;
141
+ @SuppressWarnings("serial")
142
+ private volatile java.lang.Object uiFromRepo_ = "";
143
+ /**
144
+ * <pre>
145
+ * The originating repository for the software. Currently primarily observed for Amazon Linux 2+
146
+ * where 'repoquery' can provide this information (e.g., "amzn2-core", "epel").
147
+ * </pre>
148
+ *
149
+ * <code>optional string ui_from_repo = 3;</code>
150
+ * @return Whether the uiFromRepo field is set.
151
+ */
152
+ @java.lang.Override
153
+ public boolean hasUiFromRepo() {
154
+ return ((bitField0_ & 0x00000004) != 0);
155
+ }
156
+ /**
157
+ * <pre>
158
+ * The originating repository for the software. Currently primarily observed for Amazon Linux 2+
159
+ * where 'repoquery' can provide this information (e.g., "amzn2-core", "epel").
160
+ * </pre>
161
+ *
162
+ * <code>optional string ui_from_repo = 3;</code>
163
+ * @return The uiFromRepo.
164
+ */
165
+ @java.lang.Override
166
+ public java.lang.String getUiFromRepo() {
167
+ java.lang.Object ref = uiFromRepo_;
168
+ if (ref instanceof java.lang.String) {
169
+ return (java.lang.String) ref;
170
+ } else {
171
+ com.google.protobuf.ByteString bs =
172
+ (com.google.protobuf.ByteString) ref;
173
+ java.lang.String s = bs.toStringUtf8();
174
+ uiFromRepo_ = s;
175
+ return s;
176
+ }
177
+ }
178
+ /**
179
+ * <pre>
180
+ * The originating repository for the software. Currently primarily observed for Amazon Linux 2+
181
+ * where 'repoquery' can provide this information (e.g., "amzn2-core", "epel").
182
+ * </pre>
183
+ *
184
+ * <code>optional string ui_from_repo = 3;</code>
185
+ * @return The bytes for uiFromRepo.
186
+ */
187
+ @java.lang.Override
188
+ public com.google.protobuf.ByteString
189
+ getUiFromRepoBytes() {
190
+ java.lang.Object ref = uiFromRepo_;
191
+ if (ref instanceof java.lang.String) {
192
+ com.google.protobuf.ByteString b =
193
+ com.google.protobuf.ByteString.copyFromUtf8(
194
+ (java.lang.String) ref);
195
+ uiFromRepo_ = b;
196
+ return b;
197
+ } else {
198
+ return (com.google.protobuf.ByteString) ref;
199
+ }
200
+ }
201
+
202
+ private byte memoizedIsInitialized = -1;
203
+ @java.lang.Override
204
+ public final boolean isInitialized() {
205
+ byte isInitialized = memoizedIsInitialized;
206
+ if (isInitialized == 1) return true;
207
+ if (isInitialized == 0) return false;
208
+
209
+ memoizedIsInitialized = 1;
210
+ return true;
211
+ }
212
+
213
+ @java.lang.Override
214
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
215
+ throws java.io.IOException {
216
+ if (((bitField0_ & 0x00000001) != 0)) {
217
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceRpm_);
218
+ }
219
+ if (((bitField0_ & 0x00000002) != 0)) {
220
+ output.writeUInt32(2, epoch_);
221
+ }
222
+ if (((bitField0_ & 0x00000004) != 0)) {
223
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uiFromRepo_);
224
+ }
225
+ getUnknownFields().writeTo(output);
226
+ }
227
+
228
+ @java.lang.Override
229
+ public int getSerializedSize() {
230
+ int size = memoizedSize;
231
+ if (size != -1) return size;
232
+
233
+ size = 0;
234
+ if (((bitField0_ & 0x00000001) != 0)) {
235
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sourceRpm_);
236
+ }
237
+ if (((bitField0_ & 0x00000002) != 0)) {
238
+ size += com.google.protobuf.CodedOutputStream
239
+ .computeUInt32Size(2, epoch_);
240
+ }
241
+ if (((bitField0_ & 0x00000004) != 0)) {
242
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uiFromRepo_);
243
+ }
244
+ size += getUnknownFields().getSerializedSize();
245
+ memoizedSize = size;
246
+ return size;
247
+ }
248
+
249
+ @java.lang.Override
250
+ public boolean equals(final java.lang.Object obj) {
251
+ if (obj == this) {
252
+ return true;
253
+ }
254
+ if (!(obj instanceof com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints)) {
255
+ return super.equals(obj);
256
+ }
257
+ com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints other = (com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints) obj;
258
+
259
+ if (hasSourceRpm() != other.hasSourceRpm()) return false;
260
+ if (hasSourceRpm()) {
261
+ if (!getSourceRpm()
262
+ .equals(other.getSourceRpm())) return false;
263
+ }
264
+ if (hasEpoch() != other.hasEpoch()) return false;
265
+ if (hasEpoch()) {
266
+ if (getEpoch()
267
+ != other.getEpoch()) return false;
268
+ }
269
+ if (hasUiFromRepo() != other.hasUiFromRepo()) return false;
270
+ if (hasUiFromRepo()) {
271
+ if (!getUiFromRepo()
272
+ .equals(other.getUiFromRepo())) return false;
273
+ }
274
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
275
+ return true;
276
+ }
277
+
278
+ @java.lang.Override
279
+ public int hashCode() {
280
+ if (memoizedHashCode != 0) {
281
+ return memoizedHashCode;
282
+ }
283
+ int hash = 41;
284
+ hash = (19 * hash) + getDescriptor().hashCode();
285
+ if (hasSourceRpm()) {
286
+ hash = (37 * hash) + SOURCE_RPM_FIELD_NUMBER;
287
+ hash = (53 * hash) + getSourceRpm().hashCode();
288
+ }
289
+ if (hasEpoch()) {
290
+ hash = (37 * hash) + EPOCH_FIELD_NUMBER;
291
+ hash = (53 * hash) + getEpoch();
292
+ }
293
+ if (hasUiFromRepo()) {
294
+ hash = (37 * hash) + UI_FROM_REPO_FIELD_NUMBER;
295
+ hash = (53 * hash) + getUiFromRepo().hashCode();
296
+ }
297
+ hash = (29 * hash) + getUnknownFields().hashCode();
298
+ memoizedHashCode = hash;
299
+ return hash;
300
+ }
301
+
302
+ public static com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints parseFrom(
303
+ java.nio.ByteBuffer data)
304
+ throws com.google.protobuf.InvalidProtocolBufferException {
305
+ return PARSER.parseFrom(data);
306
+ }
307
+ public static com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints parseFrom(
308
+ java.nio.ByteBuffer data,
309
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
310
+ throws com.google.protobuf.InvalidProtocolBufferException {
311
+ return PARSER.parseFrom(data, extensionRegistry);
312
+ }
313
+ public static com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints parseFrom(
314
+ com.google.protobuf.ByteString data)
315
+ throws com.google.protobuf.InvalidProtocolBufferException {
316
+ return PARSER.parseFrom(data);
317
+ }
318
+ public static com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints parseFrom(
319
+ com.google.protobuf.ByteString data,
320
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
321
+ throws com.google.protobuf.InvalidProtocolBufferException {
322
+ return PARSER.parseFrom(data, extensionRegistry);
323
+ }
324
+ public static com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints parseFrom(byte[] data)
325
+ throws com.google.protobuf.InvalidProtocolBufferException {
326
+ return PARSER.parseFrom(data);
327
+ }
328
+ public static com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints parseFrom(
329
+ byte[] data,
330
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
331
+ throws com.google.protobuf.InvalidProtocolBufferException {
332
+ return PARSER.parseFrom(data, extensionRegistry);
333
+ }
334
+ public static com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints parseFrom(java.io.InputStream input)
335
+ throws java.io.IOException {
336
+ return com.google.protobuf.GeneratedMessageV3
337
+ .parseWithIOException(PARSER, input);
338
+ }
339
+ public static com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints parseFrom(
340
+ java.io.InputStream input,
341
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
342
+ throws java.io.IOException {
343
+ return com.google.protobuf.GeneratedMessageV3
344
+ .parseWithIOException(PARSER, input, extensionRegistry);
345
+ }
346
+
347
+ public static com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints parseDelimitedFrom(java.io.InputStream input)
348
+ throws java.io.IOException {
349
+ return com.google.protobuf.GeneratedMessageV3
350
+ .parseDelimitedWithIOException(PARSER, input);
351
+ }
352
+
353
+ public static com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints parseDelimitedFrom(
354
+ java.io.InputStream input,
355
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
356
+ throws java.io.IOException {
357
+ return com.google.protobuf.GeneratedMessageV3
358
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
359
+ }
360
+ public static com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints parseFrom(
361
+ com.google.protobuf.CodedInputStream input)
362
+ throws java.io.IOException {
363
+ return com.google.protobuf.GeneratedMessageV3
364
+ .parseWithIOException(PARSER, input);
365
+ }
366
+ public static com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints parseFrom(
367
+ com.google.protobuf.CodedInputStream input,
368
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
369
+ throws java.io.IOException {
370
+ return com.google.protobuf.GeneratedMessageV3
371
+ .parseWithIOException(PARSER, input, extensionRegistry);
372
+ }
373
+
374
+ @java.lang.Override
375
+ public Builder newBuilderForType() { return newBuilder(); }
376
+ public static Builder newBuilder() {
377
+ return DEFAULT_INSTANCE.toBuilder();
378
+ }
379
+ public static Builder newBuilder(com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints prototype) {
380
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
381
+ }
382
+ @java.lang.Override
383
+ public Builder toBuilder() {
384
+ return this == DEFAULT_INSTANCE
385
+ ? new Builder() : new Builder().mergeFrom(this);
386
+ }
387
+
388
+ @java.lang.Override
389
+ protected Builder newBuilderForType(
390
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
391
+ Builder builder = new Builder(parent);
392
+ return builder;
393
+ }
394
+ /**
395
+ * <pre>
396
+ * Contains attributes specific to software packages found on RHEL-based distributions (e.g., RHEL, CentOS, Fedora, AlmaLinux, Rocky Linux, Amazon Linux) managed by rpm.
397
+ * </pre>
398
+ *
399
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints}
400
+ */
401
+ public static final class Builder extends
402
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
403
+ // @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints)
404
+ com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPointsOrBuilder {
405
+ public static final com.google.protobuf.Descriptors.Descriptor
406
+ getDescriptor() {
407
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_RhelBasedSoftwareDataPoints_descriptor;
408
+ }
409
+
410
+ @java.lang.Override
411
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
412
+ internalGetFieldAccessorTable() {
413
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_RhelBasedSoftwareDataPoints_fieldAccessorTable
414
+ .ensureFieldAccessorsInitialized(
415
+ com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints.class, com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints.Builder.class);
416
+ }
417
+
418
+ // Construct using com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints.newBuilder()
419
+ private Builder() {
420
+
421
+ }
422
+
423
+ private Builder(
424
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
425
+ super(parent);
426
+
427
+ }
428
+ @java.lang.Override
429
+ public Builder clear() {
430
+ super.clear();
431
+ bitField0_ = 0;
432
+ sourceRpm_ = "";
433
+ epoch_ = 0;
434
+ uiFromRepo_ = "";
435
+ return this;
436
+ }
437
+
438
+ @java.lang.Override
439
+ public com.google.protobuf.Descriptors.Descriptor
440
+ getDescriptorForType() {
441
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_RhelBasedSoftwareDataPoints_descriptor;
442
+ }
443
+
444
+ @java.lang.Override
445
+ public com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints getDefaultInstanceForType() {
446
+ return com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints.getDefaultInstance();
447
+ }
448
+
449
+ @java.lang.Override
450
+ public com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints build() {
451
+ com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints result = buildPartial();
452
+ if (!result.isInitialized()) {
453
+ throw newUninitializedMessageException(result);
454
+ }
455
+ return result;
456
+ }
457
+
458
+ @java.lang.Override
459
+ public com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints buildPartial() {
460
+ com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints result = new com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints(this);
461
+ if (bitField0_ != 0) { buildPartial0(result); }
462
+ onBuilt();
463
+ return result;
464
+ }
465
+
466
+ private void buildPartial0(com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints result) {
467
+ int from_bitField0_ = bitField0_;
468
+ int to_bitField0_ = 0;
469
+ if (((from_bitField0_ & 0x00000001) != 0)) {
470
+ result.sourceRpm_ = sourceRpm_;
471
+ to_bitField0_ |= 0x00000001;
472
+ }
473
+ if (((from_bitField0_ & 0x00000002) != 0)) {
474
+ result.epoch_ = epoch_;
475
+ to_bitField0_ |= 0x00000002;
476
+ }
477
+ if (((from_bitField0_ & 0x00000004) != 0)) {
478
+ result.uiFromRepo_ = uiFromRepo_;
479
+ to_bitField0_ |= 0x00000004;
480
+ }
481
+ result.bitField0_ |= to_bitField0_;
482
+ }
483
+
484
+ @java.lang.Override
485
+ public Builder clone() {
486
+ return super.clone();
487
+ }
488
+ @java.lang.Override
489
+ public Builder setField(
490
+ com.google.protobuf.Descriptors.FieldDescriptor field,
491
+ java.lang.Object value) {
492
+ return super.setField(field, value);
493
+ }
494
+ @java.lang.Override
495
+ public Builder clearField(
496
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
497
+ return super.clearField(field);
498
+ }
499
+ @java.lang.Override
500
+ public Builder clearOneof(
501
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
502
+ return super.clearOneof(oneof);
503
+ }
504
+ @java.lang.Override
505
+ public Builder setRepeatedField(
506
+ com.google.protobuf.Descriptors.FieldDescriptor field,
507
+ int index, java.lang.Object value) {
508
+ return super.setRepeatedField(field, index, value);
509
+ }
510
+ @java.lang.Override
511
+ public Builder addRepeatedField(
512
+ com.google.protobuf.Descriptors.FieldDescriptor field,
513
+ java.lang.Object value) {
514
+ return super.addRepeatedField(field, value);
515
+ }
516
+ @java.lang.Override
517
+ public Builder mergeFrom(com.google.protobuf.Message other) {
518
+ if (other instanceof com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints) {
519
+ return mergeFrom((com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints)other);
520
+ } else {
521
+ super.mergeFrom(other);
522
+ return this;
523
+ }
524
+ }
525
+
526
+ public Builder mergeFrom(com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints other) {
527
+ if (other == com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints.getDefaultInstance()) return this;
528
+ if (other.hasSourceRpm()) {
529
+ sourceRpm_ = other.sourceRpm_;
530
+ bitField0_ |= 0x00000001;
531
+ onChanged();
532
+ }
533
+ if (other.hasEpoch()) {
534
+ setEpoch(other.getEpoch());
535
+ }
536
+ if (other.hasUiFromRepo()) {
537
+ uiFromRepo_ = other.uiFromRepo_;
538
+ bitField0_ |= 0x00000004;
539
+ onChanged();
540
+ }
541
+ this.mergeUnknownFields(other.getUnknownFields());
542
+ onChanged();
543
+ return this;
544
+ }
545
+
546
+ @java.lang.Override
547
+ public final boolean isInitialized() {
548
+ return true;
549
+ }
550
+
551
+ @java.lang.Override
552
+ public Builder mergeFrom(
553
+ com.google.protobuf.CodedInputStream input,
554
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
555
+ throws java.io.IOException {
556
+ if (extensionRegistry == null) {
557
+ throw new java.lang.NullPointerException();
558
+ }
559
+ try {
560
+ boolean done = false;
561
+ while (!done) {
562
+ int tag = input.readTag();
563
+ switch (tag) {
564
+ case 0:
565
+ done = true;
566
+ break;
567
+ case 10: {
568
+ sourceRpm_ = input.readStringRequireUtf8();
569
+ bitField0_ |= 0x00000001;
570
+ break;
571
+ } // case 10
572
+ case 16: {
573
+ epoch_ = input.readUInt32();
574
+ bitField0_ |= 0x00000002;
575
+ break;
576
+ } // case 16
577
+ case 26: {
578
+ uiFromRepo_ = input.readStringRequireUtf8();
579
+ bitField0_ |= 0x00000004;
580
+ break;
581
+ } // case 26
582
+ default: {
583
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
584
+ done = true; // was an endgroup tag
585
+ }
586
+ break;
587
+ } // default:
588
+ } // switch (tag)
589
+ } // while (!done)
590
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
591
+ throw e.unwrapIOException();
592
+ } finally {
593
+ onChanged();
594
+ } // finally
595
+ return this;
596
+ }
597
+ private int bitField0_;
598
+
599
+ private java.lang.Object sourceRpm_ = "";
600
+ /**
601
+ * <pre>
602
+ * For RPM packages, the original source RPM file name from which the binary package was built.
603
+ * Example: "ntp-4.2.6p5-10.el6.centos.2.src.rpm"
604
+ * </pre>
605
+ *
606
+ * <code>optional string source_rpm = 1;</code>
607
+ * @return Whether the sourceRpm field is set.
608
+ */
609
+ public boolean hasSourceRpm() {
610
+ return ((bitField0_ & 0x00000001) != 0);
611
+ }
612
+ /**
613
+ * <pre>
614
+ * For RPM packages, the original source RPM file name from which the binary package was built.
615
+ * Example: "ntp-4.2.6p5-10.el6.centos.2.src.rpm"
616
+ * </pre>
617
+ *
618
+ * <code>optional string source_rpm = 1;</code>
619
+ * @return The sourceRpm.
620
+ */
621
+ public java.lang.String getSourceRpm() {
622
+ java.lang.Object ref = sourceRpm_;
623
+ if (!(ref instanceof java.lang.String)) {
624
+ com.google.protobuf.ByteString bs =
625
+ (com.google.protobuf.ByteString) ref;
626
+ java.lang.String s = bs.toStringUtf8();
627
+ sourceRpm_ = s;
628
+ return s;
629
+ } else {
630
+ return (java.lang.String) ref;
631
+ }
632
+ }
633
+ /**
634
+ * <pre>
635
+ * For RPM packages, the original source RPM file name from which the binary package was built.
636
+ * Example: "ntp-4.2.6p5-10.el6.centos.2.src.rpm"
637
+ * </pre>
638
+ *
639
+ * <code>optional string source_rpm = 1;</code>
640
+ * @return The bytes for sourceRpm.
641
+ */
642
+ public com.google.protobuf.ByteString
643
+ getSourceRpmBytes() {
644
+ java.lang.Object ref = sourceRpm_;
645
+ if (ref instanceof String) {
646
+ com.google.protobuf.ByteString b =
647
+ com.google.protobuf.ByteString.copyFromUtf8(
648
+ (java.lang.String) ref);
649
+ sourceRpm_ = b;
650
+ return b;
651
+ } else {
652
+ return (com.google.protobuf.ByteString) ref;
653
+ }
654
+ }
655
+ /**
656
+ * <pre>
657
+ * For RPM packages, the original source RPM file name from which the binary package was built.
658
+ * Example: "ntp-4.2.6p5-10.el6.centos.2.src.rpm"
659
+ * </pre>
660
+ *
661
+ * <code>optional string source_rpm = 1;</code>
662
+ * @param value The sourceRpm to set.
663
+ * @return This builder for chaining.
664
+ */
665
+ public Builder setSourceRpm(
666
+ java.lang.String value) {
667
+ if (value == null) { throw new NullPointerException(); }
668
+ sourceRpm_ = value;
669
+ bitField0_ |= 0x00000001;
670
+ onChanged();
671
+ return this;
672
+ }
673
+ /**
674
+ * <pre>
675
+ * For RPM packages, the original source RPM file name from which the binary package was built.
676
+ * Example: "ntp-4.2.6p5-10.el6.centos.2.src.rpm"
677
+ * </pre>
678
+ *
679
+ * <code>optional string source_rpm = 1;</code>
680
+ * @return This builder for chaining.
681
+ */
682
+ public Builder clearSourceRpm() {
683
+ sourceRpm_ = getDefaultInstance().getSourceRpm();
684
+ bitField0_ = (bitField0_ & ~0x00000001);
685
+ onChanged();
686
+ return this;
687
+ }
688
+ /**
689
+ * <pre>
690
+ * For RPM packages, the original source RPM file name from which the binary package was built.
691
+ * Example: "ntp-4.2.6p5-10.el6.centos.2.src.rpm"
692
+ * </pre>
693
+ *
694
+ * <code>optional string source_rpm = 1;</code>
695
+ * @param value The bytes for sourceRpm to set.
696
+ * @return This builder for chaining.
697
+ */
698
+ public Builder setSourceRpmBytes(
699
+ com.google.protobuf.ByteString value) {
700
+ if (value == null) { throw new NullPointerException(); }
701
+ checkByteStringIsUtf8(value);
702
+ sourceRpm_ = value;
703
+ bitField0_ |= 0x00000001;
704
+ onChanged();
705
+ return this;
706
+ }
707
+
708
+ private int epoch_ ;
709
+ /**
710
+ * <pre>
711
+ * The epoch number for RPM packages. Used in version comparison to handle cases where upstream versioning changes.
712
+ * Example: "1" for "1:2.3.4-5". Defaults to 0 if no explicit epoch is present.
713
+ * </pre>
714
+ *
715
+ * <code>optional uint32 epoch = 2;</code>
716
+ * @return Whether the epoch field is set.
717
+ */
718
+ @java.lang.Override
719
+ public boolean hasEpoch() {
720
+ return ((bitField0_ & 0x00000002) != 0);
721
+ }
722
+ /**
723
+ * <pre>
724
+ * The epoch number for RPM packages. Used in version comparison to handle cases where upstream versioning changes.
725
+ * Example: "1" for "1:2.3.4-5". Defaults to 0 if no explicit epoch is present.
726
+ * </pre>
727
+ *
728
+ * <code>optional uint32 epoch = 2;</code>
729
+ * @return The epoch.
730
+ */
731
+ @java.lang.Override
732
+ public int getEpoch() {
733
+ return epoch_;
734
+ }
735
+ /**
736
+ * <pre>
737
+ * The epoch number for RPM packages. Used in version comparison to handle cases where upstream versioning changes.
738
+ * Example: "1" for "1:2.3.4-5". Defaults to 0 if no explicit epoch is present.
739
+ * </pre>
740
+ *
741
+ * <code>optional uint32 epoch = 2;</code>
742
+ * @param value The epoch to set.
743
+ * @return This builder for chaining.
744
+ */
745
+ public Builder setEpoch(int value) {
746
+
747
+ epoch_ = value;
748
+ bitField0_ |= 0x00000002;
749
+ onChanged();
750
+ return this;
751
+ }
752
+ /**
753
+ * <pre>
754
+ * The epoch number for RPM packages. Used in version comparison to handle cases where upstream versioning changes.
755
+ * Example: "1" for "1:2.3.4-5". Defaults to 0 if no explicit epoch is present.
756
+ * </pre>
757
+ *
758
+ * <code>optional uint32 epoch = 2;</code>
759
+ * @return This builder for chaining.
760
+ */
761
+ public Builder clearEpoch() {
762
+ bitField0_ = (bitField0_ & ~0x00000002);
763
+ epoch_ = 0;
764
+ onChanged();
765
+ return this;
766
+ }
767
+
768
+ private java.lang.Object uiFromRepo_ = "";
769
+ /**
770
+ * <pre>
771
+ * The originating repository for the software. Currently primarily observed for Amazon Linux 2+
772
+ * where 'repoquery' can provide this information (e.g., "amzn2-core", "epel").
773
+ * </pre>
774
+ *
775
+ * <code>optional string ui_from_repo = 3;</code>
776
+ * @return Whether the uiFromRepo field is set.
777
+ */
778
+ public boolean hasUiFromRepo() {
779
+ return ((bitField0_ & 0x00000004) != 0);
780
+ }
781
+ /**
782
+ * <pre>
783
+ * The originating repository for the software. Currently primarily observed for Amazon Linux 2+
784
+ * where 'repoquery' can provide this information (e.g., "amzn2-core", "epel").
785
+ * </pre>
786
+ *
787
+ * <code>optional string ui_from_repo = 3;</code>
788
+ * @return The uiFromRepo.
789
+ */
790
+ public java.lang.String getUiFromRepo() {
791
+ java.lang.Object ref = uiFromRepo_;
792
+ if (!(ref instanceof java.lang.String)) {
793
+ com.google.protobuf.ByteString bs =
794
+ (com.google.protobuf.ByteString) ref;
795
+ java.lang.String s = bs.toStringUtf8();
796
+ uiFromRepo_ = s;
797
+ return s;
798
+ } else {
799
+ return (java.lang.String) ref;
800
+ }
801
+ }
802
+ /**
803
+ * <pre>
804
+ * The originating repository for the software. Currently primarily observed for Amazon Linux 2+
805
+ * where 'repoquery' can provide this information (e.g., "amzn2-core", "epel").
806
+ * </pre>
807
+ *
808
+ * <code>optional string ui_from_repo = 3;</code>
809
+ * @return The bytes for uiFromRepo.
810
+ */
811
+ public com.google.protobuf.ByteString
812
+ getUiFromRepoBytes() {
813
+ java.lang.Object ref = uiFromRepo_;
814
+ if (ref instanceof String) {
815
+ com.google.protobuf.ByteString b =
816
+ com.google.protobuf.ByteString.copyFromUtf8(
817
+ (java.lang.String) ref);
818
+ uiFromRepo_ = b;
819
+ return b;
820
+ } else {
821
+ return (com.google.protobuf.ByteString) ref;
822
+ }
823
+ }
824
+ /**
825
+ * <pre>
826
+ * The originating repository for the software. Currently primarily observed for Amazon Linux 2+
827
+ * where 'repoquery' can provide this information (e.g., "amzn2-core", "epel").
828
+ * </pre>
829
+ *
830
+ * <code>optional string ui_from_repo = 3;</code>
831
+ * @param value The uiFromRepo to set.
832
+ * @return This builder for chaining.
833
+ */
834
+ public Builder setUiFromRepo(
835
+ java.lang.String value) {
836
+ if (value == null) { throw new NullPointerException(); }
837
+ uiFromRepo_ = value;
838
+ bitField0_ |= 0x00000004;
839
+ onChanged();
840
+ return this;
841
+ }
842
+ /**
843
+ * <pre>
844
+ * The originating repository for the software. Currently primarily observed for Amazon Linux 2+
845
+ * where 'repoquery' can provide this information (e.g., "amzn2-core", "epel").
846
+ * </pre>
847
+ *
848
+ * <code>optional string ui_from_repo = 3;</code>
849
+ * @return This builder for chaining.
850
+ */
851
+ public Builder clearUiFromRepo() {
852
+ uiFromRepo_ = getDefaultInstance().getUiFromRepo();
853
+ bitField0_ = (bitField0_ & ~0x00000004);
854
+ onChanged();
855
+ return this;
856
+ }
857
+ /**
858
+ * <pre>
859
+ * The originating repository for the software. Currently primarily observed for Amazon Linux 2+
860
+ * where 'repoquery' can provide this information (e.g., "amzn2-core", "epel").
861
+ * </pre>
862
+ *
863
+ * <code>optional string ui_from_repo = 3;</code>
864
+ * @param value The bytes for uiFromRepo to set.
865
+ * @return This builder for chaining.
866
+ */
867
+ public Builder setUiFromRepoBytes(
868
+ com.google.protobuf.ByteString value) {
869
+ if (value == null) { throw new NullPointerException(); }
870
+ checkByteStringIsUtf8(value);
871
+ uiFromRepo_ = value;
872
+ bitField0_ |= 0x00000004;
873
+ onChanged();
874
+ return this;
875
+ }
876
+ @java.lang.Override
877
+ public final Builder setUnknownFields(
878
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
879
+ return super.setUnknownFields(unknownFields);
880
+ }
881
+
882
+ @java.lang.Override
883
+ public final Builder mergeUnknownFields(
884
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
885
+ return super.mergeUnknownFields(unknownFields);
886
+ }
887
+
888
+
889
+ // @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints)
890
+ }
891
+
892
+ // @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints)
893
+ private static final com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints DEFAULT_INSTANCE;
894
+ static {
895
+ DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints();
896
+ }
897
+
898
+ public static com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints getDefaultInstance() {
899
+ return DEFAULT_INSTANCE;
900
+ }
901
+
902
+ private static final com.google.protobuf.Parser<RhelBasedSoftwareDataPoints>
903
+ PARSER = new com.google.protobuf.AbstractParser<RhelBasedSoftwareDataPoints>() {
904
+ @java.lang.Override
905
+ public RhelBasedSoftwareDataPoints parsePartialFrom(
906
+ com.google.protobuf.CodedInputStream input,
907
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
908
+ throws com.google.protobuf.InvalidProtocolBufferException {
909
+ Builder builder = newBuilder();
910
+ try {
911
+ builder.mergeFrom(input, extensionRegistry);
912
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
913
+ throw e.setUnfinishedMessage(builder.buildPartial());
914
+ } catch (com.google.protobuf.UninitializedMessageException e) {
915
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
916
+ } catch (java.io.IOException e) {
917
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
918
+ .setUnfinishedMessage(builder.buildPartial());
919
+ }
920
+ return builder.buildPartial();
921
+ }
922
+ };
923
+
924
+ public static com.google.protobuf.Parser<RhelBasedSoftwareDataPoints> parser() {
925
+ return PARSER;
926
+ }
927
+
928
+ @java.lang.Override
929
+ public com.google.protobuf.Parser<RhelBasedSoftwareDataPoints> getParserForType() {
930
+ return PARSER;
931
+ }
932
+
933
+ @java.lang.Override
934
+ public com.lansweeper.dp.outbound.v1.RhelBasedSoftwareDataPoints getDefaultInstanceForType() {
935
+ return DEFAULT_INSTANCE;
936
+ }
937
+
938
+ }
939
+