@lansweeper/data-platform-outbound-grpc 0.1.2 → 0.1.4

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 (50) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +21 -0
  4. package/gen-proto/outbound_pb.js +189 -12
  5. package/package.json +2 -2
  6. package/pom.xml +1 -1
  7. package/proto/outbound.proto +9 -2
  8. package/src/main/java/com/lansweeper/dp/outbound/v1/Asset.java +2132 -0
  9. package/src/main/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +144 -0
  10. package/src/main/java/com/lansweeper/dp/outbound/v1/AssetType.java +801 -0
  11. package/src/main/java/com/lansweeper/dp/outbound/v1/AssetTypeOrBuilder.java +58 -0
  12. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrand.java +4433 -0
  13. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrandOrBuilder.java +446 -0
  14. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModel.java +4089 -0
  15. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModelOrBuilder.java +422 -0
  16. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogMonitor.java +484 -0
  17. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogMonitorOrBuilder.java +15 -0
  18. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOs.java +3858 -0
  19. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOsOrBuilder.java +384 -0
  20. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogSoftware.java +3315 -0
  21. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogSoftwareOrBuilder.java +332 -0
  22. package/src/main/java/com/lansweeper/dp/outbound/v1/CoreFields.java +1731 -0
  23. package/src/main/java/com/lansweeper/dp/outbound/v1/CoreFieldsOrBuilder.java +138 -0
  24. package/src/main/java/com/lansweeper/dp/outbound/v1/Entity.java +762 -0
  25. package/src/main/java/com/lansweeper/dp/outbound/v1/EntityOrBuilder.java +41 -0
  26. package/src/main/java/com/lansweeper/dp/outbound/v1/EntityPath.java +1283 -0
  27. package/src/main/java/com/lansweeper/dp/outbound/v1/EntityPathOrBuilder.java +113 -0
  28. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityRequest.java +655 -0
  29. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityRequestOrBuilder.java +36 -0
  30. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityResponse.java +1193 -0
  31. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityResponseOrBuilder.java +71 -0
  32. package/src/main/java/com/lansweeper/dp/outbound/v1/HardwareInfo.java +2702 -0
  33. package/src/main/java/com/lansweeper/dp/outbound/v1/HardwareInfoOrBuilder.java +237 -0
  34. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityRequest.java +655 -0
  35. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityRequestOrBuilder.java +36 -0
  36. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityResponse.java +958 -0
  37. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityResponseOrBuilder.java +48 -0
  38. package/src/main/java/com/lansweeper/dp/outbound/v1/OperatingSystemInfo.java +2332 -0
  39. package/src/main/java/com/lansweeper/dp/outbound/v1/OperatingSystemInfoOrBuilder.java +191 -0
  40. package/src/main/java/com/lansweeper/dp/outbound/v1/Outbound.java +286 -42943
  41. package/src/main/java/com/lansweeper/dp/outbound/v1/RawHardwareInfo.java +1073 -0
  42. package/src/main/java/com/lansweeper/dp/outbound/v1/RawHardwareInfoOrBuilder.java +77 -0
  43. package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftware.java +1894 -0
  44. package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftwareOrBuilder.java +187 -0
  45. package/src/main/java/com/lansweeper/dp/outbound/v1/Software.java +2797 -0
  46. package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventory.java +958 -0
  47. package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventoryOrBuilder.java +48 -0
  48. package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareOrBuilder.java +258 -0
  49. package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawOperatingSystemInfo.java +1846 -0
  50. package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawOperatingSystemInfoOrBuilder.java +205 -0
