@lansweeper/data-platform-outbound-grpc 0.1.9 → 0.1.11

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 (57) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/gen-proto/image.json +1 -1
  3. package/generated-go/outbound.pb.go +1107 -1108
  4. package/generated-go/outbound_grpc.pb.go +2 -2
  5. package/java.json +5 -0
  6. package/package.json +2 -2
  7. package/proto/outbound.proto +3 -0
  8. package/pom.xml +0 -29
  9. package/src/main/java/com/lansweeper/dp/outbound/v1/Asset.java +0 -2325
  10. package/src/main/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +0 -159
  11. package/src/main/java/com/lansweeper/dp/outbound/v1/AssetType.java +0 -801
  12. package/src/main/java/com/lansweeper/dp/outbound/v1/AssetTypeOrBuilder.java +0 -58
  13. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrand.java +0 -4206
  14. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrandOrBuilder.java +0 -423
  15. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModel.java +0 -3639
  16. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModelOrBuilder.java +0 -379
  17. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogMonitor.java +0 -5453
  18. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogMonitorOrBuilder.java +0 -591
  19. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOs.java +0 -3720
  20. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOsOrBuilder.java +0 -372
  21. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogSoftware.java +0 -3015
  22. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogSoftwareOrBuilder.java +0 -303
  23. package/src/main/java/com/lansweeper/dp/outbound/v1/CoreFields.java +0 -1731
  24. package/src/main/java/com/lansweeper/dp/outbound/v1/CoreFieldsOrBuilder.java +0 -138
  25. package/src/main/java/com/lansweeper/dp/outbound/v1/Entity.java +0 -762
  26. package/src/main/java/com/lansweeper/dp/outbound/v1/EntityOrBuilder.java +0 -41
  27. package/src/main/java/com/lansweeper/dp/outbound/v1/EntityPath.java +0 -1283
  28. package/src/main/java/com/lansweeper/dp/outbound/v1/EntityPathOrBuilder.java +0 -113
  29. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityRequest.java +0 -655
  30. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityRequestOrBuilder.java +0 -36
  31. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityResponse.java +0 -1193
  32. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityResponseOrBuilder.java +0 -71
  33. package/src/main/java/com/lansweeper/dp/outbound/v1/HardwareInfo.java +0 -2702
  34. package/src/main/java/com/lansweeper/dp/outbound/v1/HardwareInfoOrBuilder.java +0 -237
  35. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityRequest.java +0 -655
  36. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityRequestOrBuilder.java +0 -36
  37. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityResponse.java +0 -958
  38. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityResponseOrBuilder.java +0 -48
  39. package/src/main/java/com/lansweeper/dp/outbound/v1/Monitor.java +0 -1590
  40. package/src/main/java/com/lansweeper/dp/outbound/v1/MonitorInventory.java +0 -966
  41. package/src/main/java/com/lansweeper/dp/outbound/v1/MonitorInventoryOrBuilder.java +0 -48
  42. package/src/main/java/com/lansweeper/dp/outbound/v1/MonitorOrBuilder.java +0 -100
  43. package/src/main/java/com/lansweeper/dp/outbound/v1/OperatingSystemInfo.java +0 -2332
  44. package/src/main/java/com/lansweeper/dp/outbound/v1/OperatingSystemInfoOrBuilder.java +0 -191
  45. package/src/main/java/com/lansweeper/dp/outbound/v1/Outbound.java +0 -622
  46. package/src/main/java/com/lansweeper/dp/outbound/v1/RawHardwareInfo.java +0 -1073
  47. package/src/main/java/com/lansweeper/dp/outbound/v1/RawHardwareInfoOrBuilder.java +0 -77
  48. package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftware.java +0 -1991
  49. package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftwareOrBuilder.java +0 -198
  50. package/src/main/java/com/lansweeper/dp/outbound/v1/Software.java +0 -3911
  51. package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventory.java +0 -966
  52. package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventoryOrBuilder.java +0 -48
  53. package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareOrBuilder.java +0 -380
  54. package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawMonitorInfo.java +0 -1728
  55. package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawMonitorInfoOrBuilder.java +0 -138
  56. package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawOperatingSystemInfo.java +0 -1846
  57. package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawOperatingSystemInfoOrBuilder.java +0 -205
