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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +9 -0
  4. package/gen-proto/outbound_pb.js +90 -12
  5. package/package.json +2 -2
  6. package/pom.xml +1 -1
  7. package/proto/outbound.proto +7 -2
  8. package/src/main/java/com/lansweeper/dp/outbound/v1/Asset.java +2132 -0
  9. package/src/main/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +144 -0
  10. package/src/main/java/com/lansweeper/dp/outbound/v1/AssetType.java +801 -0
  11. package/src/main/java/com/lansweeper/dp/outbound/v1/AssetTypeOrBuilder.java +58 -0
  12. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrand.java +4433 -0
  13. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrandOrBuilder.java +446 -0
  14. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModel.java +4089 -0
  15. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModelOrBuilder.java +422 -0
  16. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogMonitor.java +484 -0
  17. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogMonitorOrBuilder.java +15 -0
  18. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOs.java +3858 -0
  19. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOsOrBuilder.java +384 -0
  20. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogSoftware.java +3315 -0
  21. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogSoftwareOrBuilder.java +332 -0
  22. package/src/main/java/com/lansweeper/dp/outbound/v1/CoreFields.java +1731 -0
  23. package/src/main/java/com/lansweeper/dp/outbound/v1/CoreFieldsOrBuilder.java +138 -0
  24. package/src/main/java/com/lansweeper/dp/outbound/v1/Entity.java +762 -0
  25. package/src/main/java/com/lansweeper/dp/outbound/v1/EntityOrBuilder.java +41 -0
  26. package/src/main/java/com/lansweeper/dp/outbound/v1/EntityPath.java +1283 -0
  27. package/src/main/java/com/lansweeper/dp/outbound/v1/EntityPathOrBuilder.java +113 -0
  28. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityRequest.java +655 -0
  29. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityRequestOrBuilder.java +36 -0
  30. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityResponse.java +1193 -0
  31. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityResponseOrBuilder.java +71 -0
  32. package/src/main/java/com/lansweeper/dp/outbound/v1/HardwareInfo.java +2702 -0
  33. package/src/main/java/com/lansweeper/dp/outbound/v1/HardwareInfoOrBuilder.java +237 -0
  34. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityRequest.java +655 -0
  35. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityRequestOrBuilder.java +36 -0
  36. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityResponse.java +958 -0
  37. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityResponseOrBuilder.java +48 -0
  38. package/src/main/java/com/lansweeper/dp/outbound/v1/OperatingSystemInfo.java +2332 -0
  39. package/src/main/java/com/lansweeper/dp/outbound/v1/OperatingSystemInfoOrBuilder.java +191 -0
  40. package/src/main/java/com/lansweeper/dp/outbound/v1/Outbound.java +284 -43252
  41. package/src/main/java/com/lansweeper/dp/outbound/v1/RawHardwareInfo.java +1073 -0
  42. package/src/main/java/com/lansweeper/dp/outbound/v1/RawHardwareInfoOrBuilder.java +77 -0
  43. package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftware.java +1894 -0
  44. package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftwareOrBuilder.java +187 -0
  45. package/src/main/java/com/lansweeper/dp/outbound/v1/Software.java +2797 -0
  46. package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventory.java +958 -0
  47. package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventoryOrBuilder.java +48 -0
  48. package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareOrBuilder.java +258 -0
  49. package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawOperatingSystemInfo.java +1846 -0
  50. package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawOperatingSystemInfoOrBuilder.java +205 -0
