@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,1270 @@
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 Debian-based distributions (e.g., Debian, Ubuntu, Raspbian) managed by dpkg.
10
+ * </pre>
11
+ *
12
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints}
13
+ */
14
+ public final class DebianBasedSoftwareDataPoints extends
15
+ com.google.protobuf.GeneratedMessageV3 implements
16
+ // @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints)
17
+ DebianBasedSoftwareDataPointsOrBuilder {
18
+ private static final long serialVersionUID = 0L;
19
+ // Use DebianBasedSoftwareDataPoints.newBuilder() to construct.
20
+ private DebianBasedSoftwareDataPoints(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
21
+ super(builder);
22
+ }
23
+ private DebianBasedSoftwareDataPoints() {
24
+ dpkgStatusAbbrev_ = "";
25
+ binaryPackageName_ = "";
26
+ sourcePackageName_ = "";
27
+ sourceVersion_ = "";
28
+ }
29
+
30
+ @java.lang.Override
31
+ @SuppressWarnings({"unused"})
32
+ protected java.lang.Object newInstance(
33
+ UnusedPrivateParameter unused) {
34
+ return new DebianBasedSoftwareDataPoints();
35
+ }
36
+
37
+ public static final com.google.protobuf.Descriptors.Descriptor
38
+ getDescriptor() {
39
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_DebianBasedSoftwareDataPoints_descriptor;
40
+ }
41
+
42
+ @java.lang.Override
43
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
44
+ internalGetFieldAccessorTable() {
45
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_DebianBasedSoftwareDataPoints_fieldAccessorTable
46
+ .ensureFieldAccessorsInitialized(
47
+ com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints.class, com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints.Builder.class);
48
+ }
49
+
50
+ private int bitField0_;
51
+ public static final int DPKG_STATUS_ABBREV_FIELD_NUMBER = 1;
52
+ @SuppressWarnings("serial")
53
+ private volatile java.lang.Object dpkgStatusAbbrev_ = "";
54
+ /**
55
+ * <pre>
56
+ * The abbreviated status of the Debian package as reported by `dpkg`.
57
+ * Common values include:
58
+ * "ii" - installed, installed (package is installed and configured)
59
+ * "rc" - removed, config-files (package removed, but configuration files remain)
60
+ * "un" - uninstalled (package is not installed)
61
+ * </pre>
62
+ *
63
+ * <code>optional string dpkg_status_abbrev = 1;</code>
64
+ * @return Whether the dpkgStatusAbbrev field is set.
65
+ */
66
+ @java.lang.Override
67
+ public boolean hasDpkgStatusAbbrev() {
68
+ return ((bitField0_ & 0x00000001) != 0);
69
+ }
70
+ /**
71
+ * <pre>
72
+ * The abbreviated status of the Debian package as reported by `dpkg`.
73
+ * Common values include:
74
+ * "ii" - installed, installed (package is installed and configured)
75
+ * "rc" - removed, config-files (package removed, but configuration files remain)
76
+ * "un" - uninstalled (package is not installed)
77
+ * </pre>
78
+ *
79
+ * <code>optional string dpkg_status_abbrev = 1;</code>
80
+ * @return The dpkgStatusAbbrev.
81
+ */
82
+ @java.lang.Override
83
+ public java.lang.String getDpkgStatusAbbrev() {
84
+ java.lang.Object ref = dpkgStatusAbbrev_;
85
+ if (ref instanceof java.lang.String) {
86
+ return (java.lang.String) ref;
87
+ } else {
88
+ com.google.protobuf.ByteString bs =
89
+ (com.google.protobuf.ByteString) ref;
90
+ java.lang.String s = bs.toStringUtf8();
91
+ dpkgStatusAbbrev_ = s;
92
+ return s;
93
+ }
94
+ }
95
+ /**
96
+ * <pre>
97
+ * The abbreviated status of the Debian package as reported by `dpkg`.
98
+ * Common values include:
99
+ * "ii" - installed, installed (package is installed and configured)
100
+ * "rc" - removed, config-files (package removed, but configuration files remain)
101
+ * "un" - uninstalled (package is not installed)
102
+ * </pre>
103
+ *
104
+ * <code>optional string dpkg_status_abbrev = 1;</code>
105
+ * @return The bytes for dpkgStatusAbbrev.
106
+ */
107
+ @java.lang.Override
108
+ public com.google.protobuf.ByteString
109
+ getDpkgStatusAbbrevBytes() {
110
+ java.lang.Object ref = dpkgStatusAbbrev_;
111
+ if (ref instanceof java.lang.String) {
112
+ com.google.protobuf.ByteString b =
113
+ com.google.protobuf.ByteString.copyFromUtf8(
114
+ (java.lang.String) ref);
115
+ dpkgStatusAbbrev_ = b;
116
+ return b;
117
+ } else {
118
+ return (com.google.protobuf.ByteString) ref;
119
+ }
120
+ }
121
+
122
+ public static final int BINARY_PACKAGE_NAME_FIELD_NUMBER = 2;
123
+ @SuppressWarnings("serial")
124
+ private volatile java.lang.Object binaryPackageName_ = "";
125
+ /**
126
+ * <pre>
127
+ * The name of the binary package. For multi-arch setups or specific package splits,
128
+ * this might include the architecture suffix (e.g., "zlib1g:amd64").
129
+ * This is the actual package name installed on the system.
130
+ * </pre>
131
+ *
132
+ * <code>optional string binary_package_name = 2;</code>
133
+ * @return Whether the binaryPackageName field is set.
134
+ */
135
+ @java.lang.Override
136
+ public boolean hasBinaryPackageName() {
137
+ return ((bitField0_ & 0x00000002) != 0);
138
+ }
139
+ /**
140
+ * <pre>
141
+ * The name of the binary package. For multi-arch setups or specific package splits,
142
+ * this might include the architecture suffix (e.g., "zlib1g:amd64").
143
+ * This is the actual package name installed on the system.
144
+ * </pre>
145
+ *
146
+ * <code>optional string binary_package_name = 2;</code>
147
+ * @return The binaryPackageName.
148
+ */
149
+ @java.lang.Override
150
+ public java.lang.String getBinaryPackageName() {
151
+ java.lang.Object ref = binaryPackageName_;
152
+ if (ref instanceof java.lang.String) {
153
+ return (java.lang.String) ref;
154
+ } else {
155
+ com.google.protobuf.ByteString bs =
156
+ (com.google.protobuf.ByteString) ref;
157
+ java.lang.String s = bs.toStringUtf8();
158
+ binaryPackageName_ = s;
159
+ return s;
160
+ }
161
+ }
162
+ /**
163
+ * <pre>
164
+ * The name of the binary package. For multi-arch setups or specific package splits,
165
+ * this might include the architecture suffix (e.g., "zlib1g:amd64").
166
+ * This is the actual package name installed on the system.
167
+ * </pre>
168
+ *
169
+ * <code>optional string binary_package_name = 2;</code>
170
+ * @return The bytes for binaryPackageName.
171
+ */
172
+ @java.lang.Override
173
+ public com.google.protobuf.ByteString
174
+ getBinaryPackageNameBytes() {
175
+ java.lang.Object ref = binaryPackageName_;
176
+ if (ref instanceof java.lang.String) {
177
+ com.google.protobuf.ByteString b =
178
+ com.google.protobuf.ByteString.copyFromUtf8(
179
+ (java.lang.String) ref);
180
+ binaryPackageName_ = b;
181
+ return b;
182
+ } else {
183
+ return (com.google.protobuf.ByteString) ref;
184
+ }
185
+ }
186
+
187
+ public static final int SOURCE_PACKAGE_NAME_FIELD_NUMBER = 3;
188
+ @SuppressWarnings("serial")
189
+ private volatile java.lang.Object sourcePackageName_ = "";
190
+ /**
191
+ * <pre>
192
+ * The name of the source package from which this binary package was built.
193
+ * Many binary packages are built from a single source package (e.g., "bind9" source package builds "bind9-host", "bind9utils", etc.).
194
+ * </pre>
195
+ *
196
+ * <code>optional string source_package_name = 3;</code>
197
+ * @return Whether the sourcePackageName field is set.
198
+ */
199
+ @java.lang.Override
200
+ public boolean hasSourcePackageName() {
201
+ return ((bitField0_ & 0x00000004) != 0);
202
+ }
203
+ /**
204
+ * <pre>
205
+ * The name of the source package from which this binary package was built.
206
+ * Many binary packages are built from a single source package (e.g., "bind9" source package builds "bind9-host", "bind9utils", etc.).
207
+ * </pre>
208
+ *
209
+ * <code>optional string source_package_name = 3;</code>
210
+ * @return The sourcePackageName.
211
+ */
212
+ @java.lang.Override
213
+ public java.lang.String getSourcePackageName() {
214
+ java.lang.Object ref = sourcePackageName_;
215
+ if (ref instanceof java.lang.String) {
216
+ return (java.lang.String) ref;
217
+ } else {
218
+ com.google.protobuf.ByteString bs =
219
+ (com.google.protobuf.ByteString) ref;
220
+ java.lang.String s = bs.toStringUtf8();
221
+ sourcePackageName_ = s;
222
+ return s;
223
+ }
224
+ }
225
+ /**
226
+ * <pre>
227
+ * The name of the source package from which this binary package was built.
228
+ * Many binary packages are built from a single source package (e.g., "bind9" source package builds "bind9-host", "bind9utils", etc.).
229
+ * </pre>
230
+ *
231
+ * <code>optional string source_package_name = 3;</code>
232
+ * @return The bytes for sourcePackageName.
233
+ */
234
+ @java.lang.Override
235
+ public com.google.protobuf.ByteString
236
+ getSourcePackageNameBytes() {
237
+ java.lang.Object ref = sourcePackageName_;
238
+ if (ref instanceof java.lang.String) {
239
+ com.google.protobuf.ByteString b =
240
+ com.google.protobuf.ByteString.copyFromUtf8(
241
+ (java.lang.String) ref);
242
+ sourcePackageName_ = b;
243
+ return b;
244
+ } else {
245
+ return (com.google.protobuf.ByteString) ref;
246
+ }
247
+ }
248
+
249
+ public static final int SOURCE_VERSION_FIELD_NUMBER = 4;
250
+ @SuppressWarnings("serial")
251
+ private volatile java.lang.Object sourceVersion_ = "";
252
+ /**
253
+ * <pre>
254
+ * The version string of the source package. This can differ from the binary package's version
255
+ * if a patch or rebuild has occurred without a full version bump on the binary.
256
+ * Crucial for linking to source-level vulnerability information.
257
+ * </pre>
258
+ *
259
+ * <code>optional string source_version = 4;</code>
260
+ * @return Whether the sourceVersion field is set.
261
+ */
262
+ @java.lang.Override
263
+ public boolean hasSourceVersion() {
264
+ return ((bitField0_ & 0x00000008) != 0);
265
+ }
266
+ /**
267
+ * <pre>
268
+ * The version string of the source package. This can differ from the binary package's version
269
+ * if a patch or rebuild has occurred without a full version bump on the binary.
270
+ * Crucial for linking to source-level vulnerability information.
271
+ * </pre>
272
+ *
273
+ * <code>optional string source_version = 4;</code>
274
+ * @return The sourceVersion.
275
+ */
276
+ @java.lang.Override
277
+ public java.lang.String getSourceVersion() {
278
+ java.lang.Object ref = sourceVersion_;
279
+ if (ref instanceof java.lang.String) {
280
+ return (java.lang.String) ref;
281
+ } else {
282
+ com.google.protobuf.ByteString bs =
283
+ (com.google.protobuf.ByteString) ref;
284
+ java.lang.String s = bs.toStringUtf8();
285
+ sourceVersion_ = s;
286
+ return s;
287
+ }
288
+ }
289
+ /**
290
+ * <pre>
291
+ * The version string of the source package. This can differ from the binary package's version
292
+ * if a patch or rebuild has occurred without a full version bump on the binary.
293
+ * Crucial for linking to source-level vulnerability information.
294
+ * </pre>
295
+ *
296
+ * <code>optional string source_version = 4;</code>
297
+ * @return The bytes for sourceVersion.
298
+ */
299
+ @java.lang.Override
300
+ public com.google.protobuf.ByteString
301
+ getSourceVersionBytes() {
302
+ java.lang.Object ref = sourceVersion_;
303
+ if (ref instanceof java.lang.String) {
304
+ com.google.protobuf.ByteString b =
305
+ com.google.protobuf.ByteString.copyFromUtf8(
306
+ (java.lang.String) ref);
307
+ sourceVersion_ = b;
308
+ return b;
309
+ } else {
310
+ return (com.google.protobuf.ByteString) ref;
311
+ }
312
+ }
313
+
314
+ private byte memoizedIsInitialized = -1;
315
+ @java.lang.Override
316
+ public final boolean isInitialized() {
317
+ byte isInitialized = memoizedIsInitialized;
318
+ if (isInitialized == 1) return true;
319
+ if (isInitialized == 0) return false;
320
+
321
+ memoizedIsInitialized = 1;
322
+ return true;
323
+ }
324
+
325
+ @java.lang.Override
326
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
327
+ throws java.io.IOException {
328
+ if (((bitField0_ & 0x00000001) != 0)) {
329
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dpkgStatusAbbrev_);
330
+ }
331
+ if (((bitField0_ & 0x00000002) != 0)) {
332
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, binaryPackageName_);
333
+ }
334
+ if (((bitField0_ & 0x00000004) != 0)) {
335
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sourcePackageName_);
336
+ }
337
+ if (((bitField0_ & 0x00000008) != 0)) {
338
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sourceVersion_);
339
+ }
340
+ getUnknownFields().writeTo(output);
341
+ }
342
+
343
+ @java.lang.Override
344
+ public int getSerializedSize() {
345
+ int size = memoizedSize;
346
+ if (size != -1) return size;
347
+
348
+ size = 0;
349
+ if (((bitField0_ & 0x00000001) != 0)) {
350
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dpkgStatusAbbrev_);
351
+ }
352
+ if (((bitField0_ & 0x00000002) != 0)) {
353
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, binaryPackageName_);
354
+ }
355
+ if (((bitField0_ & 0x00000004) != 0)) {
356
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sourcePackageName_);
357
+ }
358
+ if (((bitField0_ & 0x00000008) != 0)) {
359
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, sourceVersion_);
360
+ }
361
+ size += getUnknownFields().getSerializedSize();
362
+ memoizedSize = size;
363
+ return size;
364
+ }
365
+
366
+ @java.lang.Override
367
+ public boolean equals(final java.lang.Object obj) {
368
+ if (obj == this) {
369
+ return true;
370
+ }
371
+ if (!(obj instanceof com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints)) {
372
+ return super.equals(obj);
373
+ }
374
+ com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints other = (com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints) obj;
375
+
376
+ if (hasDpkgStatusAbbrev() != other.hasDpkgStatusAbbrev()) return false;
377
+ if (hasDpkgStatusAbbrev()) {
378
+ if (!getDpkgStatusAbbrev()
379
+ .equals(other.getDpkgStatusAbbrev())) return false;
380
+ }
381
+ if (hasBinaryPackageName() != other.hasBinaryPackageName()) return false;
382
+ if (hasBinaryPackageName()) {
383
+ if (!getBinaryPackageName()
384
+ .equals(other.getBinaryPackageName())) return false;
385
+ }
386
+ if (hasSourcePackageName() != other.hasSourcePackageName()) return false;
387
+ if (hasSourcePackageName()) {
388
+ if (!getSourcePackageName()
389
+ .equals(other.getSourcePackageName())) return false;
390
+ }
391
+ if (hasSourceVersion() != other.hasSourceVersion()) return false;
392
+ if (hasSourceVersion()) {
393
+ if (!getSourceVersion()
394
+ .equals(other.getSourceVersion())) return false;
395
+ }
396
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
397
+ return true;
398
+ }
399
+
400
+ @java.lang.Override
401
+ public int hashCode() {
402
+ if (memoizedHashCode != 0) {
403
+ return memoizedHashCode;
404
+ }
405
+ int hash = 41;
406
+ hash = (19 * hash) + getDescriptor().hashCode();
407
+ if (hasDpkgStatusAbbrev()) {
408
+ hash = (37 * hash) + DPKG_STATUS_ABBREV_FIELD_NUMBER;
409
+ hash = (53 * hash) + getDpkgStatusAbbrev().hashCode();
410
+ }
411
+ if (hasBinaryPackageName()) {
412
+ hash = (37 * hash) + BINARY_PACKAGE_NAME_FIELD_NUMBER;
413
+ hash = (53 * hash) + getBinaryPackageName().hashCode();
414
+ }
415
+ if (hasSourcePackageName()) {
416
+ hash = (37 * hash) + SOURCE_PACKAGE_NAME_FIELD_NUMBER;
417
+ hash = (53 * hash) + getSourcePackageName().hashCode();
418
+ }
419
+ if (hasSourceVersion()) {
420
+ hash = (37 * hash) + SOURCE_VERSION_FIELD_NUMBER;
421
+ hash = (53 * hash) + getSourceVersion().hashCode();
422
+ }
423
+ hash = (29 * hash) + getUnknownFields().hashCode();
424
+ memoizedHashCode = hash;
425
+ return hash;
426
+ }
427
+
428
+ public static com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints parseFrom(
429
+ java.nio.ByteBuffer data)
430
+ throws com.google.protobuf.InvalidProtocolBufferException {
431
+ return PARSER.parseFrom(data);
432
+ }
433
+ public static com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints parseFrom(
434
+ java.nio.ByteBuffer data,
435
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
436
+ throws com.google.protobuf.InvalidProtocolBufferException {
437
+ return PARSER.parseFrom(data, extensionRegistry);
438
+ }
439
+ public static com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints parseFrom(
440
+ com.google.protobuf.ByteString data)
441
+ throws com.google.protobuf.InvalidProtocolBufferException {
442
+ return PARSER.parseFrom(data);
443
+ }
444
+ public static com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints parseFrom(
445
+ com.google.protobuf.ByteString data,
446
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
447
+ throws com.google.protobuf.InvalidProtocolBufferException {
448
+ return PARSER.parseFrom(data, extensionRegistry);
449
+ }
450
+ public static com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints parseFrom(byte[] data)
451
+ throws com.google.protobuf.InvalidProtocolBufferException {
452
+ return PARSER.parseFrom(data);
453
+ }
454
+ public static com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints parseFrom(
455
+ byte[] data,
456
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
457
+ throws com.google.protobuf.InvalidProtocolBufferException {
458
+ return PARSER.parseFrom(data, extensionRegistry);
459
+ }
460
+ public static com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints parseFrom(java.io.InputStream input)
461
+ throws java.io.IOException {
462
+ return com.google.protobuf.GeneratedMessageV3
463
+ .parseWithIOException(PARSER, input);
464
+ }
465
+ public static com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints parseFrom(
466
+ java.io.InputStream input,
467
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
468
+ throws java.io.IOException {
469
+ return com.google.protobuf.GeneratedMessageV3
470
+ .parseWithIOException(PARSER, input, extensionRegistry);
471
+ }
472
+
473
+ public static com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints parseDelimitedFrom(java.io.InputStream input)
474
+ throws java.io.IOException {
475
+ return com.google.protobuf.GeneratedMessageV3
476
+ .parseDelimitedWithIOException(PARSER, input);
477
+ }
478
+
479
+ public static com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints parseDelimitedFrom(
480
+ java.io.InputStream input,
481
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
482
+ throws java.io.IOException {
483
+ return com.google.protobuf.GeneratedMessageV3
484
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
485
+ }
486
+ public static com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints parseFrom(
487
+ com.google.protobuf.CodedInputStream input)
488
+ throws java.io.IOException {
489
+ return com.google.protobuf.GeneratedMessageV3
490
+ .parseWithIOException(PARSER, input);
491
+ }
492
+ public static com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints parseFrom(
493
+ com.google.protobuf.CodedInputStream input,
494
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
495
+ throws java.io.IOException {
496
+ return com.google.protobuf.GeneratedMessageV3
497
+ .parseWithIOException(PARSER, input, extensionRegistry);
498
+ }
499
+
500
+ @java.lang.Override
501
+ public Builder newBuilderForType() { return newBuilder(); }
502
+ public static Builder newBuilder() {
503
+ return DEFAULT_INSTANCE.toBuilder();
504
+ }
505
+ public static Builder newBuilder(com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints prototype) {
506
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
507
+ }
508
+ @java.lang.Override
509
+ public Builder toBuilder() {
510
+ return this == DEFAULT_INSTANCE
511
+ ? new Builder() : new Builder().mergeFrom(this);
512
+ }
513
+
514
+ @java.lang.Override
515
+ protected Builder newBuilderForType(
516
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
517
+ Builder builder = new Builder(parent);
518
+ return builder;
519
+ }
520
+ /**
521
+ * <pre>
522
+ * Contains attributes specific to software packages found on Debian-based distributions (e.g., Debian, Ubuntu, Raspbian) managed by dpkg.
523
+ * </pre>
524
+ *
525
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints}
526
+ */
527
+ public static final class Builder extends
528
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
529
+ // @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints)
530
+ com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPointsOrBuilder {
531
+ public static final com.google.protobuf.Descriptors.Descriptor
532
+ getDescriptor() {
533
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_DebianBasedSoftwareDataPoints_descriptor;
534
+ }
535
+
536
+ @java.lang.Override
537
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
538
+ internalGetFieldAccessorTable() {
539
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_DebianBasedSoftwareDataPoints_fieldAccessorTable
540
+ .ensureFieldAccessorsInitialized(
541
+ com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints.class, com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints.Builder.class);
542
+ }
543
+
544
+ // Construct using com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints.newBuilder()
545
+ private Builder() {
546
+
547
+ }
548
+
549
+ private Builder(
550
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
551
+ super(parent);
552
+
553
+ }
554
+ @java.lang.Override
555
+ public Builder clear() {
556
+ super.clear();
557
+ bitField0_ = 0;
558
+ dpkgStatusAbbrev_ = "";
559
+ binaryPackageName_ = "";
560
+ sourcePackageName_ = "";
561
+ sourceVersion_ = "";
562
+ return this;
563
+ }
564
+
565
+ @java.lang.Override
566
+ public com.google.protobuf.Descriptors.Descriptor
567
+ getDescriptorForType() {
568
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_DebianBasedSoftwareDataPoints_descriptor;
569
+ }
570
+
571
+ @java.lang.Override
572
+ public com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints getDefaultInstanceForType() {
573
+ return com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints.getDefaultInstance();
574
+ }
575
+
576
+ @java.lang.Override
577
+ public com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints build() {
578
+ com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints result = buildPartial();
579
+ if (!result.isInitialized()) {
580
+ throw newUninitializedMessageException(result);
581
+ }
582
+ return result;
583
+ }
584
+
585
+ @java.lang.Override
586
+ public com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints buildPartial() {
587
+ com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints result = new com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints(this);
588
+ if (bitField0_ != 0) { buildPartial0(result); }
589
+ onBuilt();
590
+ return result;
591
+ }
592
+
593
+ private void buildPartial0(com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints result) {
594
+ int from_bitField0_ = bitField0_;
595
+ int to_bitField0_ = 0;
596
+ if (((from_bitField0_ & 0x00000001) != 0)) {
597
+ result.dpkgStatusAbbrev_ = dpkgStatusAbbrev_;
598
+ to_bitField0_ |= 0x00000001;
599
+ }
600
+ if (((from_bitField0_ & 0x00000002) != 0)) {
601
+ result.binaryPackageName_ = binaryPackageName_;
602
+ to_bitField0_ |= 0x00000002;
603
+ }
604
+ if (((from_bitField0_ & 0x00000004) != 0)) {
605
+ result.sourcePackageName_ = sourcePackageName_;
606
+ to_bitField0_ |= 0x00000004;
607
+ }
608
+ if (((from_bitField0_ & 0x00000008) != 0)) {
609
+ result.sourceVersion_ = sourceVersion_;
610
+ to_bitField0_ |= 0x00000008;
611
+ }
612
+ result.bitField0_ |= to_bitField0_;
613
+ }
614
+
615
+ @java.lang.Override
616
+ public Builder clone() {
617
+ return super.clone();
618
+ }
619
+ @java.lang.Override
620
+ public Builder setField(
621
+ com.google.protobuf.Descriptors.FieldDescriptor field,
622
+ java.lang.Object value) {
623
+ return super.setField(field, value);
624
+ }
625
+ @java.lang.Override
626
+ public Builder clearField(
627
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
628
+ return super.clearField(field);
629
+ }
630
+ @java.lang.Override
631
+ public Builder clearOneof(
632
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
633
+ return super.clearOneof(oneof);
634
+ }
635
+ @java.lang.Override
636
+ public Builder setRepeatedField(
637
+ com.google.protobuf.Descriptors.FieldDescriptor field,
638
+ int index, java.lang.Object value) {
639
+ return super.setRepeatedField(field, index, value);
640
+ }
641
+ @java.lang.Override
642
+ public Builder addRepeatedField(
643
+ com.google.protobuf.Descriptors.FieldDescriptor field,
644
+ java.lang.Object value) {
645
+ return super.addRepeatedField(field, value);
646
+ }
647
+ @java.lang.Override
648
+ public Builder mergeFrom(com.google.protobuf.Message other) {
649
+ if (other instanceof com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints) {
650
+ return mergeFrom((com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints)other);
651
+ } else {
652
+ super.mergeFrom(other);
653
+ return this;
654
+ }
655
+ }
656
+
657
+ public Builder mergeFrom(com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints other) {
658
+ if (other == com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints.getDefaultInstance()) return this;
659
+ if (other.hasDpkgStatusAbbrev()) {
660
+ dpkgStatusAbbrev_ = other.dpkgStatusAbbrev_;
661
+ bitField0_ |= 0x00000001;
662
+ onChanged();
663
+ }
664
+ if (other.hasBinaryPackageName()) {
665
+ binaryPackageName_ = other.binaryPackageName_;
666
+ bitField0_ |= 0x00000002;
667
+ onChanged();
668
+ }
669
+ if (other.hasSourcePackageName()) {
670
+ sourcePackageName_ = other.sourcePackageName_;
671
+ bitField0_ |= 0x00000004;
672
+ onChanged();
673
+ }
674
+ if (other.hasSourceVersion()) {
675
+ sourceVersion_ = other.sourceVersion_;
676
+ bitField0_ |= 0x00000008;
677
+ onChanged();
678
+ }
679
+ this.mergeUnknownFields(other.getUnknownFields());
680
+ onChanged();
681
+ return this;
682
+ }
683
+
684
+ @java.lang.Override
685
+ public final boolean isInitialized() {
686
+ return true;
687
+ }
688
+
689
+ @java.lang.Override
690
+ public Builder mergeFrom(
691
+ com.google.protobuf.CodedInputStream input,
692
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
693
+ throws java.io.IOException {
694
+ if (extensionRegistry == null) {
695
+ throw new java.lang.NullPointerException();
696
+ }
697
+ try {
698
+ boolean done = false;
699
+ while (!done) {
700
+ int tag = input.readTag();
701
+ switch (tag) {
702
+ case 0:
703
+ done = true;
704
+ break;
705
+ case 10: {
706
+ dpkgStatusAbbrev_ = input.readStringRequireUtf8();
707
+ bitField0_ |= 0x00000001;
708
+ break;
709
+ } // case 10
710
+ case 18: {
711
+ binaryPackageName_ = input.readStringRequireUtf8();
712
+ bitField0_ |= 0x00000002;
713
+ break;
714
+ } // case 18
715
+ case 26: {
716
+ sourcePackageName_ = input.readStringRequireUtf8();
717
+ bitField0_ |= 0x00000004;
718
+ break;
719
+ } // case 26
720
+ case 34: {
721
+ sourceVersion_ = input.readStringRequireUtf8();
722
+ bitField0_ |= 0x00000008;
723
+ break;
724
+ } // case 34
725
+ default: {
726
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
727
+ done = true; // was an endgroup tag
728
+ }
729
+ break;
730
+ } // default:
731
+ } // switch (tag)
732
+ } // while (!done)
733
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
734
+ throw e.unwrapIOException();
735
+ } finally {
736
+ onChanged();
737
+ } // finally
738
+ return this;
739
+ }
740
+ private int bitField0_;
741
+
742
+ private java.lang.Object dpkgStatusAbbrev_ = "";
743
+ /**
744
+ * <pre>
745
+ * The abbreviated status of the Debian package as reported by `dpkg`.
746
+ * Common values include:
747
+ * "ii" - installed, installed (package is installed and configured)
748
+ * "rc" - removed, config-files (package removed, but configuration files remain)
749
+ * "un" - uninstalled (package is not installed)
750
+ * </pre>
751
+ *
752
+ * <code>optional string dpkg_status_abbrev = 1;</code>
753
+ * @return Whether the dpkgStatusAbbrev field is set.
754
+ */
755
+ public boolean hasDpkgStatusAbbrev() {
756
+ return ((bitField0_ & 0x00000001) != 0);
757
+ }
758
+ /**
759
+ * <pre>
760
+ * The abbreviated status of the Debian package as reported by `dpkg`.
761
+ * Common values include:
762
+ * "ii" - installed, installed (package is installed and configured)
763
+ * "rc" - removed, config-files (package removed, but configuration files remain)
764
+ * "un" - uninstalled (package is not installed)
765
+ * </pre>
766
+ *
767
+ * <code>optional string dpkg_status_abbrev = 1;</code>
768
+ * @return The dpkgStatusAbbrev.
769
+ */
770
+ public java.lang.String getDpkgStatusAbbrev() {
771
+ java.lang.Object ref = dpkgStatusAbbrev_;
772
+ if (!(ref instanceof java.lang.String)) {
773
+ com.google.protobuf.ByteString bs =
774
+ (com.google.protobuf.ByteString) ref;
775
+ java.lang.String s = bs.toStringUtf8();
776
+ dpkgStatusAbbrev_ = s;
777
+ return s;
778
+ } else {
779
+ return (java.lang.String) ref;
780
+ }
781
+ }
782
+ /**
783
+ * <pre>
784
+ * The abbreviated status of the Debian package as reported by `dpkg`.
785
+ * Common values include:
786
+ * "ii" - installed, installed (package is installed and configured)
787
+ * "rc" - removed, config-files (package removed, but configuration files remain)
788
+ * "un" - uninstalled (package is not installed)
789
+ * </pre>
790
+ *
791
+ * <code>optional string dpkg_status_abbrev = 1;</code>
792
+ * @return The bytes for dpkgStatusAbbrev.
793
+ */
794
+ public com.google.protobuf.ByteString
795
+ getDpkgStatusAbbrevBytes() {
796
+ java.lang.Object ref = dpkgStatusAbbrev_;
797
+ if (ref instanceof String) {
798
+ com.google.protobuf.ByteString b =
799
+ com.google.protobuf.ByteString.copyFromUtf8(
800
+ (java.lang.String) ref);
801
+ dpkgStatusAbbrev_ = b;
802
+ return b;
803
+ } else {
804
+ return (com.google.protobuf.ByteString) ref;
805
+ }
806
+ }
807
+ /**
808
+ * <pre>
809
+ * The abbreviated status of the Debian package as reported by `dpkg`.
810
+ * Common values include:
811
+ * "ii" - installed, installed (package is installed and configured)
812
+ * "rc" - removed, config-files (package removed, but configuration files remain)
813
+ * "un" - uninstalled (package is not installed)
814
+ * </pre>
815
+ *
816
+ * <code>optional string dpkg_status_abbrev = 1;</code>
817
+ * @param value The dpkgStatusAbbrev to set.
818
+ * @return This builder for chaining.
819
+ */
820
+ public Builder setDpkgStatusAbbrev(
821
+ java.lang.String value) {
822
+ if (value == null) { throw new NullPointerException(); }
823
+ dpkgStatusAbbrev_ = value;
824
+ bitField0_ |= 0x00000001;
825
+ onChanged();
826
+ return this;
827
+ }
828
+ /**
829
+ * <pre>
830
+ * The abbreviated status of the Debian package as reported by `dpkg`.
831
+ * Common values include:
832
+ * "ii" - installed, installed (package is installed and configured)
833
+ * "rc" - removed, config-files (package removed, but configuration files remain)
834
+ * "un" - uninstalled (package is not installed)
835
+ * </pre>
836
+ *
837
+ * <code>optional string dpkg_status_abbrev = 1;</code>
838
+ * @return This builder for chaining.
839
+ */
840
+ public Builder clearDpkgStatusAbbrev() {
841
+ dpkgStatusAbbrev_ = getDefaultInstance().getDpkgStatusAbbrev();
842
+ bitField0_ = (bitField0_ & ~0x00000001);
843
+ onChanged();
844
+ return this;
845
+ }
846
+ /**
847
+ * <pre>
848
+ * The abbreviated status of the Debian package as reported by `dpkg`.
849
+ * Common values include:
850
+ * "ii" - installed, installed (package is installed and configured)
851
+ * "rc" - removed, config-files (package removed, but configuration files remain)
852
+ * "un" - uninstalled (package is not installed)
853
+ * </pre>
854
+ *
855
+ * <code>optional string dpkg_status_abbrev = 1;</code>
856
+ * @param value The bytes for dpkgStatusAbbrev to set.
857
+ * @return This builder for chaining.
858
+ */
859
+ public Builder setDpkgStatusAbbrevBytes(
860
+ com.google.protobuf.ByteString value) {
861
+ if (value == null) { throw new NullPointerException(); }
862
+ checkByteStringIsUtf8(value);
863
+ dpkgStatusAbbrev_ = value;
864
+ bitField0_ |= 0x00000001;
865
+ onChanged();
866
+ return this;
867
+ }
868
+
869
+ private java.lang.Object binaryPackageName_ = "";
870
+ /**
871
+ * <pre>
872
+ * The name of the binary package. For multi-arch setups or specific package splits,
873
+ * this might include the architecture suffix (e.g., "zlib1g:amd64").
874
+ * This is the actual package name installed on the system.
875
+ * </pre>
876
+ *
877
+ * <code>optional string binary_package_name = 2;</code>
878
+ * @return Whether the binaryPackageName field is set.
879
+ */
880
+ public boolean hasBinaryPackageName() {
881
+ return ((bitField0_ & 0x00000002) != 0);
882
+ }
883
+ /**
884
+ * <pre>
885
+ * The name of the binary package. For multi-arch setups or specific package splits,
886
+ * this might include the architecture suffix (e.g., "zlib1g:amd64").
887
+ * This is the actual package name installed on the system.
888
+ * </pre>
889
+ *
890
+ * <code>optional string binary_package_name = 2;</code>
891
+ * @return The binaryPackageName.
892
+ */
893
+ public java.lang.String getBinaryPackageName() {
894
+ java.lang.Object ref = binaryPackageName_;
895
+ if (!(ref instanceof java.lang.String)) {
896
+ com.google.protobuf.ByteString bs =
897
+ (com.google.protobuf.ByteString) ref;
898
+ java.lang.String s = bs.toStringUtf8();
899
+ binaryPackageName_ = s;
900
+ return s;
901
+ } else {
902
+ return (java.lang.String) ref;
903
+ }
904
+ }
905
+ /**
906
+ * <pre>
907
+ * The name of the binary package. For multi-arch setups or specific package splits,
908
+ * this might include the architecture suffix (e.g., "zlib1g:amd64").
909
+ * This is the actual package name installed on the system.
910
+ * </pre>
911
+ *
912
+ * <code>optional string binary_package_name = 2;</code>
913
+ * @return The bytes for binaryPackageName.
914
+ */
915
+ public com.google.protobuf.ByteString
916
+ getBinaryPackageNameBytes() {
917
+ java.lang.Object ref = binaryPackageName_;
918
+ if (ref instanceof String) {
919
+ com.google.protobuf.ByteString b =
920
+ com.google.protobuf.ByteString.copyFromUtf8(
921
+ (java.lang.String) ref);
922
+ binaryPackageName_ = b;
923
+ return b;
924
+ } else {
925
+ return (com.google.protobuf.ByteString) ref;
926
+ }
927
+ }
928
+ /**
929
+ * <pre>
930
+ * The name of the binary package. For multi-arch setups or specific package splits,
931
+ * this might include the architecture suffix (e.g., "zlib1g:amd64").
932
+ * This is the actual package name installed on the system.
933
+ * </pre>
934
+ *
935
+ * <code>optional string binary_package_name = 2;</code>
936
+ * @param value The binaryPackageName to set.
937
+ * @return This builder for chaining.
938
+ */
939
+ public Builder setBinaryPackageName(
940
+ java.lang.String value) {
941
+ if (value == null) { throw new NullPointerException(); }
942
+ binaryPackageName_ = value;
943
+ bitField0_ |= 0x00000002;
944
+ onChanged();
945
+ return this;
946
+ }
947
+ /**
948
+ * <pre>
949
+ * The name of the binary package. For multi-arch setups or specific package splits,
950
+ * this might include the architecture suffix (e.g., "zlib1g:amd64").
951
+ * This is the actual package name installed on the system.
952
+ * </pre>
953
+ *
954
+ * <code>optional string binary_package_name = 2;</code>
955
+ * @return This builder for chaining.
956
+ */
957
+ public Builder clearBinaryPackageName() {
958
+ binaryPackageName_ = getDefaultInstance().getBinaryPackageName();
959
+ bitField0_ = (bitField0_ & ~0x00000002);
960
+ onChanged();
961
+ return this;
962
+ }
963
+ /**
964
+ * <pre>
965
+ * The name of the binary package. For multi-arch setups or specific package splits,
966
+ * this might include the architecture suffix (e.g., "zlib1g:amd64").
967
+ * This is the actual package name installed on the system.
968
+ * </pre>
969
+ *
970
+ * <code>optional string binary_package_name = 2;</code>
971
+ * @param value The bytes for binaryPackageName to set.
972
+ * @return This builder for chaining.
973
+ */
974
+ public Builder setBinaryPackageNameBytes(
975
+ com.google.protobuf.ByteString value) {
976
+ if (value == null) { throw new NullPointerException(); }
977
+ checkByteStringIsUtf8(value);
978
+ binaryPackageName_ = value;
979
+ bitField0_ |= 0x00000002;
980
+ onChanged();
981
+ return this;
982
+ }
983
+
984
+ private java.lang.Object sourcePackageName_ = "";
985
+ /**
986
+ * <pre>
987
+ * The name of the source package from which this binary package was built.
988
+ * Many binary packages are built from a single source package (e.g., "bind9" source package builds "bind9-host", "bind9utils", etc.).
989
+ * </pre>
990
+ *
991
+ * <code>optional string source_package_name = 3;</code>
992
+ * @return Whether the sourcePackageName field is set.
993
+ */
994
+ public boolean hasSourcePackageName() {
995
+ return ((bitField0_ & 0x00000004) != 0);
996
+ }
997
+ /**
998
+ * <pre>
999
+ * The name of the source package from which this binary package was built.
1000
+ * Many binary packages are built from a single source package (e.g., "bind9" source package builds "bind9-host", "bind9utils", etc.).
1001
+ * </pre>
1002
+ *
1003
+ * <code>optional string source_package_name = 3;</code>
1004
+ * @return The sourcePackageName.
1005
+ */
1006
+ public java.lang.String getSourcePackageName() {
1007
+ java.lang.Object ref = sourcePackageName_;
1008
+ if (!(ref instanceof java.lang.String)) {
1009
+ com.google.protobuf.ByteString bs =
1010
+ (com.google.protobuf.ByteString) ref;
1011
+ java.lang.String s = bs.toStringUtf8();
1012
+ sourcePackageName_ = s;
1013
+ return s;
1014
+ } else {
1015
+ return (java.lang.String) ref;
1016
+ }
1017
+ }
1018
+ /**
1019
+ * <pre>
1020
+ * The name of the source package from which this binary package was built.
1021
+ * Many binary packages are built from a single source package (e.g., "bind9" source package builds "bind9-host", "bind9utils", etc.).
1022
+ * </pre>
1023
+ *
1024
+ * <code>optional string source_package_name = 3;</code>
1025
+ * @return The bytes for sourcePackageName.
1026
+ */
1027
+ public com.google.protobuf.ByteString
1028
+ getSourcePackageNameBytes() {
1029
+ java.lang.Object ref = sourcePackageName_;
1030
+ if (ref instanceof String) {
1031
+ com.google.protobuf.ByteString b =
1032
+ com.google.protobuf.ByteString.copyFromUtf8(
1033
+ (java.lang.String) ref);
1034
+ sourcePackageName_ = b;
1035
+ return b;
1036
+ } else {
1037
+ return (com.google.protobuf.ByteString) ref;
1038
+ }
1039
+ }
1040
+ /**
1041
+ * <pre>
1042
+ * The name of the source package from which this binary package was built.
1043
+ * Many binary packages are built from a single source package (e.g., "bind9" source package builds "bind9-host", "bind9utils", etc.).
1044
+ * </pre>
1045
+ *
1046
+ * <code>optional string source_package_name = 3;</code>
1047
+ * @param value The sourcePackageName to set.
1048
+ * @return This builder for chaining.
1049
+ */
1050
+ public Builder setSourcePackageName(
1051
+ java.lang.String value) {
1052
+ if (value == null) { throw new NullPointerException(); }
1053
+ sourcePackageName_ = value;
1054
+ bitField0_ |= 0x00000004;
1055
+ onChanged();
1056
+ return this;
1057
+ }
1058
+ /**
1059
+ * <pre>
1060
+ * The name of the source package from which this binary package was built.
1061
+ * Many binary packages are built from a single source package (e.g., "bind9" source package builds "bind9-host", "bind9utils", etc.).
1062
+ * </pre>
1063
+ *
1064
+ * <code>optional string source_package_name = 3;</code>
1065
+ * @return This builder for chaining.
1066
+ */
1067
+ public Builder clearSourcePackageName() {
1068
+ sourcePackageName_ = getDefaultInstance().getSourcePackageName();
1069
+ bitField0_ = (bitField0_ & ~0x00000004);
1070
+ onChanged();
1071
+ return this;
1072
+ }
1073
+ /**
1074
+ * <pre>
1075
+ * The name of the source package from which this binary package was built.
1076
+ * Many binary packages are built from a single source package (e.g., "bind9" source package builds "bind9-host", "bind9utils", etc.).
1077
+ * </pre>
1078
+ *
1079
+ * <code>optional string source_package_name = 3;</code>
1080
+ * @param value The bytes for sourcePackageName to set.
1081
+ * @return This builder for chaining.
1082
+ */
1083
+ public Builder setSourcePackageNameBytes(
1084
+ com.google.protobuf.ByteString value) {
1085
+ if (value == null) { throw new NullPointerException(); }
1086
+ checkByteStringIsUtf8(value);
1087
+ sourcePackageName_ = value;
1088
+ bitField0_ |= 0x00000004;
1089
+ onChanged();
1090
+ return this;
1091
+ }
1092
+
1093
+ private java.lang.Object sourceVersion_ = "";
1094
+ /**
1095
+ * <pre>
1096
+ * The version string of the source package. This can differ from the binary package's version
1097
+ * if a patch or rebuild has occurred without a full version bump on the binary.
1098
+ * Crucial for linking to source-level vulnerability information.
1099
+ * </pre>
1100
+ *
1101
+ * <code>optional string source_version = 4;</code>
1102
+ * @return Whether the sourceVersion field is set.
1103
+ */
1104
+ public boolean hasSourceVersion() {
1105
+ return ((bitField0_ & 0x00000008) != 0);
1106
+ }
1107
+ /**
1108
+ * <pre>
1109
+ * The version string of the source package. This can differ from the binary package's version
1110
+ * if a patch or rebuild has occurred without a full version bump on the binary.
1111
+ * Crucial for linking to source-level vulnerability information.
1112
+ * </pre>
1113
+ *
1114
+ * <code>optional string source_version = 4;</code>
1115
+ * @return The sourceVersion.
1116
+ */
1117
+ public java.lang.String getSourceVersion() {
1118
+ java.lang.Object ref = sourceVersion_;
1119
+ if (!(ref instanceof java.lang.String)) {
1120
+ com.google.protobuf.ByteString bs =
1121
+ (com.google.protobuf.ByteString) ref;
1122
+ java.lang.String s = bs.toStringUtf8();
1123
+ sourceVersion_ = s;
1124
+ return s;
1125
+ } else {
1126
+ return (java.lang.String) ref;
1127
+ }
1128
+ }
1129
+ /**
1130
+ * <pre>
1131
+ * The version string of the source package. This can differ from the binary package's version
1132
+ * if a patch or rebuild has occurred without a full version bump on the binary.
1133
+ * Crucial for linking to source-level vulnerability information.
1134
+ * </pre>
1135
+ *
1136
+ * <code>optional string source_version = 4;</code>
1137
+ * @return The bytes for sourceVersion.
1138
+ */
1139
+ public com.google.protobuf.ByteString
1140
+ getSourceVersionBytes() {
1141
+ java.lang.Object ref = sourceVersion_;
1142
+ if (ref instanceof String) {
1143
+ com.google.protobuf.ByteString b =
1144
+ com.google.protobuf.ByteString.copyFromUtf8(
1145
+ (java.lang.String) ref);
1146
+ sourceVersion_ = b;
1147
+ return b;
1148
+ } else {
1149
+ return (com.google.protobuf.ByteString) ref;
1150
+ }
1151
+ }
1152
+ /**
1153
+ * <pre>
1154
+ * The version string of the source package. This can differ from the binary package's version
1155
+ * if a patch or rebuild has occurred without a full version bump on the binary.
1156
+ * Crucial for linking to source-level vulnerability information.
1157
+ * </pre>
1158
+ *
1159
+ * <code>optional string source_version = 4;</code>
1160
+ * @param value The sourceVersion to set.
1161
+ * @return This builder for chaining.
1162
+ */
1163
+ public Builder setSourceVersion(
1164
+ java.lang.String value) {
1165
+ if (value == null) { throw new NullPointerException(); }
1166
+ sourceVersion_ = value;
1167
+ bitField0_ |= 0x00000008;
1168
+ onChanged();
1169
+ return this;
1170
+ }
1171
+ /**
1172
+ * <pre>
1173
+ * The version string of the source package. This can differ from the binary package's version
1174
+ * if a patch or rebuild has occurred without a full version bump on the binary.
1175
+ * Crucial for linking to source-level vulnerability information.
1176
+ * </pre>
1177
+ *
1178
+ * <code>optional string source_version = 4;</code>
1179
+ * @return This builder for chaining.
1180
+ */
1181
+ public Builder clearSourceVersion() {
1182
+ sourceVersion_ = getDefaultInstance().getSourceVersion();
1183
+ bitField0_ = (bitField0_ & ~0x00000008);
1184
+ onChanged();
1185
+ return this;
1186
+ }
1187
+ /**
1188
+ * <pre>
1189
+ * The version string of the source package. This can differ from the binary package's version
1190
+ * if a patch or rebuild has occurred without a full version bump on the binary.
1191
+ * Crucial for linking to source-level vulnerability information.
1192
+ * </pre>
1193
+ *
1194
+ * <code>optional string source_version = 4;</code>
1195
+ * @param value The bytes for sourceVersion to set.
1196
+ * @return This builder for chaining.
1197
+ */
1198
+ public Builder setSourceVersionBytes(
1199
+ com.google.protobuf.ByteString value) {
1200
+ if (value == null) { throw new NullPointerException(); }
1201
+ checkByteStringIsUtf8(value);
1202
+ sourceVersion_ = value;
1203
+ bitField0_ |= 0x00000008;
1204
+ onChanged();
1205
+ return this;
1206
+ }
1207
+ @java.lang.Override
1208
+ public final Builder setUnknownFields(
1209
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
1210
+ return super.setUnknownFields(unknownFields);
1211
+ }
1212
+
1213
+ @java.lang.Override
1214
+ public final Builder mergeUnknownFields(
1215
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
1216
+ return super.mergeUnknownFields(unknownFields);
1217
+ }
1218
+
1219
+
1220
+ // @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints)
1221
+ }
1222
+
1223
+ // @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints)
1224
+ private static final com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints DEFAULT_INSTANCE;
1225
+ static {
1226
+ DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints();
1227
+ }
1228
+
1229
+ public static com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints getDefaultInstance() {
1230
+ return DEFAULT_INSTANCE;
1231
+ }
1232
+
1233
+ private static final com.google.protobuf.Parser<DebianBasedSoftwareDataPoints>
1234
+ PARSER = new com.google.protobuf.AbstractParser<DebianBasedSoftwareDataPoints>() {
1235
+ @java.lang.Override
1236
+ public DebianBasedSoftwareDataPoints parsePartialFrom(
1237
+ com.google.protobuf.CodedInputStream input,
1238
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1239
+ throws com.google.protobuf.InvalidProtocolBufferException {
1240
+ Builder builder = newBuilder();
1241
+ try {
1242
+ builder.mergeFrom(input, extensionRegistry);
1243
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1244
+ throw e.setUnfinishedMessage(builder.buildPartial());
1245
+ } catch (com.google.protobuf.UninitializedMessageException e) {
1246
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1247
+ } catch (java.io.IOException e) {
1248
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
1249
+ .setUnfinishedMessage(builder.buildPartial());
1250
+ }
1251
+ return builder.buildPartial();
1252
+ }
1253
+ };
1254
+
1255
+ public static com.google.protobuf.Parser<DebianBasedSoftwareDataPoints> parser() {
1256
+ return PARSER;
1257
+ }
1258
+
1259
+ @java.lang.Override
1260
+ public com.google.protobuf.Parser<DebianBasedSoftwareDataPoints> getParserForType() {
1261
+ return PARSER;
1262
+ }
1263
+
1264
+ @java.lang.Override
1265
+ public com.lansweeper.dp.outbound.v1.DebianBasedSoftwareDataPoints getDefaultInstanceForType() {
1266
+ return DEFAULT_INSTANCE;
1267
+ }
1268
+
1269
+ }
1270
+