@@ -1,3911 +0,0 @@
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
- * <pre>
8
- * Software definition: normalized and with link to raw
9
- * </pre>
10
- *
11
- * Protobuf type {@code com.lansweeper.dp.outbound.v1.Software}
12
- */
13
- public final class Software extends
14
- com.google.protobuf.GeneratedMessageV3 implements
15
- // @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.Software)
16
- SoftwareOrBuilder {
17
- private static final long serialVersionUID = 0L;
18
- // Use Software.newBuilder() to construct.
19
- private Software(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
20
- super(builder);
21
- }
22
- private Software() {
23
- typeName_ = "";
24
- catName_ = "";
25
- makeName_ = "";
26
- name_ = "";
27
- version_ = "";
28
- marketVer_ = "";
29
- edition_ = "";
30
- build_ = "";
31
- arch_ = "";
32
- lang_ = "";
33
- cpe_ = "";
34
- rawHash_ = "";
35
- nreHash_ = "";
36
- }
37
-
38
- @java.lang.Override
39
- @SuppressWarnings({"unused"})
40
- protected java.lang.Object newInstance(
41
- UnusedPrivateParameter unused) {
42
- return new Software();
43
- }
44
-
45
- @java.lang.Override
46
- public final com.google.protobuf.UnknownFieldSet
47
- getUnknownFields() {
48
- return this.unknownFields;
49
- }
50
- private Software(
51
- com.google.protobuf.CodedInputStream input,
52
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
53
- throws com.google.protobuf.InvalidProtocolBufferException {
54
- this();
55
- if (extensionRegistry == null) {
56
- throw new java.lang.NullPointerException();
57
- }
58
- int mutable_bitField0_ = 0;
59
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
60
- com.google.protobuf.UnknownFieldSet.newBuilder();
61
- try {
62
- boolean done = false;
63
- while (!done) {
64
- int tag = input.readTag();
65
- switch (tag) {
66
- case 0:
67
- done = true;
68
- break;
69
- case 8: {
70
- bitField0_ |= 0x00000001;
71
- rank_ = input.readInt32();
72
- break;
73
- }
74
- case 16: {
75
- bitField0_ |= 0x00000002;
76
- typeId_ = input.readInt64();
77
- break;
78
- }
79
- case 24: {
80
- bitField0_ |= 0x00000004;
81
- catId_ = input.readInt64();
82
- break;
83
- }
84
- case 32: {
85
- bitField0_ |= 0x00000008;
86
- makeId_ = input.readInt64();
87
- break;
88
- }
89
- case 40: {
90
- bitField0_ |= 0x00000010;
91
- swId_ = input.readInt64();
92
- break;
93
- }
94
- case 48: {
95
- bitField0_ |= 0x00000020;
96
- parentId_ = input.readInt64();
97
- break;
98
- }
99
- case 58: {
100
- java.lang.String s = input.readStringRequireUtf8();
101
- bitField0_ |= 0x00000040;
102
- typeName_ = s;
103
- break;
104
- }
105
- case 66: {
106
- java.lang.String s = input.readStringRequireUtf8();
107
- bitField0_ |= 0x00000080;
108
- catName_ = s;
109
- break;
110
- }
111
- case 74: {
112
- java.lang.String s = input.readStringRequireUtf8();
113
- bitField0_ |= 0x00000100;
114
- makeName_ = s;
115
- break;
116
- }
117
- case 82: {
118
- java.lang.String s = input.readStringRequireUtf8();
119
- bitField0_ |= 0x00000200;
120
- name_ = s;
121
- break;
122
- }
123
- case 90: {
124
- java.lang.String s = input.readStringRequireUtf8();
125
- bitField0_ |= 0x00000400;
126
- version_ = s;
127
- break;
128
- }
129
- case 98: {
130
- java.lang.String s = input.readStringRequireUtf8();
131
- bitField0_ |= 0x00000800;
132
- marketVer_ = s;
133
- break;
134
- }
135
- case 106: {
136
- java.lang.String s = input.readStringRequireUtf8();
137
- bitField0_ |= 0x00001000;
138
- edition_ = s;
139
- break;
140
- }
141
- case 114: {
142
- java.lang.String s = input.readStringRequireUtf8();
143
- bitField0_ |= 0x00002000;
144
- build_ = s;
145
- break;
146
- }
147
- case 122: {
148
- java.lang.String s = input.readStringRequireUtf8();
149
- bitField0_ |= 0x00010000;
150
- cpe_ = s;
151
- break;
152
- }
153
- case 130: {
154
- com.lansweeper.dp.outbound.v1.CatalogSoftware.Builder subBuilder = null;
155
- if (((bitField0_ & 0x00040000) != 0)) {
156
- subBuilder = catalogSoftware_.toBuilder();
157
- }
158
- catalogSoftware_ = input.readMessage(com.lansweeper.dp.outbound.v1.CatalogSoftware.parser(), extensionRegistry);
159
- if (subBuilder != null) {
160
- subBuilder.mergeFrom(catalogSoftware_);
161
- catalogSoftware_ = subBuilder.buildPartial();
162
- }
163
- bitField0_ |= 0x00040000;
164
- break;
165
- }
166
- case 138: {
167
- com.lansweeper.dp.outbound.v1.RawSoftware.Builder subBuilder = null;
168
- if (raw_ != null) {
169
- subBuilder = raw_.toBuilder();
170
- }
171
- raw_ = input.readMessage(com.lansweeper.dp.outbound.v1.RawSoftware.parser(), extensionRegistry);
172
- if (subBuilder != null) {
173
- subBuilder.mergeFrom(raw_);
174
- raw_ = subBuilder.buildPartial();
175
- }
176
-
177
- break;
178
- }
179
- case 146: {
180
- java.lang.String s = input.readStringRequireUtf8();
181
- bitField0_ |= 0x00100000;
182
- rawHash_ = s;
183
- break;
184
- }
185
- case 154: {
186
- java.lang.String s = input.readStringRequireUtf8();
187
- bitField0_ |= 0x00200000;
188
- nreHash_ = s;
189
- break;
190
- }
191
- case 162: {
192
- java.lang.String s = input.readStringRequireUtf8();
193
- bitField0_ |= 0x00004000;
194
- arch_ = s;
195
- break;
196
- }
197
- case 170: {
198
- java.lang.String s = input.readStringRequireUtf8();
199
- bitField0_ |= 0x00008000;
200
- lang_ = s;
201
- break;
202
- }
203
- case 178: {
204
- com.lansweeper.dp.outbound.v1.CatalogBrand.Builder subBuilder = null;
205
- if (((bitField0_ & 0x00020000) != 0)) {
206
- subBuilder = catalogBrand_.toBuilder();
207
- }
208
- catalogBrand_ = input.readMessage(com.lansweeper.dp.outbound.v1.CatalogBrand.parser(), extensionRegistry);
209
- if (subBuilder != null) {
210
- subBuilder.mergeFrom(catalogBrand_);
211
- catalogBrand_ = subBuilder.buildPartial();
212
- }
213
- bitField0_ |= 0x00020000;
214
- break;
215
- }
216
- case 186: {
217
- com.lansweeper.dp.outbound.v1.CatalogSoftware.Builder subBuilder = null;
218
- if (((bitField0_ & 0x00080000) != 0)) {
219
- subBuilder = catalogLatest_.toBuilder();
220
- }
221
- catalogLatest_ = input.readMessage(com.lansweeper.dp.outbound.v1.CatalogSoftware.parser(), extensionRegistry);
222
- if (subBuilder != null) {
223
- subBuilder.mergeFrom(catalogLatest_);
224
- catalogLatest_ = subBuilder.buildPartial();
225
- }
226
- bitField0_ |= 0x00080000;
227
- break;
228
- }
229
- default: {
230
- if (!parseUnknownField(
231
- input, unknownFields, extensionRegistry, tag)) {
232
- done = true;
233
- }
234
- break;
235
- }
236
- }
237
- }
238
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
239
- throw e.setUnfinishedMessage(this);
240
- } catch (java.io.IOException e) {
241
- throw new com.google.protobuf.InvalidProtocolBufferException(
242
- e).setUnfinishedMessage(this);
243
- } finally {
244
- this.unknownFields = unknownFields.build();
245
- makeExtensionsImmutable();
246
- }
247
- }
248
- public static final com.google.protobuf.Descriptors.Descriptor
249
- getDescriptor() {
250
- return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Software_descriptor;
251
- }
252
-
253
- @java.lang.Override
254
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
255
- internalGetFieldAccessorTable() {
256
- return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Software_fieldAccessorTable
257
- .ensureFieldAccessorsInitialized(
258
- com.lansweeper.dp.outbound.v1.Software.class, com.lansweeper.dp.outbound.v1.Software.Builder.class);
259
- }
260
-
261
- private int bitField0_;
262
- public static final int RANK_FIELD_NUMBER = 1;
263
- private int rank_;
264
- /**
265
- * <code>int32 rank = 1;</code>
266
- * @return Whether the rank field is set.
267
- */
268
- @java.lang.Override
269
- public boolean hasRank() {
270
- return ((bitField0_ & 0x00000001) != 0);
271
- }
272
- /**
273
- * <code>int32 rank = 1;</code>
274
- * @return The rank.
275
- */
276
- @java.lang.Override
277
- public int getRank() {
278
- return rank_;
279
- }
280
-
281
- public static final int TYPE_ID_FIELD_NUMBER = 2;
282
- private long typeId_;
283
- /**
284
- * <code>int64 type_id = 2;</code>
285
- * @return Whether the typeId field is set.
286
- */
287
- @java.lang.Override
288
- public boolean hasTypeId() {
289
- return ((bitField0_ & 0x00000002) != 0);
290
- }
291
- /**
292
- * <code>int64 type_id = 2;</code>
293
- * @return The typeId.
294
- */
295
- @java.lang.Override
296
- public long getTypeId() {
297
- return typeId_;
298
- }
299
-
300
- public static final int CAT_ID_FIELD_NUMBER = 3;
301
- private long catId_;
302
- /**
303
- * <code>int64 cat_id = 3;</code>
304
- * @return Whether the catId field is set.
305
- */
306
- @java.lang.Override
307
- public boolean hasCatId() {
308
- return ((bitField0_ & 0x00000004) != 0);
309
- }
310
- /**
311
- * <code>int64 cat_id = 3;</code>
312
- * @return The catId.
313
- */
314
- @java.lang.Override
315
- public long getCatId() {
316
- return catId_;
317
- }
318
-
319
- public static final int MAKE_ID_FIELD_NUMBER = 4;
320
- private long makeId_;
321
- /**
322
- * <code>int64 make_id = 4;</code>
323
- * @return Whether the makeId field is set.
324
- */
325
- @java.lang.Override
326
- public boolean hasMakeId() {
327
- return ((bitField0_ & 0x00000008) != 0);
328
- }
329
- /**
330
- * <code>int64 make_id = 4;</code>
331
- * @return The makeId.
332
- */
333
- @java.lang.Override
334
- public long getMakeId() {
335
- return makeId_;
336
- }
337
-
338
- public static final int SW_ID_FIELD_NUMBER = 5;
339
- private long swId_;
340
- /**
341
- * <code>int64 sw_id = 5;</code>
342
- * @return Whether the swId field is set.
343
- */
344
- @java.lang.Override
345
- public boolean hasSwId() {
346
- return ((bitField0_ & 0x00000010) != 0);
347
- }
348
- /**
349
- * <code>int64 sw_id = 5;</code>
350
- * @return The swId.
351
- */
352
- @java.lang.Override
353
- public long getSwId() {
354
- return swId_;
355
- }
356
-
357
- public static final int PARENT_ID_FIELD_NUMBER = 6;
358
- private long parentId_;
359
- /**
360
- * <code>int64 parent_id = 6;</code>
361
- * @return Whether the parentId field is set.
362
- */
363
- @java.lang.Override
364
- public boolean hasParentId() {
365
- return ((bitField0_ & 0x00000020) != 0);
366
- }
367
- /**
368
- * <code>int64 parent_id = 6;</code>
369
- * @return The parentId.
370
- */
371
- @java.lang.Override
372
- public long getParentId() {
373
- return parentId_;
374
- }
375
-
376
- public static final int TYPE_NAME_FIELD_NUMBER = 7;
377
- private volatile java.lang.Object typeName_;
378
- /**
379
- * <code>string type_name = 7;</code>
380
- * @return Whether the typeName field is set.
381
- */
382
- @java.lang.Override
383
- public boolean hasTypeName() {
384
- return ((bitField0_ & 0x00000040) != 0);
385
- }
386
- /**
387
- * <code>string type_name = 7;</code>
388
- * @return The typeName.
389
- */
390
- @java.lang.Override
391
- public java.lang.String getTypeName() {
392
- java.lang.Object ref = typeName_;
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
- typeName_ = s;
400
- return s;
401
- }
402
- }
403
- /**
404
- * <code>string type_name = 7;</code>
405
- * @return The bytes for typeName.
406
- */
407
- @java.lang.Override
408
- public com.google.protobuf.ByteString
409
- getTypeNameBytes() {
410
- java.lang.Object ref = typeName_;
411
- if (ref instanceof java.lang.String) {
412
- com.google.protobuf.ByteString b =
413
- com.google.protobuf.ByteString.copyFromUtf8(
414
- (java.lang.String) ref);
415
- typeName_ = b;
416
- return b;
417
- } else {
418
- return (com.google.protobuf.ByteString) ref;
419
- }
420
- }
421
-
422
- public static final int CAT_NAME_FIELD_NUMBER = 8;
423
- private volatile java.lang.Object catName_;
424
- /**
425
- * <code>string cat_name = 8;</code>
426
- * @return Whether the catName field is set.
427
- */
428
- @java.lang.Override
429
- public boolean hasCatName() {
430
- return ((bitField0_ & 0x00000080) != 0);
431
- }
432
- /**
433
- * <code>string cat_name = 8;</code>
434
- * @return The catName.
435
- */
436
- @java.lang.Override
437
- public java.lang.String getCatName() {
438
- java.lang.Object ref = catName_;
439
- if (ref instanceof java.lang.String) {
440
- return (java.lang.String) ref;
441
- } else {
442
- com.google.protobuf.ByteString bs =
443
- (com.google.protobuf.ByteString) ref;
444
- java.lang.String s = bs.toStringUtf8();
445
- catName_ = s;
446
- return s;
447
- }
448
- }
449
- /**
450
- * <code>string cat_name = 8;</code>
451
- * @return The bytes for catName.
452
- */
453
- @java.lang.Override
454
- public com.google.protobuf.ByteString
455
- getCatNameBytes() {
456
- java.lang.Object ref = catName_;
457
- if (ref instanceof java.lang.String) {
458
- com.google.protobuf.ByteString b =
459
- com.google.protobuf.ByteString.copyFromUtf8(
460
- (java.lang.String) ref);
461
- catName_ = b;
462
- return b;
463
- } else {
464
- return (com.google.protobuf.ByteString) ref;
465
- }
466
- }
467
-
468
- public static final int MAKE_NAME_FIELD_NUMBER = 9;
469
- private volatile java.lang.Object makeName_;
470
- /**
471
- * <code>string make_name = 9;</code>
472
- * @return Whether the makeName field is set.
473
- */
474
- @java.lang.Override
475
- public boolean hasMakeName() {
476
- return ((bitField0_ & 0x00000100) != 0);
477
- }
478
- /**
479
- * <code>string make_name = 9;</code>
480
- * @return The makeName.
481
- */
482
- @java.lang.Override
483
- public java.lang.String getMakeName() {
484
- java.lang.Object ref = makeName_;
485
- if (ref instanceof java.lang.String) {
486
- return (java.lang.String) ref;
487
- } else {
488
- com.google.protobuf.ByteString bs =
489
- (com.google.protobuf.ByteString) ref;
490
- java.lang.String s = bs.toStringUtf8();
491
- makeName_ = s;
492
- return s;
493
- }
494
- }
495
- /**
496
- * <code>string make_name = 9;</code>
497
- * @return The bytes for makeName.
498
- */
499
- @java.lang.Override
500
- public com.google.protobuf.ByteString
501
- getMakeNameBytes() {
502
- java.lang.Object ref = makeName_;
503
- if (ref instanceof java.lang.String) {
504
- com.google.protobuf.ByteString b =
505
- com.google.protobuf.ByteString.copyFromUtf8(
506
- (java.lang.String) ref);
507
- makeName_ = b;
508
- return b;
509
- } else {
510
- return (com.google.protobuf.ByteString) ref;
511
- }
512
- }
513
-
514
- public static final int NAME_FIELD_NUMBER = 10;
515
- private volatile java.lang.Object name_;
516
- /**
517
- * <code>string name = 10;</code>
518
- * @return Whether the name field is set.
519
- */
520
- @java.lang.Override
521
- public boolean hasName() {
522
- return ((bitField0_ & 0x00000200) != 0);
523
- }
524
- /**
525
- * <code>string name = 10;</code>
526
- * @return The name.
527
- */
528
- @java.lang.Override
529
- public java.lang.String getName() {
530
- java.lang.Object ref = name_;
531
- if (ref instanceof java.lang.String) {
532
- return (java.lang.String) ref;
533
- } else {
534
- com.google.protobuf.ByteString bs =
535
- (com.google.protobuf.ByteString) ref;
536
- java.lang.String s = bs.toStringUtf8();
537
- name_ = s;
538
- return s;
539
- }
540
- }
541
- /**
542
- * <code>string name = 10;</code>
543
- * @return The bytes for name.
544
- */
545
- @java.lang.Override
546
- public com.google.protobuf.ByteString
547
- getNameBytes() {
548
- java.lang.Object ref = name_;
549
- if (ref instanceof java.lang.String) {
550
- com.google.protobuf.ByteString b =
551
- com.google.protobuf.ByteString.copyFromUtf8(
552
- (java.lang.String) ref);
553
- name_ = b;
554
- return b;
555
- } else {
556
- return (com.google.protobuf.ByteString) ref;
557
- }
558
- }
559
-
560
- public static final int VERSION_FIELD_NUMBER = 11;
561
- private volatile java.lang.Object version_;
562
- /**
563
- * <code>string version = 11;</code>
564
- * @return Whether the version field is set.
565
- */
566
- @java.lang.Override
567
- public boolean hasVersion() {
568
- return ((bitField0_ & 0x00000400) != 0);
569
- }
570
- /**
571
- * <code>string version = 11;</code>
572
- * @return The version.
573
- */
574
- @java.lang.Override
575
- public java.lang.String getVersion() {
576
- java.lang.Object ref = version_;
577
- if (ref instanceof java.lang.String) {
578
- return (java.lang.String) ref;
579
- } else {
580
- com.google.protobuf.ByteString bs =
581
- (com.google.protobuf.ByteString) ref;
582
- java.lang.String s = bs.toStringUtf8();
583
- version_ = s;
584
- return s;
585
- }
586
- }
587
- /**
588
- * <code>string version = 11;</code>
589
- * @return The bytes for version.
590
- */
591
- @java.lang.Override
592
- public com.google.protobuf.ByteString
593
- getVersionBytes() {
594
- java.lang.Object ref = version_;
595
- if (ref instanceof java.lang.String) {
596
- com.google.protobuf.ByteString b =
597
- com.google.protobuf.ByteString.copyFromUtf8(
598
- (java.lang.String) ref);
599
- version_ = b;
600
- return b;
601
- } else {
602
- return (com.google.protobuf.ByteString) ref;
603
- }
604
- }
605
-
606
- public static final int MARKET_VER_FIELD_NUMBER = 12;
607
- private volatile java.lang.Object marketVer_;
608
- /**
609
- * <code>string market_ver = 12;</code>
610
- * @return Whether the marketVer field is set.
611
- */
612
- @java.lang.Override
613
- public boolean hasMarketVer() {
614
- return ((bitField0_ & 0x00000800) != 0);
615
- }
616
- /**
617
- * <code>string market_ver = 12;</code>
618
- * @return The marketVer.
619
- */
620
- @java.lang.Override
621
- public java.lang.String getMarketVer() {
622
- java.lang.Object ref = marketVer_;
623
- if (ref instanceof java.lang.String) {
624
- return (java.lang.String) ref;
625
- } else {
626
- com.google.protobuf.ByteString bs =
627
- (com.google.protobuf.ByteString) ref;
628
- java.lang.String s = bs.toStringUtf8();
629
- marketVer_ = s;
630
- return s;
631
- }
632
- }
633
- /**
634
- * <code>string market_ver = 12;</code>
635
- * @return The bytes for marketVer.
636
- */
637
- @java.lang.Override
638
- public com.google.protobuf.ByteString
639
- getMarketVerBytes() {
640
- java.lang.Object ref = marketVer_;
641
- if (ref instanceof java.lang.String) {
642
- com.google.protobuf.ByteString b =
643
- com.google.protobuf.ByteString.copyFromUtf8(
644
- (java.lang.String) ref);
645
- marketVer_ = b;
646
- return b;
647
- } else {
648
- return (com.google.protobuf.ByteString) ref;
649
- }
650
- }
651
-
652
- public static final int EDITION_FIELD_NUMBER = 13;
653
- private volatile java.lang.Object edition_;
654
- /**
655
- * <code>string edition = 13;</code>
656
- * @return Whether the edition field is set.
657
- */
658
- @java.lang.Override
659
- public boolean hasEdition() {
660
- return ((bitField0_ & 0x00001000) != 0);
661
- }
662
- /**
663
- * <code>string edition = 13;</code>
664
- * @return The edition.
665
- */
666
- @java.lang.Override
667
- public java.lang.String getEdition() {
668
- java.lang.Object ref = edition_;
669
- if (ref instanceof java.lang.String) {
670
- return (java.lang.String) ref;
671
- } else {
672
- com.google.protobuf.ByteString bs =
673
- (com.google.protobuf.ByteString) ref;
674
- java.lang.String s = bs.toStringUtf8();
675
- edition_ = s;
676
- return s;
677
- }
678
- }
679
- /**
680
- * <code>string edition = 13;</code>
681
- * @return The bytes for edition.
682
- */
683
- @java.lang.Override
684
- public com.google.protobuf.ByteString
685
- getEditionBytes() {
686
- java.lang.Object ref = edition_;
687
- if (ref instanceof java.lang.String) {
688
- com.google.protobuf.ByteString b =
689
- com.google.protobuf.ByteString.copyFromUtf8(
690
- (java.lang.String) ref);
691
- edition_ = b;
692
- return b;
693
- } else {
694
- return (com.google.protobuf.ByteString) ref;
695
- }
696
- }
697
-
698
- public static final int BUILD_FIELD_NUMBER = 14;
699
- private volatile java.lang.Object build_;
700
- /**
701
- * <code>string build = 14;</code>
702
- * @return Whether the build field is set.
703
- */
704
- @java.lang.Override
705
- public boolean hasBuild() {
706
- return ((bitField0_ & 0x00002000) != 0);
707
- }
708
- /**
709
- * <code>string build = 14;</code>
710
- * @return The build.
711
- */
712
- @java.lang.Override
713
- public java.lang.String getBuild() {
714
- java.lang.Object ref = build_;
715
- if (ref instanceof java.lang.String) {
716
- return (java.lang.String) ref;
717
- } else {
718
- com.google.protobuf.ByteString bs =
719
- (com.google.protobuf.ByteString) ref;
720
- java.lang.String s = bs.toStringUtf8();
721
- build_ = s;
722
- return s;
723
- }
724
- }
725
- /**
726
- * <code>string build = 14;</code>
727
- * @return The bytes for build.
728
- */
729
- @java.lang.Override
730
- public com.google.protobuf.ByteString
731
- getBuildBytes() {
732
- java.lang.Object ref = build_;
733
- if (ref instanceof java.lang.String) {
734
- com.google.protobuf.ByteString b =
735
- com.google.protobuf.ByteString.copyFromUtf8(
736
- (java.lang.String) ref);
737
- build_ = b;
738
- return b;
739
- } else {
740
- return (com.google.protobuf.ByteString) ref;
741
- }
742
- }
743
-
744
- public static final int ARCH_FIELD_NUMBER = 20;
745
- private volatile java.lang.Object arch_;
746
- /**
747
- * <code>string arch = 20;</code>
748
- * @return Whether the arch field is set.
749
- */
750
- @java.lang.Override
751
- public boolean hasArch() {
752
- return ((bitField0_ & 0x00004000) != 0);
753
- }
754
- /**
755
- * <code>string arch = 20;</code>
756
- * @return The arch.
757
- */
758
- @java.lang.Override
759
- public java.lang.String getArch() {
760
- java.lang.Object ref = arch_;
761
- if (ref instanceof java.lang.String) {
762
- return (java.lang.String) ref;
763
- } else {
764
- com.google.protobuf.ByteString bs =
765
- (com.google.protobuf.ByteString) ref;
766
- java.lang.String s = bs.toStringUtf8();
767
- arch_ = s;
768
- return s;
769
- }
770
- }
771
- /**
772
- * <code>string arch = 20;</code>
773
- * @return The bytes for arch.
774
- */
775
- @java.lang.Override
776
- public com.google.protobuf.ByteString
777
- getArchBytes() {
778
- java.lang.Object ref = arch_;
779
- if (ref instanceof java.lang.String) {
780
- com.google.protobuf.ByteString b =
781
- com.google.protobuf.ByteString.copyFromUtf8(
782
- (java.lang.String) ref);
783
- arch_ = b;
784
- return b;
785
- } else {
786
- return (com.google.protobuf.ByteString) ref;
787
- }
788
- }
789
-
790
- public static final int LANG_FIELD_NUMBER = 21;
791
- private volatile java.lang.Object lang_;
792
- /**
793
- * <code>string lang = 21;</code>
794
- * @return Whether the lang field is set.
795
- */
796
- @java.lang.Override
797
- public boolean hasLang() {
798
- return ((bitField0_ & 0x00008000) != 0);
799
- }
800
- /**
801
- * <code>string lang = 21;</code>
802
- * @return The lang.
803
- */
804
- @java.lang.Override
805
- public java.lang.String getLang() {
806
- java.lang.Object ref = lang_;
807
- if (ref instanceof java.lang.String) {
808
- return (java.lang.String) ref;
809
- } else {
810
- com.google.protobuf.ByteString bs =
811
- (com.google.protobuf.ByteString) ref;
812
- java.lang.String s = bs.toStringUtf8();
813
- lang_ = s;
814
- return s;
815
- }
816
- }
817
- /**
818
- * <code>string lang = 21;</code>
819
- * @return The bytes for lang.
820
- */
821
- @java.lang.Override
822
- public com.google.protobuf.ByteString
823
- getLangBytes() {
824
- java.lang.Object ref = lang_;
825
- if (ref instanceof java.lang.String) {
826
- com.google.protobuf.ByteString b =
827
- com.google.protobuf.ByteString.copyFromUtf8(
828
- (java.lang.String) ref);
829
- lang_ = b;
830
- return b;
831
- } else {
832
- return (com.google.protobuf.ByteString) ref;
833
- }
834
- }
835
-
836
- public static final int CPE_FIELD_NUMBER = 15;
837
- private volatile java.lang.Object cpe_;
838
- /**
839
- * <code>string cpe = 15;</code>
840
- * @return Whether the cpe field is set.
841
- */
842
- @java.lang.Override
843
- public boolean hasCpe() {
844
- return ((bitField0_ & 0x00010000) != 0);
845
- }
846
- /**
847
- * <code>string cpe = 15;</code>
848
- * @return The cpe.
849
- */
850
- @java.lang.Override
851
- public java.lang.String getCpe() {
852
- java.lang.Object ref = cpe_;
853
- if (ref instanceof java.lang.String) {
854
- return (java.lang.String) ref;
855
- } else {
856
- com.google.protobuf.ByteString bs =
857
- (com.google.protobuf.ByteString) ref;
858
- java.lang.String s = bs.toStringUtf8();
859
- cpe_ = s;
860
- return s;
861
- }
862
- }
863
- /**
864
- * <code>string cpe = 15;</code>
865
- * @return The bytes for cpe.
866
- */
867
- @java.lang.Override
868
- public com.google.protobuf.ByteString
869
- getCpeBytes() {
870
- java.lang.Object ref = cpe_;
871
- if (ref instanceof java.lang.String) {
872
- com.google.protobuf.ByteString b =
873
- com.google.protobuf.ByteString.copyFromUtf8(
874
- (java.lang.String) ref);
875
- cpe_ = b;
876
- return b;
877
- } else {
878
- return (com.google.protobuf.ByteString) ref;
879
- }
880
- }
881
-
882
- public static final int CATALOG_BRAND_FIELD_NUMBER = 22;
883
- private com.lansweeper.dp.outbound.v1.CatalogBrand catalogBrand_;
884
- /**
885
- * <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
886
- * @return Whether the catalogBrand field is set.
887
- */
888
- @java.lang.Override
889
- public boolean hasCatalogBrand() {
890
- return ((bitField0_ & 0x00020000) != 0);
891
- }
892
- /**
893
- * <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
894
- * @return The catalogBrand.
895
- */
896
- @java.lang.Override
897
- public com.lansweeper.dp.outbound.v1.CatalogBrand getCatalogBrand() {
898
- return catalogBrand_ == null ? com.lansweeper.dp.outbound.v1.CatalogBrand.getDefaultInstance() : catalogBrand_;
899
- }
900
- /**
901
- * <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
902
- */
903
- @java.lang.Override
904
- public com.lansweeper.dp.outbound.v1.CatalogBrandOrBuilder getCatalogBrandOrBuilder() {
905
- return catalogBrand_ == null ? com.lansweeper.dp.outbound.v1.CatalogBrand.getDefaultInstance() : catalogBrand_;
906
- }
907
-
908
- public static final int CATALOG_SOFTWARE_FIELD_NUMBER = 16;
909
- private com.lansweeper.dp.outbound.v1.CatalogSoftware catalogSoftware_;
910
- /**
911
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_software = 16;</code>
912
- * @return Whether the catalogSoftware field is set.
913
- */
914
- @java.lang.Override
915
- public boolean hasCatalogSoftware() {
916
- return ((bitField0_ & 0x00040000) != 0);
917
- }
918
- /**
919
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_software = 16;</code>
920
- * @return The catalogSoftware.
921
- */
922
- @java.lang.Override
923
- public com.lansweeper.dp.outbound.v1.CatalogSoftware getCatalogSoftware() {
924
- return catalogSoftware_ == null ? com.lansweeper.dp.outbound.v1.CatalogSoftware.getDefaultInstance() : catalogSoftware_;
925
- }
926
- /**
927
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_software = 16;</code>
928
- */
929
- @java.lang.Override
930
- public com.lansweeper.dp.outbound.v1.CatalogSoftwareOrBuilder getCatalogSoftwareOrBuilder() {
931
- return catalogSoftware_ == null ? com.lansweeper.dp.outbound.v1.CatalogSoftware.getDefaultInstance() : catalogSoftware_;
932
- }
933
-
934
- public static final int CATALOG_LATEST_FIELD_NUMBER = 23;
935
- private com.lansweeper.dp.outbound.v1.CatalogSoftware catalogLatest_;
936
- /**
937
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_latest = 23;</code>
938
- * @return Whether the catalogLatest field is set.
939
- */
940
- @java.lang.Override
941
- public boolean hasCatalogLatest() {
942
- return ((bitField0_ & 0x00080000) != 0);
943
- }
944
- /**
945
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_latest = 23;</code>
946
- * @return The catalogLatest.
947
- */
948
- @java.lang.Override
949
- public com.lansweeper.dp.outbound.v1.CatalogSoftware getCatalogLatest() {
950
- return catalogLatest_ == null ? com.lansweeper.dp.outbound.v1.CatalogSoftware.getDefaultInstance() : catalogLatest_;
951
- }
952
- /**
953
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_latest = 23;</code>
954
- */
955
- @java.lang.Override
956
- public com.lansweeper.dp.outbound.v1.CatalogSoftwareOrBuilder getCatalogLatestOrBuilder() {
957
- return catalogLatest_ == null ? com.lansweeper.dp.outbound.v1.CatalogSoftware.getDefaultInstance() : catalogLatest_;
958
- }
959
-
960
- public static final int RAW_FIELD_NUMBER = 17;
961
- private com.lansweeper.dp.outbound.v1.RawSoftware raw_;
962
- /**
963
- * <code>.com.lansweeper.dp.outbound.v1.RawSoftware raw = 17;</code>
964
- * @return Whether the raw field is set.
965
- */
966
- @java.lang.Override
967
- public boolean hasRaw() {
968
- return raw_ != null;
969
- }
970
- /**
971
- * <code>.com.lansweeper.dp.outbound.v1.RawSoftware raw = 17;</code>
972
- * @return The raw.
973
- */
974
- @java.lang.Override
975
- public com.lansweeper.dp.outbound.v1.RawSoftware getRaw() {
976
- return raw_ == null ? com.lansweeper.dp.outbound.v1.RawSoftware.getDefaultInstance() : raw_;
977
- }
978
- /**
979
- * <code>.com.lansweeper.dp.outbound.v1.RawSoftware raw = 17;</code>
980
- */
981
- @java.lang.Override
982
- public com.lansweeper.dp.outbound.v1.RawSoftwareOrBuilder getRawOrBuilder() {
983
- return getRaw();
984
- }
985
-
986
- public static final int RAW_HASH_FIELD_NUMBER = 18;
987
- private volatile java.lang.Object rawHash_;
988
- /**
989
- * <pre>
990
- * optional raw hash of SW
991
- * </pre>
992
- *
993
- * <code>string raw_hash = 18;</code>
994
- * @return Whether the rawHash field is set.
995
- */
996
- @java.lang.Override
997
- public boolean hasRawHash() {
998
- return ((bitField0_ & 0x00100000) != 0);
999
- }
1000
- /**
1001
- * <pre>
1002
- * optional raw hash of SW
1003
- * </pre>
1004
- *
1005
- * <code>string raw_hash = 18;</code>
1006
- * @return The rawHash.
1007
- */
1008
- @java.lang.Override
1009
- public java.lang.String getRawHash() {
1010
- java.lang.Object ref = rawHash_;
1011
- if (ref instanceof java.lang.String) {
1012
- return (java.lang.String) ref;
1013
- } else {
1014
- com.google.protobuf.ByteString bs =
1015
- (com.google.protobuf.ByteString) ref;
1016
- java.lang.String s = bs.toStringUtf8();
1017
- rawHash_ = s;
1018
- return s;
1019
- }
1020
- }
1021
- /**
1022
- * <pre>
1023
- * optional raw hash of SW
1024
- * </pre>
1025
- *
1026
- * <code>string raw_hash = 18;</code>
1027
- * @return The bytes for rawHash.
1028
- */
1029
- @java.lang.Override
1030
- public com.google.protobuf.ByteString
1031
- getRawHashBytes() {
1032
- java.lang.Object ref = rawHash_;
1033
- if (ref instanceof java.lang.String) {
1034
- com.google.protobuf.ByteString b =
1035
- com.google.protobuf.ByteString.copyFromUtf8(
1036
- (java.lang.String) ref);
1037
- rawHash_ = b;
1038
- return b;
1039
- } else {
1040
- return (com.google.protobuf.ByteString) ref;
1041
- }
1042
- }
1043
-
1044
- public static final int NRE_HASH_FIELD_NUMBER = 19;
1045
- private volatile java.lang.Object nreHash_;
1046
- /**
1047
- * <pre>
1048
- * optional NRE hash of SW
1049
- * </pre>
1050
- *
1051
- * <code>string nre_hash = 19;</code>
1052
- * @return Whether the nreHash field is set.
1053
- */
1054
- @java.lang.Override
1055
- public boolean hasNreHash() {
1056
- return ((bitField0_ & 0x00200000) != 0);
1057
- }
1058
- /**
1059
- * <pre>
1060
- * optional NRE hash of SW
1061
- * </pre>
1062
- *
1063
- * <code>string nre_hash = 19;</code>
1064
- * @return The nreHash.
1065
- */
1066
- @java.lang.Override
1067
- public java.lang.String getNreHash() {
1068
- java.lang.Object ref = nreHash_;
1069
- if (ref instanceof java.lang.String) {
1070
- return (java.lang.String) ref;
1071
- } else {
1072
- com.google.protobuf.ByteString bs =
1073
- (com.google.protobuf.ByteString) ref;
1074
- java.lang.String s = bs.toStringUtf8();
1075
- nreHash_ = s;
1076
- return s;
1077
- }
1078
- }
1079
- /**
1080
- * <pre>
1081
- * optional NRE hash of SW
1082
- * </pre>
1083
- *
1084
- * <code>string nre_hash = 19;</code>
1085
- * @return The bytes for nreHash.
1086
- */
1087
- @java.lang.Override
1088
- public com.google.protobuf.ByteString
1089
- getNreHashBytes() {
1090
- java.lang.Object ref = nreHash_;
1091
- if (ref instanceof java.lang.String) {
1092
- com.google.protobuf.ByteString b =
1093
- com.google.protobuf.ByteString.copyFromUtf8(
1094
- (java.lang.String) ref);
1095
- nreHash_ = b;
1096
- return b;
1097
- } else {
1098
- return (com.google.protobuf.ByteString) ref;
1099
- }
1100
- }
1101
-
1102
- private byte memoizedIsInitialized = -1;
1103
- @java.lang.Override
1104
- public final boolean isInitialized() {
1105
- byte isInitialized = memoizedIsInitialized;
1106
- if (isInitialized == 1) return true;
1107
- if (isInitialized == 0) return false;
1108
-
1109
- memoizedIsInitialized = 1;
1110
- return true;
1111
- }
1112
-
1113
- @java.lang.Override
1114
- public void writeTo(com.google.protobuf.CodedOutputStream output)
1115
- throws java.io.IOException {
1116
- if (((bitField0_ & 0x00000001) != 0)) {
1117
- output.writeInt32(1, rank_);
1118
- }
1119
- if (((bitField0_ & 0x00000002) != 0)) {
1120
- output.writeInt64(2, typeId_);
1121
- }
1122
- if (((bitField0_ & 0x00000004) != 0)) {
1123
- output.writeInt64(3, catId_);
1124
- }
1125
- if (((bitField0_ & 0x00000008) != 0)) {
1126
- output.writeInt64(4, makeId_);
1127
- }
1128
- if (((bitField0_ & 0x00000010) != 0)) {
1129
- output.writeInt64(5, swId_);
1130
- }
1131
- if (((bitField0_ & 0x00000020) != 0)) {
1132
- output.writeInt64(6, parentId_);
1133
- }
1134
- if (((bitField0_ & 0x00000040) != 0)) {
1135
- com.google.protobuf.GeneratedMessageV3.writeString(output, 7, typeName_);
1136
- }
1137
- if (((bitField0_ & 0x00000080) != 0)) {
1138
- com.google.protobuf.GeneratedMessageV3.writeString(output, 8, catName_);
1139
- }
1140
- if (((bitField0_ & 0x00000100) != 0)) {
1141
- com.google.protobuf.GeneratedMessageV3.writeString(output, 9, makeName_);
1142
- }
1143
- if (((bitField0_ & 0x00000200) != 0)) {
1144
- com.google.protobuf.GeneratedMessageV3.writeString(output, 10, name_);
1145
- }
1146
- if (((bitField0_ & 0x00000400) != 0)) {
1147
- com.google.protobuf.GeneratedMessageV3.writeString(output, 11, version_);
1148
- }
1149
- if (((bitField0_ & 0x00000800) != 0)) {
1150
- com.google.protobuf.GeneratedMessageV3.writeString(output, 12, marketVer_);
1151
- }
1152
- if (((bitField0_ & 0x00001000) != 0)) {
1153
- com.google.protobuf.GeneratedMessageV3.writeString(output, 13, edition_);
1154
- }
1155
- if (((bitField0_ & 0x00002000) != 0)) {
1156
- com.google.protobuf.GeneratedMessageV3.writeString(output, 14, build_);
1157
- }
1158
- if (((bitField0_ & 0x00010000) != 0)) {
1159
- com.google.protobuf.GeneratedMessageV3.writeString(output, 15, cpe_);
1160
- }
1161
- if (((bitField0_ & 0x00040000) != 0)) {
1162
- output.writeMessage(16, getCatalogSoftware());
1163
- }
1164
- if (raw_ != null) {
1165
- output.writeMessage(17, getRaw());
1166
- }
1167
- if (((bitField0_ & 0x00100000) != 0)) {
1168
- com.google.protobuf.GeneratedMessageV3.writeString(output, 18, rawHash_);
1169
- }
1170
- if (((bitField0_ & 0x00200000) != 0)) {
1171
- com.google.protobuf.GeneratedMessageV3.writeString(output, 19, nreHash_);
1172
- }
1173
- if (((bitField0_ & 0x00004000) != 0)) {
1174
- com.google.protobuf.GeneratedMessageV3.writeString(output, 20, arch_);
1175
- }
1176
- if (((bitField0_ & 0x00008000) != 0)) {
1177
- com.google.protobuf.GeneratedMessageV3.writeString(output, 21, lang_);
1178
- }
1179
- if (((bitField0_ & 0x00020000) != 0)) {
1180
- output.writeMessage(22, getCatalogBrand());
1181
- }
1182
- if (((bitField0_ & 0x00080000) != 0)) {
1183
- output.writeMessage(23, getCatalogLatest());
1184
- }
1185
- unknownFields.writeTo(output);
1186
- }
1187
-
1188
- @java.lang.Override
1189
- public int getSerializedSize() {
1190
- int size = memoizedSize;
1191
- if (size != -1) return size;
1192
-
1193
- size = 0;
1194
- if (((bitField0_ & 0x00000001) != 0)) {
1195
- size += com.google.protobuf.CodedOutputStream
1196
- .computeInt32Size(1, rank_);
1197
- }
1198
- if (((bitField0_ & 0x00000002) != 0)) {
1199
- size += com.google.protobuf.CodedOutputStream
1200
- .computeInt64Size(2, typeId_);
1201
- }
1202
- if (((bitField0_ & 0x00000004) != 0)) {
1203
- size += com.google.protobuf.CodedOutputStream
1204
- .computeInt64Size(3, catId_);
1205
- }
1206
- if (((bitField0_ & 0x00000008) != 0)) {
1207
- size += com.google.protobuf.CodedOutputStream
1208
- .computeInt64Size(4, makeId_);
1209
- }
1210
- if (((bitField0_ & 0x00000010) != 0)) {
1211
- size += com.google.protobuf.CodedOutputStream
1212
- .computeInt64Size(5, swId_);
1213
- }
1214
- if (((bitField0_ & 0x00000020) != 0)) {
1215
- size += com.google.protobuf.CodedOutputStream
1216
- .computeInt64Size(6, parentId_);
1217
- }
1218
- if (((bitField0_ & 0x00000040) != 0)) {
1219
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, typeName_);
1220
- }
1221
- if (((bitField0_ & 0x00000080) != 0)) {
1222
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, catName_);
1223
- }
1224
- if (((bitField0_ & 0x00000100) != 0)) {
1225
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, makeName_);
1226
- }
1227
- if (((bitField0_ & 0x00000200) != 0)) {
1228
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, name_);
1229
- }
1230
- if (((bitField0_ & 0x00000400) != 0)) {
1231
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, version_);
1232
- }
1233
- if (((bitField0_ & 0x00000800) != 0)) {
1234
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, marketVer_);
1235
- }
1236
- if (((bitField0_ & 0x00001000) != 0)) {
1237
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, edition_);
1238
- }
1239
- if (((bitField0_ & 0x00002000) != 0)) {
1240
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, build_);
1241
- }
1242
- if (((bitField0_ & 0x00010000) != 0)) {
1243
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, cpe_);
1244
- }
1245
- if (((bitField0_ & 0x00040000) != 0)) {
1246
- size += com.google.protobuf.CodedOutputStream
1247
- .computeMessageSize(16, getCatalogSoftware());
1248
- }
1249
- if (raw_ != null) {
1250
- size += com.google.protobuf.CodedOutputStream
1251
- .computeMessageSize(17, getRaw());
1252
- }
1253
- if (((bitField0_ & 0x00100000) != 0)) {
1254
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, rawHash_);
1255
- }
1256
- if (((bitField0_ & 0x00200000) != 0)) {
1257
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, nreHash_);
1258
- }
1259
- if (((bitField0_ & 0x00004000) != 0)) {
1260
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, arch_);
1261
- }
1262
- if (((bitField0_ & 0x00008000) != 0)) {
1263
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, lang_);
1264
- }
1265
- if (((bitField0_ & 0x00020000) != 0)) {
1266
- size += com.google.protobuf.CodedOutputStream
1267
- .computeMessageSize(22, getCatalogBrand());
1268
- }
1269
- if (((bitField0_ & 0x00080000) != 0)) {
1270
- size += com.google.protobuf.CodedOutputStream
1271
- .computeMessageSize(23, getCatalogLatest());
1272
- }
1273
- size += unknownFields.getSerializedSize();
1274
- memoizedSize = size;
1275
- return size;
1276
- }
1277
-
1278
- @java.lang.Override
1279
- public boolean equals(final java.lang.Object obj) {
1280
- if (obj == this) {
1281
- return true;
1282
- }
1283
- if (!(obj instanceof com.lansweeper.dp.outbound.v1.Software)) {
1284
- return super.equals(obj);
1285
- }
1286
- com.lansweeper.dp.outbound.v1.Software other = (com.lansweeper.dp.outbound.v1.Software) obj;
1287
-
1288
- if (hasRank() != other.hasRank()) return false;
1289
- if (hasRank()) {
1290
- if (getRank()
1291
- != other.getRank()) return false;
1292
- }
1293
- if (hasTypeId() != other.hasTypeId()) return false;
1294
- if (hasTypeId()) {
1295
- if (getTypeId()
1296
- != other.getTypeId()) return false;
1297
- }
1298
- if (hasCatId() != other.hasCatId()) return false;
1299
- if (hasCatId()) {
1300
- if (getCatId()
1301
- != other.getCatId()) return false;
1302
- }
1303
- if (hasMakeId() != other.hasMakeId()) return false;
1304
- if (hasMakeId()) {
1305
- if (getMakeId()
1306
- != other.getMakeId()) return false;
1307
- }
1308
- if (hasSwId() != other.hasSwId()) return false;
1309
- if (hasSwId()) {
1310
- if (getSwId()
1311
- != other.getSwId()) return false;
1312
- }
1313
- if (hasParentId() != other.hasParentId()) return false;
1314
- if (hasParentId()) {
1315
- if (getParentId()
1316
- != other.getParentId()) return false;
1317
- }
1318
- if (hasTypeName() != other.hasTypeName()) return false;
1319
- if (hasTypeName()) {
1320
- if (!getTypeName()
1321
- .equals(other.getTypeName())) return false;
1322
- }
1323
- if (hasCatName() != other.hasCatName()) return false;
1324
- if (hasCatName()) {
1325
- if (!getCatName()
1326
- .equals(other.getCatName())) return false;
1327
- }
1328
- if (hasMakeName() != other.hasMakeName()) return false;
1329
- if (hasMakeName()) {
1330
- if (!getMakeName()
1331
- .equals(other.getMakeName())) return false;
1332
- }
1333
- if (hasName() != other.hasName()) return false;
1334
- if (hasName()) {
1335
- if (!getName()
1336
- .equals(other.getName())) return false;
1337
- }
1338
- if (hasVersion() != other.hasVersion()) return false;
1339
- if (hasVersion()) {
1340
- if (!getVersion()
1341
- .equals(other.getVersion())) return false;
1342
- }
1343
- if (hasMarketVer() != other.hasMarketVer()) return false;
1344
- if (hasMarketVer()) {
1345
- if (!getMarketVer()
1346
- .equals(other.getMarketVer())) return false;
1347
- }
1348
- if (hasEdition() != other.hasEdition()) return false;
1349
- if (hasEdition()) {
1350
- if (!getEdition()
1351
- .equals(other.getEdition())) return false;
1352
- }
1353
- if (hasBuild() != other.hasBuild()) return false;
1354
- if (hasBuild()) {
1355
- if (!getBuild()
1356
- .equals(other.getBuild())) return false;
1357
- }
1358
- if (hasArch() != other.hasArch()) return false;
1359
- if (hasArch()) {
1360
- if (!getArch()
1361
- .equals(other.getArch())) return false;
1362
- }
1363
- if (hasLang() != other.hasLang()) return false;
1364
- if (hasLang()) {
1365
- if (!getLang()
1366
- .equals(other.getLang())) return false;
1367
- }
1368
- if (hasCpe() != other.hasCpe()) return false;
1369
- if (hasCpe()) {
1370
- if (!getCpe()
1371
- .equals(other.getCpe())) return false;
1372
- }
1373
- if (hasCatalogBrand() != other.hasCatalogBrand()) return false;
1374
- if (hasCatalogBrand()) {
1375
- if (!getCatalogBrand()
1376
- .equals(other.getCatalogBrand())) return false;
1377
- }
1378
- if (hasCatalogSoftware() != other.hasCatalogSoftware()) return false;
1379
- if (hasCatalogSoftware()) {
1380
- if (!getCatalogSoftware()
1381
- .equals(other.getCatalogSoftware())) return false;
1382
- }
1383
- if (hasCatalogLatest() != other.hasCatalogLatest()) return false;
1384
- if (hasCatalogLatest()) {
1385
- if (!getCatalogLatest()
1386
- .equals(other.getCatalogLatest())) return false;
1387
- }
1388
- if (hasRaw() != other.hasRaw()) return false;
1389
- if (hasRaw()) {
1390
- if (!getRaw()
1391
- .equals(other.getRaw())) return false;
1392
- }
1393
- if (hasRawHash() != other.hasRawHash()) return false;
1394
- if (hasRawHash()) {
1395
- if (!getRawHash()
1396
- .equals(other.getRawHash())) return false;
1397
- }
1398
- if (hasNreHash() != other.hasNreHash()) return false;
1399
- if (hasNreHash()) {
1400
- if (!getNreHash()
1401
- .equals(other.getNreHash())) return false;
1402
- }
1403
- if (!unknownFields.equals(other.unknownFields)) return false;
1404
- return true;
1405
- }
1406
-
1407
- @java.lang.Override
1408
- public int hashCode() {
1409
- if (memoizedHashCode != 0) {
1410
- return memoizedHashCode;
1411
- }
1412
- int hash = 41;
1413
- hash = (19 * hash) + getDescriptor().hashCode();
1414
- if (hasRank()) {
1415
- hash = (37 * hash) + RANK_FIELD_NUMBER;
1416
- hash = (53 * hash) + getRank();
1417
- }
1418
- if (hasTypeId()) {
1419
- hash = (37 * hash) + TYPE_ID_FIELD_NUMBER;
1420
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1421
- getTypeId());
1422
- }
1423
- if (hasCatId()) {
1424
- hash = (37 * hash) + CAT_ID_FIELD_NUMBER;
1425
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1426
- getCatId());
1427
- }
1428
- if (hasMakeId()) {
1429
- hash = (37 * hash) + MAKE_ID_FIELD_NUMBER;
1430
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1431
- getMakeId());
1432
- }
1433
- if (hasSwId()) {
1434
- hash = (37 * hash) + SW_ID_FIELD_NUMBER;
1435
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1436
- getSwId());
1437
- }
1438
- if (hasParentId()) {
1439
- hash = (37 * hash) + PARENT_ID_FIELD_NUMBER;
1440
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1441
- getParentId());
1442
- }
1443
- if (hasTypeName()) {
1444
- hash = (37 * hash) + TYPE_NAME_FIELD_NUMBER;
1445
- hash = (53 * hash) + getTypeName().hashCode();
1446
- }
1447
- if (hasCatName()) {
1448
- hash = (37 * hash) + CAT_NAME_FIELD_NUMBER;
1449
- hash = (53 * hash) + getCatName().hashCode();
1450
- }
1451
- if (hasMakeName()) {
1452
- hash = (37 * hash) + MAKE_NAME_FIELD_NUMBER;
1453
- hash = (53 * hash) + getMakeName().hashCode();
1454
- }
1455
- if (hasName()) {
1456
- hash = (37 * hash) + NAME_FIELD_NUMBER;
1457
- hash = (53 * hash) + getName().hashCode();
1458
- }
1459
- if (hasVersion()) {
1460
- hash = (37 * hash) + VERSION_FIELD_NUMBER;
1461
- hash = (53 * hash) + getVersion().hashCode();
1462
- }
1463
- if (hasMarketVer()) {
1464
- hash = (37 * hash) + MARKET_VER_FIELD_NUMBER;
1465
- hash = (53 * hash) + getMarketVer().hashCode();
1466
- }
1467
- if (hasEdition()) {
1468
- hash = (37 * hash) + EDITION_FIELD_NUMBER;
1469
- hash = (53 * hash) + getEdition().hashCode();
1470
- }
1471
- if (hasBuild()) {
1472
- hash = (37 * hash) + BUILD_FIELD_NUMBER;
1473
- hash = (53 * hash) + getBuild().hashCode();
1474
- }
1475
- if (hasArch()) {
1476
- hash = (37 * hash) + ARCH_FIELD_NUMBER;
1477
- hash = (53 * hash) + getArch().hashCode();
1478
- }
1479
- if (hasLang()) {
1480
- hash = (37 * hash) + LANG_FIELD_NUMBER;
1481
- hash = (53 * hash) + getLang().hashCode();
1482
- }
1483
- if (hasCpe()) {
1484
- hash = (37 * hash) + CPE_FIELD_NUMBER;
1485
- hash = (53 * hash) + getCpe().hashCode();
1486
- }
1487
- if (hasCatalogBrand()) {
1488
- hash = (37 * hash) + CATALOG_BRAND_FIELD_NUMBER;
1489
- hash = (53 * hash) + getCatalogBrand().hashCode();
1490
- }
1491
- if (hasCatalogSoftware()) {
1492
- hash = (37 * hash) + CATALOG_SOFTWARE_FIELD_NUMBER;
1493
- hash = (53 * hash) + getCatalogSoftware().hashCode();
1494
- }
1495
- if (hasCatalogLatest()) {
1496
- hash = (37 * hash) + CATALOG_LATEST_FIELD_NUMBER;
1497
- hash = (53 * hash) + getCatalogLatest().hashCode();
1498
- }
1499
- if (hasRaw()) {
1500
- hash = (37 * hash) + RAW_FIELD_NUMBER;
1501
- hash = (53 * hash) + getRaw().hashCode();
1502
- }
1503
- if (hasRawHash()) {
1504
- hash = (37 * hash) + RAW_HASH_FIELD_NUMBER;
1505
- hash = (53 * hash) + getRawHash().hashCode();
1506
- }
1507
- if (hasNreHash()) {
1508
- hash = (37 * hash) + NRE_HASH_FIELD_NUMBER;
1509
- hash = (53 * hash) + getNreHash().hashCode();
1510
- }
1511
- hash = (29 * hash) + unknownFields.hashCode();
1512
- memoizedHashCode = hash;
1513
- return hash;
1514
- }
1515
-
1516
- public static com.lansweeper.dp.outbound.v1.Software parseFrom(
1517
- java.nio.ByteBuffer data)
1518
- throws com.google.protobuf.InvalidProtocolBufferException {
1519
- return PARSER.parseFrom(data);
1520
- }
1521
- public static com.lansweeper.dp.outbound.v1.Software parseFrom(
1522
- java.nio.ByteBuffer data,
1523
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1524
- throws com.google.protobuf.InvalidProtocolBufferException {
1525
- return PARSER.parseFrom(data, extensionRegistry);
1526
- }
1527
- public static com.lansweeper.dp.outbound.v1.Software parseFrom(
1528
- com.google.protobuf.ByteString data)
1529
- throws com.google.protobuf.InvalidProtocolBufferException {
1530
- return PARSER.parseFrom(data);
1531
- }
1532
- public static com.lansweeper.dp.outbound.v1.Software parseFrom(
1533
- com.google.protobuf.ByteString data,
1534
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1535
- throws com.google.protobuf.InvalidProtocolBufferException {
1536
- return PARSER.parseFrom(data, extensionRegistry);
1537
- }
1538
- public static com.lansweeper.dp.outbound.v1.Software parseFrom(byte[] data)
1539
- throws com.google.protobuf.InvalidProtocolBufferException {
1540
- return PARSER.parseFrom(data);
1541
- }
1542
- public static com.lansweeper.dp.outbound.v1.Software parseFrom(
1543
- byte[] data,
1544
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1545
- throws com.google.protobuf.InvalidProtocolBufferException {
1546
- return PARSER.parseFrom(data, extensionRegistry);
1547
- }
1548
- public static com.lansweeper.dp.outbound.v1.Software parseFrom(java.io.InputStream input)
1549
- throws java.io.IOException {
1550
- return com.google.protobuf.GeneratedMessageV3
1551
- .parseWithIOException(PARSER, input);
1552
- }
1553
- public static com.lansweeper.dp.outbound.v1.Software parseFrom(
1554
- java.io.InputStream input,
1555
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1556
- throws java.io.IOException {
1557
- return com.google.protobuf.GeneratedMessageV3
1558
- .parseWithIOException(PARSER, input, extensionRegistry);
1559
- }
1560
- public static com.lansweeper.dp.outbound.v1.Software parseDelimitedFrom(java.io.InputStream input)
1561
- throws java.io.IOException {
1562
- return com.google.protobuf.GeneratedMessageV3
1563
- .parseDelimitedWithIOException(PARSER, input);
1564
- }
1565
- public static com.lansweeper.dp.outbound.v1.Software parseDelimitedFrom(
1566
- java.io.InputStream input,
1567
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1568
- throws java.io.IOException {
1569
- return com.google.protobuf.GeneratedMessageV3
1570
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
1571
- }
1572
- public static com.lansweeper.dp.outbound.v1.Software parseFrom(
1573
- com.google.protobuf.CodedInputStream input)
1574
- throws java.io.IOException {
1575
- return com.google.protobuf.GeneratedMessageV3
1576
- .parseWithIOException(PARSER, input);
1577
- }
1578
- public static com.lansweeper.dp.outbound.v1.Software parseFrom(
1579
- com.google.protobuf.CodedInputStream input,
1580
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1581
- throws java.io.IOException {
1582
- return com.google.protobuf.GeneratedMessageV3
1583
- .parseWithIOException(PARSER, input, extensionRegistry);
1584
- }
1585
-
1586
- @java.lang.Override
1587
- public Builder newBuilderForType() { return newBuilder(); }
1588
- public static Builder newBuilder() {
1589
- return DEFAULT_INSTANCE.toBuilder();
1590
- }
1591
- public static Builder newBuilder(com.lansweeper.dp.outbound.v1.Software prototype) {
1592
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
1593
- }
1594
- @java.lang.Override
1595
- public Builder toBuilder() {
1596
- return this == DEFAULT_INSTANCE
1597
- ? new Builder() : new Builder().mergeFrom(this);
1598
- }
1599
-
1600
- @java.lang.Override
1601
- protected Builder newBuilderForType(
1602
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1603
- Builder builder = new Builder(parent);
1604
- return builder;
1605
- }
1606
- /**
1607
- * <pre>
1608
- * Software definition: normalized and with link to raw
1609
- * </pre>
1610
- *
1611
- * Protobuf type {@code com.lansweeper.dp.outbound.v1.Software}
1612
- */
1613
- public static final class Builder extends
1614
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
1615
- // @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.Software)
1616
- com.lansweeper.dp.outbound.v1.SoftwareOrBuilder {
1617
- public static final com.google.protobuf.Descriptors.Descriptor
1618
- getDescriptor() {
1619
- return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Software_descriptor;
1620
- }
1621
-
1622
- @java.lang.Override
1623
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
1624
- internalGetFieldAccessorTable() {
1625
- return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Software_fieldAccessorTable
1626
- .ensureFieldAccessorsInitialized(
1627
- com.lansweeper.dp.outbound.v1.Software.class, com.lansweeper.dp.outbound.v1.Software.Builder.class);
1628
- }
1629
-
1630
- // Construct using com.lansweeper.dp.outbound.v1.Software.newBuilder()
1631
- private Builder() {
1632
- maybeForceBuilderInitialization();
1633
- }
1634
-
1635
- private Builder(
1636
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1637
- super(parent);
1638
- maybeForceBuilderInitialization();
1639
- }
1640
- private void maybeForceBuilderInitialization() {
1641
- if (com.google.protobuf.GeneratedMessageV3
1642
- .alwaysUseFieldBuilders) {
1643
- getCatalogBrandFieldBuilder();
1644
- getCatalogSoftwareFieldBuilder();
1645
- getCatalogLatestFieldBuilder();
1646
- }
1647
- }
1648
- @java.lang.Override
1649
- public Builder clear() {
1650
- super.clear();
1651
- rank_ = 0;
1652
- bitField0_ = (bitField0_ & ~0x00000001);
1653
- typeId_ = 0L;
1654
- bitField0_ = (bitField0_ & ~0x00000002);
1655
- catId_ = 0L;
1656
- bitField0_ = (bitField0_ & ~0x00000004);
1657
- makeId_ = 0L;
1658
- bitField0_ = (bitField0_ & ~0x00000008);
1659
- swId_ = 0L;
1660
- bitField0_ = (bitField0_ & ~0x00000010);
1661
- parentId_ = 0L;
1662
- bitField0_ = (bitField0_ & ~0x00000020);
1663
- typeName_ = "";
1664
- bitField0_ = (bitField0_ & ~0x00000040);
1665
- catName_ = "";
1666
- bitField0_ = (bitField0_ & ~0x00000080);
1667
- makeName_ = "";
1668
- bitField0_ = (bitField0_ & ~0x00000100);
1669
- name_ = "";
1670
- bitField0_ = (bitField0_ & ~0x00000200);
1671
- version_ = "";
1672
- bitField0_ = (bitField0_ & ~0x00000400);
1673
- marketVer_ = "";
1674
- bitField0_ = (bitField0_ & ~0x00000800);
1675
- edition_ = "";
1676
- bitField0_ = (bitField0_ & ~0x00001000);
1677
- build_ = "";
1678
- bitField0_ = (bitField0_ & ~0x00002000);
1679
- arch_ = "";
1680
- bitField0_ = (bitField0_ & ~0x00004000);
1681
- lang_ = "";
1682
- bitField0_ = (bitField0_ & ~0x00008000);
1683
- cpe_ = "";
1684
- bitField0_ = (bitField0_ & ~0x00010000);
1685
- if (catalogBrandBuilder_ == null) {
1686
- catalogBrand_ = null;
1687
- } else {
1688
- catalogBrandBuilder_.clear();
1689
- }
1690
- bitField0_ = (bitField0_ & ~0x00020000);
1691
- if (catalogSoftwareBuilder_ == null) {
1692
- catalogSoftware_ = null;
1693
- } else {
1694
- catalogSoftwareBuilder_.clear();
1695
- }
1696
- bitField0_ = (bitField0_ & ~0x00040000);
1697
- if (catalogLatestBuilder_ == null) {
1698
- catalogLatest_ = null;
1699
- } else {
1700
- catalogLatestBuilder_.clear();
1701
- }
1702
- bitField0_ = (bitField0_ & ~0x00080000);
1703
- if (rawBuilder_ == null) {
1704
- raw_ = null;
1705
- } else {
1706
- raw_ = null;
1707
- rawBuilder_ = null;
1708
- }
1709
- rawHash_ = "";
1710
- bitField0_ = (bitField0_ & ~0x00100000);
1711
- nreHash_ = "";
1712
- bitField0_ = (bitField0_ & ~0x00200000);
1713
- return this;
1714
- }
1715
-
1716
- @java.lang.Override
1717
- public com.google.protobuf.Descriptors.Descriptor
1718
- getDescriptorForType() {
1719
- return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_Software_descriptor;
1720
- }
1721
-
1722
- @java.lang.Override
1723
- public com.lansweeper.dp.outbound.v1.Software getDefaultInstanceForType() {
1724
- return com.lansweeper.dp.outbound.v1.Software.getDefaultInstance();
1725
- }
1726
-
1727
- @java.lang.Override
1728
- public com.lansweeper.dp.outbound.v1.Software build() {
1729
- com.lansweeper.dp.outbound.v1.Software result = buildPartial();
1730
- if (!result.isInitialized()) {
1731
- throw newUninitializedMessageException(result);
1732
- }
1733
- return result;
1734
- }
1735
-
1736
- @java.lang.Override
1737
- public com.lansweeper.dp.outbound.v1.Software buildPartial() {
1738
- com.lansweeper.dp.outbound.v1.Software result = new com.lansweeper.dp.outbound.v1.Software(this);
1739
- int from_bitField0_ = bitField0_;
1740
- int to_bitField0_ = 0;
1741
- if (((from_bitField0_ & 0x00000001) != 0)) {
1742
- result.rank_ = rank_;
1743
- to_bitField0_ |= 0x00000001;
1744
- }
1745
- if (((from_bitField0_ & 0x00000002) != 0)) {
1746
- result.typeId_ = typeId_;
1747
- to_bitField0_ |= 0x00000002;
1748
- }
1749
- if (((from_bitField0_ & 0x00000004) != 0)) {
1750
- result.catId_ = catId_;
1751
- to_bitField0_ |= 0x00000004;
1752
- }
1753
- if (((from_bitField0_ & 0x00000008) != 0)) {
1754
- result.makeId_ = makeId_;
1755
- to_bitField0_ |= 0x00000008;
1756
- }
1757
- if (((from_bitField0_ & 0x00000010) != 0)) {
1758
- result.swId_ = swId_;
1759
- to_bitField0_ |= 0x00000010;
1760
- }
1761
- if (((from_bitField0_ & 0x00000020) != 0)) {
1762
- result.parentId_ = parentId_;
1763
- to_bitField0_ |= 0x00000020;
1764
- }
1765
- if (((from_bitField0_ & 0x00000040) != 0)) {
1766
- to_bitField0_ |= 0x00000040;
1767
- }
1768
- result.typeName_ = typeName_;
1769
- if (((from_bitField0_ & 0x00000080) != 0)) {
1770
- to_bitField0_ |= 0x00000080;
1771
- }
1772
- result.catName_ = catName_;
1773
- if (((from_bitField0_ & 0x00000100) != 0)) {
1774
- to_bitField0_ |= 0x00000100;
1775
- }
1776
- result.makeName_ = makeName_;
1777
- if (((from_bitField0_ & 0x00000200) != 0)) {
1778
- to_bitField0_ |= 0x00000200;
1779
- }
1780
- result.name_ = name_;
1781
- if (((from_bitField0_ & 0x00000400) != 0)) {
1782
- to_bitField0_ |= 0x00000400;
1783
- }
1784
- result.version_ = version_;
1785
- if (((from_bitField0_ & 0x00000800) != 0)) {
1786
- to_bitField0_ |= 0x00000800;
1787
- }
1788
- result.marketVer_ = marketVer_;
1789
- if (((from_bitField0_ & 0x00001000) != 0)) {
1790
- to_bitField0_ |= 0x00001000;
1791
- }
1792
- result.edition_ = edition_;
1793
- if (((from_bitField0_ & 0x00002000) != 0)) {
1794
- to_bitField0_ |= 0x00002000;
1795
- }
1796
- result.build_ = build_;
1797
- if (((from_bitField0_ & 0x00004000) != 0)) {
1798
- to_bitField0_ |= 0x00004000;
1799
- }
1800
- result.arch_ = arch_;
1801
- if (((from_bitField0_ & 0x00008000) != 0)) {
1802
- to_bitField0_ |= 0x00008000;
1803
- }
1804
- result.lang_ = lang_;
1805
- if (((from_bitField0_ & 0x00010000) != 0)) {
1806
- to_bitField0_ |= 0x00010000;
1807
- }
1808
- result.cpe_ = cpe_;
1809
- if (((from_bitField0_ & 0x00020000) != 0)) {
1810
- if (catalogBrandBuilder_ == null) {
1811
- result.catalogBrand_ = catalogBrand_;
1812
- } else {
1813
- result.catalogBrand_ = catalogBrandBuilder_.build();
1814
- }
1815
- to_bitField0_ |= 0x00020000;
1816
- }
1817
- if (((from_bitField0_ & 0x00040000) != 0)) {
1818
- if (catalogSoftwareBuilder_ == null) {
1819
- result.catalogSoftware_ = catalogSoftware_;
1820
- } else {
1821
- result.catalogSoftware_ = catalogSoftwareBuilder_.build();
1822
- }
1823
- to_bitField0_ |= 0x00040000;
1824
- }
1825
- if (((from_bitField0_ & 0x00080000) != 0)) {
1826
- if (catalogLatestBuilder_ == null) {
1827
- result.catalogLatest_ = catalogLatest_;
1828
- } else {
1829
- result.catalogLatest_ = catalogLatestBuilder_.build();
1830
- }
1831
- to_bitField0_ |= 0x00080000;
1832
- }
1833
- if (rawBuilder_ == null) {
1834
- result.raw_ = raw_;
1835
- } else {
1836
- result.raw_ = rawBuilder_.build();
1837
- }
1838
- if (((from_bitField0_ & 0x00100000) != 0)) {
1839
- to_bitField0_ |= 0x00100000;
1840
- }
1841
- result.rawHash_ = rawHash_;
1842
- if (((from_bitField0_ & 0x00200000) != 0)) {
1843
- to_bitField0_ |= 0x00200000;
1844
- }
1845
- result.nreHash_ = nreHash_;
1846
- result.bitField0_ = to_bitField0_;
1847
- onBuilt();
1848
- return result;
1849
- }
1850
-
1851
- @java.lang.Override
1852
- public Builder clone() {
1853
- return super.clone();
1854
- }
1855
- @java.lang.Override
1856
- public Builder setField(
1857
- com.google.protobuf.Descriptors.FieldDescriptor field,
1858
- java.lang.Object value) {
1859
- return super.setField(field, value);
1860
- }
1861
- @java.lang.Override
1862
- public Builder clearField(
1863
- com.google.protobuf.Descriptors.FieldDescriptor field) {
1864
- return super.clearField(field);
1865
- }
1866
- @java.lang.Override
1867
- public Builder clearOneof(
1868
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
1869
- return super.clearOneof(oneof);
1870
- }
1871
- @java.lang.Override
1872
- public Builder setRepeatedField(
1873
- com.google.protobuf.Descriptors.FieldDescriptor field,
1874
- int index, java.lang.Object value) {
1875
- return super.setRepeatedField(field, index, value);
1876
- }
1877
- @java.lang.Override
1878
- public Builder addRepeatedField(
1879
- com.google.protobuf.Descriptors.FieldDescriptor field,
1880
- java.lang.Object value) {
1881
- return super.addRepeatedField(field, value);
1882
- }
1883
- @java.lang.Override
1884
- public Builder mergeFrom(com.google.protobuf.Message other) {
1885
- if (other instanceof com.lansweeper.dp.outbound.v1.Software) {
1886
- return mergeFrom((com.lansweeper.dp.outbound.v1.Software)other);
1887
- } else {
1888
- super.mergeFrom(other);
1889
- return this;
1890
- }
1891
- }
1892
-
1893
- public Builder mergeFrom(com.lansweeper.dp.outbound.v1.Software other) {
1894
- if (other == com.lansweeper.dp.outbound.v1.Software.getDefaultInstance()) return this;
1895
- if (other.hasRank()) {
1896
- setRank(other.getRank());
1897
- }
1898
- if (other.hasTypeId()) {
1899
- setTypeId(other.getTypeId());
1900
- }
1901
- if (other.hasCatId()) {
1902
- setCatId(other.getCatId());
1903
- }
1904
- if (other.hasMakeId()) {
1905
- setMakeId(other.getMakeId());
1906
- }
1907
- if (other.hasSwId()) {
1908
- setSwId(other.getSwId());
1909
- }
1910
- if (other.hasParentId()) {
1911
- setParentId(other.getParentId());
1912
- }
1913
- if (other.hasTypeName()) {
1914
- bitField0_ |= 0x00000040;
1915
- typeName_ = other.typeName_;
1916
- onChanged();
1917
- }
1918
- if (other.hasCatName()) {
1919
- bitField0_ |= 0x00000080;
1920
- catName_ = other.catName_;
1921
- onChanged();
1922
- }
1923
- if (other.hasMakeName()) {
1924
- bitField0_ |= 0x00000100;
1925
- makeName_ = other.makeName_;
1926
- onChanged();
1927
- }
1928
- if (other.hasName()) {
1929
- bitField0_ |= 0x00000200;
1930
- name_ = other.name_;
1931
- onChanged();
1932
- }
1933
- if (other.hasVersion()) {
1934
- bitField0_ |= 0x00000400;
1935
- version_ = other.version_;
1936
- onChanged();
1937
- }
1938
- if (other.hasMarketVer()) {
1939
- bitField0_ |= 0x00000800;
1940
- marketVer_ = other.marketVer_;
1941
- onChanged();
1942
- }
1943
- if (other.hasEdition()) {
1944
- bitField0_ |= 0x00001000;
1945
- edition_ = other.edition_;
1946
- onChanged();
1947
- }
1948
- if (other.hasBuild()) {
1949
- bitField0_ |= 0x00002000;
1950
- build_ = other.build_;
1951
- onChanged();
1952
- }
1953
- if (other.hasArch()) {
1954
- bitField0_ |= 0x00004000;
1955
- arch_ = other.arch_;
1956
- onChanged();
1957
- }
1958
- if (other.hasLang()) {
1959
- bitField0_ |= 0x00008000;
1960
- lang_ = other.lang_;
1961
- onChanged();
1962
- }
1963
- if (other.hasCpe()) {
1964
- bitField0_ |= 0x00010000;
1965
- cpe_ = other.cpe_;
1966
- onChanged();
1967
- }
1968
- if (other.hasCatalogBrand()) {
1969
- mergeCatalogBrand(other.getCatalogBrand());
1970
- }
1971
- if (other.hasCatalogSoftware()) {
1972
- mergeCatalogSoftware(other.getCatalogSoftware());
1973
- }
1974
- if (other.hasCatalogLatest()) {
1975
- mergeCatalogLatest(other.getCatalogLatest());
1976
- }
1977
- if (other.hasRaw()) {
1978
- mergeRaw(other.getRaw());
1979
- }
1980
- if (other.hasRawHash()) {
1981
- bitField0_ |= 0x00100000;
1982
- rawHash_ = other.rawHash_;
1983
- onChanged();
1984
- }
1985
- if (other.hasNreHash()) {
1986
- bitField0_ |= 0x00200000;
1987
- nreHash_ = other.nreHash_;
1988
- onChanged();
1989
- }
1990
- this.mergeUnknownFields(other.unknownFields);
1991
- onChanged();
1992
- return this;
1993
- }
1994
-
1995
- @java.lang.Override
1996
- public final boolean isInitialized() {
1997
- return true;
1998
- }
1999
-
2000
- @java.lang.Override
2001
- public Builder mergeFrom(
2002
- com.google.protobuf.CodedInputStream input,
2003
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2004
- throws java.io.IOException {
2005
- com.lansweeper.dp.outbound.v1.Software parsedMessage = null;
2006
- try {
2007
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2008
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2009
- parsedMessage = (com.lansweeper.dp.outbound.v1.Software) e.getUnfinishedMessage();
2010
- throw e.unwrapIOException();
2011
- } finally {
2012
- if (parsedMessage != null) {
2013
- mergeFrom(parsedMessage);
2014
- }
2015
- }
2016
- return this;
2017
- }
2018
- private int bitField0_;
2019
-
2020
- private int rank_ ;
2021
- /**
2022
- * <code>int32 rank = 1;</code>
2023
- * @return Whether the rank field is set.
2024
- */
2025
- @java.lang.Override
2026
- public boolean hasRank() {
2027
- return ((bitField0_ & 0x00000001) != 0);
2028
- }
2029
- /**
2030
- * <code>int32 rank = 1;</code>
2031
- * @return The rank.
2032
- */
2033
- @java.lang.Override
2034
- public int getRank() {
2035
- return rank_;
2036
- }
2037
- /**
2038
- * <code>int32 rank = 1;</code>
2039
- * @param value The rank to set.
2040
- * @return This builder for chaining.
2041
- */
2042
- public Builder setRank(int value) {
2043
- bitField0_ |= 0x00000001;
2044
- rank_ = value;
2045
- onChanged();
2046
- return this;
2047
- }
2048
- /**
2049
- * <code>int32 rank = 1;</code>
2050
- * @return This builder for chaining.
2051
- */
2052
- public Builder clearRank() {
2053
- bitField0_ = (bitField0_ & ~0x00000001);
2054
- rank_ = 0;
2055
- onChanged();
2056
- return this;
2057
- }
2058
-
2059
- private long typeId_ ;
2060
- /**
2061
- * <code>int64 type_id = 2;</code>
2062
- * @return Whether the typeId field is set.
2063
- */
2064
- @java.lang.Override
2065
- public boolean hasTypeId() {
2066
- return ((bitField0_ & 0x00000002) != 0);
2067
- }
2068
- /**
2069
- * <code>int64 type_id = 2;</code>
2070
- * @return The typeId.
2071
- */
2072
- @java.lang.Override
2073
- public long getTypeId() {
2074
- return typeId_;
2075
- }
2076
- /**
2077
- * <code>int64 type_id = 2;</code>
2078
- * @param value The typeId to set.
2079
- * @return This builder for chaining.
2080
- */
2081
- public Builder setTypeId(long value) {
2082
- bitField0_ |= 0x00000002;
2083
- typeId_ = value;
2084
- onChanged();
2085
- return this;
2086
- }
2087
- /**
2088
- * <code>int64 type_id = 2;</code>
2089
- * @return This builder for chaining.
2090
- */
2091
- public Builder clearTypeId() {
2092
- bitField0_ = (bitField0_ & ~0x00000002);
2093
- typeId_ = 0L;
2094
- onChanged();
2095
- return this;
2096
- }
2097
-
2098
- private long catId_ ;
2099
- /**
2100
- * <code>int64 cat_id = 3;</code>
2101
- * @return Whether the catId field is set.
2102
- */
2103
- @java.lang.Override
2104
- public boolean hasCatId() {
2105
- return ((bitField0_ & 0x00000004) != 0);
2106
- }
2107
- /**
2108
- * <code>int64 cat_id = 3;</code>
2109
- * @return The catId.
2110
- */
2111
- @java.lang.Override
2112
- public long getCatId() {
2113
- return catId_;
2114
- }
2115
- /**
2116
- * <code>int64 cat_id = 3;</code>
2117
- * @param value The catId to set.
2118
- * @return This builder for chaining.
2119
- */
2120
- public Builder setCatId(long value) {
2121
- bitField0_ |= 0x00000004;
2122
- catId_ = value;
2123
- onChanged();
2124
- return this;
2125
- }
2126
- /**
2127
- * <code>int64 cat_id = 3;</code>
2128
- * @return This builder for chaining.
2129
- */
2130
- public Builder clearCatId() {
2131
- bitField0_ = (bitField0_ & ~0x00000004);
2132
- catId_ = 0L;
2133
- onChanged();
2134
- return this;
2135
- }
2136
-
2137
- private long makeId_ ;
2138
- /**
2139
- * <code>int64 make_id = 4;</code>
2140
- * @return Whether the makeId field is set.
2141
- */
2142
- @java.lang.Override
2143
- public boolean hasMakeId() {
2144
- return ((bitField0_ & 0x00000008) != 0);
2145
- }
2146
- /**
2147
- * <code>int64 make_id = 4;</code>
2148
- * @return The makeId.
2149
- */
2150
- @java.lang.Override
2151
- public long getMakeId() {
2152
- return makeId_;
2153
- }
2154
- /**
2155
- * <code>int64 make_id = 4;</code>
2156
- * @param value The makeId to set.
2157
- * @return This builder for chaining.
2158
- */
2159
- public Builder setMakeId(long value) {
2160
- bitField0_ |= 0x00000008;
2161
- makeId_ = value;
2162
- onChanged();
2163
- return this;
2164
- }
2165
- /**
2166
- * <code>int64 make_id = 4;</code>
2167
- * @return This builder for chaining.
2168
- */
2169
- public Builder clearMakeId() {
2170
- bitField0_ = (bitField0_ & ~0x00000008);
2171
- makeId_ = 0L;
2172
- onChanged();
2173
- return this;
2174
- }
2175
-
2176
- private long swId_ ;
2177
- /**
2178
- * <code>int64 sw_id = 5;</code>
2179
- * @return Whether the swId field is set.
2180
- */
2181
- @java.lang.Override
2182
- public boolean hasSwId() {
2183
- return ((bitField0_ & 0x00000010) != 0);
2184
- }
2185
- /**
2186
- * <code>int64 sw_id = 5;</code>
2187
- * @return The swId.
2188
- */
2189
- @java.lang.Override
2190
- public long getSwId() {
2191
- return swId_;
2192
- }
2193
- /**
2194
- * <code>int64 sw_id = 5;</code>
2195
- * @param value The swId to set.
2196
- * @return This builder for chaining.
2197
- */
2198
- public Builder setSwId(long value) {
2199
- bitField0_ |= 0x00000010;
2200
- swId_ = value;
2201
- onChanged();
2202
- return this;
2203
- }
2204
- /**
2205
- * <code>int64 sw_id = 5;</code>
2206
- * @return This builder for chaining.
2207
- */
2208
- public Builder clearSwId() {
2209
- bitField0_ = (bitField0_ & ~0x00000010);
2210
- swId_ = 0L;
2211
- onChanged();
2212
- return this;
2213
- }
2214
-
2215
- private long parentId_ ;
2216
- /**
2217
- * <code>int64 parent_id = 6;</code>
2218
- * @return Whether the parentId field is set.
2219
- */
2220
- @java.lang.Override
2221
- public boolean hasParentId() {
2222
- return ((bitField0_ & 0x00000020) != 0);
2223
- }
2224
- /**
2225
- * <code>int64 parent_id = 6;</code>
2226
- * @return The parentId.
2227
- */
2228
- @java.lang.Override
2229
- public long getParentId() {
2230
- return parentId_;
2231
- }
2232
- /**
2233
- * <code>int64 parent_id = 6;</code>
2234
- * @param value The parentId to set.
2235
- * @return This builder for chaining.
2236
- */
2237
- public Builder setParentId(long value) {
2238
- bitField0_ |= 0x00000020;
2239
- parentId_ = value;
2240
- onChanged();
2241
- return this;
2242
- }
2243
- /**
2244
- * <code>int64 parent_id = 6;</code>
2245
- * @return This builder for chaining.
2246
- */
2247
- public Builder clearParentId() {
2248
- bitField0_ = (bitField0_ & ~0x00000020);
2249
- parentId_ = 0L;
2250
- onChanged();
2251
- return this;
2252
- }
2253
-
2254
- private java.lang.Object typeName_ = "";
2255
- /**
2256
- * <code>string type_name = 7;</code>
2257
- * @return Whether the typeName field is set.
2258
- */
2259
- public boolean hasTypeName() {
2260
- return ((bitField0_ & 0x00000040) != 0);
2261
- }
2262
- /**
2263
- * <code>string type_name = 7;</code>
2264
- * @return The typeName.
2265
- */
2266
- public java.lang.String getTypeName() {
2267
- java.lang.Object ref = typeName_;
2268
- if (!(ref instanceof java.lang.String)) {
2269
- com.google.protobuf.ByteString bs =
2270
- (com.google.protobuf.ByteString) ref;
2271
- java.lang.String s = bs.toStringUtf8();
2272
- typeName_ = s;
2273
- return s;
2274
- } else {
2275
- return (java.lang.String) ref;
2276
- }
2277
- }
2278
- /**
2279
- * <code>string type_name = 7;</code>
2280
- * @return The bytes for typeName.
2281
- */
2282
- public com.google.protobuf.ByteString
2283
- getTypeNameBytes() {
2284
- java.lang.Object ref = typeName_;
2285
- if (ref instanceof String) {
2286
- com.google.protobuf.ByteString b =
2287
- com.google.protobuf.ByteString.copyFromUtf8(
2288
- (java.lang.String) ref);
2289
- typeName_ = b;
2290
- return b;
2291
- } else {
2292
- return (com.google.protobuf.ByteString) ref;
2293
- }
2294
- }
2295
- /**
2296
- * <code>string type_name = 7;</code>
2297
- * @param value The typeName to set.
2298
- * @return This builder for chaining.
2299
- */
2300
- public Builder setTypeName(
2301
- java.lang.String value) {
2302
- if (value == null) {
2303
- throw new NullPointerException();
2304
- }
2305
- bitField0_ |= 0x00000040;
2306
- typeName_ = value;
2307
- onChanged();
2308
- return this;
2309
- }
2310
- /**
2311
- * <code>string type_name = 7;</code>
2312
- * @return This builder for chaining.
2313
- */
2314
- public Builder clearTypeName() {
2315
- bitField0_ = (bitField0_ & ~0x00000040);
2316
- typeName_ = getDefaultInstance().getTypeName();
2317
- onChanged();
2318
- return this;
2319
- }
2320
- /**
2321
- * <code>string type_name = 7;</code>
2322
- * @param value The bytes for typeName to set.
2323
- * @return This builder for chaining.
2324
- */
2325
- public Builder setTypeNameBytes(
2326
- com.google.protobuf.ByteString value) {
2327
- if (value == null) {
2328
- throw new NullPointerException();
2329
- }
2330
- checkByteStringIsUtf8(value);
2331
- bitField0_ |= 0x00000040;
2332
- typeName_ = value;
2333
- onChanged();
2334
- return this;
2335
- }
2336
-
2337
- private java.lang.Object catName_ = "";
2338
- /**
2339
- * <code>string cat_name = 8;</code>
2340
- * @return Whether the catName field is set.
2341
- */
2342
- public boolean hasCatName() {
2343
- return ((bitField0_ & 0x00000080) != 0);
2344
- }
2345
- /**
2346
- * <code>string cat_name = 8;</code>
2347
- * @return The catName.
2348
- */
2349
- public java.lang.String getCatName() {
2350
- java.lang.Object ref = catName_;
2351
- if (!(ref instanceof java.lang.String)) {
2352
- com.google.protobuf.ByteString bs =
2353
- (com.google.protobuf.ByteString) ref;
2354
- java.lang.String s = bs.toStringUtf8();
2355
- catName_ = s;
2356
- return s;
2357
- } else {
2358
- return (java.lang.String) ref;
2359
- }
2360
- }
2361
- /**
2362
- * <code>string cat_name = 8;</code>
2363
- * @return The bytes for catName.
2364
- */
2365
- public com.google.protobuf.ByteString
2366
- getCatNameBytes() {
2367
- java.lang.Object ref = catName_;
2368
- if (ref instanceof String) {
2369
- com.google.protobuf.ByteString b =
2370
- com.google.protobuf.ByteString.copyFromUtf8(
2371
- (java.lang.String) ref);
2372
- catName_ = b;
2373
- return b;
2374
- } else {
2375
- return (com.google.protobuf.ByteString) ref;
2376
- }
2377
- }
2378
- /**
2379
- * <code>string cat_name = 8;</code>
2380
- * @param value The catName to set.
2381
- * @return This builder for chaining.
2382
- */
2383
- public Builder setCatName(
2384
- java.lang.String value) {
2385
- if (value == null) {
2386
- throw new NullPointerException();
2387
- }
2388
- bitField0_ |= 0x00000080;
2389
- catName_ = value;
2390
- onChanged();
2391
- return this;
2392
- }
2393
- /**
2394
- * <code>string cat_name = 8;</code>
2395
- * @return This builder for chaining.
2396
- */
2397
- public Builder clearCatName() {
2398
- bitField0_ = (bitField0_ & ~0x00000080);
2399
- catName_ = getDefaultInstance().getCatName();
2400
- onChanged();
2401
- return this;
2402
- }
2403
- /**
2404
- * <code>string cat_name = 8;</code>
2405
- * @param value The bytes for catName to set.
2406
- * @return This builder for chaining.
2407
- */
2408
- public Builder setCatNameBytes(
2409
- com.google.protobuf.ByteString value) {
2410
- if (value == null) {
2411
- throw new NullPointerException();
2412
- }
2413
- checkByteStringIsUtf8(value);
2414
- bitField0_ |= 0x00000080;
2415
- catName_ = value;
2416
- onChanged();
2417
- return this;
2418
- }
2419
-
2420
- private java.lang.Object makeName_ = "";
2421
- /**
2422
- * <code>string make_name = 9;</code>
2423
- * @return Whether the makeName field is set.
2424
- */
2425
- public boolean hasMakeName() {
2426
- return ((bitField0_ & 0x00000100) != 0);
2427
- }
2428
- /**
2429
- * <code>string make_name = 9;</code>
2430
- * @return The makeName.
2431
- */
2432
- public java.lang.String getMakeName() {
2433
- java.lang.Object ref = makeName_;
2434
- if (!(ref instanceof java.lang.String)) {
2435
- com.google.protobuf.ByteString bs =
2436
- (com.google.protobuf.ByteString) ref;
2437
- java.lang.String s = bs.toStringUtf8();
2438
- makeName_ = s;
2439
- return s;
2440
- } else {
2441
- return (java.lang.String) ref;
2442
- }
2443
- }
2444
- /**
2445
- * <code>string make_name = 9;</code>
2446
- * @return The bytes for makeName.
2447
- */
2448
- public com.google.protobuf.ByteString
2449
- getMakeNameBytes() {
2450
- java.lang.Object ref = makeName_;
2451
- if (ref instanceof String) {
2452
- com.google.protobuf.ByteString b =
2453
- com.google.protobuf.ByteString.copyFromUtf8(
2454
- (java.lang.String) ref);
2455
- makeName_ = b;
2456
- return b;
2457
- } else {
2458
- return (com.google.protobuf.ByteString) ref;
2459
- }
2460
- }
2461
- /**
2462
- * <code>string make_name = 9;</code>
2463
- * @param value The makeName to set.
2464
- * @return This builder for chaining.
2465
- */
2466
- public Builder setMakeName(
2467
- java.lang.String value) {
2468
- if (value == null) {
2469
- throw new NullPointerException();
2470
- }
2471
- bitField0_ |= 0x00000100;
2472
- makeName_ = value;
2473
- onChanged();
2474
- return this;
2475
- }
2476
- /**
2477
- * <code>string make_name = 9;</code>
2478
- * @return This builder for chaining.
2479
- */
2480
- public Builder clearMakeName() {
2481
- bitField0_ = (bitField0_ & ~0x00000100);
2482
- makeName_ = getDefaultInstance().getMakeName();
2483
- onChanged();
2484
- return this;
2485
- }
2486
- /**
2487
- * <code>string make_name = 9;</code>
2488
- * @param value The bytes for makeName to set.
2489
- * @return This builder for chaining.
2490
- */
2491
- public Builder setMakeNameBytes(
2492
- com.google.protobuf.ByteString value) {
2493
- if (value == null) {
2494
- throw new NullPointerException();
2495
- }
2496
- checkByteStringIsUtf8(value);
2497
- bitField0_ |= 0x00000100;
2498
- makeName_ = value;
2499
- onChanged();
2500
- return this;
2501
- }
2502
-
2503
- private java.lang.Object name_ = "";
2504
- /**
2505
- * <code>string name = 10;</code>
2506
- * @return Whether the name field is set.
2507
- */
2508
- public boolean hasName() {
2509
- return ((bitField0_ & 0x00000200) != 0);
2510
- }
2511
- /**
2512
- * <code>string name = 10;</code>
2513
- * @return The name.
2514
- */
2515
- public java.lang.String getName() {
2516
- java.lang.Object ref = name_;
2517
- if (!(ref instanceof java.lang.String)) {
2518
- com.google.protobuf.ByteString bs =
2519
- (com.google.protobuf.ByteString) ref;
2520
- java.lang.String s = bs.toStringUtf8();
2521
- name_ = s;
2522
- return s;
2523
- } else {
2524
- return (java.lang.String) ref;
2525
- }
2526
- }
2527
- /**
2528
- * <code>string name = 10;</code>
2529
- * @return The bytes for name.
2530
- */
2531
- public com.google.protobuf.ByteString
2532
- getNameBytes() {
2533
- java.lang.Object ref = name_;
2534
- if (ref instanceof String) {
2535
- com.google.protobuf.ByteString b =
2536
- com.google.protobuf.ByteString.copyFromUtf8(
2537
- (java.lang.String) ref);
2538
- name_ = b;
2539
- return b;
2540
- } else {
2541
- return (com.google.protobuf.ByteString) ref;
2542
- }
2543
- }
2544
- /**
2545
- * <code>string name = 10;</code>
2546
- * @param value The name to set.
2547
- * @return This builder for chaining.
2548
- */
2549
- public Builder setName(
2550
- java.lang.String value) {
2551
- if (value == null) {
2552
- throw new NullPointerException();
2553
- }
2554
- bitField0_ |= 0x00000200;
2555
- name_ = value;
2556
- onChanged();
2557
- return this;
2558
- }
2559
- /**
2560
- * <code>string name = 10;</code>
2561
- * @return This builder for chaining.
2562
- */
2563
- public Builder clearName() {
2564
- bitField0_ = (bitField0_ & ~0x00000200);
2565
- name_ = getDefaultInstance().getName();
2566
- onChanged();
2567
- return this;
2568
- }
2569
- /**
2570
- * <code>string name = 10;</code>
2571
- * @param value The bytes for name to set.
2572
- * @return This builder for chaining.
2573
- */
2574
- public Builder setNameBytes(
2575
- com.google.protobuf.ByteString value) {
2576
- if (value == null) {
2577
- throw new NullPointerException();
2578
- }
2579
- checkByteStringIsUtf8(value);
2580
- bitField0_ |= 0x00000200;
2581
- name_ = value;
2582
- onChanged();
2583
- return this;
2584
- }
2585
-
2586
- private java.lang.Object version_ = "";
2587
- /**
2588
- * <code>string version = 11;</code>
2589
- * @return Whether the version field is set.
2590
- */
2591
- public boolean hasVersion() {
2592
- return ((bitField0_ & 0x00000400) != 0);
2593
- }
2594
- /**
2595
- * <code>string version = 11;</code>
2596
- * @return The version.
2597
- */
2598
- public java.lang.String getVersion() {
2599
- java.lang.Object ref = version_;
2600
- if (!(ref instanceof java.lang.String)) {
2601
- com.google.protobuf.ByteString bs =
2602
- (com.google.protobuf.ByteString) ref;
2603
- java.lang.String s = bs.toStringUtf8();
2604
- version_ = s;
2605
- return s;
2606
- } else {
2607
- return (java.lang.String) ref;
2608
- }
2609
- }
2610
- /**
2611
- * <code>string version = 11;</code>
2612
- * @return The bytes for version.
2613
- */
2614
- public com.google.protobuf.ByteString
2615
- getVersionBytes() {
2616
- java.lang.Object ref = version_;
2617
- if (ref instanceof String) {
2618
- com.google.protobuf.ByteString b =
2619
- com.google.protobuf.ByteString.copyFromUtf8(
2620
- (java.lang.String) ref);
2621
- version_ = b;
2622
- return b;
2623
- } else {
2624
- return (com.google.protobuf.ByteString) ref;
2625
- }
2626
- }
2627
- /**
2628
- * <code>string version = 11;</code>
2629
- * @param value The version to set.
2630
- * @return This builder for chaining.
2631
- */
2632
- public Builder setVersion(
2633
- java.lang.String value) {
2634
- if (value == null) {
2635
- throw new NullPointerException();
2636
- }
2637
- bitField0_ |= 0x00000400;
2638
- version_ = value;
2639
- onChanged();
2640
- return this;
2641
- }
2642
- /**
2643
- * <code>string version = 11;</code>
2644
- * @return This builder for chaining.
2645
- */
2646
- public Builder clearVersion() {
2647
- bitField0_ = (bitField0_ & ~0x00000400);
2648
- version_ = getDefaultInstance().getVersion();
2649
- onChanged();
2650
- return this;
2651
- }
2652
- /**
2653
- * <code>string version = 11;</code>
2654
- * @param value The bytes for version to set.
2655
- * @return This builder for chaining.
2656
- */
2657
- public Builder setVersionBytes(
2658
- com.google.protobuf.ByteString value) {
2659
- if (value == null) {
2660
- throw new NullPointerException();
2661
- }
2662
- checkByteStringIsUtf8(value);
2663
- bitField0_ |= 0x00000400;
2664
- version_ = value;
2665
- onChanged();
2666
- return this;
2667
- }
2668
-
2669
- private java.lang.Object marketVer_ = "";
2670
- /**
2671
- * <code>string market_ver = 12;</code>
2672
- * @return Whether the marketVer field is set.
2673
- */
2674
- public boolean hasMarketVer() {
2675
- return ((bitField0_ & 0x00000800) != 0);
2676
- }
2677
- /**
2678
- * <code>string market_ver = 12;</code>
2679
- * @return The marketVer.
2680
- */
2681
- public java.lang.String getMarketVer() {
2682
- java.lang.Object ref = marketVer_;
2683
- if (!(ref instanceof java.lang.String)) {
2684
- com.google.protobuf.ByteString bs =
2685
- (com.google.protobuf.ByteString) ref;
2686
- java.lang.String s = bs.toStringUtf8();
2687
- marketVer_ = s;
2688
- return s;
2689
- } else {
2690
- return (java.lang.String) ref;
2691
- }
2692
- }
2693
- /**
2694
- * <code>string market_ver = 12;</code>
2695
- * @return The bytes for marketVer.
2696
- */
2697
- public com.google.protobuf.ByteString
2698
- getMarketVerBytes() {
2699
- java.lang.Object ref = marketVer_;
2700
- if (ref instanceof String) {
2701
- com.google.protobuf.ByteString b =
2702
- com.google.protobuf.ByteString.copyFromUtf8(
2703
- (java.lang.String) ref);
2704
- marketVer_ = b;
2705
- return b;
2706
- } else {
2707
- return (com.google.protobuf.ByteString) ref;
2708
- }
2709
- }
2710
- /**
2711
- * <code>string market_ver = 12;</code>
2712
- * @param value The marketVer to set.
2713
- * @return This builder for chaining.
2714
- */
2715
- public Builder setMarketVer(
2716
- java.lang.String value) {
2717
- if (value == null) {
2718
- throw new NullPointerException();
2719
- }
2720
- bitField0_ |= 0x00000800;
2721
- marketVer_ = value;
2722
- onChanged();
2723
- return this;
2724
- }
2725
- /**
2726
- * <code>string market_ver = 12;</code>
2727
- * @return This builder for chaining.
2728
- */
2729
- public Builder clearMarketVer() {
2730
- bitField0_ = (bitField0_ & ~0x00000800);
2731
- marketVer_ = getDefaultInstance().getMarketVer();
2732
- onChanged();
2733
- return this;
2734
- }
2735
- /**
2736
- * <code>string market_ver = 12;</code>
2737
- * @param value The bytes for marketVer to set.
2738
- * @return This builder for chaining.
2739
- */
2740
- public Builder setMarketVerBytes(
2741
- com.google.protobuf.ByteString value) {
2742
- if (value == null) {
2743
- throw new NullPointerException();
2744
- }
2745
- checkByteStringIsUtf8(value);
2746
- bitField0_ |= 0x00000800;
2747
- marketVer_ = value;
2748
- onChanged();
2749
- return this;
2750
- }
2751
-
2752
- private java.lang.Object edition_ = "";
2753
- /**
2754
- * <code>string edition = 13;</code>
2755
- * @return Whether the edition field is set.
2756
- */
2757
- public boolean hasEdition() {
2758
- return ((bitField0_ & 0x00001000) != 0);
2759
- }
2760
- /**
2761
- * <code>string edition = 13;</code>
2762
- * @return The edition.
2763
- */
2764
- public java.lang.String getEdition() {
2765
- java.lang.Object ref = edition_;
2766
- if (!(ref instanceof java.lang.String)) {
2767
- com.google.protobuf.ByteString bs =
2768
- (com.google.protobuf.ByteString) ref;
2769
- java.lang.String s = bs.toStringUtf8();
2770
- edition_ = s;
2771
- return s;
2772
- } else {
2773
- return (java.lang.String) ref;
2774
- }
2775
- }
2776
- /**
2777
- * <code>string edition = 13;</code>
2778
- * @return The bytes for edition.
2779
- */
2780
- public com.google.protobuf.ByteString
2781
- getEditionBytes() {
2782
- java.lang.Object ref = edition_;
2783
- if (ref instanceof String) {
2784
- com.google.protobuf.ByteString b =
2785
- com.google.protobuf.ByteString.copyFromUtf8(
2786
- (java.lang.String) ref);
2787
- edition_ = b;
2788
- return b;
2789
- } else {
2790
- return (com.google.protobuf.ByteString) ref;
2791
- }
2792
- }
2793
- /**
2794
- * <code>string edition = 13;</code>
2795
- * @param value The edition to set.
2796
- * @return This builder for chaining.
2797
- */
2798
- public Builder setEdition(
2799
- java.lang.String value) {
2800
- if (value == null) {
2801
- throw new NullPointerException();
2802
- }
2803
- bitField0_ |= 0x00001000;
2804
- edition_ = value;
2805
- onChanged();
2806
- return this;
2807
- }
2808
- /**
2809
- * <code>string edition = 13;</code>
2810
- * @return This builder for chaining.
2811
- */
2812
- public Builder clearEdition() {
2813
- bitField0_ = (bitField0_ & ~0x00001000);
2814
- edition_ = getDefaultInstance().getEdition();
2815
- onChanged();
2816
- return this;
2817
- }
2818
- /**
2819
- * <code>string edition = 13;</code>
2820
- * @param value The bytes for edition to set.
2821
- * @return This builder for chaining.
2822
- */
2823
- public Builder setEditionBytes(
2824
- com.google.protobuf.ByteString value) {
2825
- if (value == null) {
2826
- throw new NullPointerException();
2827
- }
2828
- checkByteStringIsUtf8(value);
2829
- bitField0_ |= 0x00001000;
2830
- edition_ = value;
2831
- onChanged();
2832
- return this;
2833
- }
2834
-
2835
- private java.lang.Object build_ = "";
2836
- /**
2837
- * <code>string build = 14;</code>
2838
- * @return Whether the build field is set.
2839
- */
2840
- public boolean hasBuild() {
2841
- return ((bitField0_ & 0x00002000) != 0);
2842
- }
2843
- /**
2844
- * <code>string build = 14;</code>
2845
- * @return The build.
2846
- */
2847
- public java.lang.String getBuild() {
2848
- java.lang.Object ref = build_;
2849
- if (!(ref instanceof java.lang.String)) {
2850
- com.google.protobuf.ByteString bs =
2851
- (com.google.protobuf.ByteString) ref;
2852
- java.lang.String s = bs.toStringUtf8();
2853
- build_ = s;
2854
- return s;
2855
- } else {
2856
- return (java.lang.String) ref;
2857
- }
2858
- }
2859
- /**
2860
- * <code>string build = 14;</code>
2861
- * @return The bytes for build.
2862
- */
2863
- public com.google.protobuf.ByteString
2864
- getBuildBytes() {
2865
- java.lang.Object ref = build_;
2866
- if (ref instanceof String) {
2867
- com.google.protobuf.ByteString b =
2868
- com.google.protobuf.ByteString.copyFromUtf8(
2869
- (java.lang.String) ref);
2870
- build_ = b;
2871
- return b;
2872
- } else {
2873
- return (com.google.protobuf.ByteString) ref;
2874
- }
2875
- }
2876
- /**
2877
- * <code>string build = 14;</code>
2878
- * @param value The build to set.
2879
- * @return This builder for chaining.
2880
- */
2881
- public Builder setBuild(
2882
- java.lang.String value) {
2883
- if (value == null) {
2884
- throw new NullPointerException();
2885
- }
2886
- bitField0_ |= 0x00002000;
2887
- build_ = value;
2888
- onChanged();
2889
- return this;
2890
- }
2891
- /**
2892
- * <code>string build = 14;</code>
2893
- * @return This builder for chaining.
2894
- */
2895
- public Builder clearBuild() {
2896
- bitField0_ = (bitField0_ & ~0x00002000);
2897
- build_ = getDefaultInstance().getBuild();
2898
- onChanged();
2899
- return this;
2900
- }
2901
- /**
2902
- * <code>string build = 14;</code>
2903
- * @param value The bytes for build to set.
2904
- * @return This builder for chaining.
2905
- */
2906
- public Builder setBuildBytes(
2907
- com.google.protobuf.ByteString value) {
2908
- if (value == null) {
2909
- throw new NullPointerException();
2910
- }
2911
- checkByteStringIsUtf8(value);
2912
- bitField0_ |= 0x00002000;
2913
- build_ = value;
2914
- onChanged();
2915
- return this;
2916
- }
2917
-
2918
- private java.lang.Object arch_ = "";
2919
- /**
2920
- * <code>string arch = 20;</code>
2921
- * @return Whether the arch field is set.
2922
- */
2923
- public boolean hasArch() {
2924
- return ((bitField0_ & 0x00004000) != 0);
2925
- }
2926
- /**
2927
- * <code>string arch = 20;</code>
2928
- * @return The arch.
2929
- */
2930
- public java.lang.String getArch() {
2931
- java.lang.Object ref = arch_;
2932
- if (!(ref instanceof java.lang.String)) {
2933
- com.google.protobuf.ByteString bs =
2934
- (com.google.protobuf.ByteString) ref;
2935
- java.lang.String s = bs.toStringUtf8();
2936
- arch_ = s;
2937
- return s;
2938
- } else {
2939
- return (java.lang.String) ref;
2940
- }
2941
- }
2942
- /**
2943
- * <code>string arch = 20;</code>
2944
- * @return The bytes for arch.
2945
- */
2946
- public com.google.protobuf.ByteString
2947
- getArchBytes() {
2948
- java.lang.Object ref = arch_;
2949
- if (ref instanceof String) {
2950
- com.google.protobuf.ByteString b =
2951
- com.google.protobuf.ByteString.copyFromUtf8(
2952
- (java.lang.String) ref);
2953
- arch_ = b;
2954
- return b;
2955
- } else {
2956
- return (com.google.protobuf.ByteString) ref;
2957
- }
2958
- }
2959
- /**
2960
- * <code>string arch = 20;</code>
2961
- * @param value The arch to set.
2962
- * @return This builder for chaining.
2963
- */
2964
- public Builder setArch(
2965
- java.lang.String value) {
2966
- if (value == null) {
2967
- throw new NullPointerException();
2968
- }
2969
- bitField0_ |= 0x00004000;
2970
- arch_ = value;
2971
- onChanged();
2972
- return this;
2973
- }
2974
- /**
2975
- * <code>string arch = 20;</code>
2976
- * @return This builder for chaining.
2977
- */
2978
- public Builder clearArch() {
2979
- bitField0_ = (bitField0_ & ~0x00004000);
2980
- arch_ = getDefaultInstance().getArch();
2981
- onChanged();
2982
- return this;
2983
- }
2984
- /**
2985
- * <code>string arch = 20;</code>
2986
- * @param value The bytes for arch to set.
2987
- * @return This builder for chaining.
2988
- */
2989
- public Builder setArchBytes(
2990
- com.google.protobuf.ByteString value) {
2991
- if (value == null) {
2992
- throw new NullPointerException();
2993
- }
2994
- checkByteStringIsUtf8(value);
2995
- bitField0_ |= 0x00004000;
2996
- arch_ = value;
2997
- onChanged();
2998
- return this;
2999
- }
3000
-
3001
- private java.lang.Object lang_ = "";
3002
- /**
3003
- * <code>string lang = 21;</code>
3004
- * @return Whether the lang field is set.
3005
- */
3006
- public boolean hasLang() {
3007
- return ((bitField0_ & 0x00008000) != 0);
3008
- }
3009
- /**
3010
- * <code>string lang = 21;</code>
3011
- * @return The lang.
3012
- */
3013
- public java.lang.String getLang() {
3014
- java.lang.Object ref = lang_;
3015
- if (!(ref instanceof java.lang.String)) {
3016
- com.google.protobuf.ByteString bs =
3017
- (com.google.protobuf.ByteString) ref;
3018
- java.lang.String s = bs.toStringUtf8();
3019
- lang_ = s;
3020
- return s;
3021
- } else {
3022
- return (java.lang.String) ref;
3023
- }
3024
- }
3025
- /**
3026
- * <code>string lang = 21;</code>
3027
- * @return The bytes for lang.
3028
- */
3029
- public com.google.protobuf.ByteString
3030
- getLangBytes() {
3031
- java.lang.Object ref = lang_;
3032
- if (ref instanceof String) {
3033
- com.google.protobuf.ByteString b =
3034
- com.google.protobuf.ByteString.copyFromUtf8(
3035
- (java.lang.String) ref);
3036
- lang_ = b;
3037
- return b;
3038
- } else {
3039
- return (com.google.protobuf.ByteString) ref;
3040
- }
3041
- }
3042
- /**
3043
- * <code>string lang = 21;</code>
3044
- * @param value The lang to set.
3045
- * @return This builder for chaining.
3046
- */
3047
- public Builder setLang(
3048
- java.lang.String value) {
3049
- if (value == null) {
3050
- throw new NullPointerException();
3051
- }
3052
- bitField0_ |= 0x00008000;
3053
- lang_ = value;
3054
- onChanged();
3055
- return this;
3056
- }
3057
- /**
3058
- * <code>string lang = 21;</code>
3059
- * @return This builder for chaining.
3060
- */
3061
- public Builder clearLang() {
3062
- bitField0_ = (bitField0_ & ~0x00008000);
3063
- lang_ = getDefaultInstance().getLang();
3064
- onChanged();
3065
- return this;
3066
- }
3067
- /**
3068
- * <code>string lang = 21;</code>
3069
- * @param value The bytes for lang to set.
3070
- * @return This builder for chaining.
3071
- */
3072
- public Builder setLangBytes(
3073
- com.google.protobuf.ByteString value) {
3074
- if (value == null) {
3075
- throw new NullPointerException();
3076
- }
3077
- checkByteStringIsUtf8(value);
3078
- bitField0_ |= 0x00008000;
3079
- lang_ = value;
3080
- onChanged();
3081
- return this;
3082
- }
3083
-
3084
- private java.lang.Object cpe_ = "";
3085
- /**
3086
- * <code>string cpe = 15;</code>
3087
- * @return Whether the cpe field is set.
3088
- */
3089
- public boolean hasCpe() {
3090
- return ((bitField0_ & 0x00010000) != 0);
3091
- }
3092
- /**
3093
- * <code>string cpe = 15;</code>
3094
- * @return The cpe.
3095
- */
3096
- public java.lang.String getCpe() {
3097
- java.lang.Object ref = cpe_;
3098
- if (!(ref instanceof java.lang.String)) {
3099
- com.google.protobuf.ByteString bs =
3100
- (com.google.protobuf.ByteString) ref;
3101
- java.lang.String s = bs.toStringUtf8();
3102
- cpe_ = s;
3103
- return s;
3104
- } else {
3105
- return (java.lang.String) ref;
3106
- }
3107
- }
3108
- /**
3109
- * <code>string cpe = 15;</code>
3110
- * @return The bytes for cpe.
3111
- */
3112
- public com.google.protobuf.ByteString
3113
- getCpeBytes() {
3114
- java.lang.Object ref = cpe_;
3115
- if (ref instanceof String) {
3116
- com.google.protobuf.ByteString b =
3117
- com.google.protobuf.ByteString.copyFromUtf8(
3118
- (java.lang.String) ref);
3119
- cpe_ = b;
3120
- return b;
3121
- } else {
3122
- return (com.google.protobuf.ByteString) ref;
3123
- }
3124
- }
3125
- /**
3126
- * <code>string cpe = 15;</code>
3127
- * @param value The cpe to set.
3128
- * @return This builder for chaining.
3129
- */
3130
- public Builder setCpe(
3131
- java.lang.String value) {
3132
- if (value == null) {
3133
- throw new NullPointerException();
3134
- }
3135
- bitField0_ |= 0x00010000;
3136
- cpe_ = value;
3137
- onChanged();
3138
- return this;
3139
- }
3140
- /**
3141
- * <code>string cpe = 15;</code>
3142
- * @return This builder for chaining.
3143
- */
3144
- public Builder clearCpe() {
3145
- bitField0_ = (bitField0_ & ~0x00010000);
3146
- cpe_ = getDefaultInstance().getCpe();
3147
- onChanged();
3148
- return this;
3149
- }
3150
- /**
3151
- * <code>string cpe = 15;</code>
3152
- * @param value The bytes for cpe to set.
3153
- * @return This builder for chaining.
3154
- */
3155
- public Builder setCpeBytes(
3156
- com.google.protobuf.ByteString value) {
3157
- if (value == null) {
3158
- throw new NullPointerException();
3159
- }
3160
- checkByteStringIsUtf8(value);
3161
- bitField0_ |= 0x00010000;
3162
- cpe_ = value;
3163
- onChanged();
3164
- return this;
3165
- }
3166
-
3167
- private com.lansweeper.dp.outbound.v1.CatalogBrand catalogBrand_;
3168
- private com.google.protobuf.SingleFieldBuilderV3<
3169
- com.lansweeper.dp.outbound.v1.CatalogBrand, com.lansweeper.dp.outbound.v1.CatalogBrand.Builder, com.lansweeper.dp.outbound.v1.CatalogBrandOrBuilder> catalogBrandBuilder_;
3170
- /**
3171
- * <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
3172
- * @return Whether the catalogBrand field is set.
3173
- */
3174
- public boolean hasCatalogBrand() {
3175
- return ((bitField0_ & 0x00020000) != 0);
3176
- }
3177
- /**
3178
- * <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
3179
- * @return The catalogBrand.
3180
- */
3181
- public com.lansweeper.dp.outbound.v1.CatalogBrand getCatalogBrand() {
3182
- if (catalogBrandBuilder_ == null) {
3183
- return catalogBrand_ == null ? com.lansweeper.dp.outbound.v1.CatalogBrand.getDefaultInstance() : catalogBrand_;
3184
- } else {
3185
- return catalogBrandBuilder_.getMessage();
3186
- }
3187
- }
3188
- /**
3189
- * <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
3190
- */
3191
- public Builder setCatalogBrand(com.lansweeper.dp.outbound.v1.CatalogBrand value) {
3192
- if (catalogBrandBuilder_ == null) {
3193
- if (value == null) {
3194
- throw new NullPointerException();
3195
- }
3196
- catalogBrand_ = value;
3197
- onChanged();
3198
- } else {
3199
- catalogBrandBuilder_.setMessage(value);
3200
- }
3201
- bitField0_ |= 0x00020000;
3202
- return this;
3203
- }
3204
- /**
3205
- * <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
3206
- */
3207
- public Builder setCatalogBrand(
3208
- com.lansweeper.dp.outbound.v1.CatalogBrand.Builder builderForValue) {
3209
- if (catalogBrandBuilder_ == null) {
3210
- catalogBrand_ = builderForValue.build();
3211
- onChanged();
3212
- } else {
3213
- catalogBrandBuilder_.setMessage(builderForValue.build());
3214
- }
3215
- bitField0_ |= 0x00020000;
3216
- return this;
3217
- }
3218
- /**
3219
- * <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
3220
- */
3221
- public Builder mergeCatalogBrand(com.lansweeper.dp.outbound.v1.CatalogBrand value) {
3222
- if (catalogBrandBuilder_ == null) {
3223
- if (((bitField0_ & 0x00020000) != 0) &&
3224
- catalogBrand_ != null &&
3225
- catalogBrand_ != com.lansweeper.dp.outbound.v1.CatalogBrand.getDefaultInstance()) {
3226
- catalogBrand_ =
3227
- com.lansweeper.dp.outbound.v1.CatalogBrand.newBuilder(catalogBrand_).mergeFrom(value).buildPartial();
3228
- } else {
3229
- catalogBrand_ = value;
3230
- }
3231
- onChanged();
3232
- } else {
3233
- catalogBrandBuilder_.mergeFrom(value);
3234
- }
3235
- bitField0_ |= 0x00020000;
3236
- return this;
3237
- }
3238
- /**
3239
- * <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
3240
- */
3241
- public Builder clearCatalogBrand() {
3242
- if (catalogBrandBuilder_ == null) {
3243
- catalogBrand_ = null;
3244
- onChanged();
3245
- } else {
3246
- catalogBrandBuilder_.clear();
3247
- }
3248
- bitField0_ = (bitField0_ & ~0x00020000);
3249
- return this;
3250
- }
3251
- /**
3252
- * <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
3253
- */
3254
- public com.lansweeper.dp.outbound.v1.CatalogBrand.Builder getCatalogBrandBuilder() {
3255
- bitField0_ |= 0x00020000;
3256
- onChanged();
3257
- return getCatalogBrandFieldBuilder().getBuilder();
3258
- }
3259
- /**
3260
- * <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
3261
- */
3262
- public com.lansweeper.dp.outbound.v1.CatalogBrandOrBuilder getCatalogBrandOrBuilder() {
3263
- if (catalogBrandBuilder_ != null) {
3264
- return catalogBrandBuilder_.getMessageOrBuilder();
3265
- } else {
3266
- return catalogBrand_ == null ?
3267
- com.lansweeper.dp.outbound.v1.CatalogBrand.getDefaultInstance() : catalogBrand_;
3268
- }
3269
- }
3270
- /**
3271
- * <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
3272
- */
3273
- private com.google.protobuf.SingleFieldBuilderV3<
3274
- com.lansweeper.dp.outbound.v1.CatalogBrand, com.lansweeper.dp.outbound.v1.CatalogBrand.Builder, com.lansweeper.dp.outbound.v1.CatalogBrandOrBuilder>
3275
- getCatalogBrandFieldBuilder() {
3276
- if (catalogBrandBuilder_ == null) {
3277
- catalogBrandBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
3278
- com.lansweeper.dp.outbound.v1.CatalogBrand, com.lansweeper.dp.outbound.v1.CatalogBrand.Builder, com.lansweeper.dp.outbound.v1.CatalogBrandOrBuilder>(
3279
- getCatalogBrand(),
3280
- getParentForChildren(),
3281
- isClean());
3282
- catalogBrand_ = null;
3283
- }
3284
- return catalogBrandBuilder_;
3285
- }
3286
-
3287
- private com.lansweeper.dp.outbound.v1.CatalogSoftware catalogSoftware_;
3288
- private com.google.protobuf.SingleFieldBuilderV3<
3289
- com.lansweeper.dp.outbound.v1.CatalogSoftware, com.lansweeper.dp.outbound.v1.CatalogSoftware.Builder, com.lansweeper.dp.outbound.v1.CatalogSoftwareOrBuilder> catalogSoftwareBuilder_;
3290
- /**
3291
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_software = 16;</code>
3292
- * @return Whether the catalogSoftware field is set.
3293
- */
3294
- public boolean hasCatalogSoftware() {
3295
- return ((bitField0_ & 0x00040000) != 0);
3296
- }
3297
- /**
3298
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_software = 16;</code>
3299
- * @return The catalogSoftware.
3300
- */
3301
- public com.lansweeper.dp.outbound.v1.CatalogSoftware getCatalogSoftware() {
3302
- if (catalogSoftwareBuilder_ == null) {
3303
- return catalogSoftware_ == null ? com.lansweeper.dp.outbound.v1.CatalogSoftware.getDefaultInstance() : catalogSoftware_;
3304
- } else {
3305
- return catalogSoftwareBuilder_.getMessage();
3306
- }
3307
- }
3308
- /**
3309
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_software = 16;</code>
3310
- */
3311
- public Builder setCatalogSoftware(com.lansweeper.dp.outbound.v1.CatalogSoftware value) {
3312
- if (catalogSoftwareBuilder_ == null) {
3313
- if (value == null) {
3314
- throw new NullPointerException();
3315
- }
3316
- catalogSoftware_ = value;
3317
- onChanged();
3318
- } else {
3319
- catalogSoftwareBuilder_.setMessage(value);
3320
- }
3321
- bitField0_ |= 0x00040000;
3322
- return this;
3323
- }
3324
- /**
3325
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_software = 16;</code>
3326
- */
3327
- public Builder setCatalogSoftware(
3328
- com.lansweeper.dp.outbound.v1.CatalogSoftware.Builder builderForValue) {
3329
- if (catalogSoftwareBuilder_ == null) {
3330
- catalogSoftware_ = builderForValue.build();
3331
- onChanged();
3332
- } else {
3333
- catalogSoftwareBuilder_.setMessage(builderForValue.build());
3334
- }
3335
- bitField0_ |= 0x00040000;
3336
- return this;
3337
- }
3338
- /**
3339
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_software = 16;</code>
3340
- */
3341
- public Builder mergeCatalogSoftware(com.lansweeper.dp.outbound.v1.CatalogSoftware value) {
3342
- if (catalogSoftwareBuilder_ == null) {
3343
- if (((bitField0_ & 0x00040000) != 0) &&
3344
- catalogSoftware_ != null &&
3345
- catalogSoftware_ != com.lansweeper.dp.outbound.v1.CatalogSoftware.getDefaultInstance()) {
3346
- catalogSoftware_ =
3347
- com.lansweeper.dp.outbound.v1.CatalogSoftware.newBuilder(catalogSoftware_).mergeFrom(value).buildPartial();
3348
- } else {
3349
- catalogSoftware_ = value;
3350
- }
3351
- onChanged();
3352
- } else {
3353
- catalogSoftwareBuilder_.mergeFrom(value);
3354
- }
3355
- bitField0_ |= 0x00040000;
3356
- return this;
3357
- }
3358
- /**
3359
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_software = 16;</code>
3360
- */
3361
- public Builder clearCatalogSoftware() {
3362
- if (catalogSoftwareBuilder_ == null) {
3363
- catalogSoftware_ = null;
3364
- onChanged();
3365
- } else {
3366
- catalogSoftwareBuilder_.clear();
3367
- }
3368
- bitField0_ = (bitField0_ & ~0x00040000);
3369
- return this;
3370
- }
3371
- /**
3372
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_software = 16;</code>
3373
- */
3374
- public com.lansweeper.dp.outbound.v1.CatalogSoftware.Builder getCatalogSoftwareBuilder() {
3375
- bitField0_ |= 0x00040000;
3376
- onChanged();
3377
- return getCatalogSoftwareFieldBuilder().getBuilder();
3378
- }
3379
- /**
3380
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_software = 16;</code>
3381
- */
3382
- public com.lansweeper.dp.outbound.v1.CatalogSoftwareOrBuilder getCatalogSoftwareOrBuilder() {
3383
- if (catalogSoftwareBuilder_ != null) {
3384
- return catalogSoftwareBuilder_.getMessageOrBuilder();
3385
- } else {
3386
- return catalogSoftware_ == null ?
3387
- com.lansweeper.dp.outbound.v1.CatalogSoftware.getDefaultInstance() : catalogSoftware_;
3388
- }
3389
- }
3390
- /**
3391
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_software = 16;</code>
3392
- */
3393
- private com.google.protobuf.SingleFieldBuilderV3<
3394
- com.lansweeper.dp.outbound.v1.CatalogSoftware, com.lansweeper.dp.outbound.v1.CatalogSoftware.Builder, com.lansweeper.dp.outbound.v1.CatalogSoftwareOrBuilder>
3395
- getCatalogSoftwareFieldBuilder() {
3396
- if (catalogSoftwareBuilder_ == null) {
3397
- catalogSoftwareBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
3398
- com.lansweeper.dp.outbound.v1.CatalogSoftware, com.lansweeper.dp.outbound.v1.CatalogSoftware.Builder, com.lansweeper.dp.outbound.v1.CatalogSoftwareOrBuilder>(
3399
- getCatalogSoftware(),
3400
- getParentForChildren(),
3401
- isClean());
3402
- catalogSoftware_ = null;
3403
- }
3404
- return catalogSoftwareBuilder_;
3405
- }
3406
-
3407
- private com.lansweeper.dp.outbound.v1.CatalogSoftware catalogLatest_;
3408
- private com.google.protobuf.SingleFieldBuilderV3<
3409
- com.lansweeper.dp.outbound.v1.CatalogSoftware, com.lansweeper.dp.outbound.v1.CatalogSoftware.Builder, com.lansweeper.dp.outbound.v1.CatalogSoftwareOrBuilder> catalogLatestBuilder_;
3410
- /**
3411
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_latest = 23;</code>
3412
- * @return Whether the catalogLatest field is set.
3413
- */
3414
- public boolean hasCatalogLatest() {
3415
- return ((bitField0_ & 0x00080000) != 0);
3416
- }
3417
- /**
3418
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_latest = 23;</code>
3419
- * @return The catalogLatest.
3420
- */
3421
- public com.lansweeper.dp.outbound.v1.CatalogSoftware getCatalogLatest() {
3422
- if (catalogLatestBuilder_ == null) {
3423
- return catalogLatest_ == null ? com.lansweeper.dp.outbound.v1.CatalogSoftware.getDefaultInstance() : catalogLatest_;
3424
- } else {
3425
- return catalogLatestBuilder_.getMessage();
3426
- }
3427
- }
3428
- /**
3429
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_latest = 23;</code>
3430
- */
3431
- public Builder setCatalogLatest(com.lansweeper.dp.outbound.v1.CatalogSoftware value) {
3432
- if (catalogLatestBuilder_ == null) {
3433
- if (value == null) {
3434
- throw new NullPointerException();
3435
- }
3436
- catalogLatest_ = value;
3437
- onChanged();
3438
- } else {
3439
- catalogLatestBuilder_.setMessage(value);
3440
- }
3441
- bitField0_ |= 0x00080000;
3442
- return this;
3443
- }
3444
- /**
3445
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_latest = 23;</code>
3446
- */
3447
- public Builder setCatalogLatest(
3448
- com.lansweeper.dp.outbound.v1.CatalogSoftware.Builder builderForValue) {
3449
- if (catalogLatestBuilder_ == null) {
3450
- catalogLatest_ = builderForValue.build();
3451
- onChanged();
3452
- } else {
3453
- catalogLatestBuilder_.setMessage(builderForValue.build());
3454
- }
3455
- bitField0_ |= 0x00080000;
3456
- return this;
3457
- }
3458
- /**
3459
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_latest = 23;</code>
3460
- */
3461
- public Builder mergeCatalogLatest(com.lansweeper.dp.outbound.v1.CatalogSoftware value) {
3462
- if (catalogLatestBuilder_ == null) {
3463
- if (((bitField0_ & 0x00080000) != 0) &&
3464
- catalogLatest_ != null &&
3465
- catalogLatest_ != com.lansweeper.dp.outbound.v1.CatalogSoftware.getDefaultInstance()) {
3466
- catalogLatest_ =
3467
- com.lansweeper.dp.outbound.v1.CatalogSoftware.newBuilder(catalogLatest_).mergeFrom(value).buildPartial();
3468
- } else {
3469
- catalogLatest_ = value;
3470
- }
3471
- onChanged();
3472
- } else {
3473
- catalogLatestBuilder_.mergeFrom(value);
3474
- }
3475
- bitField0_ |= 0x00080000;
3476
- return this;
3477
- }
3478
- /**
3479
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_latest = 23;</code>
3480
- */
3481
- public Builder clearCatalogLatest() {
3482
- if (catalogLatestBuilder_ == null) {
3483
- catalogLatest_ = null;
3484
- onChanged();
3485
- } else {
3486
- catalogLatestBuilder_.clear();
3487
- }
3488
- bitField0_ = (bitField0_ & ~0x00080000);
3489
- return this;
3490
- }
3491
- /**
3492
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_latest = 23;</code>
3493
- */
3494
- public com.lansweeper.dp.outbound.v1.CatalogSoftware.Builder getCatalogLatestBuilder() {
3495
- bitField0_ |= 0x00080000;
3496
- onChanged();
3497
- return getCatalogLatestFieldBuilder().getBuilder();
3498
- }
3499
- /**
3500
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_latest = 23;</code>
3501
- */
3502
- public com.lansweeper.dp.outbound.v1.CatalogSoftwareOrBuilder getCatalogLatestOrBuilder() {
3503
- if (catalogLatestBuilder_ != null) {
3504
- return catalogLatestBuilder_.getMessageOrBuilder();
3505
- } else {
3506
- return catalogLatest_ == null ?
3507
- com.lansweeper.dp.outbound.v1.CatalogSoftware.getDefaultInstance() : catalogLatest_;
3508
- }
3509
- }
3510
- /**
3511
- * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_latest = 23;</code>
3512
- */
3513
- private com.google.protobuf.SingleFieldBuilderV3<
3514
- com.lansweeper.dp.outbound.v1.CatalogSoftware, com.lansweeper.dp.outbound.v1.CatalogSoftware.Builder, com.lansweeper.dp.outbound.v1.CatalogSoftwareOrBuilder>
3515
- getCatalogLatestFieldBuilder() {
3516
- if (catalogLatestBuilder_ == null) {
3517
- catalogLatestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
3518
- com.lansweeper.dp.outbound.v1.CatalogSoftware, com.lansweeper.dp.outbound.v1.CatalogSoftware.Builder, com.lansweeper.dp.outbound.v1.CatalogSoftwareOrBuilder>(
3519
- getCatalogLatest(),
3520
- getParentForChildren(),
3521
- isClean());
3522
- catalogLatest_ = null;
3523
- }
3524
- return catalogLatestBuilder_;
3525
- }
3526
-
3527
- private com.lansweeper.dp.outbound.v1.RawSoftware raw_;
3528
- private com.google.protobuf.SingleFieldBuilderV3<
3529
- com.lansweeper.dp.outbound.v1.RawSoftware, com.lansweeper.dp.outbound.v1.RawSoftware.Builder, com.lansweeper.dp.outbound.v1.RawSoftwareOrBuilder> rawBuilder_;
3530
- /**
3531
- * <code>.com.lansweeper.dp.outbound.v1.RawSoftware raw = 17;</code>
3532
- * @return Whether the raw field is set.
3533
- */
3534
- public boolean hasRaw() {
3535
- return rawBuilder_ != null || raw_ != null;
3536
- }
3537
- /**
3538
- * <code>.com.lansweeper.dp.outbound.v1.RawSoftware raw = 17;</code>
3539
- * @return The raw.
3540
- */
3541
- public com.lansweeper.dp.outbound.v1.RawSoftware getRaw() {
3542
- if (rawBuilder_ == null) {
3543
- return raw_ == null ? com.lansweeper.dp.outbound.v1.RawSoftware.getDefaultInstance() : raw_;
3544
- } else {
3545
- return rawBuilder_.getMessage();
3546
- }
3547
- }
3548
- /**
3549
- * <code>.com.lansweeper.dp.outbound.v1.RawSoftware raw = 17;</code>
3550
- */
3551
- public Builder setRaw(com.lansweeper.dp.outbound.v1.RawSoftware value) {
3552
- if (rawBuilder_ == null) {
3553
- if (value == null) {
3554
- throw new NullPointerException();
3555
- }
3556
- raw_ = value;
3557
- onChanged();
3558
- } else {
3559
- rawBuilder_.setMessage(value);
3560
- }
3561
-
3562
- return this;
3563
- }
3564
- /**
3565
- * <code>.com.lansweeper.dp.outbound.v1.RawSoftware raw = 17;</code>
3566
- */
3567
- public Builder setRaw(
3568
- com.lansweeper.dp.outbound.v1.RawSoftware.Builder builderForValue) {
3569
- if (rawBuilder_ == null) {
3570
- raw_ = builderForValue.build();
3571
- onChanged();
3572
- } else {
3573
- rawBuilder_.setMessage(builderForValue.build());
3574
- }
3575
-
3576
- return this;
3577
- }
3578
- /**
3579
- * <code>.com.lansweeper.dp.outbound.v1.RawSoftware raw = 17;</code>
3580
- */
3581
- public Builder mergeRaw(com.lansweeper.dp.outbound.v1.RawSoftware value) {
3582
- if (rawBuilder_ == null) {
3583
- if (raw_ != null) {
3584
- raw_ =
3585
- com.lansweeper.dp.outbound.v1.RawSoftware.newBuilder(raw_).mergeFrom(value).buildPartial();
3586
- } else {
3587
- raw_ = value;
3588
- }
3589
- onChanged();
3590
- } else {
3591
- rawBuilder_.mergeFrom(value);
3592
- }
3593
-
3594
- return this;
3595
- }
3596
- /**
3597
- * <code>.com.lansweeper.dp.outbound.v1.RawSoftware raw = 17;</code>
3598
- */
3599
- public Builder clearRaw() {
3600
- if (rawBuilder_ == null) {
3601
- raw_ = null;
3602
- onChanged();
3603
- } else {
3604
- raw_ = null;
3605
- rawBuilder_ = null;
3606
- }
3607
-
3608
- return this;
3609
- }
3610
- /**
3611
- * <code>.com.lansweeper.dp.outbound.v1.RawSoftware raw = 17;</code>
3612
- */
3613
- public com.lansweeper.dp.outbound.v1.RawSoftware.Builder getRawBuilder() {
3614
-
3615
- onChanged();
3616
- return getRawFieldBuilder().getBuilder();
3617
- }
3618
- /**
3619
- * <code>.com.lansweeper.dp.outbound.v1.RawSoftware raw = 17;</code>
3620
- */
3621
- public com.lansweeper.dp.outbound.v1.RawSoftwareOrBuilder getRawOrBuilder() {
3622
- if (rawBuilder_ != null) {
3623
- return rawBuilder_.getMessageOrBuilder();
3624
- } else {
3625
- return raw_ == null ?
3626
- com.lansweeper.dp.outbound.v1.RawSoftware.getDefaultInstance() : raw_;
3627
- }
3628
- }
3629
- /**
3630
- * <code>.com.lansweeper.dp.outbound.v1.RawSoftware raw = 17;</code>
3631
- */
3632
- private com.google.protobuf.SingleFieldBuilderV3<
3633
- com.lansweeper.dp.outbound.v1.RawSoftware, com.lansweeper.dp.outbound.v1.RawSoftware.Builder, com.lansweeper.dp.outbound.v1.RawSoftwareOrBuilder>
3634
- getRawFieldBuilder() {
3635
- if (rawBuilder_ == null) {
3636
- rawBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
3637
- com.lansweeper.dp.outbound.v1.RawSoftware, com.lansweeper.dp.outbound.v1.RawSoftware.Builder, com.lansweeper.dp.outbound.v1.RawSoftwareOrBuilder>(
3638
- getRaw(),
3639
- getParentForChildren(),
3640
- isClean());
3641
- raw_ = null;
3642
- }
3643
- return rawBuilder_;
3644
- }
3645
-
3646
- private java.lang.Object rawHash_ = "";
3647
- /**
3648
- * <pre>
3649
- * optional raw hash of SW
3650
- * </pre>
3651
- *
3652
- * <code>string raw_hash = 18;</code>
3653
- * @return Whether the rawHash field is set.
3654
- */
3655
- public boolean hasRawHash() {
3656
- return ((bitField0_ & 0x00100000) != 0);
3657
- }
3658
- /**
3659
- * <pre>
3660
- * optional raw hash of SW
3661
- * </pre>
3662
- *
3663
- * <code>string raw_hash = 18;</code>
3664
- * @return The rawHash.
3665
- */
3666
- public java.lang.String getRawHash() {
3667
- java.lang.Object ref = rawHash_;
3668
- if (!(ref instanceof java.lang.String)) {
3669
- com.google.protobuf.ByteString bs =
3670
- (com.google.protobuf.ByteString) ref;
3671
- java.lang.String s = bs.toStringUtf8();
3672
- rawHash_ = s;
3673
- return s;
3674
- } else {
3675
- return (java.lang.String) ref;
3676
- }
3677
- }
3678
- /**
3679
- * <pre>
3680
- * optional raw hash of SW
3681
- * </pre>
3682
- *
3683
- * <code>string raw_hash = 18;</code>
3684
- * @return The bytes for rawHash.
3685
- */
3686
- public com.google.protobuf.ByteString
3687
- getRawHashBytes() {
3688
- java.lang.Object ref = rawHash_;
3689
- if (ref instanceof String) {
3690
- com.google.protobuf.ByteString b =
3691
- com.google.protobuf.ByteString.copyFromUtf8(
3692
- (java.lang.String) ref);
3693
- rawHash_ = b;
3694
- return b;
3695
- } else {
3696
- return (com.google.protobuf.ByteString) ref;
3697
- }
3698
- }
3699
- /**
3700
- * <pre>
3701
- * optional raw hash of SW
3702
- * </pre>
3703
- *
3704
- * <code>string raw_hash = 18;</code>
3705
- * @param value The rawHash to set.
3706
- * @return This builder for chaining.
3707
- */
3708
- public Builder setRawHash(
3709
- java.lang.String value) {
3710
- if (value == null) {
3711
- throw new NullPointerException();
3712
- }
3713
- bitField0_ |= 0x00100000;
3714
- rawHash_ = value;
3715
- onChanged();
3716
- return this;
3717
- }
3718
- /**
3719
- * <pre>
3720
- * optional raw hash of SW
3721
- * </pre>
3722
- *
3723
- * <code>string raw_hash = 18;</code>
3724
- * @return This builder for chaining.
3725
- */
3726
- public Builder clearRawHash() {
3727
- bitField0_ = (bitField0_ & ~0x00100000);
3728
- rawHash_ = getDefaultInstance().getRawHash();
3729
- onChanged();
3730
- return this;
3731
- }
3732
- /**
3733
- * <pre>
3734
- * optional raw hash of SW
3735
- * </pre>
3736
- *
3737
- * <code>string raw_hash = 18;</code>
3738
- * @param value The bytes for rawHash to set.
3739
- * @return This builder for chaining.
3740
- */
3741
- public Builder setRawHashBytes(
3742
- com.google.protobuf.ByteString value) {
3743
- if (value == null) {
3744
- throw new NullPointerException();
3745
- }
3746
- checkByteStringIsUtf8(value);
3747
- bitField0_ |= 0x00100000;
3748
- rawHash_ = value;
3749
- onChanged();
3750
- return this;
3751
- }
3752
-
3753
- private java.lang.Object nreHash_ = "";
3754
- /**
3755
- * <pre>
3756
- * optional NRE hash of SW
3757
- * </pre>
3758
- *
3759
- * <code>string nre_hash = 19;</code>
3760
- * @return Whether the nreHash field is set.
3761
- */
3762
- public boolean hasNreHash() {
3763
- return ((bitField0_ & 0x00200000) != 0);
3764
- }
3765
- /**
3766
- * <pre>
3767
- * optional NRE hash of SW
3768
- * </pre>
3769
- *
3770
- * <code>string nre_hash = 19;</code>
3771
- * @return The nreHash.
3772
- */
3773
- public java.lang.String getNreHash() {
3774
- java.lang.Object ref = nreHash_;
3775
- if (!(ref instanceof java.lang.String)) {
3776
- com.google.protobuf.ByteString bs =
3777
- (com.google.protobuf.ByteString) ref;
3778
- java.lang.String s = bs.toStringUtf8();
3779
- nreHash_ = s;
3780
- return s;
3781
- } else {
3782
- return (java.lang.String) ref;
3783
- }
3784
- }
3785
- /**
3786
- * <pre>
3787
- * optional NRE hash of SW
3788
- * </pre>
3789
- *
3790
- * <code>string nre_hash = 19;</code>
3791
- * @return The bytes for nreHash.
3792
- */
3793
- public com.google.protobuf.ByteString
3794
- getNreHashBytes() {
3795
- java.lang.Object ref = nreHash_;
3796
- if (ref instanceof String) {
3797
- com.google.protobuf.ByteString b =
3798
- com.google.protobuf.ByteString.copyFromUtf8(
3799
- (java.lang.String) ref);
3800
- nreHash_ = b;
3801
- return b;
3802
- } else {
3803
- return (com.google.protobuf.ByteString) ref;
3804
- }
3805
- }
3806
- /**
3807
- * <pre>
3808
- * optional NRE hash of SW
3809
- * </pre>
3810
- *
3811
- * <code>string nre_hash = 19;</code>
3812
- * @param value The nreHash to set.
3813
- * @return This builder for chaining.
3814
- */
3815
- public Builder setNreHash(
3816
- java.lang.String value) {
3817
- if (value == null) {
3818
- throw new NullPointerException();
3819
- }
3820
- bitField0_ |= 0x00200000;
3821
- nreHash_ = value;
3822
- onChanged();
3823
- return this;
3824
- }
3825
- /**
3826
- * <pre>
3827
- * optional NRE hash of SW
3828
- * </pre>
3829
- *
3830
- * <code>string nre_hash = 19;</code>
3831
- * @return This builder for chaining.
3832
- */
3833
- public Builder clearNreHash() {
3834
- bitField0_ = (bitField0_ & ~0x00200000);
3835
- nreHash_ = getDefaultInstance().getNreHash();
3836
- onChanged();
3837
- return this;
3838
- }
3839
- /**
3840
- * <pre>
3841
- * optional NRE hash of SW
3842
- * </pre>
3843
- *
3844
- * <code>string nre_hash = 19;</code>
3845
- * @param value The bytes for nreHash to set.
3846
- * @return This builder for chaining.
3847
- */
3848
- public Builder setNreHashBytes(
3849
- com.google.protobuf.ByteString value) {
3850
- if (value == null) {
3851
- throw new NullPointerException();
3852
- }
3853
- checkByteStringIsUtf8(value);
3854
- bitField0_ |= 0x00200000;
3855
- nreHash_ = value;
3856
- onChanged();
3857
- return this;
3858
- }
3859
- @java.lang.Override
3860
- public final Builder setUnknownFields(
3861
- final com.google.protobuf.UnknownFieldSet unknownFields) {
3862
- return super.setUnknownFields(unknownFields);
3863
- }
3864
-
3865
- @java.lang.Override
3866
- public final Builder mergeUnknownFields(
3867
- final com.google.protobuf.UnknownFieldSet unknownFields) {
3868
- return super.mergeUnknownFields(unknownFields);
3869
- }
3870
-
3871
-
3872
- // @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.Software)
3873
- }
3874
-
3875
- // @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.Software)
3876
- private static final com.lansweeper.dp.outbound.v1.Software DEFAULT_INSTANCE;
3877
- static {
3878
- DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.Software();
3879
- }
3880
-
3881
- public static com.lansweeper.dp.outbound.v1.Software getDefaultInstance() {
3882
- return DEFAULT_INSTANCE;
3883
- }
3884
-
3885
- private static final com.google.protobuf.Parser<Software>
3886
- PARSER = new com.google.protobuf.AbstractParser<Software>() {
3887
- @java.lang.Override
3888
- public Software parsePartialFrom(
3889
- com.google.protobuf.CodedInputStream input,
3890
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3891
- throws com.google.protobuf.InvalidProtocolBufferException {
3892
- return new Software(input, extensionRegistry);
3893
- }
3894
- };
3895
-
3896
- public static com.google.protobuf.Parser<Software> parser() {
3897
- return PARSER;
3898
- }
3899
-
3900
- @java.lang.Override
3901
- public com.google.protobuf.Parser<Software> getParserForType() {
3902
- return PARSER;
3903
- }
3904
-
3905
- @java.lang.Override
3906
- public com.lansweeper.dp.outbound.v1.Software getDefaultInstanceForType() {
3907
- return DEFAULT_INSTANCE;
3908
- }
3909
-
3910
- }
3911
-