@@ -0,0 +1,1894 @@
1
+ // Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ // source: packages/data.platform/outbound/grpc/proto/outbound.proto
3
+
4
+ package com.lansweeper.dp.outbound.v1;
5
+
6
+ /**
7
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.RawSoftware}
8
+ */
9
+ public final class RawSoftware extends
10
+ com.google.protobuf.GeneratedMessageV3 implements
11
+ // @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.RawSoftware)
12
+ RawSoftwareOrBuilder {
13
+ private static final long serialVersionUID = 0L;
14
+ // Use RawSoftware.newBuilder() to construct.
15
+ private RawSoftware(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
16
+ super(builder);
17
+ }
18
+ private RawSoftware() {
19
+ name_ = "";
20
+ vendor_ = "";
21
+ version_ = "";
22
+ info_ = "";
23
+ exePath_ = "";
24
+ arch_ = "";
25
+ sourceType_ = "";
26
+ swId_ = "";
27
+ }
28
+
29
+ @java.lang.Override
30
+ @SuppressWarnings({"unused"})
31
+ protected java.lang.Object newInstance(
32
+ UnusedPrivateParameter unused) {
33
+ return new RawSoftware();
34
+ }
35
+
36
+ @java.lang.Override
37
+ public final com.google.protobuf.UnknownFieldSet
38
+ getUnknownFields() {
39
+ return this.unknownFields;
40
+ }
41
+ private RawSoftware(
42
+ com.google.protobuf.CodedInputStream input,
43
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
44
+ throws com.google.protobuf.InvalidProtocolBufferException {
45
+ this();
46
+ if (extensionRegistry == null) {
47
+ throw new java.lang.NullPointerException();
48
+ }
49
+ int mutable_bitField0_ = 0;
50
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
51
+ com.google.protobuf.UnknownFieldSet.newBuilder();
52
+ try {
53
+ boolean done = false;
54
+ while (!done) {
55
+ int tag = input.readTag();
56
+ switch (tag) {
57
+ case 0:
58
+ done = true;
59
+ break;
60
+ case 10: {
61
+ java.lang.String s = input.readStringRequireUtf8();
62
+
63
+ name_ = s;
64
+ break;
65
+ }
66
+ case 18: {
67
+ java.lang.String s = input.readStringRequireUtf8();
68
+ bitField0_ |= 0x00000001;
69
+ vendor_ = s;
70
+ break;
71
+ }
72
+ case 26: {
73
+ java.lang.String s = input.readStringRequireUtf8();
74
+ bitField0_ |= 0x00000002;
75
+ version_ = s;
76
+ break;
77
+ }
78
+ case 34: {
79
+ java.lang.String s = input.readStringRequireUtf8();
80
+ bitField0_ |= 0x00000004;
81
+ info_ = s;
82
+ break;
83
+ }
84
+ case 42: {
85
+ java.lang.String s = input.readStringRequireUtf8();
86
+ bitField0_ |= 0x00000008;
87
+ exePath_ = s;
88
+ break;
89
+ }
90
+ case 50: {
91
+ java.lang.String s = input.readStringRequireUtf8();
92
+ bitField0_ |= 0x00000010;
93
+ arch_ = s;
94
+ break;
95
+ }
96
+ case 56: {
97
+ bitField0_ |= 0x00000020;
98
+ installDate_ = input.readInt64();
99
+ break;
100
+ }
101
+ case 66: {
102
+ java.lang.String s = input.readStringRequireUtf8();
103
+ bitField0_ |= 0x00000040;
104
+ sourceType_ = s;
105
+ break;
106
+ }
107
+ case 74: {
108
+ java.lang.String s = input.readStringRequireUtf8();
109
+ bitField0_ |= 0x00000080;
110
+ swId_ = s;
111
+ break;
112
+ }
113
+ default: {
114
+ if (!parseUnknownField(
115
+ input, unknownFields, extensionRegistry, tag)) {
116
+ done = true;
117
+ }
118
+ break;
119
+ }
120
+ }
121
+ }
122
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
123
+ throw e.setUnfinishedMessage(this);
124
+ } catch (java.io.IOException e) {
125
+ throw new com.google.protobuf.InvalidProtocolBufferException(
126
+ e).setUnfinishedMessage(this);
127
+ } finally {
128
+ this.unknownFields = unknownFields.build();
129
+ makeExtensionsImmutable();
130
+ }
131
+ }
132
+ public static final com.google.protobuf.Descriptors.Descriptor
133
+ getDescriptor() {
134
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_RawSoftware_descriptor;
135
+ }
136
+
137
+ @java.lang.Override
138
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
139
+ internalGetFieldAccessorTable() {
140
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_RawSoftware_fieldAccessorTable
141
+ .ensureFieldAccessorsInitialized(
142
+ com.lansweeper.dp.outbound.v1.RawSoftware.class, com.lansweeper.dp.outbound.v1.RawSoftware.Builder.class);
143
+ }
144
+
145
+ private int bitField0_;
146
+ public static final int NAME_FIELD_NUMBER = 1;
147
+ private volatile java.lang.Object name_;
148
+ /**
149
+ * <code>string name = 1;</code>
150
+ * @return The name.
151
+ */
152
+ @java.lang.Override
153
+ public java.lang.String getName() {
154
+ java.lang.Object ref = name_;
155
+ if (ref instanceof java.lang.String) {
156
+ return (java.lang.String) ref;
157
+ } else {
158
+ com.google.protobuf.ByteString bs =
159
+ (com.google.protobuf.ByteString) ref;
160
+ java.lang.String s = bs.toStringUtf8();
161
+ name_ = s;
162
+ return s;
163
+ }
164
+ }
165
+ /**
166
+ * <code>string name = 1;</code>
167
+ * @return The bytes for name.
168
+ */
169
+ @java.lang.Override
170
+ public com.google.protobuf.ByteString
171
+ getNameBytes() {
172
+ java.lang.Object ref = name_;
173
+ if (ref instanceof java.lang.String) {
174
+ com.google.protobuf.ByteString b =
175
+ com.google.protobuf.ByteString.copyFromUtf8(
176
+ (java.lang.String) ref);
177
+ name_ = b;
178
+ return b;
179
+ } else {
180
+ return (com.google.protobuf.ByteString) ref;
181
+ }
182
+ }
183
+
184
+ public static final int VENDOR_FIELD_NUMBER = 2;
185
+ private volatile java.lang.Object vendor_;
186
+ /**
187
+ * <code>string vendor = 2;</code>
188
+ * @return Whether the vendor field is set.
189
+ */
190
+ @java.lang.Override
191
+ public boolean hasVendor() {
192
+ return ((bitField0_ & 0x00000001) != 0);
193
+ }
194
+ /**
195
+ * <code>string vendor = 2;</code>
196
+ * @return The vendor.
197
+ */
198
+ @java.lang.Override
199
+ public java.lang.String getVendor() {
200
+ java.lang.Object ref = vendor_;
201
+ if (ref instanceof java.lang.String) {
202
+ return (java.lang.String) ref;
203
+ } else {
204
+ com.google.protobuf.ByteString bs =
205
+ (com.google.protobuf.ByteString) ref;
206
+ java.lang.String s = bs.toStringUtf8();
207
+ vendor_ = s;
208
+ return s;
209
+ }
210
+ }
211
+ /**
212
+ * <code>string vendor = 2;</code>
213
+ * @return The bytes for vendor.
214
+ */
215
+ @java.lang.Override
216
+ public com.google.protobuf.ByteString
217
+ getVendorBytes() {
218
+ java.lang.Object ref = vendor_;
219
+ if (ref instanceof java.lang.String) {
220
+ com.google.protobuf.ByteString b =
221
+ com.google.protobuf.ByteString.copyFromUtf8(
222
+ (java.lang.String) ref);
223
+ vendor_ = b;
224
+ return b;
225
+ } else {
226
+ return (com.google.protobuf.ByteString) ref;
227
+ }
228
+ }
229
+
230
+ public static final int VERSION_FIELD_NUMBER = 3;
231
+ private volatile java.lang.Object version_;
232
+ /**
233
+ * <code>string version = 3;</code>
234
+ * @return Whether the version field is set.
235
+ */
236
+ @java.lang.Override
237
+ public boolean hasVersion() {
238
+ return ((bitField0_ & 0x00000002) != 0);
239
+ }
240
+ /**
241
+ * <code>string version = 3;</code>
242
+ * @return The version.
243
+ */
244
+ @java.lang.Override
245
+ public java.lang.String getVersion() {
246
+ java.lang.Object ref = version_;
247
+ if (ref instanceof java.lang.String) {
248
+ return (java.lang.String) ref;
249
+ } else {
250
+ com.google.protobuf.ByteString bs =
251
+ (com.google.protobuf.ByteString) ref;
252
+ java.lang.String s = bs.toStringUtf8();
253
+ version_ = s;
254
+ return s;
255
+ }
256
+ }
257
+ /**
258
+ * <code>string version = 3;</code>
259
+ * @return The bytes for version.
260
+ */
261
+ @java.lang.Override
262
+ public com.google.protobuf.ByteString
263
+ getVersionBytes() {
264
+ java.lang.Object ref = version_;
265
+ if (ref instanceof java.lang.String) {
266
+ com.google.protobuf.ByteString b =
267
+ com.google.protobuf.ByteString.copyFromUtf8(
268
+ (java.lang.String) ref);
269
+ version_ = b;
270
+ return b;
271
+ } else {
272
+ return (com.google.protobuf.ByteString) ref;
273
+ }
274
+ }
275
+
276
+ public static final int INFO_FIELD_NUMBER = 4;
277
+ private volatile java.lang.Object info_;
278
+ /**
279
+ * <code>string info = 4;</code>
280
+ * @return Whether the info field is set.
281
+ */
282
+ @java.lang.Override
283
+ public boolean hasInfo() {
284
+ return ((bitField0_ & 0x00000004) != 0);
285
+ }
286
+ /**
287
+ * <code>string info = 4;</code>
288
+ * @return The info.
289
+ */
290
+ @java.lang.Override
291
+ public java.lang.String getInfo() {
292
+ java.lang.Object ref = info_;
293
+ if (ref instanceof java.lang.String) {
294
+ return (java.lang.String) ref;
295
+ } else {
296
+ com.google.protobuf.ByteString bs =
297
+ (com.google.protobuf.ByteString) ref;
298
+ java.lang.String s = bs.toStringUtf8();
299
+ info_ = s;
300
+ return s;
301
+ }
302
+ }
303
+ /**
304
+ * <code>string info = 4;</code>
305
+ * @return The bytes for info.
306
+ */
307
+ @java.lang.Override
308
+ public com.google.protobuf.ByteString
309
+ getInfoBytes() {
310
+ java.lang.Object ref = info_;
311
+ if (ref instanceof java.lang.String) {
312
+ com.google.protobuf.ByteString b =
313
+ com.google.protobuf.ByteString.copyFromUtf8(
314
+ (java.lang.String) ref);
315
+ info_ = b;
316
+ return b;
317
+ } else {
318
+ return (com.google.protobuf.ByteString) ref;
319
+ }
320
+ }
321
+
322
+ public static final int EXE_PATH_FIELD_NUMBER = 5;
323
+ private volatile java.lang.Object exePath_;
324
+ /**
325
+ * <code>string exe_path = 5;</code>
326
+ * @return Whether the exePath field is set.
327
+ */
328
+ @java.lang.Override
329
+ public boolean hasExePath() {
330
+ return ((bitField0_ & 0x00000008) != 0);
331
+ }
332
+ /**
333
+ * <code>string exe_path = 5;</code>
334
+ * @return The exePath.
335
+ */
336
+ @java.lang.Override
337
+ public java.lang.String getExePath() {
338
+ java.lang.Object ref = exePath_;
339
+ if (ref instanceof java.lang.String) {
340
+ return (java.lang.String) ref;
341
+ } else {
342
+ com.google.protobuf.ByteString bs =
343
+ (com.google.protobuf.ByteString) ref;
344
+ java.lang.String s = bs.toStringUtf8();
345
+ exePath_ = s;
346
+ return s;
347
+ }
348
+ }
349
+ /**
350
+ * <code>string exe_path = 5;</code>
351
+ * @return The bytes for exePath.
352
+ */
353
+ @java.lang.Override
354
+ public com.google.protobuf.ByteString
355
+ getExePathBytes() {
356
+ java.lang.Object ref = exePath_;
357
+ if (ref instanceof java.lang.String) {
358
+ com.google.protobuf.ByteString b =
359
+ com.google.protobuf.ByteString.copyFromUtf8(
360
+ (java.lang.String) ref);
361
+ exePath_ = b;
362
+ return b;
363
+ } else {
364
+ return (com.google.protobuf.ByteString) ref;
365
+ }
366
+ }
367
+
368
+ public static final int ARCH_FIELD_NUMBER = 6;
369
+ private volatile java.lang.Object arch_;
370
+ /**
371
+ * <pre>
372
+ * when available the specific sw arch
373
+ * </pre>
374
+ *
375
+ * <code>string arch = 6;</code>
376
+ * @return Whether the arch field is set.
377
+ */
378
+ @java.lang.Override
379
+ public boolean hasArch() {
380
+ return ((bitField0_ & 0x00000010) != 0);
381
+ }
382
+ /**
383
+ * <pre>
384
+ * when available the specific sw arch
385
+ * </pre>
386
+ *
387
+ * <code>string arch = 6;</code>
388
+ * @return The arch.
389
+ */
390
+ @java.lang.Override
391
+ public java.lang.String getArch() {
392
+ java.lang.Object ref = arch_;
393
+ if (ref instanceof java.lang.String) {
394
+ return (java.lang.String) ref;
395
+ } else {
396
+ com.google.protobuf.ByteString bs =
397
+ (com.google.protobuf.ByteString) ref;
398
+ java.lang.String s = bs.toStringUtf8();
399
+ arch_ = s;
400
+ return s;
401
+ }
402
+ }
403
+ /**
404
+ * <pre>
405
+ * when available the specific sw arch
406
+ * </pre>
407
+ *
408
+ * <code>string arch = 6;</code>
409
+ * @return The bytes for arch.
410
+ */
411
+ @java.lang.Override
412
+ public com.google.protobuf.ByteString
413
+ getArchBytes() {
414
+ java.lang.Object ref = arch_;
415
+ if (ref instanceof java.lang.String) {
416
+ com.google.protobuf.ByteString b =
417
+ com.google.protobuf.ByteString.copyFromUtf8(
418
+ (java.lang.String) ref);
419
+ arch_ = b;
420
+ return b;
421
+ } else {
422
+ return (com.google.protobuf.ByteString) ref;
423
+ }
424
+ }
425
+
426
+ public static final int INSTALL_DATE_FIELD_NUMBER = 7;
427
+ private long installDate_;
428
+ /**
429
+ * <code>int64 install_date = 7;</code>
430
+ * @return Whether the installDate field is set.
431
+ */
432
+ @java.lang.Override
433
+ public boolean hasInstallDate() {
434
+ return ((bitField0_ & 0x00000020) != 0);
435
+ }
436
+ /**
437
+ * <code>int64 install_date = 7;</code>
438
+ * @return The installDate.
439
+ */
440
+ @java.lang.Override
441
+ public long getInstallDate() {
442
+ return installDate_;
443
+ }
444
+
445
+ public static final int SOURCE_TYPE_FIELD_NUMBER = 8;
446
+ private volatile java.lang.Object sourceType_;
447
+ /**
448
+ * <pre>
449
+ * Registry | System | MsStore | Package | Custom | etc
450
+ * </pre>
451
+ *
452
+ * <code>string source_type = 8;</code>
453
+ * @return Whether the sourceType field is set.
454
+ */
455
+ @java.lang.Override
456
+ public boolean hasSourceType() {
457
+ return ((bitField0_ & 0x00000040) != 0);
458
+ }
459
+ /**
460
+ * <pre>
461
+ * Registry | System | MsStore | Package | Custom | etc
462
+ * </pre>
463
+ *
464
+ * <code>string source_type = 8;</code>
465
+ * @return The sourceType.
466
+ */
467
+ @java.lang.Override
468
+ public java.lang.String getSourceType() {
469
+ java.lang.Object ref = sourceType_;
470
+ if (ref instanceof java.lang.String) {
471
+ return (java.lang.String) ref;
472
+ } else {
473
+ com.google.protobuf.ByteString bs =
474
+ (com.google.protobuf.ByteString) ref;
475
+ java.lang.String s = bs.toStringUtf8();
476
+ sourceType_ = s;
477
+ return s;
478
+ }
479
+ }
480
+ /**
481
+ * <pre>
482
+ * Registry | System | MsStore | Package | Custom | etc
483
+ * </pre>
484
+ *
485
+ * <code>string source_type = 8;</code>
486
+ * @return The bytes for sourceType.
487
+ */
488
+ @java.lang.Override
489
+ public com.google.protobuf.ByteString
490
+ getSourceTypeBytes() {
491
+ java.lang.Object ref = sourceType_;
492
+ if (ref instanceof java.lang.String) {
493
+ com.google.protobuf.ByteString b =
494
+ com.google.protobuf.ByteString.copyFromUtf8(
495
+ (java.lang.String) ref);
496
+ sourceType_ = b;
497
+ return b;
498
+ } else {
499
+ return (com.google.protobuf.ByteString) ref;
500
+ }
501
+ }
502
+
503
+ public static final int SW_ID_FIELD_NUMBER = 9;
504
+ private volatile java.lang.Object swId_;
505
+ /**
506
+ * <pre>
507
+ * optional SW id on the client side
508
+ * </pre>
509
+ *
510
+ * <code>string sw_id = 9;</code>
511
+ * @return Whether the swId field is set.
512
+ */
513
+ @java.lang.Override
514
+ public boolean hasSwId() {
515
+ return ((bitField0_ & 0x00000080) != 0);
516
+ }
517
+ /**
518
+ * <pre>
519
+ * optional SW id on the client side
520
+ * </pre>
521
+ *
522
+ * <code>string sw_id = 9;</code>
523
+ * @return The swId.
524
+ */
525
+ @java.lang.Override
526
+ public java.lang.String getSwId() {
527
+ java.lang.Object ref = swId_;
528
+ if (ref instanceof java.lang.String) {
529
+ return (java.lang.String) ref;
530
+ } else {
531
+ com.google.protobuf.ByteString bs =
532
+ (com.google.protobuf.ByteString) ref;
533
+ java.lang.String s = bs.toStringUtf8();
534
+ swId_ = s;
535
+ return s;
536
+ }
537
+ }
538
+ /**
539
+ * <pre>
540
+ * optional SW id on the client side
541
+ * </pre>
542
+ *
543
+ * <code>string sw_id = 9;</code>
544
+ * @return The bytes for swId.
545
+ */
546
+ @java.lang.Override
547
+ public com.google.protobuf.ByteString
548
+ getSwIdBytes() {
549
+ java.lang.Object ref = swId_;
550
+ if (ref instanceof java.lang.String) {
551
+ com.google.protobuf.ByteString b =
552
+ com.google.protobuf.ByteString.copyFromUtf8(
553
+ (java.lang.String) ref);
554
+ swId_ = b;
555
+ return b;
556
+ } else {
557
+ return (com.google.protobuf.ByteString) ref;
558
+ }
559
+ }
560
+
561
+ private byte memoizedIsInitialized = -1;
562
+ @java.lang.Override
563
+ public final boolean isInitialized() {
564
+ byte isInitialized = memoizedIsInitialized;
565
+ if (isInitialized == 1) return true;
566
+ if (isInitialized == 0) return false;
567
+
568
+ memoizedIsInitialized = 1;
569
+ return true;
570
+ }
571
+
572
+ @java.lang.Override
573
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
574
+ throws java.io.IOException {
575
+ if (!getNameBytes().isEmpty()) {
576
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
577
+ }
578
+ if (((bitField0_ & 0x00000001) != 0)) {
579
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, vendor_);
580
+ }
581
+ if (((bitField0_ & 0x00000002) != 0)) {
582
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, version_);
583
+ }
584
+ if (((bitField0_ & 0x00000004) != 0)) {
585
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, info_);
586
+ }
587
+ if (((bitField0_ & 0x00000008) != 0)) {
588
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, exePath_);
589
+ }
590
+ if (((bitField0_ & 0x00000010) != 0)) {
591
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, arch_);
592
+ }
593
+ if (((bitField0_ & 0x00000020) != 0)) {
594
+ output.writeInt64(7, installDate_);
595
+ }
596
+ if (((bitField0_ & 0x00000040) != 0)) {
597
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 8, sourceType_);
598
+ }
599
+ if (((bitField0_ & 0x00000080) != 0)) {
600
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 9, swId_);
601
+ }
602
+ unknownFields.writeTo(output);
603
+ }
604
+
605
+ @java.lang.Override
606
+ public int getSerializedSize() {
607
+ int size = memoizedSize;
608
+ if (size != -1) return size;
609
+
610
+ size = 0;
611
+ if (!getNameBytes().isEmpty()) {
612
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
613
+ }
614
+ if (((bitField0_ & 0x00000001) != 0)) {
615
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, vendor_);
616
+ }
617
+ if (((bitField0_ & 0x00000002) != 0)) {
618
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, version_);
619
+ }
620
+ if (((bitField0_ & 0x00000004) != 0)) {
621
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, info_);
622
+ }
623
+ if (((bitField0_ & 0x00000008) != 0)) {
624
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, exePath_);
625
+ }
626
+ if (((bitField0_ & 0x00000010) != 0)) {
627
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, arch_);
628
+ }
629
+ if (((bitField0_ & 0x00000020) != 0)) {
630
+ size += com.google.protobuf.CodedOutputStream
631
+ .computeInt64Size(7, installDate_);
632
+ }
633
+ if (((bitField0_ & 0x00000040) != 0)) {
634
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, sourceType_);
635
+ }
636
+ if (((bitField0_ & 0x00000080) != 0)) {
637
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, swId_);
638
+ }
639
+ size += unknownFields.getSerializedSize();
640
+ memoizedSize = size;
641
+ return size;
642
+ }
643
+
644
+ @java.lang.Override
645
+ public boolean equals(final java.lang.Object obj) {
646
+ if (obj == this) {
647
+ return true;
648
+ }
649
+ if (!(obj instanceof com.lansweeper.dp.outbound.v1.RawSoftware)) {
650
+ return super.equals(obj);
651
+ }
652
+ com.lansweeper.dp.outbound.v1.RawSoftware other = (com.lansweeper.dp.outbound.v1.RawSoftware) obj;
653
+
654
+ if (!getName()
655
+ .equals(other.getName())) return false;
656
+ if (hasVendor() != other.hasVendor()) return false;
657
+ if (hasVendor()) {
658
+ if (!getVendor()
659
+ .equals(other.getVendor())) return false;
660
+ }
661
+ if (hasVersion() != other.hasVersion()) return false;
662
+ if (hasVersion()) {
663
+ if (!getVersion()
664
+ .equals(other.getVersion())) return false;
665
+ }
666
+ if (hasInfo() != other.hasInfo()) return false;
667
+ if (hasInfo()) {
668
+ if (!getInfo()
669
+ .equals(other.getInfo())) return false;
670
+ }
671
+ if (hasExePath() != other.hasExePath()) return false;
672
+ if (hasExePath()) {
673
+ if (!getExePath()
674
+ .equals(other.getExePath())) return false;
675
+ }
676
+ if (hasArch() != other.hasArch()) return false;
677
+ if (hasArch()) {
678
+ if (!getArch()
679
+ .equals(other.getArch())) return false;
680
+ }
681
+ if (hasInstallDate() != other.hasInstallDate()) return false;
682
+ if (hasInstallDate()) {
683
+ if (getInstallDate()
684
+ != other.getInstallDate()) return false;
685
+ }
686
+ if (hasSourceType() != other.hasSourceType()) return false;
687
+ if (hasSourceType()) {
688
+ if (!getSourceType()
689
+ .equals(other.getSourceType())) return false;
690
+ }
691
+ if (hasSwId() != other.hasSwId()) return false;
692
+ if (hasSwId()) {
693
+ if (!getSwId()
694
+ .equals(other.getSwId())) return false;
695
+ }
696
+ if (!unknownFields.equals(other.unknownFields)) return false;
697
+ return true;
698
+ }
699
+
700
+ @java.lang.Override
701
+ public int hashCode() {
702
+ if (memoizedHashCode != 0) {
703
+ return memoizedHashCode;
704
+ }
705
+ int hash = 41;
706
+ hash = (19 * hash) + getDescriptor().hashCode();
707
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
708
+ hash = (53 * hash) + getName().hashCode();
709
+ if (hasVendor()) {
710
+ hash = (37 * hash) + VENDOR_FIELD_NUMBER;
711
+ hash = (53 * hash) + getVendor().hashCode();
712
+ }
713
+ if (hasVersion()) {
714
+ hash = (37 * hash) + VERSION_FIELD_NUMBER;
715
+ hash = (53 * hash) + getVersion().hashCode();
716
+ }
717
+ if (hasInfo()) {
718
+ hash = (37 * hash) + INFO_FIELD_NUMBER;
719
+ hash = (53 * hash) + getInfo().hashCode();
720
+ }
721
+ if (hasExePath()) {
722
+ hash = (37 * hash) + EXE_PATH_FIELD_NUMBER;
723
+ hash = (53 * hash) + getExePath().hashCode();
724
+ }
725
+ if (hasArch()) {
726
+ hash = (37 * hash) + ARCH_FIELD_NUMBER;
727
+ hash = (53 * hash) + getArch().hashCode();
728
+ }
729
+ if (hasInstallDate()) {
730
+ hash = (37 * hash) + INSTALL_DATE_FIELD_NUMBER;
731
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
732
+ getInstallDate());
733
+ }
734
+ if (hasSourceType()) {
735
+ hash = (37 * hash) + SOURCE_TYPE_FIELD_NUMBER;
736
+ hash = (53 * hash) + getSourceType().hashCode();
737
+ }
738
+ if (hasSwId()) {
739
+ hash = (37 * hash) + SW_ID_FIELD_NUMBER;
740
+ hash = (53 * hash) + getSwId().hashCode();
741
+ }
742
+ hash = (29 * hash) + unknownFields.hashCode();
743
+ memoizedHashCode = hash;
744
+ return hash;
745
+ }
746
+
747
+ public static com.lansweeper.dp.outbound.v1.RawSoftware parseFrom(
748
+ java.nio.ByteBuffer data)
749
+ throws com.google.protobuf.InvalidProtocolBufferException {
750
+ return PARSER.parseFrom(data);
751
+ }
752
+ public static com.lansweeper.dp.outbound.v1.RawSoftware parseFrom(
753
+ java.nio.ByteBuffer data,
754
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
755
+ throws com.google.protobuf.InvalidProtocolBufferException {
756
+ return PARSER.parseFrom(data, extensionRegistry);
757
+ }
758
+ public static com.lansweeper.dp.outbound.v1.RawSoftware parseFrom(
759
+ com.google.protobuf.ByteString data)
760
+ throws com.google.protobuf.InvalidProtocolBufferException {
761
+ return PARSER.parseFrom(data);
762
+ }
763
+ public static com.lansweeper.dp.outbound.v1.RawSoftware parseFrom(
764
+ com.google.protobuf.ByteString data,
765
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
766
+ throws com.google.protobuf.InvalidProtocolBufferException {
767
+ return PARSER.parseFrom(data, extensionRegistry);
768
+ }
769
+ public static com.lansweeper.dp.outbound.v1.RawSoftware parseFrom(byte[] data)
770
+ throws com.google.protobuf.InvalidProtocolBufferException {
771
+ return PARSER.parseFrom(data);
772
+ }
773
+ public static com.lansweeper.dp.outbound.v1.RawSoftware parseFrom(
774
+ byte[] data,
775
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
776
+ throws com.google.protobuf.InvalidProtocolBufferException {
777
+ return PARSER.parseFrom(data, extensionRegistry);
778
+ }
779
+ public static com.lansweeper.dp.outbound.v1.RawSoftware parseFrom(java.io.InputStream input)
780
+ throws java.io.IOException {
781
+ return com.google.protobuf.GeneratedMessageV3
782
+ .parseWithIOException(PARSER, input);
783
+ }
784
+ public static com.lansweeper.dp.outbound.v1.RawSoftware parseFrom(
785
+ java.io.InputStream input,
786
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
787
+ throws java.io.IOException {
788
+ return com.google.protobuf.GeneratedMessageV3
789
+ .parseWithIOException(PARSER, input, extensionRegistry);
790
+ }
791
+ public static com.lansweeper.dp.outbound.v1.RawSoftware parseDelimitedFrom(java.io.InputStream input)
792
+ throws java.io.IOException {
793
+ return com.google.protobuf.GeneratedMessageV3
794
+ .parseDelimitedWithIOException(PARSER, input);
795
+ }
796
+ public static com.lansweeper.dp.outbound.v1.RawSoftware parseDelimitedFrom(
797
+ java.io.InputStream input,
798
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
799
+ throws java.io.IOException {
800
+ return com.google.protobuf.GeneratedMessageV3
801
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
802
+ }
803
+ public static com.lansweeper.dp.outbound.v1.RawSoftware parseFrom(
804
+ com.google.protobuf.CodedInputStream input)
805
+ throws java.io.IOException {
806
+ return com.google.protobuf.GeneratedMessageV3
807
+ .parseWithIOException(PARSER, input);
808
+ }
809
+ public static com.lansweeper.dp.outbound.v1.RawSoftware parseFrom(
810
+ com.google.protobuf.CodedInputStream input,
811
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
812
+ throws java.io.IOException {
813
+ return com.google.protobuf.GeneratedMessageV3
814
+ .parseWithIOException(PARSER, input, extensionRegistry);
815
+ }
816
+
817
+ @java.lang.Override
818
+ public Builder newBuilderForType() { return newBuilder(); }
819
+ public static Builder newBuilder() {
820
+ return DEFAULT_INSTANCE.toBuilder();
821
+ }
822
+ public static Builder newBuilder(com.lansweeper.dp.outbound.v1.RawSoftware prototype) {
823
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
824
+ }
825
+ @java.lang.Override
826
+ public Builder toBuilder() {
827
+ return this == DEFAULT_INSTANCE
828
+ ? new Builder() : new Builder().mergeFrom(this);
829
+ }
830
+
831
+ @java.lang.Override
832
+ protected Builder newBuilderForType(
833
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
834
+ Builder builder = new Builder(parent);
835
+ return builder;
836
+ }
837
+ /**
838
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.RawSoftware}
839
+ */
840
+ public static final class Builder extends
841
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
842
+ // @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.RawSoftware)
843
+ com.lansweeper.dp.outbound.v1.RawSoftwareOrBuilder {
844
+ public static final com.google.protobuf.Descriptors.Descriptor
845
+ getDescriptor() {
846
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_RawSoftware_descriptor;
847
+ }
848
+
849
+ @java.lang.Override
850
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
851
+ internalGetFieldAccessorTable() {
852
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_RawSoftware_fieldAccessorTable
853
+ .ensureFieldAccessorsInitialized(
854
+ com.lansweeper.dp.outbound.v1.RawSoftware.class, com.lansweeper.dp.outbound.v1.RawSoftware.Builder.class);
855
+ }
856
+
857
+ // Construct using com.lansweeper.dp.outbound.v1.RawSoftware.newBuilder()
858
+ private Builder() {
859
+ maybeForceBuilderInitialization();
860
+ }
861
+
862
+ private Builder(
863
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
864
+ super(parent);
865
+ maybeForceBuilderInitialization();
866
+ }
867
+ private void maybeForceBuilderInitialization() {
868
+ if (com.google.protobuf.GeneratedMessageV3
869
+ .alwaysUseFieldBuilders) {
870
+ }
871
+ }
872
+ @java.lang.Override
873
+ public Builder clear() {
874
+ super.clear();
875
+ name_ = "";
876
+
877
+ vendor_ = "";
878
+ bitField0_ = (bitField0_ & ~0x00000001);
879
+ version_ = "";
880
+ bitField0_ = (bitField0_ & ~0x00000002);
881
+ info_ = "";
882
+ bitField0_ = (bitField0_ & ~0x00000004);
883
+ exePath_ = "";
884
+ bitField0_ = (bitField0_ & ~0x00000008);
885
+ arch_ = "";
886
+ bitField0_ = (bitField0_ & ~0x00000010);
887
+ installDate_ = 0L;
888
+ bitField0_ = (bitField0_ & ~0x00000020);
889
+ sourceType_ = "";
890
+ bitField0_ = (bitField0_ & ~0x00000040);
891
+ swId_ = "";
892
+ bitField0_ = (bitField0_ & ~0x00000080);
893
+ return this;
894
+ }
895
+
896
+ @java.lang.Override
897
+ public com.google.protobuf.Descriptors.Descriptor
898
+ getDescriptorForType() {
899
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_RawSoftware_descriptor;
900
+ }
901
+
902
+ @java.lang.Override
903
+ public com.lansweeper.dp.outbound.v1.RawSoftware getDefaultInstanceForType() {
904
+ return com.lansweeper.dp.outbound.v1.RawSoftware.getDefaultInstance();
905
+ }
906
+
907
+ @java.lang.Override
908
+ public com.lansweeper.dp.outbound.v1.RawSoftware build() {
909
+ com.lansweeper.dp.outbound.v1.RawSoftware result = buildPartial();
910
+ if (!result.isInitialized()) {
911
+ throw newUninitializedMessageException(result);
912
+ }
913
+ return result;
914
+ }
915
+
916
+ @java.lang.Override
917
+ public com.lansweeper.dp.outbound.v1.RawSoftware buildPartial() {
918
+ com.lansweeper.dp.outbound.v1.RawSoftware result = new com.lansweeper.dp.outbound.v1.RawSoftware(this);
919
+ int from_bitField0_ = bitField0_;
920
+ int to_bitField0_ = 0;
921
+ result.name_ = name_;
922
+ if (((from_bitField0_ & 0x00000001) != 0)) {
923
+ to_bitField0_ |= 0x00000001;
924
+ }
925
+ result.vendor_ = vendor_;
926
+ if (((from_bitField0_ & 0x00000002) != 0)) {
927
+ to_bitField0_ |= 0x00000002;
928
+ }
929
+ result.version_ = version_;
930
+ if (((from_bitField0_ & 0x00000004) != 0)) {
931
+ to_bitField0_ |= 0x00000004;
932
+ }
933
+ result.info_ = info_;
934
+ if (((from_bitField0_ & 0x00000008) != 0)) {
935
+ to_bitField0_ |= 0x00000008;
936
+ }
937
+ result.exePath_ = exePath_;
938
+ if (((from_bitField0_ & 0x00000010) != 0)) {
939
+ to_bitField0_ |= 0x00000010;
940
+ }
941
+ result.arch_ = arch_;
942
+ if (((from_bitField0_ & 0x00000020) != 0)) {
943
+ result.installDate_ = installDate_;
944
+ to_bitField0_ |= 0x00000020;
945
+ }
946
+ if (((from_bitField0_ & 0x00000040) != 0)) {
947
+ to_bitField0_ |= 0x00000040;
948
+ }
949
+ result.sourceType_ = sourceType_;
950
+ if (((from_bitField0_ & 0x00000080) != 0)) {
951
+ to_bitField0_ |= 0x00000080;
952
+ }
953
+ result.swId_ = swId_;
954
+ result.bitField0_ = to_bitField0_;
955
+ onBuilt();
956
+ return result;
957
+ }
958
+
959
+ @java.lang.Override
960
+ public Builder clone() {
961
+ return super.clone();
962
+ }
963
+ @java.lang.Override
964
+ public Builder setField(
965
+ com.google.protobuf.Descriptors.FieldDescriptor field,
966
+ java.lang.Object value) {
967
+ return super.setField(field, value);
968
+ }
969
+ @java.lang.Override
970
+ public Builder clearField(
971
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
972
+ return super.clearField(field);
973
+ }
974
+ @java.lang.Override
975
+ public Builder clearOneof(
976
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
977
+ return super.clearOneof(oneof);
978
+ }
979
+ @java.lang.Override
980
+ public Builder setRepeatedField(
981
+ com.google.protobuf.Descriptors.FieldDescriptor field,
982
+ int index, java.lang.Object value) {
983
+ return super.setRepeatedField(field, index, value);
984
+ }
985
+ @java.lang.Override
986
+ public Builder addRepeatedField(
987
+ com.google.protobuf.Descriptors.FieldDescriptor field,
988
+ java.lang.Object value) {
989
+ return super.addRepeatedField(field, value);
990
+ }
991
+ @java.lang.Override
992
+ public Builder mergeFrom(com.google.protobuf.Message other) {
993
+ if (other instanceof com.lansweeper.dp.outbound.v1.RawSoftware) {
994
+ return mergeFrom((com.lansweeper.dp.outbound.v1.RawSoftware)other);
995
+ } else {
996
+ super.mergeFrom(other);
997
+ return this;
998
+ }
999
+ }
1000
+
1001
+ public Builder mergeFrom(com.lansweeper.dp.outbound.v1.RawSoftware other) {
1002
+ if (other == com.lansweeper.dp.outbound.v1.RawSoftware.getDefaultInstance()) return this;
1003
+ if (!other.getName().isEmpty()) {
1004
+ name_ = other.name_;
1005
+ onChanged();
1006
+ }
1007
+ if (other.hasVendor()) {
1008
+ bitField0_ |= 0x00000001;
1009
+ vendor_ = other.vendor_;
1010
+ onChanged();
1011
+ }
1012
+ if (other.hasVersion()) {
1013
+ bitField0_ |= 0x00000002;
1014
+ version_ = other.version_;
1015
+ onChanged();
1016
+ }
1017
+ if (other.hasInfo()) {
1018
+ bitField0_ |= 0x00000004;
1019
+ info_ = other.info_;
1020
+ onChanged();
1021
+ }
1022
+ if (other.hasExePath()) {
1023
+ bitField0_ |= 0x00000008;
1024
+ exePath_ = other.exePath_;
1025
+ onChanged();
1026
+ }
1027
+ if (other.hasArch()) {
1028
+ bitField0_ |= 0x00000010;
1029
+ arch_ = other.arch_;
1030
+ onChanged();
1031
+ }
1032
+ if (other.hasInstallDate()) {
1033
+ setInstallDate(other.getInstallDate());
1034
+ }
1035
+ if (other.hasSourceType()) {
1036
+ bitField0_ |= 0x00000040;
1037
+ sourceType_ = other.sourceType_;
1038
+ onChanged();
1039
+ }
1040
+ if (other.hasSwId()) {
1041
+ bitField0_ |= 0x00000080;
1042
+ swId_ = other.swId_;
1043
+ onChanged();
1044
+ }
1045
+ this.mergeUnknownFields(other.unknownFields);
1046
+ onChanged();
1047
+ return this;
1048
+ }
1049
+
1050
+ @java.lang.Override
1051
+ public final boolean isInitialized() {
1052
+ return true;
1053
+ }
1054
+
1055
+ @java.lang.Override
1056
+ public Builder mergeFrom(
1057
+ com.google.protobuf.CodedInputStream input,
1058
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1059
+ throws java.io.IOException {
1060
+ com.lansweeper.dp.outbound.v1.RawSoftware parsedMessage = null;
1061
+ try {
1062
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1063
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1064
+ parsedMessage = (com.lansweeper.dp.outbound.v1.RawSoftware) e.getUnfinishedMessage();
1065
+ throw e.unwrapIOException();
1066
+ } finally {
1067
+ if (parsedMessage != null) {
1068
+ mergeFrom(parsedMessage);
1069
+ }
1070
+ }
1071
+ return this;
1072
+ }
1073
+ private int bitField0_;
1074
+
1075
+ private java.lang.Object name_ = "";
1076
+ /**
1077
+ * <code>string name = 1;</code>
1078
+ * @return The name.
1079
+ */
1080
+ public java.lang.String getName() {
1081
+ java.lang.Object ref = name_;
1082
+ if (!(ref instanceof java.lang.String)) {
1083
+ com.google.protobuf.ByteString bs =
1084
+ (com.google.protobuf.ByteString) ref;
1085
+ java.lang.String s = bs.toStringUtf8();
1086
+ name_ = s;
1087
+ return s;
1088
+ } else {
1089
+ return (java.lang.String) ref;
1090
+ }
1091
+ }
1092
+ /**
1093
+ * <code>string name = 1;</code>
1094
+ * @return The bytes for name.
1095
+ */
1096
+ public com.google.protobuf.ByteString
1097
+ getNameBytes() {
1098
+ java.lang.Object ref = name_;
1099
+ if (ref instanceof String) {
1100
+ com.google.protobuf.ByteString b =
1101
+ com.google.protobuf.ByteString.copyFromUtf8(
1102
+ (java.lang.String) ref);
1103
+ name_ = b;
1104
+ return b;
1105
+ } else {
1106
+ return (com.google.protobuf.ByteString) ref;
1107
+ }
1108
+ }
1109
+ /**
1110
+ * <code>string name = 1;</code>
1111
+ * @param value The name to set.
1112
+ * @return This builder for chaining.
1113
+ */
1114
+ public Builder setName(
1115
+ java.lang.String value) {
1116
+ if (value == null) {
1117
+ throw new NullPointerException();
1118
+ }
1119
+
1120
+ name_ = value;
1121
+ onChanged();
1122
+ return this;
1123
+ }
1124
+ /**
1125
+ * <code>string name = 1;</code>
1126
+ * @return This builder for chaining.
1127
+ */
1128
+ public Builder clearName() {
1129
+
1130
+ name_ = getDefaultInstance().getName();
1131
+ onChanged();
1132
+ return this;
1133
+ }
1134
+ /**
1135
+ * <code>string name = 1;</code>
1136
+ * @param value The bytes for name to set.
1137
+ * @return This builder for chaining.
1138
+ */
1139
+ public Builder setNameBytes(
1140
+ com.google.protobuf.ByteString value) {
1141
+ if (value == null) {
1142
+ throw new NullPointerException();
1143
+ }
1144
+ checkByteStringIsUtf8(value);
1145
+
1146
+ name_ = value;
1147
+ onChanged();
1148
+ return this;
1149
+ }
1150
+
1151
+ private java.lang.Object vendor_ = "";
1152
+ /**
1153
+ * <code>string vendor = 2;</code>
1154
+ * @return Whether the vendor field is set.
1155
+ */
1156
+ public boolean hasVendor() {
1157
+ return ((bitField0_ & 0x00000001) != 0);
1158
+ }
1159
+ /**
1160
+ * <code>string vendor = 2;</code>
1161
+ * @return The vendor.
1162
+ */
1163
+ public java.lang.String getVendor() {
1164
+ java.lang.Object ref = vendor_;
1165
+ if (!(ref instanceof java.lang.String)) {
1166
+ com.google.protobuf.ByteString bs =
1167
+ (com.google.protobuf.ByteString) ref;
1168
+ java.lang.String s = bs.toStringUtf8();
1169
+ vendor_ = s;
1170
+ return s;
1171
+ } else {
1172
+ return (java.lang.String) ref;
1173
+ }
1174
+ }
1175
+ /**
1176
+ * <code>string vendor = 2;</code>
1177
+ * @return The bytes for vendor.
1178
+ */
1179
+ public com.google.protobuf.ByteString
1180
+ getVendorBytes() {
1181
+ java.lang.Object ref = vendor_;
1182
+ if (ref instanceof String) {
1183
+ com.google.protobuf.ByteString b =
1184
+ com.google.protobuf.ByteString.copyFromUtf8(
1185
+ (java.lang.String) ref);
1186
+ vendor_ = b;
1187
+ return b;
1188
+ } else {
1189
+ return (com.google.protobuf.ByteString) ref;
1190
+ }
1191
+ }
1192
+ /**
1193
+ * <code>string vendor = 2;</code>
1194
+ * @param value The vendor to set.
1195
+ * @return This builder for chaining.
1196
+ */
1197
+ public Builder setVendor(
1198
+ java.lang.String value) {
1199
+ if (value == null) {
1200
+ throw new NullPointerException();
1201
+ }
1202
+ bitField0_ |= 0x00000001;
1203
+ vendor_ = value;
1204
+ onChanged();
1205
+ return this;
1206
+ }
1207
+ /**
1208
+ * <code>string vendor = 2;</code>
1209
+ * @return This builder for chaining.
1210
+ */
1211
+ public Builder clearVendor() {
1212
+ bitField0_ = (bitField0_ & ~0x00000001);
1213
+ vendor_ = getDefaultInstance().getVendor();
1214
+ onChanged();
1215
+ return this;
1216
+ }
1217
+ /**
1218
+ * <code>string vendor = 2;</code>
1219
+ * @param value The bytes for vendor to set.
1220
+ * @return This builder for chaining.
1221
+ */
1222
+ public Builder setVendorBytes(
1223
+ com.google.protobuf.ByteString value) {
1224
+ if (value == null) {
1225
+ throw new NullPointerException();
1226
+ }
1227
+ checkByteStringIsUtf8(value);
1228
+ bitField0_ |= 0x00000001;
1229
+ vendor_ = value;
1230
+ onChanged();
1231
+ return this;
1232
+ }
1233
+
1234
+ private java.lang.Object version_ = "";
1235
+ /**
1236
+ * <code>string version = 3;</code>
1237
+ * @return Whether the version field is set.
1238
+ */
1239
+ public boolean hasVersion() {
1240
+ return ((bitField0_ & 0x00000002) != 0);
1241
+ }
1242
+ /**
1243
+ * <code>string version = 3;</code>
1244
+ * @return The version.
1245
+ */
1246
+ public java.lang.String getVersion() {
1247
+ java.lang.Object ref = version_;
1248
+ if (!(ref instanceof java.lang.String)) {
1249
+ com.google.protobuf.ByteString bs =
1250
+ (com.google.protobuf.ByteString) ref;
1251
+ java.lang.String s = bs.toStringUtf8();
1252
+ version_ = s;
1253
+ return s;
1254
+ } else {
1255
+ return (java.lang.String) ref;
1256
+ }
1257
+ }
1258
+ /**
1259
+ * <code>string version = 3;</code>
1260
+ * @return The bytes for version.
1261
+ */
1262
+ public com.google.protobuf.ByteString
1263
+ getVersionBytes() {
1264
+ java.lang.Object ref = version_;
1265
+ if (ref instanceof String) {
1266
+ com.google.protobuf.ByteString b =
1267
+ com.google.protobuf.ByteString.copyFromUtf8(
1268
+ (java.lang.String) ref);
1269
+ version_ = b;
1270
+ return b;
1271
+ } else {
1272
+ return (com.google.protobuf.ByteString) ref;
1273
+ }
1274
+ }
1275
+ /**
1276
+ * <code>string version = 3;</code>
1277
+ * @param value The version to set.
1278
+ * @return This builder for chaining.
1279
+ */
1280
+ public Builder setVersion(
1281
+ java.lang.String value) {
1282
+ if (value == null) {
1283
+ throw new NullPointerException();
1284
+ }
1285
+ bitField0_ |= 0x00000002;
1286
+ version_ = value;
1287
+ onChanged();
1288
+ return this;
1289
+ }
1290
+ /**
1291
+ * <code>string version = 3;</code>
1292
+ * @return This builder for chaining.
1293
+ */
1294
+ public Builder clearVersion() {
1295
+ bitField0_ = (bitField0_ & ~0x00000002);
1296
+ version_ = getDefaultInstance().getVersion();
1297
+ onChanged();
1298
+ return this;
1299
+ }
1300
+ /**
1301
+ * <code>string version = 3;</code>
1302
+ * @param value The bytes for version to set.
1303
+ * @return This builder for chaining.
1304
+ */
1305
+ public Builder setVersionBytes(
1306
+ com.google.protobuf.ByteString value) {
1307
+ if (value == null) {
1308
+ throw new NullPointerException();
1309
+ }
1310
+ checkByteStringIsUtf8(value);
1311
+ bitField0_ |= 0x00000002;
1312
+ version_ = value;
1313
+ onChanged();
1314
+ return this;
1315
+ }
1316
+
1317
+ private java.lang.Object info_ = "";
1318
+ /**
1319
+ * <code>string info = 4;</code>
1320
+ * @return Whether the info field is set.
1321
+ */
1322
+ public boolean hasInfo() {
1323
+ return ((bitField0_ & 0x00000004) != 0);
1324
+ }
1325
+ /**
1326
+ * <code>string info = 4;</code>
1327
+ * @return The info.
1328
+ */
1329
+ public java.lang.String getInfo() {
1330
+ java.lang.Object ref = info_;
1331
+ if (!(ref instanceof java.lang.String)) {
1332
+ com.google.protobuf.ByteString bs =
1333
+ (com.google.protobuf.ByteString) ref;
1334
+ java.lang.String s = bs.toStringUtf8();
1335
+ info_ = s;
1336
+ return s;
1337
+ } else {
1338
+ return (java.lang.String) ref;
1339
+ }
1340
+ }
1341
+ /**
1342
+ * <code>string info = 4;</code>
1343
+ * @return The bytes for info.
1344
+ */
1345
+ public com.google.protobuf.ByteString
1346
+ getInfoBytes() {
1347
+ java.lang.Object ref = info_;
1348
+ if (ref instanceof String) {
1349
+ com.google.protobuf.ByteString b =
1350
+ com.google.protobuf.ByteString.copyFromUtf8(
1351
+ (java.lang.String) ref);
1352
+ info_ = b;
1353
+ return b;
1354
+ } else {
1355
+ return (com.google.protobuf.ByteString) ref;
1356
+ }
1357
+ }
1358
+ /**
1359
+ * <code>string info = 4;</code>
1360
+ * @param value The info to set.
1361
+ * @return This builder for chaining.
1362
+ */
1363
+ public Builder setInfo(
1364
+ java.lang.String value) {
1365
+ if (value == null) {
1366
+ throw new NullPointerException();
1367
+ }
1368
+ bitField0_ |= 0x00000004;
1369
+ info_ = value;
1370
+ onChanged();
1371
+ return this;
1372
+ }
1373
+ /**
1374
+ * <code>string info = 4;</code>
1375
+ * @return This builder for chaining.
1376
+ */
1377
+ public Builder clearInfo() {
1378
+ bitField0_ = (bitField0_ & ~0x00000004);
1379
+ info_ = getDefaultInstance().getInfo();
1380
+ onChanged();
1381
+ return this;
1382
+ }
1383
+ /**
1384
+ * <code>string info = 4;</code>
1385
+ * @param value The bytes for info to set.
1386
+ * @return This builder for chaining.
1387
+ */
1388
+ public Builder setInfoBytes(
1389
+ com.google.protobuf.ByteString value) {
1390
+ if (value == null) {
1391
+ throw new NullPointerException();
1392
+ }
1393
+ checkByteStringIsUtf8(value);
1394
+ bitField0_ |= 0x00000004;
1395
+ info_ = value;
1396
+ onChanged();
1397
+ return this;
1398
+ }
1399
+
1400
+ private java.lang.Object exePath_ = "";
1401
+ /**
1402
+ * <code>string exe_path = 5;</code>
1403
+ * @return Whether the exePath field is set.
1404
+ */
1405
+ public boolean hasExePath() {
1406
+ return ((bitField0_ & 0x00000008) != 0);
1407
+ }
1408
+ /**
1409
+ * <code>string exe_path = 5;</code>
1410
+ * @return The exePath.
1411
+ */
1412
+ public java.lang.String getExePath() {
1413
+ java.lang.Object ref = exePath_;
1414
+ if (!(ref instanceof java.lang.String)) {
1415
+ com.google.protobuf.ByteString bs =
1416
+ (com.google.protobuf.ByteString) ref;
1417
+ java.lang.String s = bs.toStringUtf8();
1418
+ exePath_ = s;
1419
+ return s;
1420
+ } else {
1421
+ return (java.lang.String) ref;
1422
+ }
1423
+ }
1424
+ /**
1425
+ * <code>string exe_path = 5;</code>
1426
+ * @return The bytes for exePath.
1427
+ */
1428
+ public com.google.protobuf.ByteString
1429
+ getExePathBytes() {
1430
+ java.lang.Object ref = exePath_;
1431
+ if (ref instanceof String) {
1432
+ com.google.protobuf.ByteString b =
1433
+ com.google.protobuf.ByteString.copyFromUtf8(
1434
+ (java.lang.String) ref);
1435
+ exePath_ = b;
1436
+ return b;
1437
+ } else {
1438
+ return (com.google.protobuf.ByteString) ref;
1439
+ }
1440
+ }
1441
+ /**
1442
+ * <code>string exe_path = 5;</code>
1443
+ * @param value The exePath to set.
1444
+ * @return This builder for chaining.
1445
+ */
1446
+ public Builder setExePath(
1447
+ java.lang.String value) {
1448
+ if (value == null) {
1449
+ throw new NullPointerException();
1450
+ }
1451
+ bitField0_ |= 0x00000008;
1452
+ exePath_ = value;
1453
+ onChanged();
1454
+ return this;
1455
+ }
1456
+ /**
1457
+ * <code>string exe_path = 5;</code>
1458
+ * @return This builder for chaining.
1459
+ */
1460
+ public Builder clearExePath() {
1461
+ bitField0_ = (bitField0_ & ~0x00000008);
1462
+ exePath_ = getDefaultInstance().getExePath();
1463
+ onChanged();
1464
+ return this;
1465
+ }
1466
+ /**
1467
+ * <code>string exe_path = 5;</code>
1468
+ * @param value The bytes for exePath to set.
1469
+ * @return This builder for chaining.
1470
+ */
1471
+ public Builder setExePathBytes(
1472
+ com.google.protobuf.ByteString value) {
1473
+ if (value == null) {
1474
+ throw new NullPointerException();
1475
+ }
1476
+ checkByteStringIsUtf8(value);
1477
+ bitField0_ |= 0x00000008;
1478
+ exePath_ = value;
1479
+ onChanged();
1480
+ return this;
1481
+ }
1482
+
1483
+ private java.lang.Object arch_ = "";
1484
+ /**
1485
+ * <pre>
1486
+ * when available the specific sw arch
1487
+ * </pre>
1488
+ *
1489
+ * <code>string arch = 6;</code>
1490
+ * @return Whether the arch field is set.
1491
+ */
1492
+ public boolean hasArch() {
1493
+ return ((bitField0_ & 0x00000010) != 0);
1494
+ }
1495
+ /**
1496
+ * <pre>
1497
+ * when available the specific sw arch
1498
+ * </pre>
1499
+ *
1500
+ * <code>string arch = 6;</code>
1501
+ * @return The arch.
1502
+ */
1503
+ public java.lang.String getArch() {
1504
+ java.lang.Object ref = arch_;
1505
+ if (!(ref instanceof java.lang.String)) {
1506
+ com.google.protobuf.ByteString bs =
1507
+ (com.google.protobuf.ByteString) ref;
1508
+ java.lang.String s = bs.toStringUtf8();
1509
+ arch_ = s;
1510
+ return s;
1511
+ } else {
1512
+ return (java.lang.String) ref;
1513
+ }
1514
+ }
1515
+ /**
1516
+ * <pre>
1517
+ * when available the specific sw arch
1518
+ * </pre>
1519
+ *
1520
+ * <code>string arch = 6;</code>
1521
+ * @return The bytes for arch.
1522
+ */
1523
+ public com.google.protobuf.ByteString
1524
+ getArchBytes() {
1525
+ java.lang.Object ref = arch_;
1526
+ if (ref instanceof String) {
1527
+ com.google.protobuf.ByteString b =
1528
+ com.google.protobuf.ByteString.copyFromUtf8(
1529
+ (java.lang.String) ref);
1530
+ arch_ = b;
1531
+ return b;
1532
+ } else {
1533
+ return (com.google.protobuf.ByteString) ref;
1534
+ }
1535
+ }
1536
+ /**
1537
+ * <pre>
1538
+ * when available the specific sw arch
1539
+ * </pre>
1540
+ *
1541
+ * <code>string arch = 6;</code>
1542
+ * @param value The arch to set.
1543
+ * @return This builder for chaining.
1544
+ */
1545
+ public Builder setArch(
1546
+ java.lang.String value) {
1547
+ if (value == null) {
1548
+ throw new NullPointerException();
1549
+ }
1550
+ bitField0_ |= 0x00000010;
1551
+ arch_ = value;
1552
+ onChanged();
1553
+ return this;
1554
+ }
1555
+ /**
1556
+ * <pre>
1557
+ * when available the specific sw arch
1558
+ * </pre>
1559
+ *
1560
+ * <code>string arch = 6;</code>
1561
+ * @return This builder for chaining.
1562
+ */
1563
+ public Builder clearArch() {
1564
+ bitField0_ = (bitField0_ & ~0x00000010);
1565
+ arch_ = getDefaultInstance().getArch();
1566
+ onChanged();
1567
+ return this;
1568
+ }
1569
+ /**
1570
+ * <pre>
1571
+ * when available the specific sw arch
1572
+ * </pre>
1573
+ *
1574
+ * <code>string arch = 6;</code>
1575
+ * @param value The bytes for arch to set.
1576
+ * @return This builder for chaining.
1577
+ */
1578
+ public Builder setArchBytes(
1579
+ com.google.protobuf.ByteString value) {
1580
+ if (value == null) {
1581
+ throw new NullPointerException();
1582
+ }
1583
+ checkByteStringIsUtf8(value);
1584
+ bitField0_ |= 0x00000010;
1585
+ arch_ = value;
1586
+ onChanged();
1587
+ return this;
1588
+ }
1589
+
1590
+ private long installDate_ ;
1591
+ /**
1592
+ * <code>int64 install_date = 7;</code>
1593
+ * @return Whether the installDate field is set.
1594
+ */
1595
+ @java.lang.Override
1596
+ public boolean hasInstallDate() {
1597
+ return ((bitField0_ & 0x00000020) != 0);
1598
+ }
1599
+ /**
1600
+ * <code>int64 install_date = 7;</code>
1601
+ * @return The installDate.
1602
+ */
1603
+ @java.lang.Override
1604
+ public long getInstallDate() {
1605
+ return installDate_;
1606
+ }
1607
+ /**
1608
+ * <code>int64 install_date = 7;</code>
1609
+ * @param value The installDate to set.
1610
+ * @return This builder for chaining.
1611
+ */
1612
+ public Builder setInstallDate(long value) {
1613
+ bitField0_ |= 0x00000020;
1614
+ installDate_ = value;
1615
+ onChanged();
1616
+ return this;
1617
+ }
1618
+ /**
1619
+ * <code>int64 install_date = 7;</code>
1620
+ * @return This builder for chaining.
1621
+ */
1622
+ public Builder clearInstallDate() {
1623
+ bitField0_ = (bitField0_ & ~0x00000020);
1624
+ installDate_ = 0L;
1625
+ onChanged();
1626
+ return this;
1627
+ }
1628
+
1629
+ private java.lang.Object sourceType_ = "";
1630
+ /**
1631
+ * <pre>
1632
+ * Registry | System | MsStore | Package | Custom | etc
1633
+ * </pre>
1634
+ *
1635
+ * <code>string source_type = 8;</code>
1636
+ * @return Whether the sourceType field is set.
1637
+ */
1638
+ public boolean hasSourceType() {
1639
+ return ((bitField0_ & 0x00000040) != 0);
1640
+ }
1641
+ /**
1642
+ * <pre>
1643
+ * Registry | System | MsStore | Package | Custom | etc
1644
+ * </pre>
1645
+ *
1646
+ * <code>string source_type = 8;</code>
1647
+ * @return The sourceType.
1648
+ */
1649
+ public java.lang.String getSourceType() {
1650
+ java.lang.Object ref = sourceType_;
1651
+ if (!(ref instanceof java.lang.String)) {
1652
+ com.google.protobuf.ByteString bs =
1653
+ (com.google.protobuf.ByteString) ref;
1654
+ java.lang.String s = bs.toStringUtf8();
1655
+ sourceType_ = s;
1656
+ return s;
1657
+ } else {
1658
+ return (java.lang.String) ref;
1659
+ }
1660
+ }
1661
+ /**
1662
+ * <pre>
1663
+ * Registry | System | MsStore | Package | Custom | etc
1664
+ * </pre>
1665
+ *
1666
+ * <code>string source_type = 8;</code>
1667
+ * @return The bytes for sourceType.
1668
+ */
1669
+ public com.google.protobuf.ByteString
1670
+ getSourceTypeBytes() {
1671
+ java.lang.Object ref = sourceType_;
1672
+ if (ref instanceof String) {
1673
+ com.google.protobuf.ByteString b =
1674
+ com.google.protobuf.ByteString.copyFromUtf8(
1675
+ (java.lang.String) ref);
1676
+ sourceType_ = b;
1677
+ return b;
1678
+ } else {
1679
+ return (com.google.protobuf.ByteString) ref;
1680
+ }
1681
+ }
1682
+ /**
1683
+ * <pre>
1684
+ * Registry | System | MsStore | Package | Custom | etc
1685
+ * </pre>
1686
+ *
1687
+ * <code>string source_type = 8;</code>
1688
+ * @param value The sourceType to set.
1689
+ * @return This builder for chaining.
1690
+ */
1691
+ public Builder setSourceType(
1692
+ java.lang.String value) {
1693
+ if (value == null) {
1694
+ throw new NullPointerException();
1695
+ }
1696
+ bitField0_ |= 0x00000040;
1697
+ sourceType_ = value;
1698
+ onChanged();
1699
+ return this;
1700
+ }
1701
+ /**
1702
+ * <pre>
1703
+ * Registry | System | MsStore | Package | Custom | etc
1704
+ * </pre>
1705
+ *
1706
+ * <code>string source_type = 8;</code>
1707
+ * @return This builder for chaining.
1708
+ */
1709
+ public Builder clearSourceType() {
1710
+ bitField0_ = (bitField0_ & ~0x00000040);
1711
+ sourceType_ = getDefaultInstance().getSourceType();
1712
+ onChanged();
1713
+ return this;
1714
+ }
1715
+ /**
1716
+ * <pre>
1717
+ * Registry | System | MsStore | Package | Custom | etc
1718
+ * </pre>
1719
+ *
1720
+ * <code>string source_type = 8;</code>
1721
+ * @param value The bytes for sourceType to set.
1722
+ * @return This builder for chaining.
1723
+ */
1724
+ public Builder setSourceTypeBytes(
1725
+ com.google.protobuf.ByteString value) {
1726
+ if (value == null) {
1727
+ throw new NullPointerException();
1728
+ }
1729
+ checkByteStringIsUtf8(value);
1730
+ bitField0_ |= 0x00000040;
1731
+ sourceType_ = value;
1732
+ onChanged();
1733
+ return this;
1734
+ }
1735
+
1736
+ private java.lang.Object swId_ = "";
1737
+ /**
1738
+ * <pre>
1739
+ * optional SW id on the client side
1740
+ * </pre>
1741
+ *
1742
+ * <code>string sw_id = 9;</code>
1743
+ * @return Whether the swId field is set.
1744
+ */
1745
+ public boolean hasSwId() {
1746
+ return ((bitField0_ & 0x00000080) != 0);
1747
+ }
1748
+ /**
1749
+ * <pre>
1750
+ * optional SW id on the client side
1751
+ * </pre>
1752
+ *
1753
+ * <code>string sw_id = 9;</code>
1754
+ * @return The swId.
1755
+ */
1756
+ public java.lang.String getSwId() {
1757
+ java.lang.Object ref = swId_;
1758
+ if (!(ref instanceof java.lang.String)) {
1759
+ com.google.protobuf.ByteString bs =
1760
+ (com.google.protobuf.ByteString) ref;
1761
+ java.lang.String s = bs.toStringUtf8();
1762
+ swId_ = s;
1763
+ return s;
1764
+ } else {
1765
+ return (java.lang.String) ref;
1766
+ }
1767
+ }
1768
+ /**
1769
+ * <pre>
1770
+ * optional SW id on the client side
1771
+ * </pre>
1772
+ *
1773
+ * <code>string sw_id = 9;</code>
1774
+ * @return The bytes for swId.
1775
+ */
1776
+ public com.google.protobuf.ByteString
1777
+ getSwIdBytes() {
1778
+ java.lang.Object ref = swId_;
1779
+ if (ref instanceof String) {
1780
+ com.google.protobuf.ByteString b =
1781
+ com.google.protobuf.ByteString.copyFromUtf8(
1782
+ (java.lang.String) ref);
1783
+ swId_ = b;
1784
+ return b;
1785
+ } else {
1786
+ return (com.google.protobuf.ByteString) ref;
1787
+ }
1788
+ }
1789
+ /**
1790
+ * <pre>
1791
+ * optional SW id on the client side
1792
+ * </pre>
1793
+ *
1794
+ * <code>string sw_id = 9;</code>
1795
+ * @param value The swId to set.
1796
+ * @return This builder for chaining.
1797
+ */
1798
+ public Builder setSwId(
1799
+ java.lang.String value) {
1800
+ if (value == null) {
1801
+ throw new NullPointerException();
1802
+ }
1803
+ bitField0_ |= 0x00000080;
1804
+ swId_ = value;
1805
+ onChanged();
1806
+ return this;
1807
+ }
1808
+ /**
1809
+ * <pre>
1810
+ * optional SW id on the client side
1811
+ * </pre>
1812
+ *
1813
+ * <code>string sw_id = 9;</code>
1814
+ * @return This builder for chaining.
1815
+ */
1816
+ public Builder clearSwId() {
1817
+ bitField0_ = (bitField0_ & ~0x00000080);
1818
+ swId_ = getDefaultInstance().getSwId();
1819
+ onChanged();
1820
+ return this;
1821
+ }
1822
+ /**
1823
+ * <pre>
1824
+ * optional SW id on the client side
1825
+ * </pre>
1826
+ *
1827
+ * <code>string sw_id = 9;</code>
1828
+ * @param value The bytes for swId to set.
1829
+ * @return This builder for chaining.
1830
+ */
1831
+ public Builder setSwIdBytes(
1832
+ com.google.protobuf.ByteString value) {
1833
+ if (value == null) {
1834
+ throw new NullPointerException();
1835
+ }
1836
+ checkByteStringIsUtf8(value);
1837
+ bitField0_ |= 0x00000080;
1838
+ swId_ = value;
1839
+ onChanged();
1840
+ return this;
1841
+ }
1842
+ @java.lang.Override
1843
+ public final Builder setUnknownFields(
1844
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
1845
+ return super.setUnknownFields(unknownFields);
1846
+ }
1847
+
1848
+ @java.lang.Override
1849
+ public final Builder mergeUnknownFields(
1850
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
1851
+ return super.mergeUnknownFields(unknownFields);
1852
+ }
1853
+
1854
+
1855
+ // @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.RawSoftware)
1856
+ }
1857
+
1858
+ // @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.RawSoftware)
1859
+ private static final com.lansweeper.dp.outbound.v1.RawSoftware DEFAULT_INSTANCE;
1860
+ static {
1861
+ DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.RawSoftware();
1862
+ }
1863
+
1864
+ public static com.lansweeper.dp.outbound.v1.RawSoftware getDefaultInstance() {
1865
+ return DEFAULT_INSTANCE;
1866
+ }
1867
+
1868
+ private static final com.google.protobuf.Parser<RawSoftware>
1869
+ PARSER = new com.google.protobuf.AbstractParser<RawSoftware>() {
1870
+ @java.lang.Override
1871
+ public RawSoftware parsePartialFrom(
1872
+ com.google.protobuf.CodedInputStream input,
1873
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1874
+ throws com.google.protobuf.InvalidProtocolBufferException {
1875
+ return new RawSoftware(input, extensionRegistry);
1876
+ }
1877
+ };
1878
+
1879
+ public static com.google.protobuf.Parser<RawSoftware> parser() {
1880
+ return PARSER;
1881
+ }
1882
+
1883
+ @java.lang.Override
1884
+ public com.google.protobuf.Parser<RawSoftware> getParserForType() {
1885
+ return PARSER;
1886
+ }
1887
+
1888
+ @java.lang.Override
1889
+ public com.lansweeper.dp.outbound.v1.RawSoftware getDefaultInstanceForType() {
1890
+ return DEFAULT_INSTANCE;
1891
+ }
1892
+
1893
+ }
1894
+