@@ -0,0 +1,1073 @@
1
+ // Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ // source: packages/data.platform/outbound/grpc/proto/outbound.proto
3
+
4
+ package com.lansweeper.dp.outbound.v1;
5
+
6
+ /**
7
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.RawHardwareInfo}
8
+ */
9
+ public final class RawHardwareInfo extends
10
+ com.google.protobuf.GeneratedMessageV3 implements
11
+ // @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.RawHardwareInfo)
12
+ RawHardwareInfoOrBuilder {
13
+ private static final long serialVersionUID = 0L;
14
+ // Use RawHardwareInfo.newBuilder() to construct.
15
+ private RawHardwareInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
16
+ super(builder);
17
+ }
18
+ private RawHardwareInfo() {
19
+ architecture_ = "";
20
+ model_ = "";
21
+ manufacturer_ = "";
22
+ serialNumber_ = "";
23
+ }
24
+
25
+ @java.lang.Override
26
+ @SuppressWarnings({"unused"})
27
+ protected java.lang.Object newInstance(
28
+ UnusedPrivateParameter unused) {
29
+ return new RawHardwareInfo();
30
+ }
31
+
32
+ @java.lang.Override
33
+ public final com.google.protobuf.UnknownFieldSet
34
+ getUnknownFields() {
35
+ return this.unknownFields;
36
+ }
37
+ private RawHardwareInfo(
38
+ com.google.protobuf.CodedInputStream input,
39
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
40
+ throws com.google.protobuf.InvalidProtocolBufferException {
41
+ this();
42
+ if (extensionRegistry == null) {
43
+ throw new java.lang.NullPointerException();
44
+ }
45
+ int mutable_bitField0_ = 0;
46
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
47
+ com.google.protobuf.UnknownFieldSet.newBuilder();
48
+ try {
49
+ boolean done = false;
50
+ while (!done) {
51
+ int tag = input.readTag();
52
+ switch (tag) {
53
+ case 0:
54
+ done = true;
55
+ break;
56
+ case 10: {
57
+ java.lang.String s = input.readStringRequireUtf8();
58
+ bitField0_ |= 0x00000001;
59
+ architecture_ = s;
60
+ break;
61
+ }
62
+ case 18: {
63
+ java.lang.String s = input.readStringRequireUtf8();
64
+ bitField0_ |= 0x00000002;
65
+ model_ = s;
66
+ break;
67
+ }
68
+ case 26: {
69
+ java.lang.String s = input.readStringRequireUtf8();
70
+ bitField0_ |= 0x00000004;
71
+ manufacturer_ = s;
72
+ break;
73
+ }
74
+ case 34: {
75
+ java.lang.String s = input.readStringRequireUtf8();
76
+ bitField0_ |= 0x00000008;
77
+ serialNumber_ = s;
78
+ break;
79
+ }
80
+ default: {
81
+ if (!parseUnknownField(
82
+ input, unknownFields, extensionRegistry, tag)) {
83
+ done = true;
84
+ }
85
+ break;
86
+ }
87
+ }
88
+ }
89
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
90
+ throw e.setUnfinishedMessage(this);
91
+ } catch (java.io.IOException e) {
92
+ throw new com.google.protobuf.InvalidProtocolBufferException(
93
+ e).setUnfinishedMessage(this);
94
+ } finally {
95
+ this.unknownFields = unknownFields.build();
96
+ makeExtensionsImmutable();
97
+ }
98
+ }
99
+ public static final com.google.protobuf.Descriptors.Descriptor
100
+ getDescriptor() {
101
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_RawHardwareInfo_descriptor;
102
+ }
103
+
104
+ @java.lang.Override
105
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
106
+ internalGetFieldAccessorTable() {
107
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_RawHardwareInfo_fieldAccessorTable
108
+ .ensureFieldAccessorsInitialized(
109
+ com.lansweeper.dp.outbound.v1.RawHardwareInfo.class, com.lansweeper.dp.outbound.v1.RawHardwareInfo.Builder.class);
110
+ }
111
+
112
+ private int bitField0_;
113
+ public static final int ARCHITECTURE_FIELD_NUMBER = 1;
114
+ private volatile java.lang.Object architecture_;
115
+ /**
116
+ * <code>string architecture = 1;</code>
117
+ * @return Whether the architecture field is set.
118
+ */
119
+ @java.lang.Override
120
+ public boolean hasArchitecture() {
121
+ return ((bitField0_ & 0x00000001) != 0);
122
+ }
123
+ /**
124
+ * <code>string architecture = 1;</code>
125
+ * @return The architecture.
126
+ */
127
+ @java.lang.Override
128
+ public java.lang.String getArchitecture() {
129
+ java.lang.Object ref = architecture_;
130
+ if (ref instanceof java.lang.String) {
131
+ return (java.lang.String) ref;
132
+ } else {
133
+ com.google.protobuf.ByteString bs =
134
+ (com.google.protobuf.ByteString) ref;
135
+ java.lang.String s = bs.toStringUtf8();
136
+ architecture_ = s;
137
+ return s;
138
+ }
139
+ }
140
+ /**
141
+ * <code>string architecture = 1;</code>
142
+ * @return The bytes for architecture.
143
+ */
144
+ @java.lang.Override
145
+ public com.google.protobuf.ByteString
146
+ getArchitectureBytes() {
147
+ java.lang.Object ref = architecture_;
148
+ if (ref instanceof java.lang.String) {
149
+ com.google.protobuf.ByteString b =
150
+ com.google.protobuf.ByteString.copyFromUtf8(
151
+ (java.lang.String) ref);
152
+ architecture_ = b;
153
+ return b;
154
+ } else {
155
+ return (com.google.protobuf.ByteString) ref;
156
+ }
157
+ }
158
+
159
+ public static final int MODEL_FIELD_NUMBER = 2;
160
+ private volatile java.lang.Object model_;
161
+ /**
162
+ * <code>string model = 2;</code>
163
+ * @return Whether the model field is set.
164
+ */
165
+ @java.lang.Override
166
+ public boolean hasModel() {
167
+ return ((bitField0_ & 0x00000002) != 0);
168
+ }
169
+ /**
170
+ * <code>string model = 2;</code>
171
+ * @return The model.
172
+ */
173
+ @java.lang.Override
174
+ public java.lang.String getModel() {
175
+ java.lang.Object ref = model_;
176
+ if (ref instanceof java.lang.String) {
177
+ return (java.lang.String) ref;
178
+ } else {
179
+ com.google.protobuf.ByteString bs =
180
+ (com.google.protobuf.ByteString) ref;
181
+ java.lang.String s = bs.toStringUtf8();
182
+ model_ = s;
183
+ return s;
184
+ }
185
+ }
186
+ /**
187
+ * <code>string model = 2;</code>
188
+ * @return The bytes for model.
189
+ */
190
+ @java.lang.Override
191
+ public com.google.protobuf.ByteString
192
+ getModelBytes() {
193
+ java.lang.Object ref = model_;
194
+ if (ref instanceof java.lang.String) {
195
+ com.google.protobuf.ByteString b =
196
+ com.google.protobuf.ByteString.copyFromUtf8(
197
+ (java.lang.String) ref);
198
+ model_ = b;
199
+ return b;
200
+ } else {
201
+ return (com.google.protobuf.ByteString) ref;
202
+ }
203
+ }
204
+
205
+ public static final int MANUFACTURER_FIELD_NUMBER = 3;
206
+ private volatile java.lang.Object manufacturer_;
207
+ /**
208
+ * <code>string manufacturer = 3;</code>
209
+ * @return Whether the manufacturer field is set.
210
+ */
211
+ @java.lang.Override
212
+ public boolean hasManufacturer() {
213
+ return ((bitField0_ & 0x00000004) != 0);
214
+ }
215
+ /**
216
+ * <code>string manufacturer = 3;</code>
217
+ * @return The manufacturer.
218
+ */
219
+ @java.lang.Override
220
+ public java.lang.String getManufacturer() {
221
+ java.lang.Object ref = manufacturer_;
222
+ if (ref instanceof java.lang.String) {
223
+ return (java.lang.String) ref;
224
+ } else {
225
+ com.google.protobuf.ByteString bs =
226
+ (com.google.protobuf.ByteString) ref;
227
+ java.lang.String s = bs.toStringUtf8();
228
+ manufacturer_ = s;
229
+ return s;
230
+ }
231
+ }
232
+ /**
233
+ * <code>string manufacturer = 3;</code>
234
+ * @return The bytes for manufacturer.
235
+ */
236
+ @java.lang.Override
237
+ public com.google.protobuf.ByteString
238
+ getManufacturerBytes() {
239
+ java.lang.Object ref = manufacturer_;
240
+ if (ref instanceof java.lang.String) {
241
+ com.google.protobuf.ByteString b =
242
+ com.google.protobuf.ByteString.copyFromUtf8(
243
+ (java.lang.String) ref);
244
+ manufacturer_ = b;
245
+ return b;
246
+ } else {
247
+ return (com.google.protobuf.ByteString) ref;
248
+ }
249
+ }
250
+
251
+ public static final int SERIAL_NUMBER_FIELD_NUMBER = 4;
252
+ private volatile java.lang.Object serialNumber_;
253
+ /**
254
+ * <code>string serial_number = 4;</code>
255
+ * @return Whether the serialNumber field is set.
256
+ */
257
+ @java.lang.Override
258
+ public boolean hasSerialNumber() {
259
+ return ((bitField0_ & 0x00000008) != 0);
260
+ }
261
+ /**
262
+ * <code>string serial_number = 4;</code>
263
+ * @return The serialNumber.
264
+ */
265
+ @java.lang.Override
266
+ public java.lang.String getSerialNumber() {
267
+ java.lang.Object ref = serialNumber_;
268
+ if (ref instanceof java.lang.String) {
269
+ return (java.lang.String) ref;
270
+ } else {
271
+ com.google.protobuf.ByteString bs =
272
+ (com.google.protobuf.ByteString) ref;
273
+ java.lang.String s = bs.toStringUtf8();
274
+ serialNumber_ = s;
275
+ return s;
276
+ }
277
+ }
278
+ /**
279
+ * <code>string serial_number = 4;</code>
280
+ * @return The bytes for serialNumber.
281
+ */
282
+ @java.lang.Override
283
+ public com.google.protobuf.ByteString
284
+ getSerialNumberBytes() {
285
+ java.lang.Object ref = serialNumber_;
286
+ if (ref instanceof java.lang.String) {
287
+ com.google.protobuf.ByteString b =
288
+ com.google.protobuf.ByteString.copyFromUtf8(
289
+ (java.lang.String) ref);
290
+ serialNumber_ = b;
291
+ return b;
292
+ } else {
293
+ return (com.google.protobuf.ByteString) ref;
294
+ }
295
+ }
296
+
297
+ private byte memoizedIsInitialized = -1;
298
+ @java.lang.Override
299
+ public final boolean isInitialized() {
300
+ byte isInitialized = memoizedIsInitialized;
301
+ if (isInitialized == 1) return true;
302
+ if (isInitialized == 0) return false;
303
+
304
+ memoizedIsInitialized = 1;
305
+ return true;
306
+ }
307
+
308
+ @java.lang.Override
309
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
310
+ throws java.io.IOException {
311
+ if (((bitField0_ & 0x00000001) != 0)) {
312
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, architecture_);
313
+ }
314
+ if (((bitField0_ & 0x00000002) != 0)) {
315
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, model_);
316
+ }
317
+ if (((bitField0_ & 0x00000004) != 0)) {
318
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, manufacturer_);
319
+ }
320
+ if (((bitField0_ & 0x00000008) != 0)) {
321
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, serialNumber_);
322
+ }
323
+ unknownFields.writeTo(output);
324
+ }
325
+
326
+ @java.lang.Override
327
+ public int getSerializedSize() {
328
+ int size = memoizedSize;
329
+ if (size != -1) return size;
330
+
331
+ size = 0;
332
+ if (((bitField0_ & 0x00000001) != 0)) {
333
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, architecture_);
334
+ }
335
+ if (((bitField0_ & 0x00000002) != 0)) {
336
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, model_);
337
+ }
338
+ if (((bitField0_ & 0x00000004) != 0)) {
339
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, manufacturer_);
340
+ }
341
+ if (((bitField0_ & 0x00000008) != 0)) {
342
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, serialNumber_);
343
+ }
344
+ size += unknownFields.getSerializedSize();
345
+ memoizedSize = size;
346
+ return size;
347
+ }
348
+
349
+ @java.lang.Override
350
+ public boolean equals(final java.lang.Object obj) {
351
+ if (obj == this) {
352
+ return true;
353
+ }
354
+ if (!(obj instanceof com.lansweeper.dp.outbound.v1.RawHardwareInfo)) {
355
+ return super.equals(obj);
356
+ }
357
+ com.lansweeper.dp.outbound.v1.RawHardwareInfo other = (com.lansweeper.dp.outbound.v1.RawHardwareInfo) obj;
358
+
359
+ if (hasArchitecture() != other.hasArchitecture()) return false;
360
+ if (hasArchitecture()) {
361
+ if (!getArchitecture()
362
+ .equals(other.getArchitecture())) return false;
363
+ }
364
+ if (hasModel() != other.hasModel()) return false;
365
+ if (hasModel()) {
366
+ if (!getModel()
367
+ .equals(other.getModel())) return false;
368
+ }
369
+ if (hasManufacturer() != other.hasManufacturer()) return false;
370
+ if (hasManufacturer()) {
371
+ if (!getManufacturer()
372
+ .equals(other.getManufacturer())) return false;
373
+ }
374
+ if (hasSerialNumber() != other.hasSerialNumber()) return false;
375
+ if (hasSerialNumber()) {
376
+ if (!getSerialNumber()
377
+ .equals(other.getSerialNumber())) return false;
378
+ }
379
+ if (!unknownFields.equals(other.unknownFields)) return false;
380
+ return true;
381
+ }
382
+
383
+ @java.lang.Override
384
+ public int hashCode() {
385
+ if (memoizedHashCode != 0) {
386
+ return memoizedHashCode;
387
+ }
388
+ int hash = 41;
389
+ hash = (19 * hash) + getDescriptor().hashCode();
390
+ if (hasArchitecture()) {
391
+ hash = (37 * hash) + ARCHITECTURE_FIELD_NUMBER;
392
+ hash = (53 * hash) + getArchitecture().hashCode();
393
+ }
394
+ if (hasModel()) {
395
+ hash = (37 * hash) + MODEL_FIELD_NUMBER;
396
+ hash = (53 * hash) + getModel().hashCode();
397
+ }
398
+ if (hasManufacturer()) {
399
+ hash = (37 * hash) + MANUFACTURER_FIELD_NUMBER;
400
+ hash = (53 * hash) + getManufacturer().hashCode();
401
+ }
402
+ if (hasSerialNumber()) {
403
+ hash = (37 * hash) + SERIAL_NUMBER_FIELD_NUMBER;
404
+ hash = (53 * hash) + getSerialNumber().hashCode();
405
+ }
406
+ hash = (29 * hash) + unknownFields.hashCode();
407
+ memoizedHashCode = hash;
408
+ return hash;
409
+ }
410
+
411
+ public static com.lansweeper.dp.outbound.v1.RawHardwareInfo parseFrom(
412
+ java.nio.ByteBuffer data)
413
+ throws com.google.protobuf.InvalidProtocolBufferException {
414
+ return PARSER.parseFrom(data);
415
+ }
416
+ public static com.lansweeper.dp.outbound.v1.RawHardwareInfo parseFrom(
417
+ java.nio.ByteBuffer data,
418
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
419
+ throws com.google.protobuf.InvalidProtocolBufferException {
420
+ return PARSER.parseFrom(data, extensionRegistry);
421
+ }
422
+ public static com.lansweeper.dp.outbound.v1.RawHardwareInfo parseFrom(
423
+ com.google.protobuf.ByteString data)
424
+ throws com.google.protobuf.InvalidProtocolBufferException {
425
+ return PARSER.parseFrom(data);
426
+ }
427
+ public static com.lansweeper.dp.outbound.v1.RawHardwareInfo parseFrom(
428
+ com.google.protobuf.ByteString data,
429
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
430
+ throws com.google.protobuf.InvalidProtocolBufferException {
431
+ return PARSER.parseFrom(data, extensionRegistry);
432
+ }
433
+ public static com.lansweeper.dp.outbound.v1.RawHardwareInfo parseFrom(byte[] data)
434
+ throws com.google.protobuf.InvalidProtocolBufferException {
435
+ return PARSER.parseFrom(data);
436
+ }
437
+ public static com.lansweeper.dp.outbound.v1.RawHardwareInfo parseFrom(
438
+ byte[] data,
439
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
440
+ throws com.google.protobuf.InvalidProtocolBufferException {
441
+ return PARSER.parseFrom(data, extensionRegistry);
442
+ }
443
+ public static com.lansweeper.dp.outbound.v1.RawHardwareInfo parseFrom(java.io.InputStream input)
444
+ throws java.io.IOException {
445
+ return com.google.protobuf.GeneratedMessageV3
446
+ .parseWithIOException(PARSER, input);
447
+ }
448
+ public static com.lansweeper.dp.outbound.v1.RawHardwareInfo parseFrom(
449
+ java.io.InputStream input,
450
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
451
+ throws java.io.IOException {
452
+ return com.google.protobuf.GeneratedMessageV3
453
+ .parseWithIOException(PARSER, input, extensionRegistry);
454
+ }
455
+ public static com.lansweeper.dp.outbound.v1.RawHardwareInfo parseDelimitedFrom(java.io.InputStream input)
456
+ throws java.io.IOException {
457
+ return com.google.protobuf.GeneratedMessageV3
458
+ .parseDelimitedWithIOException(PARSER, input);
459
+ }
460
+ public static com.lansweeper.dp.outbound.v1.RawHardwareInfo parseDelimitedFrom(
461
+ java.io.InputStream input,
462
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
463
+ throws java.io.IOException {
464
+ return com.google.protobuf.GeneratedMessageV3
465
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
466
+ }
467
+ public static com.lansweeper.dp.outbound.v1.RawHardwareInfo parseFrom(
468
+ com.google.protobuf.CodedInputStream input)
469
+ throws java.io.IOException {
470
+ return com.google.protobuf.GeneratedMessageV3
471
+ .parseWithIOException(PARSER, input);
472
+ }
473
+ public static com.lansweeper.dp.outbound.v1.RawHardwareInfo parseFrom(
474
+ com.google.protobuf.CodedInputStream input,
475
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
476
+ throws java.io.IOException {
477
+ return com.google.protobuf.GeneratedMessageV3
478
+ .parseWithIOException(PARSER, input, extensionRegistry);
479
+ }
480
+
481
+ @java.lang.Override
482
+ public Builder newBuilderForType() { return newBuilder(); }
483
+ public static Builder newBuilder() {
484
+ return DEFAULT_INSTANCE.toBuilder();
485
+ }
486
+ public static Builder newBuilder(com.lansweeper.dp.outbound.v1.RawHardwareInfo prototype) {
487
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
488
+ }
489
+ @java.lang.Override
490
+ public Builder toBuilder() {
491
+ return this == DEFAULT_INSTANCE
492
+ ? new Builder() : new Builder().mergeFrom(this);
493
+ }
494
+
495
+ @java.lang.Override
496
+ protected Builder newBuilderForType(
497
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
498
+ Builder builder = new Builder(parent);
499
+ return builder;
500
+ }
501
+ /**
502
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.RawHardwareInfo}
503
+ */
504
+ public static final class Builder extends
505
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
506
+ // @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.RawHardwareInfo)
507
+ com.lansweeper.dp.outbound.v1.RawHardwareInfoOrBuilder {
508
+ public static final com.google.protobuf.Descriptors.Descriptor
509
+ getDescriptor() {
510
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_RawHardwareInfo_descriptor;
511
+ }
512
+
513
+ @java.lang.Override
514
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
515
+ internalGetFieldAccessorTable() {
516
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_RawHardwareInfo_fieldAccessorTable
517
+ .ensureFieldAccessorsInitialized(
518
+ com.lansweeper.dp.outbound.v1.RawHardwareInfo.class, com.lansweeper.dp.outbound.v1.RawHardwareInfo.Builder.class);
519
+ }
520
+
521
+ // Construct using com.lansweeper.dp.outbound.v1.RawHardwareInfo.newBuilder()
522
+ private Builder() {
523
+ maybeForceBuilderInitialization();
524
+ }
525
+
526
+ private Builder(
527
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
528
+ super(parent);
529
+ maybeForceBuilderInitialization();
530
+ }
531
+ private void maybeForceBuilderInitialization() {
532
+ if (com.google.protobuf.GeneratedMessageV3
533
+ .alwaysUseFieldBuilders) {
534
+ }
535
+ }
536
+ @java.lang.Override
537
+ public Builder clear() {
538
+ super.clear();
539
+ architecture_ = "";
540
+ bitField0_ = (bitField0_ & ~0x00000001);
541
+ model_ = "";
542
+ bitField0_ = (bitField0_ & ~0x00000002);
543
+ manufacturer_ = "";
544
+ bitField0_ = (bitField0_ & ~0x00000004);
545
+ serialNumber_ = "";
546
+ bitField0_ = (bitField0_ & ~0x00000008);
547
+ return this;
548
+ }
549
+
550
+ @java.lang.Override
551
+ public com.google.protobuf.Descriptors.Descriptor
552
+ getDescriptorForType() {
553
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_RawHardwareInfo_descriptor;
554
+ }
555
+
556
+ @java.lang.Override
557
+ public com.lansweeper.dp.outbound.v1.RawHardwareInfo getDefaultInstanceForType() {
558
+ return com.lansweeper.dp.outbound.v1.RawHardwareInfo.getDefaultInstance();
559
+ }
560
+
561
+ @java.lang.Override
562
+ public com.lansweeper.dp.outbound.v1.RawHardwareInfo build() {
563
+ com.lansweeper.dp.outbound.v1.RawHardwareInfo result = buildPartial();
564
+ if (!result.isInitialized()) {
565
+ throw newUninitializedMessageException(result);
566
+ }
567
+ return result;
568
+ }
569
+
570
+ @java.lang.Override
571
+ public com.lansweeper.dp.outbound.v1.RawHardwareInfo buildPartial() {
572
+ com.lansweeper.dp.outbound.v1.RawHardwareInfo result = new com.lansweeper.dp.outbound.v1.RawHardwareInfo(this);
573
+ int from_bitField0_ = bitField0_;
574
+ int to_bitField0_ = 0;
575
+ if (((from_bitField0_ & 0x00000001) != 0)) {
576
+ to_bitField0_ |= 0x00000001;
577
+ }
578
+ result.architecture_ = architecture_;
579
+ if (((from_bitField0_ & 0x00000002) != 0)) {
580
+ to_bitField0_ |= 0x00000002;
581
+ }
582
+ result.model_ = model_;
583
+ if (((from_bitField0_ & 0x00000004) != 0)) {
584
+ to_bitField0_ |= 0x00000004;
585
+ }
586
+ result.manufacturer_ = manufacturer_;
587
+ if (((from_bitField0_ & 0x00000008) != 0)) {
588
+ to_bitField0_ |= 0x00000008;
589
+ }
590
+ result.serialNumber_ = serialNumber_;
591
+ result.bitField0_ = to_bitField0_;
592
+ onBuilt();
593
+ return result;
594
+ }
595
+
596
+ @java.lang.Override
597
+ public Builder clone() {
598
+ return super.clone();
599
+ }
600
+ @java.lang.Override
601
+ public Builder setField(
602
+ com.google.protobuf.Descriptors.FieldDescriptor field,
603
+ java.lang.Object value) {
604
+ return super.setField(field, value);
605
+ }
606
+ @java.lang.Override
607
+ public Builder clearField(
608
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
609
+ return super.clearField(field);
610
+ }
611
+ @java.lang.Override
612
+ public Builder clearOneof(
613
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
614
+ return super.clearOneof(oneof);
615
+ }
616
+ @java.lang.Override
617
+ public Builder setRepeatedField(
618
+ com.google.protobuf.Descriptors.FieldDescriptor field,
619
+ int index, java.lang.Object value) {
620
+ return super.setRepeatedField(field, index, value);
621
+ }
622
+ @java.lang.Override
623
+ public Builder addRepeatedField(
624
+ com.google.protobuf.Descriptors.FieldDescriptor field,
625
+ java.lang.Object value) {
626
+ return super.addRepeatedField(field, value);
627
+ }
628
+ @java.lang.Override
629
+ public Builder mergeFrom(com.google.protobuf.Message other) {
630
+ if (other instanceof com.lansweeper.dp.outbound.v1.RawHardwareInfo) {
631
+ return mergeFrom((com.lansweeper.dp.outbound.v1.RawHardwareInfo)other);
632
+ } else {
633
+ super.mergeFrom(other);
634
+ return this;
635
+ }
636
+ }
637
+
638
+ public Builder mergeFrom(com.lansweeper.dp.outbound.v1.RawHardwareInfo other) {
639
+ if (other == com.lansweeper.dp.outbound.v1.RawHardwareInfo.getDefaultInstance()) return this;
640
+ if (other.hasArchitecture()) {
641
+ bitField0_ |= 0x00000001;
642
+ architecture_ = other.architecture_;
643
+ onChanged();
644
+ }
645
+ if (other.hasModel()) {
646
+ bitField0_ |= 0x00000002;
647
+ model_ = other.model_;
648
+ onChanged();
649
+ }
650
+ if (other.hasManufacturer()) {
651
+ bitField0_ |= 0x00000004;
652
+ manufacturer_ = other.manufacturer_;
653
+ onChanged();
654
+ }
655
+ if (other.hasSerialNumber()) {
656
+ bitField0_ |= 0x00000008;
657
+ serialNumber_ = other.serialNumber_;
658
+ onChanged();
659
+ }
660
+ this.mergeUnknownFields(other.unknownFields);
661
+ onChanged();
662
+ return this;
663
+ }
664
+
665
+ @java.lang.Override
666
+ public final boolean isInitialized() {
667
+ return true;
668
+ }
669
+
670
+ @java.lang.Override
671
+ public Builder mergeFrom(
672
+ com.google.protobuf.CodedInputStream input,
673
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
674
+ throws java.io.IOException {
675
+ com.lansweeper.dp.outbound.v1.RawHardwareInfo parsedMessage = null;
676
+ try {
677
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
678
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
679
+ parsedMessage = (com.lansweeper.dp.outbound.v1.RawHardwareInfo) e.getUnfinishedMessage();
680
+ throw e.unwrapIOException();
681
+ } finally {
682
+ if (parsedMessage != null) {
683
+ mergeFrom(parsedMessage);
684
+ }
685
+ }
686
+ return this;
687
+ }
688
+ private int bitField0_;
689
+
690
+ private java.lang.Object architecture_ = "";
691
+ /**
692
+ * <code>string architecture = 1;</code>
693
+ * @return Whether the architecture field is set.
694
+ */
695
+ public boolean hasArchitecture() {
696
+ return ((bitField0_ & 0x00000001) != 0);
697
+ }
698
+ /**
699
+ * <code>string architecture = 1;</code>
700
+ * @return The architecture.
701
+ */
702
+ public java.lang.String getArchitecture() {
703
+ java.lang.Object ref = architecture_;
704
+ if (!(ref instanceof java.lang.String)) {
705
+ com.google.protobuf.ByteString bs =
706
+ (com.google.protobuf.ByteString) ref;
707
+ java.lang.String s = bs.toStringUtf8();
708
+ architecture_ = s;
709
+ return s;
710
+ } else {
711
+ return (java.lang.String) ref;
712
+ }
713
+ }
714
+ /**
715
+ * <code>string architecture = 1;</code>
716
+ * @return The bytes for architecture.
717
+ */
718
+ public com.google.protobuf.ByteString
719
+ getArchitectureBytes() {
720
+ java.lang.Object ref = architecture_;
721
+ if (ref instanceof String) {
722
+ com.google.protobuf.ByteString b =
723
+ com.google.protobuf.ByteString.copyFromUtf8(
724
+ (java.lang.String) ref);
725
+ architecture_ = b;
726
+ return b;
727
+ } else {
728
+ return (com.google.protobuf.ByteString) ref;
729
+ }
730
+ }
731
+ /**
732
+ * <code>string architecture = 1;</code>
733
+ * @param value The architecture to set.
734
+ * @return This builder for chaining.
735
+ */
736
+ public Builder setArchitecture(
737
+ java.lang.String value) {
738
+ if (value == null) {
739
+ throw new NullPointerException();
740
+ }
741
+ bitField0_ |= 0x00000001;
742
+ architecture_ = value;
743
+ onChanged();
744
+ return this;
745
+ }
746
+ /**
747
+ * <code>string architecture = 1;</code>
748
+ * @return This builder for chaining.
749
+ */
750
+ public Builder clearArchitecture() {
751
+ bitField0_ = (bitField0_ & ~0x00000001);
752
+ architecture_ = getDefaultInstance().getArchitecture();
753
+ onChanged();
754
+ return this;
755
+ }
756
+ /**
757
+ * <code>string architecture = 1;</code>
758
+ * @param value The bytes for architecture to set.
759
+ * @return This builder for chaining.
760
+ */
761
+ public Builder setArchitectureBytes(
762
+ com.google.protobuf.ByteString value) {
763
+ if (value == null) {
764
+ throw new NullPointerException();
765
+ }
766
+ checkByteStringIsUtf8(value);
767
+ bitField0_ |= 0x00000001;
768
+ architecture_ = value;
769
+ onChanged();
770
+ return this;
771
+ }
772
+
773
+ private java.lang.Object model_ = "";
774
+ /**
775
+ * <code>string model = 2;</code>
776
+ * @return Whether the model field is set.
777
+ */
778
+ public boolean hasModel() {
779
+ return ((bitField0_ & 0x00000002) != 0);
780
+ }
781
+ /**
782
+ * <code>string model = 2;</code>
783
+ * @return The model.
784
+ */
785
+ public java.lang.String getModel() {
786
+ java.lang.Object ref = model_;
787
+ if (!(ref instanceof java.lang.String)) {
788
+ com.google.protobuf.ByteString bs =
789
+ (com.google.protobuf.ByteString) ref;
790
+ java.lang.String s = bs.toStringUtf8();
791
+ model_ = s;
792
+ return s;
793
+ } else {
794
+ return (java.lang.String) ref;
795
+ }
796
+ }
797
+ /**
798
+ * <code>string model = 2;</code>
799
+ * @return The bytes for model.
800
+ */
801
+ public com.google.protobuf.ByteString
802
+ getModelBytes() {
803
+ java.lang.Object ref = model_;
804
+ if (ref instanceof String) {
805
+ com.google.protobuf.ByteString b =
806
+ com.google.protobuf.ByteString.copyFromUtf8(
807
+ (java.lang.String) ref);
808
+ model_ = b;
809
+ return b;
810
+ } else {
811
+ return (com.google.protobuf.ByteString) ref;
812
+ }
813
+ }
814
+ /**
815
+ * <code>string model = 2;</code>
816
+ * @param value The model to set.
817
+ * @return This builder for chaining.
818
+ */
819
+ public Builder setModel(
820
+ java.lang.String value) {
821
+ if (value == null) {
822
+ throw new NullPointerException();
823
+ }
824
+ bitField0_ |= 0x00000002;
825
+ model_ = value;
826
+ onChanged();
827
+ return this;
828
+ }
829
+ /**
830
+ * <code>string model = 2;</code>
831
+ * @return This builder for chaining.
832
+ */
833
+ public Builder clearModel() {
834
+ bitField0_ = (bitField0_ & ~0x00000002);
835
+ model_ = getDefaultInstance().getModel();
836
+ onChanged();
837
+ return this;
838
+ }
839
+ /**
840
+ * <code>string model = 2;</code>
841
+ * @param value The bytes for model to set.
842
+ * @return This builder for chaining.
843
+ */
844
+ public Builder setModelBytes(
845
+ com.google.protobuf.ByteString value) {
846
+ if (value == null) {
847
+ throw new NullPointerException();
848
+ }
849
+ checkByteStringIsUtf8(value);
850
+ bitField0_ |= 0x00000002;
851
+ model_ = value;
852
+ onChanged();
853
+ return this;
854
+ }
855
+
856
+ private java.lang.Object manufacturer_ = "";
857
+ /**
858
+ * <code>string manufacturer = 3;</code>
859
+ * @return Whether the manufacturer field is set.
860
+ */
861
+ public boolean hasManufacturer() {
862
+ return ((bitField0_ & 0x00000004) != 0);
863
+ }
864
+ /**
865
+ * <code>string manufacturer = 3;</code>
866
+ * @return The manufacturer.
867
+ */
868
+ public java.lang.String getManufacturer() {
869
+ java.lang.Object ref = manufacturer_;
870
+ if (!(ref instanceof java.lang.String)) {
871
+ com.google.protobuf.ByteString bs =
872
+ (com.google.protobuf.ByteString) ref;
873
+ java.lang.String s = bs.toStringUtf8();
874
+ manufacturer_ = s;
875
+ return s;
876
+ } else {
877
+ return (java.lang.String) ref;
878
+ }
879
+ }
880
+ /**
881
+ * <code>string manufacturer = 3;</code>
882
+ * @return The bytes for manufacturer.
883
+ */
884
+ public com.google.protobuf.ByteString
885
+ getManufacturerBytes() {
886
+ java.lang.Object ref = manufacturer_;
887
+ if (ref instanceof String) {
888
+ com.google.protobuf.ByteString b =
889
+ com.google.protobuf.ByteString.copyFromUtf8(
890
+ (java.lang.String) ref);
891
+ manufacturer_ = b;
892
+ return b;
893
+ } else {
894
+ return (com.google.protobuf.ByteString) ref;
895
+ }
896
+ }
897
+ /**
898
+ * <code>string manufacturer = 3;</code>
899
+ * @param value The manufacturer to set.
900
+ * @return This builder for chaining.
901
+ */
902
+ public Builder setManufacturer(
903
+ java.lang.String value) {
904
+ if (value == null) {
905
+ throw new NullPointerException();
906
+ }
907
+ bitField0_ |= 0x00000004;
908
+ manufacturer_ = value;
909
+ onChanged();
910
+ return this;
911
+ }
912
+ /**
913
+ * <code>string manufacturer = 3;</code>
914
+ * @return This builder for chaining.
915
+ */
916
+ public Builder clearManufacturer() {
917
+ bitField0_ = (bitField0_ & ~0x00000004);
918
+ manufacturer_ = getDefaultInstance().getManufacturer();
919
+ onChanged();
920
+ return this;
921
+ }
922
+ /**
923
+ * <code>string manufacturer = 3;</code>
924
+ * @param value The bytes for manufacturer to set.
925
+ * @return This builder for chaining.
926
+ */
927
+ public Builder setManufacturerBytes(
928
+ com.google.protobuf.ByteString value) {
929
+ if (value == null) {
930
+ throw new NullPointerException();
931
+ }
932
+ checkByteStringIsUtf8(value);
933
+ bitField0_ |= 0x00000004;
934
+ manufacturer_ = value;
935
+ onChanged();
936
+ return this;
937
+ }
938
+
939
+ private java.lang.Object serialNumber_ = "";
940
+ /**
941
+ * <code>string serial_number = 4;</code>
942
+ * @return Whether the serialNumber field is set.
943
+ */
944
+ public boolean hasSerialNumber() {
945
+ return ((bitField0_ & 0x00000008) != 0);
946
+ }
947
+ /**
948
+ * <code>string serial_number = 4;</code>
949
+ * @return The serialNumber.
950
+ */
951
+ public java.lang.String getSerialNumber() {
952
+ java.lang.Object ref = serialNumber_;
953
+ if (!(ref instanceof java.lang.String)) {
954
+ com.google.protobuf.ByteString bs =
955
+ (com.google.protobuf.ByteString) ref;
956
+ java.lang.String s = bs.toStringUtf8();
957
+ serialNumber_ = s;
958
+ return s;
959
+ } else {
960
+ return (java.lang.String) ref;
961
+ }
962
+ }
963
+ /**
964
+ * <code>string serial_number = 4;</code>
965
+ * @return The bytes for serialNumber.
966
+ */
967
+ public com.google.protobuf.ByteString
968
+ getSerialNumberBytes() {
969
+ java.lang.Object ref = serialNumber_;
970
+ if (ref instanceof String) {
971
+ com.google.protobuf.ByteString b =
972
+ com.google.protobuf.ByteString.copyFromUtf8(
973
+ (java.lang.String) ref);
974
+ serialNumber_ = b;
975
+ return b;
976
+ } else {
977
+ return (com.google.protobuf.ByteString) ref;
978
+ }
979
+ }
980
+ /**
981
+ * <code>string serial_number = 4;</code>
982
+ * @param value The serialNumber to set.
983
+ * @return This builder for chaining.
984
+ */
985
+ public Builder setSerialNumber(
986
+ java.lang.String value) {
987
+ if (value == null) {
988
+ throw new NullPointerException();
989
+ }
990
+ bitField0_ |= 0x00000008;
991
+ serialNumber_ = value;
992
+ onChanged();
993
+ return this;
994
+ }
995
+ /**
996
+ * <code>string serial_number = 4;</code>
997
+ * @return This builder for chaining.
998
+ */
999
+ public Builder clearSerialNumber() {
1000
+ bitField0_ = (bitField0_ & ~0x00000008);
1001
+ serialNumber_ = getDefaultInstance().getSerialNumber();
1002
+ onChanged();
1003
+ return this;
1004
+ }
1005
+ /**
1006
+ * <code>string serial_number = 4;</code>
1007
+ * @param value The bytes for serialNumber to set.
1008
+ * @return This builder for chaining.
1009
+ */
1010
+ public Builder setSerialNumberBytes(
1011
+ com.google.protobuf.ByteString value) {
1012
+ if (value == null) {
1013
+ throw new NullPointerException();
1014
+ }
1015
+ checkByteStringIsUtf8(value);
1016
+ bitField0_ |= 0x00000008;
1017
+ serialNumber_ = value;
1018
+ onChanged();
1019
+ return this;
1020
+ }
1021
+ @java.lang.Override
1022
+ public final Builder setUnknownFields(
1023
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
1024
+ return super.setUnknownFields(unknownFields);
1025
+ }
1026
+
1027
+ @java.lang.Override
1028
+ public final Builder mergeUnknownFields(
1029
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
1030
+ return super.mergeUnknownFields(unknownFields);
1031
+ }
1032
+
1033
+
1034
+ // @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.RawHardwareInfo)
1035
+ }
1036
+
1037
+ // @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.RawHardwareInfo)
1038
+ private static final com.lansweeper.dp.outbound.v1.RawHardwareInfo DEFAULT_INSTANCE;
1039
+ static {
1040
+ DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.RawHardwareInfo();
1041
+ }
1042
+
1043
+ public static com.lansweeper.dp.outbound.v1.RawHardwareInfo getDefaultInstance() {
1044
+ return DEFAULT_INSTANCE;
1045
+ }
1046
+
1047
+ private static final com.google.protobuf.Parser<RawHardwareInfo>
1048
+ PARSER = new com.google.protobuf.AbstractParser<RawHardwareInfo>() {
1049
+ @java.lang.Override
1050
+ public RawHardwareInfo parsePartialFrom(
1051
+ com.google.protobuf.CodedInputStream input,
1052
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1053
+ throws com.google.protobuf.InvalidProtocolBufferException {
1054
+ return new RawHardwareInfo(input, extensionRegistry);
1055
+ }
1056
+ };
1057
+
1058
+ public static com.google.protobuf.Parser<RawHardwareInfo> parser() {
1059
+ return PARSER;
1060
+ }
1061
+
1062
+ @java.lang.Override
1063
+ public com.google.protobuf.Parser<RawHardwareInfo> getParserForType() {
1064
+ return PARSER;
1065
+ }
1066
+
1067
+ @java.lang.Override
1068
+ public com.lansweeper.dp.outbound.v1.RawHardwareInfo getDefaultInstanceForType() {
1069
+ return DEFAULT_INSTANCE;
1070
+ }
1071
+
1072
+ }
1073
+