@lansweeper/data-platform-outbound-grpc 0.8.0 → 0.8.2

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 (35) hide show
  1. package/CHANGELOG.md +266 -1068
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +58 -0
  4. package/gen-proto/outbound_pb.js +467 -1
  5. package/generated-go/outbound.pb.go +11879 -11740
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +13 -0
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerOrBuilder.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsComputerRegistryInfo$1.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsComputerRegistryInfo$Builder.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsComputerRegistryInfo.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsComputerRegistryInfoOrBuilder.class +0 -0
  18. package/model/target/classes/outbound.proto +13 -0
  19. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Computer.java +551 -108
  20. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerOrBuilder.java +44 -0
  21. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +3569 -3549
  22. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/WindowsComputerRegistryInfo.java +1430 -0
  23. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/WindowsComputerRegistryInfoOrBuilder.java +122 -0
  24. package/model/target/maven-archiver/pom.properties +2 -2
  25. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +4 -0
  26. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +2 -0
  27. package/model/target/{outbound-model-0.7.0-sources.jar → outbound-model-0.8.1-sources.jar} +0 -0
  28. package/model/target/{outbound-model-0.7.0.jar → outbound-model-0.8.1.jar} +0 -0
  29. package/package.json +2 -2
  30. package/pom.xml +1 -1
  31. package/proto/outbound.proto +13 -0
  32. package/service/pom.xml +1 -1
  33. package/service/target/maven-archiver/pom.properties +2 -2
  34. package/service/target/{outbound-service-0.7.0-sources.jar → outbound-service-0.8.1-sources.jar} +0 -0
  35. package/service/target/{outbound-service-0.7.0.jar → outbound-service-0.8.1.jar} +0 -0
@@ -0,0 +1,1430 @@
1
+ // Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ // source: outbound.proto
3
+
4
+ // Protobuf Java Version: 3.25.1
5
+ package com.lansweeper.dp.outbound.v1;
6
+
7
+ /**
8
+ * <pre>
9
+ **
10
+ * Computer Windows only: from WindowsComputerRegistryInfo
11
+ * </pre>
12
+ *
13
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo}
14
+ */
15
+ public final class WindowsComputerRegistryInfo extends
16
+ com.google.protobuf.GeneratedMessageV3 implements
17
+ // @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo)
18
+ WindowsComputerRegistryInfoOrBuilder {
19
+ private static final long serialVersionUID = 0L;
20
+ // Use WindowsComputerRegistryInfo.newBuilder() to construct.
21
+ private WindowsComputerRegistryInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
22
+ super(builder);
23
+ }
24
+ private WindowsComputerRegistryInfo() {
25
+ rootKey_ = "";
26
+ key_ = "";
27
+ subKey_ = "";
28
+ value_ = "";
29
+ regKey_ = "";
30
+ }
31
+
32
+ @java.lang.Override
33
+ @SuppressWarnings({"unused"})
34
+ protected java.lang.Object newInstance(
35
+ UnusedPrivateParameter unused) {
36
+ return new WindowsComputerRegistryInfo();
37
+ }
38
+
39
+ public static final com.google.protobuf.Descriptors.Descriptor
40
+ getDescriptor() {
41
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_WindowsComputerRegistryInfo_descriptor;
42
+ }
43
+
44
+ @java.lang.Override
45
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
46
+ internalGetFieldAccessorTable() {
47
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_WindowsComputerRegistryInfo_fieldAccessorTable
48
+ .ensureFieldAccessorsInitialized(
49
+ com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo.class, com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo.Builder.class);
50
+ }
51
+
52
+ private int bitField0_;
53
+ public static final int ROOT_KEY_FIELD_NUMBER = 1;
54
+ @SuppressWarnings("serial")
55
+ private volatile java.lang.Object rootKey_ = "";
56
+ /**
57
+ * <code>optional string root_key = 1;</code>
58
+ * @return Whether the rootKey field is set.
59
+ */
60
+ @java.lang.Override
61
+ public boolean hasRootKey() {
62
+ return ((bitField0_ & 0x00000001) != 0);
63
+ }
64
+ /**
65
+ * <code>optional string root_key = 1;</code>
66
+ * @return The rootKey.
67
+ */
68
+ @java.lang.Override
69
+ public java.lang.String getRootKey() {
70
+ java.lang.Object ref = rootKey_;
71
+ if (ref instanceof java.lang.String) {
72
+ return (java.lang.String) ref;
73
+ } else {
74
+ com.google.protobuf.ByteString bs =
75
+ (com.google.protobuf.ByteString) ref;
76
+ java.lang.String s = bs.toStringUtf8();
77
+ rootKey_ = s;
78
+ return s;
79
+ }
80
+ }
81
+ /**
82
+ * <code>optional string root_key = 1;</code>
83
+ * @return The bytes for rootKey.
84
+ */
85
+ @java.lang.Override
86
+ public com.google.protobuf.ByteString
87
+ getRootKeyBytes() {
88
+ java.lang.Object ref = rootKey_;
89
+ if (ref instanceof java.lang.String) {
90
+ com.google.protobuf.ByteString b =
91
+ com.google.protobuf.ByteString.copyFromUtf8(
92
+ (java.lang.String) ref);
93
+ rootKey_ = b;
94
+ return b;
95
+ } else {
96
+ return (com.google.protobuf.ByteString) ref;
97
+ }
98
+ }
99
+
100
+ public static final int KEY_FIELD_NUMBER = 2;
101
+ @SuppressWarnings("serial")
102
+ private volatile java.lang.Object key_ = "";
103
+ /**
104
+ * <code>optional string key = 2;</code>
105
+ * @return Whether the key field is set.
106
+ */
107
+ @java.lang.Override
108
+ public boolean hasKey() {
109
+ return ((bitField0_ & 0x00000002) != 0);
110
+ }
111
+ /**
112
+ * <code>optional string key = 2;</code>
113
+ * @return The key.
114
+ */
115
+ @java.lang.Override
116
+ public java.lang.String getKey() {
117
+ java.lang.Object ref = key_;
118
+ if (ref instanceof java.lang.String) {
119
+ return (java.lang.String) ref;
120
+ } else {
121
+ com.google.protobuf.ByteString bs =
122
+ (com.google.protobuf.ByteString) ref;
123
+ java.lang.String s = bs.toStringUtf8();
124
+ key_ = s;
125
+ return s;
126
+ }
127
+ }
128
+ /**
129
+ * <code>optional string key = 2;</code>
130
+ * @return The bytes for key.
131
+ */
132
+ @java.lang.Override
133
+ public com.google.protobuf.ByteString
134
+ getKeyBytes() {
135
+ java.lang.Object ref = key_;
136
+ if (ref instanceof java.lang.String) {
137
+ com.google.protobuf.ByteString b =
138
+ com.google.protobuf.ByteString.copyFromUtf8(
139
+ (java.lang.String) ref);
140
+ key_ = b;
141
+ return b;
142
+ } else {
143
+ return (com.google.protobuf.ByteString) ref;
144
+ }
145
+ }
146
+
147
+ public static final int SUB_KEY_FIELD_NUMBER = 3;
148
+ @SuppressWarnings("serial")
149
+ private volatile java.lang.Object subKey_ = "";
150
+ /**
151
+ * <code>optional string sub_key = 3;</code>
152
+ * @return Whether the subKey field is set.
153
+ */
154
+ @java.lang.Override
155
+ public boolean hasSubKey() {
156
+ return ((bitField0_ & 0x00000004) != 0);
157
+ }
158
+ /**
159
+ * <code>optional string sub_key = 3;</code>
160
+ * @return The subKey.
161
+ */
162
+ @java.lang.Override
163
+ public java.lang.String getSubKey() {
164
+ java.lang.Object ref = subKey_;
165
+ if (ref instanceof java.lang.String) {
166
+ return (java.lang.String) ref;
167
+ } else {
168
+ com.google.protobuf.ByteString bs =
169
+ (com.google.protobuf.ByteString) ref;
170
+ java.lang.String s = bs.toStringUtf8();
171
+ subKey_ = s;
172
+ return s;
173
+ }
174
+ }
175
+ /**
176
+ * <code>optional string sub_key = 3;</code>
177
+ * @return The bytes for subKey.
178
+ */
179
+ @java.lang.Override
180
+ public com.google.protobuf.ByteString
181
+ getSubKeyBytes() {
182
+ java.lang.Object ref = subKey_;
183
+ if (ref instanceof java.lang.String) {
184
+ com.google.protobuf.ByteString b =
185
+ com.google.protobuf.ByteString.copyFromUtf8(
186
+ (java.lang.String) ref);
187
+ subKey_ = b;
188
+ return b;
189
+ } else {
190
+ return (com.google.protobuf.ByteString) ref;
191
+ }
192
+ }
193
+
194
+ public static final int VALUE_FIELD_NUMBER = 4;
195
+ @SuppressWarnings("serial")
196
+ private volatile java.lang.Object value_ = "";
197
+ /**
198
+ * <code>optional string value = 4;</code>
199
+ * @return Whether the value field is set.
200
+ */
201
+ @java.lang.Override
202
+ public boolean hasValue() {
203
+ return ((bitField0_ & 0x00000008) != 0);
204
+ }
205
+ /**
206
+ * <code>optional string value = 4;</code>
207
+ * @return The value.
208
+ */
209
+ @java.lang.Override
210
+ public java.lang.String getValue() {
211
+ java.lang.Object ref = value_;
212
+ if (ref instanceof java.lang.String) {
213
+ return (java.lang.String) ref;
214
+ } else {
215
+ com.google.protobuf.ByteString bs =
216
+ (com.google.protobuf.ByteString) ref;
217
+ java.lang.String s = bs.toStringUtf8();
218
+ value_ = s;
219
+ return s;
220
+ }
221
+ }
222
+ /**
223
+ * <code>optional string value = 4;</code>
224
+ * @return The bytes for value.
225
+ */
226
+ @java.lang.Override
227
+ public com.google.protobuf.ByteString
228
+ getValueBytes() {
229
+ java.lang.Object ref = value_;
230
+ if (ref instanceof java.lang.String) {
231
+ com.google.protobuf.ByteString b =
232
+ com.google.protobuf.ByteString.copyFromUtf8(
233
+ (java.lang.String) ref);
234
+ value_ = b;
235
+ return b;
236
+ } else {
237
+ return (com.google.protobuf.ByteString) ref;
238
+ }
239
+ }
240
+
241
+ public static final int REG_KEY_FIELD_NUMBER = 5;
242
+ @SuppressWarnings("serial")
243
+ private volatile java.lang.Object regKey_ = "";
244
+ /**
245
+ * <pre>
246
+ *=&gt; $"{RootKey}&#92;&#92;{Key}";
247
+ * </pre>
248
+ *
249
+ * <code>optional string reg_key = 5;</code>
250
+ * @return Whether the regKey field is set.
251
+ */
252
+ @java.lang.Override
253
+ public boolean hasRegKey() {
254
+ return ((bitField0_ & 0x00000010) != 0);
255
+ }
256
+ /**
257
+ * <pre>
258
+ *=&gt; $"{RootKey}&#92;&#92;{Key}";
259
+ * </pre>
260
+ *
261
+ * <code>optional string reg_key = 5;</code>
262
+ * @return The regKey.
263
+ */
264
+ @java.lang.Override
265
+ public java.lang.String getRegKey() {
266
+ java.lang.Object ref = regKey_;
267
+ if (ref instanceof java.lang.String) {
268
+ return (java.lang.String) ref;
269
+ } else {
270
+ com.google.protobuf.ByteString bs =
271
+ (com.google.protobuf.ByteString) ref;
272
+ java.lang.String s = bs.toStringUtf8();
273
+ regKey_ = s;
274
+ return s;
275
+ }
276
+ }
277
+ /**
278
+ * <pre>
279
+ *=&gt; $"{RootKey}&#92;&#92;{Key}";
280
+ * </pre>
281
+ *
282
+ * <code>optional string reg_key = 5;</code>
283
+ * @return The bytes for regKey.
284
+ */
285
+ @java.lang.Override
286
+ public com.google.protobuf.ByteString
287
+ getRegKeyBytes() {
288
+ java.lang.Object ref = regKey_;
289
+ if (ref instanceof java.lang.String) {
290
+ com.google.protobuf.ByteString b =
291
+ com.google.protobuf.ByteString.copyFromUtf8(
292
+ (java.lang.String) ref);
293
+ regKey_ = b;
294
+ return b;
295
+ } else {
296
+ return (com.google.protobuf.ByteString) ref;
297
+ }
298
+ }
299
+
300
+ public static final int LAST_CHANGED_FIELD_NUMBER = 6;
301
+ private com.google.protobuf.Timestamp lastChanged_;
302
+ /**
303
+ * <code>optional .google.protobuf.Timestamp last_changed = 6;</code>
304
+ * @return Whether the lastChanged field is set.
305
+ */
306
+ @java.lang.Override
307
+ public boolean hasLastChanged() {
308
+ return ((bitField0_ & 0x00000020) != 0);
309
+ }
310
+ /**
311
+ * <code>optional .google.protobuf.Timestamp last_changed = 6;</code>
312
+ * @return The lastChanged.
313
+ */
314
+ @java.lang.Override
315
+ public com.google.protobuf.Timestamp getLastChanged() {
316
+ return lastChanged_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastChanged_;
317
+ }
318
+ /**
319
+ * <code>optional .google.protobuf.Timestamp last_changed = 6;</code>
320
+ */
321
+ @java.lang.Override
322
+ public com.google.protobuf.TimestampOrBuilder getLastChangedOrBuilder() {
323
+ return lastChanged_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastChanged_;
324
+ }
325
+
326
+ private byte memoizedIsInitialized = -1;
327
+ @java.lang.Override
328
+ public final boolean isInitialized() {
329
+ byte isInitialized = memoizedIsInitialized;
330
+ if (isInitialized == 1) return true;
331
+ if (isInitialized == 0) return false;
332
+
333
+ memoizedIsInitialized = 1;
334
+ return true;
335
+ }
336
+
337
+ @java.lang.Override
338
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
339
+ throws java.io.IOException {
340
+ if (((bitField0_ & 0x00000001) != 0)) {
341
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rootKey_);
342
+ }
343
+ if (((bitField0_ & 0x00000002) != 0)) {
344
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_);
345
+ }
346
+ if (((bitField0_ & 0x00000004) != 0)) {
347
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, subKey_);
348
+ }
349
+ if (((bitField0_ & 0x00000008) != 0)) {
350
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, value_);
351
+ }
352
+ if (((bitField0_ & 0x00000010) != 0)) {
353
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, regKey_);
354
+ }
355
+ if (((bitField0_ & 0x00000020) != 0)) {
356
+ output.writeMessage(6, getLastChanged());
357
+ }
358
+ getUnknownFields().writeTo(output);
359
+ }
360
+
361
+ @java.lang.Override
362
+ public int getSerializedSize() {
363
+ int size = memoizedSize;
364
+ if (size != -1) return size;
365
+
366
+ size = 0;
367
+ if (((bitField0_ & 0x00000001) != 0)) {
368
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, rootKey_);
369
+ }
370
+ if (((bitField0_ & 0x00000002) != 0)) {
371
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_);
372
+ }
373
+ if (((bitField0_ & 0x00000004) != 0)) {
374
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, subKey_);
375
+ }
376
+ if (((bitField0_ & 0x00000008) != 0)) {
377
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, value_);
378
+ }
379
+ if (((bitField0_ & 0x00000010) != 0)) {
380
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, regKey_);
381
+ }
382
+ if (((bitField0_ & 0x00000020) != 0)) {
383
+ size += com.google.protobuf.CodedOutputStream
384
+ .computeMessageSize(6, getLastChanged());
385
+ }
386
+ size += getUnknownFields().getSerializedSize();
387
+ memoizedSize = size;
388
+ return size;
389
+ }
390
+
391
+ @java.lang.Override
392
+ public boolean equals(final java.lang.Object obj) {
393
+ if (obj == this) {
394
+ return true;
395
+ }
396
+ if (!(obj instanceof com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo)) {
397
+ return super.equals(obj);
398
+ }
399
+ com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo other = (com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo) obj;
400
+
401
+ if (hasRootKey() != other.hasRootKey()) return false;
402
+ if (hasRootKey()) {
403
+ if (!getRootKey()
404
+ .equals(other.getRootKey())) return false;
405
+ }
406
+ if (hasKey() != other.hasKey()) return false;
407
+ if (hasKey()) {
408
+ if (!getKey()
409
+ .equals(other.getKey())) return false;
410
+ }
411
+ if (hasSubKey() != other.hasSubKey()) return false;
412
+ if (hasSubKey()) {
413
+ if (!getSubKey()
414
+ .equals(other.getSubKey())) return false;
415
+ }
416
+ if (hasValue() != other.hasValue()) return false;
417
+ if (hasValue()) {
418
+ if (!getValue()
419
+ .equals(other.getValue())) return false;
420
+ }
421
+ if (hasRegKey() != other.hasRegKey()) return false;
422
+ if (hasRegKey()) {
423
+ if (!getRegKey()
424
+ .equals(other.getRegKey())) return false;
425
+ }
426
+ if (hasLastChanged() != other.hasLastChanged()) return false;
427
+ if (hasLastChanged()) {
428
+ if (!getLastChanged()
429
+ .equals(other.getLastChanged())) return false;
430
+ }
431
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
432
+ return true;
433
+ }
434
+
435
+ @java.lang.Override
436
+ public int hashCode() {
437
+ if (memoizedHashCode != 0) {
438
+ return memoizedHashCode;
439
+ }
440
+ int hash = 41;
441
+ hash = (19 * hash) + getDescriptor().hashCode();
442
+ if (hasRootKey()) {
443
+ hash = (37 * hash) + ROOT_KEY_FIELD_NUMBER;
444
+ hash = (53 * hash) + getRootKey().hashCode();
445
+ }
446
+ if (hasKey()) {
447
+ hash = (37 * hash) + KEY_FIELD_NUMBER;
448
+ hash = (53 * hash) + getKey().hashCode();
449
+ }
450
+ if (hasSubKey()) {
451
+ hash = (37 * hash) + SUB_KEY_FIELD_NUMBER;
452
+ hash = (53 * hash) + getSubKey().hashCode();
453
+ }
454
+ if (hasValue()) {
455
+ hash = (37 * hash) + VALUE_FIELD_NUMBER;
456
+ hash = (53 * hash) + getValue().hashCode();
457
+ }
458
+ if (hasRegKey()) {
459
+ hash = (37 * hash) + REG_KEY_FIELD_NUMBER;
460
+ hash = (53 * hash) + getRegKey().hashCode();
461
+ }
462
+ if (hasLastChanged()) {
463
+ hash = (37 * hash) + LAST_CHANGED_FIELD_NUMBER;
464
+ hash = (53 * hash) + getLastChanged().hashCode();
465
+ }
466
+ hash = (29 * hash) + getUnknownFields().hashCode();
467
+ memoizedHashCode = hash;
468
+ return hash;
469
+ }
470
+
471
+ public static com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo parseFrom(
472
+ java.nio.ByteBuffer data)
473
+ throws com.google.protobuf.InvalidProtocolBufferException {
474
+ return PARSER.parseFrom(data);
475
+ }
476
+ public static com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo parseFrom(
477
+ java.nio.ByteBuffer data,
478
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
479
+ throws com.google.protobuf.InvalidProtocolBufferException {
480
+ return PARSER.parseFrom(data, extensionRegistry);
481
+ }
482
+ public static com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo parseFrom(
483
+ com.google.protobuf.ByteString data)
484
+ throws com.google.protobuf.InvalidProtocolBufferException {
485
+ return PARSER.parseFrom(data);
486
+ }
487
+ public static com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo parseFrom(
488
+ com.google.protobuf.ByteString data,
489
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
490
+ throws com.google.protobuf.InvalidProtocolBufferException {
491
+ return PARSER.parseFrom(data, extensionRegistry);
492
+ }
493
+ public static com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo parseFrom(byte[] data)
494
+ throws com.google.protobuf.InvalidProtocolBufferException {
495
+ return PARSER.parseFrom(data);
496
+ }
497
+ public static com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo parseFrom(
498
+ byte[] data,
499
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
500
+ throws com.google.protobuf.InvalidProtocolBufferException {
501
+ return PARSER.parseFrom(data, extensionRegistry);
502
+ }
503
+ public static com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo parseFrom(java.io.InputStream input)
504
+ throws java.io.IOException {
505
+ return com.google.protobuf.GeneratedMessageV3
506
+ .parseWithIOException(PARSER, input);
507
+ }
508
+ public static com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo parseFrom(
509
+ java.io.InputStream input,
510
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
511
+ throws java.io.IOException {
512
+ return com.google.protobuf.GeneratedMessageV3
513
+ .parseWithIOException(PARSER, input, extensionRegistry);
514
+ }
515
+
516
+ public static com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo parseDelimitedFrom(java.io.InputStream input)
517
+ throws java.io.IOException {
518
+ return com.google.protobuf.GeneratedMessageV3
519
+ .parseDelimitedWithIOException(PARSER, input);
520
+ }
521
+
522
+ public static com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo parseDelimitedFrom(
523
+ java.io.InputStream input,
524
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
525
+ throws java.io.IOException {
526
+ return com.google.protobuf.GeneratedMessageV3
527
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
528
+ }
529
+ public static com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo parseFrom(
530
+ com.google.protobuf.CodedInputStream input)
531
+ throws java.io.IOException {
532
+ return com.google.protobuf.GeneratedMessageV3
533
+ .parseWithIOException(PARSER, input);
534
+ }
535
+ public static com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo parseFrom(
536
+ com.google.protobuf.CodedInputStream input,
537
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
538
+ throws java.io.IOException {
539
+ return com.google.protobuf.GeneratedMessageV3
540
+ .parseWithIOException(PARSER, input, extensionRegistry);
541
+ }
542
+
543
+ @java.lang.Override
544
+ public Builder newBuilderForType() { return newBuilder(); }
545
+ public static Builder newBuilder() {
546
+ return DEFAULT_INSTANCE.toBuilder();
547
+ }
548
+ public static Builder newBuilder(com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo prototype) {
549
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
550
+ }
551
+ @java.lang.Override
552
+ public Builder toBuilder() {
553
+ return this == DEFAULT_INSTANCE
554
+ ? new Builder() : new Builder().mergeFrom(this);
555
+ }
556
+
557
+ @java.lang.Override
558
+ protected Builder newBuilderForType(
559
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
560
+ Builder builder = new Builder(parent);
561
+ return builder;
562
+ }
563
+ /**
564
+ * <pre>
565
+ **
566
+ * Computer Windows only: from WindowsComputerRegistryInfo
567
+ * </pre>
568
+ *
569
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo}
570
+ */
571
+ public static final class Builder extends
572
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
573
+ // @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo)
574
+ com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfoOrBuilder {
575
+ public static final com.google.protobuf.Descriptors.Descriptor
576
+ getDescriptor() {
577
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_WindowsComputerRegistryInfo_descriptor;
578
+ }
579
+
580
+ @java.lang.Override
581
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
582
+ internalGetFieldAccessorTable() {
583
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_WindowsComputerRegistryInfo_fieldAccessorTable
584
+ .ensureFieldAccessorsInitialized(
585
+ com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo.class, com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo.Builder.class);
586
+ }
587
+
588
+ // Construct using com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo.newBuilder()
589
+ private Builder() {
590
+ maybeForceBuilderInitialization();
591
+ }
592
+
593
+ private Builder(
594
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
595
+ super(parent);
596
+ maybeForceBuilderInitialization();
597
+ }
598
+ private void maybeForceBuilderInitialization() {
599
+ if (com.google.protobuf.GeneratedMessageV3
600
+ .alwaysUseFieldBuilders) {
601
+ getLastChangedFieldBuilder();
602
+ }
603
+ }
604
+ @java.lang.Override
605
+ public Builder clear() {
606
+ super.clear();
607
+ bitField0_ = 0;
608
+ rootKey_ = "";
609
+ key_ = "";
610
+ subKey_ = "";
611
+ value_ = "";
612
+ regKey_ = "";
613
+ lastChanged_ = null;
614
+ if (lastChangedBuilder_ != null) {
615
+ lastChangedBuilder_.dispose();
616
+ lastChangedBuilder_ = null;
617
+ }
618
+ return this;
619
+ }
620
+
621
+ @java.lang.Override
622
+ public com.google.protobuf.Descriptors.Descriptor
623
+ getDescriptorForType() {
624
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_WindowsComputerRegistryInfo_descriptor;
625
+ }
626
+
627
+ @java.lang.Override
628
+ public com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo getDefaultInstanceForType() {
629
+ return com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo.getDefaultInstance();
630
+ }
631
+
632
+ @java.lang.Override
633
+ public com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo build() {
634
+ com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo result = buildPartial();
635
+ if (!result.isInitialized()) {
636
+ throw newUninitializedMessageException(result);
637
+ }
638
+ return result;
639
+ }
640
+
641
+ @java.lang.Override
642
+ public com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo buildPartial() {
643
+ com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo result = new com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo(this);
644
+ if (bitField0_ != 0) { buildPartial0(result); }
645
+ onBuilt();
646
+ return result;
647
+ }
648
+
649
+ private void buildPartial0(com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo result) {
650
+ int from_bitField0_ = bitField0_;
651
+ int to_bitField0_ = 0;
652
+ if (((from_bitField0_ & 0x00000001) != 0)) {
653
+ result.rootKey_ = rootKey_;
654
+ to_bitField0_ |= 0x00000001;
655
+ }
656
+ if (((from_bitField0_ & 0x00000002) != 0)) {
657
+ result.key_ = key_;
658
+ to_bitField0_ |= 0x00000002;
659
+ }
660
+ if (((from_bitField0_ & 0x00000004) != 0)) {
661
+ result.subKey_ = subKey_;
662
+ to_bitField0_ |= 0x00000004;
663
+ }
664
+ if (((from_bitField0_ & 0x00000008) != 0)) {
665
+ result.value_ = value_;
666
+ to_bitField0_ |= 0x00000008;
667
+ }
668
+ if (((from_bitField0_ & 0x00000010) != 0)) {
669
+ result.regKey_ = regKey_;
670
+ to_bitField0_ |= 0x00000010;
671
+ }
672
+ if (((from_bitField0_ & 0x00000020) != 0)) {
673
+ result.lastChanged_ = lastChangedBuilder_ == null
674
+ ? lastChanged_
675
+ : lastChangedBuilder_.build();
676
+ to_bitField0_ |= 0x00000020;
677
+ }
678
+ result.bitField0_ |= to_bitField0_;
679
+ }
680
+
681
+ @java.lang.Override
682
+ public Builder clone() {
683
+ return super.clone();
684
+ }
685
+ @java.lang.Override
686
+ public Builder setField(
687
+ com.google.protobuf.Descriptors.FieldDescriptor field,
688
+ java.lang.Object value) {
689
+ return super.setField(field, value);
690
+ }
691
+ @java.lang.Override
692
+ public Builder clearField(
693
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
694
+ return super.clearField(field);
695
+ }
696
+ @java.lang.Override
697
+ public Builder clearOneof(
698
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
699
+ return super.clearOneof(oneof);
700
+ }
701
+ @java.lang.Override
702
+ public Builder setRepeatedField(
703
+ com.google.protobuf.Descriptors.FieldDescriptor field,
704
+ int index, java.lang.Object value) {
705
+ return super.setRepeatedField(field, index, value);
706
+ }
707
+ @java.lang.Override
708
+ public Builder addRepeatedField(
709
+ com.google.protobuf.Descriptors.FieldDescriptor field,
710
+ java.lang.Object value) {
711
+ return super.addRepeatedField(field, value);
712
+ }
713
+ @java.lang.Override
714
+ public Builder mergeFrom(com.google.protobuf.Message other) {
715
+ if (other instanceof com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo) {
716
+ return mergeFrom((com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo)other);
717
+ } else {
718
+ super.mergeFrom(other);
719
+ return this;
720
+ }
721
+ }
722
+
723
+ public Builder mergeFrom(com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo other) {
724
+ if (other == com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo.getDefaultInstance()) return this;
725
+ if (other.hasRootKey()) {
726
+ rootKey_ = other.rootKey_;
727
+ bitField0_ |= 0x00000001;
728
+ onChanged();
729
+ }
730
+ if (other.hasKey()) {
731
+ key_ = other.key_;
732
+ bitField0_ |= 0x00000002;
733
+ onChanged();
734
+ }
735
+ if (other.hasSubKey()) {
736
+ subKey_ = other.subKey_;
737
+ bitField0_ |= 0x00000004;
738
+ onChanged();
739
+ }
740
+ if (other.hasValue()) {
741
+ value_ = other.value_;
742
+ bitField0_ |= 0x00000008;
743
+ onChanged();
744
+ }
745
+ if (other.hasRegKey()) {
746
+ regKey_ = other.regKey_;
747
+ bitField0_ |= 0x00000010;
748
+ onChanged();
749
+ }
750
+ if (other.hasLastChanged()) {
751
+ mergeLastChanged(other.getLastChanged());
752
+ }
753
+ this.mergeUnknownFields(other.getUnknownFields());
754
+ onChanged();
755
+ return this;
756
+ }
757
+
758
+ @java.lang.Override
759
+ public final boolean isInitialized() {
760
+ return true;
761
+ }
762
+
763
+ @java.lang.Override
764
+ public Builder mergeFrom(
765
+ com.google.protobuf.CodedInputStream input,
766
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
767
+ throws java.io.IOException {
768
+ if (extensionRegistry == null) {
769
+ throw new java.lang.NullPointerException();
770
+ }
771
+ try {
772
+ boolean done = false;
773
+ while (!done) {
774
+ int tag = input.readTag();
775
+ switch (tag) {
776
+ case 0:
777
+ done = true;
778
+ break;
779
+ case 10: {
780
+ rootKey_ = input.readStringRequireUtf8();
781
+ bitField0_ |= 0x00000001;
782
+ break;
783
+ } // case 10
784
+ case 18: {
785
+ key_ = input.readStringRequireUtf8();
786
+ bitField0_ |= 0x00000002;
787
+ break;
788
+ } // case 18
789
+ case 26: {
790
+ subKey_ = input.readStringRequireUtf8();
791
+ bitField0_ |= 0x00000004;
792
+ break;
793
+ } // case 26
794
+ case 34: {
795
+ value_ = input.readStringRequireUtf8();
796
+ bitField0_ |= 0x00000008;
797
+ break;
798
+ } // case 34
799
+ case 42: {
800
+ regKey_ = input.readStringRequireUtf8();
801
+ bitField0_ |= 0x00000010;
802
+ break;
803
+ } // case 42
804
+ case 50: {
805
+ input.readMessage(
806
+ getLastChangedFieldBuilder().getBuilder(),
807
+ extensionRegistry);
808
+ bitField0_ |= 0x00000020;
809
+ break;
810
+ } // case 50
811
+ default: {
812
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
813
+ done = true; // was an endgroup tag
814
+ }
815
+ break;
816
+ } // default:
817
+ } // switch (tag)
818
+ } // while (!done)
819
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
820
+ throw e.unwrapIOException();
821
+ } finally {
822
+ onChanged();
823
+ } // finally
824
+ return this;
825
+ }
826
+ private int bitField0_;
827
+
828
+ private java.lang.Object rootKey_ = "";
829
+ /**
830
+ * <code>optional string root_key = 1;</code>
831
+ * @return Whether the rootKey field is set.
832
+ */
833
+ public boolean hasRootKey() {
834
+ return ((bitField0_ & 0x00000001) != 0);
835
+ }
836
+ /**
837
+ * <code>optional string root_key = 1;</code>
838
+ * @return The rootKey.
839
+ */
840
+ public java.lang.String getRootKey() {
841
+ java.lang.Object ref = rootKey_;
842
+ if (!(ref instanceof java.lang.String)) {
843
+ com.google.protobuf.ByteString bs =
844
+ (com.google.protobuf.ByteString) ref;
845
+ java.lang.String s = bs.toStringUtf8();
846
+ rootKey_ = s;
847
+ return s;
848
+ } else {
849
+ return (java.lang.String) ref;
850
+ }
851
+ }
852
+ /**
853
+ * <code>optional string root_key = 1;</code>
854
+ * @return The bytes for rootKey.
855
+ */
856
+ public com.google.protobuf.ByteString
857
+ getRootKeyBytes() {
858
+ java.lang.Object ref = rootKey_;
859
+ if (ref instanceof String) {
860
+ com.google.protobuf.ByteString b =
861
+ com.google.protobuf.ByteString.copyFromUtf8(
862
+ (java.lang.String) ref);
863
+ rootKey_ = b;
864
+ return b;
865
+ } else {
866
+ return (com.google.protobuf.ByteString) ref;
867
+ }
868
+ }
869
+ /**
870
+ * <code>optional string root_key = 1;</code>
871
+ * @param value The rootKey to set.
872
+ * @return This builder for chaining.
873
+ */
874
+ public Builder setRootKey(
875
+ java.lang.String value) {
876
+ if (value == null) { throw new NullPointerException(); }
877
+ rootKey_ = value;
878
+ bitField0_ |= 0x00000001;
879
+ onChanged();
880
+ return this;
881
+ }
882
+ /**
883
+ * <code>optional string root_key = 1;</code>
884
+ * @return This builder for chaining.
885
+ */
886
+ public Builder clearRootKey() {
887
+ rootKey_ = getDefaultInstance().getRootKey();
888
+ bitField0_ = (bitField0_ & ~0x00000001);
889
+ onChanged();
890
+ return this;
891
+ }
892
+ /**
893
+ * <code>optional string root_key = 1;</code>
894
+ * @param value The bytes for rootKey to set.
895
+ * @return This builder for chaining.
896
+ */
897
+ public Builder setRootKeyBytes(
898
+ com.google.protobuf.ByteString value) {
899
+ if (value == null) { throw new NullPointerException(); }
900
+ checkByteStringIsUtf8(value);
901
+ rootKey_ = value;
902
+ bitField0_ |= 0x00000001;
903
+ onChanged();
904
+ return this;
905
+ }
906
+
907
+ private java.lang.Object key_ = "";
908
+ /**
909
+ * <code>optional string key = 2;</code>
910
+ * @return Whether the key field is set.
911
+ */
912
+ public boolean hasKey() {
913
+ return ((bitField0_ & 0x00000002) != 0);
914
+ }
915
+ /**
916
+ * <code>optional string key = 2;</code>
917
+ * @return The key.
918
+ */
919
+ public java.lang.String getKey() {
920
+ java.lang.Object ref = key_;
921
+ if (!(ref instanceof java.lang.String)) {
922
+ com.google.protobuf.ByteString bs =
923
+ (com.google.protobuf.ByteString) ref;
924
+ java.lang.String s = bs.toStringUtf8();
925
+ key_ = s;
926
+ return s;
927
+ } else {
928
+ return (java.lang.String) ref;
929
+ }
930
+ }
931
+ /**
932
+ * <code>optional string key = 2;</code>
933
+ * @return The bytes for key.
934
+ */
935
+ public com.google.protobuf.ByteString
936
+ getKeyBytes() {
937
+ java.lang.Object ref = key_;
938
+ if (ref instanceof String) {
939
+ com.google.protobuf.ByteString b =
940
+ com.google.protobuf.ByteString.copyFromUtf8(
941
+ (java.lang.String) ref);
942
+ key_ = b;
943
+ return b;
944
+ } else {
945
+ return (com.google.protobuf.ByteString) ref;
946
+ }
947
+ }
948
+ /**
949
+ * <code>optional string key = 2;</code>
950
+ * @param value The key to set.
951
+ * @return This builder for chaining.
952
+ */
953
+ public Builder setKey(
954
+ java.lang.String value) {
955
+ if (value == null) { throw new NullPointerException(); }
956
+ key_ = value;
957
+ bitField0_ |= 0x00000002;
958
+ onChanged();
959
+ return this;
960
+ }
961
+ /**
962
+ * <code>optional string key = 2;</code>
963
+ * @return This builder for chaining.
964
+ */
965
+ public Builder clearKey() {
966
+ key_ = getDefaultInstance().getKey();
967
+ bitField0_ = (bitField0_ & ~0x00000002);
968
+ onChanged();
969
+ return this;
970
+ }
971
+ /**
972
+ * <code>optional string key = 2;</code>
973
+ * @param value The bytes for key to set.
974
+ * @return This builder for chaining.
975
+ */
976
+ public Builder setKeyBytes(
977
+ com.google.protobuf.ByteString value) {
978
+ if (value == null) { throw new NullPointerException(); }
979
+ checkByteStringIsUtf8(value);
980
+ key_ = value;
981
+ bitField0_ |= 0x00000002;
982
+ onChanged();
983
+ return this;
984
+ }
985
+
986
+ private java.lang.Object subKey_ = "";
987
+ /**
988
+ * <code>optional string sub_key = 3;</code>
989
+ * @return Whether the subKey field is set.
990
+ */
991
+ public boolean hasSubKey() {
992
+ return ((bitField0_ & 0x00000004) != 0);
993
+ }
994
+ /**
995
+ * <code>optional string sub_key = 3;</code>
996
+ * @return The subKey.
997
+ */
998
+ public java.lang.String getSubKey() {
999
+ java.lang.Object ref = subKey_;
1000
+ if (!(ref instanceof java.lang.String)) {
1001
+ com.google.protobuf.ByteString bs =
1002
+ (com.google.protobuf.ByteString) ref;
1003
+ java.lang.String s = bs.toStringUtf8();
1004
+ subKey_ = s;
1005
+ return s;
1006
+ } else {
1007
+ return (java.lang.String) ref;
1008
+ }
1009
+ }
1010
+ /**
1011
+ * <code>optional string sub_key = 3;</code>
1012
+ * @return The bytes for subKey.
1013
+ */
1014
+ public com.google.protobuf.ByteString
1015
+ getSubKeyBytes() {
1016
+ java.lang.Object ref = subKey_;
1017
+ if (ref instanceof String) {
1018
+ com.google.protobuf.ByteString b =
1019
+ com.google.protobuf.ByteString.copyFromUtf8(
1020
+ (java.lang.String) ref);
1021
+ subKey_ = b;
1022
+ return b;
1023
+ } else {
1024
+ return (com.google.protobuf.ByteString) ref;
1025
+ }
1026
+ }
1027
+ /**
1028
+ * <code>optional string sub_key = 3;</code>
1029
+ * @param value The subKey to set.
1030
+ * @return This builder for chaining.
1031
+ */
1032
+ public Builder setSubKey(
1033
+ java.lang.String value) {
1034
+ if (value == null) { throw new NullPointerException(); }
1035
+ subKey_ = value;
1036
+ bitField0_ |= 0x00000004;
1037
+ onChanged();
1038
+ return this;
1039
+ }
1040
+ /**
1041
+ * <code>optional string sub_key = 3;</code>
1042
+ * @return This builder for chaining.
1043
+ */
1044
+ public Builder clearSubKey() {
1045
+ subKey_ = getDefaultInstance().getSubKey();
1046
+ bitField0_ = (bitField0_ & ~0x00000004);
1047
+ onChanged();
1048
+ return this;
1049
+ }
1050
+ /**
1051
+ * <code>optional string sub_key = 3;</code>
1052
+ * @param value The bytes for subKey to set.
1053
+ * @return This builder for chaining.
1054
+ */
1055
+ public Builder setSubKeyBytes(
1056
+ com.google.protobuf.ByteString value) {
1057
+ if (value == null) { throw new NullPointerException(); }
1058
+ checkByteStringIsUtf8(value);
1059
+ subKey_ = value;
1060
+ bitField0_ |= 0x00000004;
1061
+ onChanged();
1062
+ return this;
1063
+ }
1064
+
1065
+ private java.lang.Object value_ = "";
1066
+ /**
1067
+ * <code>optional string value = 4;</code>
1068
+ * @return Whether the value field is set.
1069
+ */
1070
+ public boolean hasValue() {
1071
+ return ((bitField0_ & 0x00000008) != 0);
1072
+ }
1073
+ /**
1074
+ * <code>optional string value = 4;</code>
1075
+ * @return The value.
1076
+ */
1077
+ public java.lang.String getValue() {
1078
+ java.lang.Object ref = value_;
1079
+ if (!(ref instanceof java.lang.String)) {
1080
+ com.google.protobuf.ByteString bs =
1081
+ (com.google.protobuf.ByteString) ref;
1082
+ java.lang.String s = bs.toStringUtf8();
1083
+ value_ = s;
1084
+ return s;
1085
+ } else {
1086
+ return (java.lang.String) ref;
1087
+ }
1088
+ }
1089
+ /**
1090
+ * <code>optional string value = 4;</code>
1091
+ * @return The bytes for value.
1092
+ */
1093
+ public com.google.protobuf.ByteString
1094
+ getValueBytes() {
1095
+ java.lang.Object ref = value_;
1096
+ if (ref instanceof String) {
1097
+ com.google.protobuf.ByteString b =
1098
+ com.google.protobuf.ByteString.copyFromUtf8(
1099
+ (java.lang.String) ref);
1100
+ value_ = b;
1101
+ return b;
1102
+ } else {
1103
+ return (com.google.protobuf.ByteString) ref;
1104
+ }
1105
+ }
1106
+ /**
1107
+ * <code>optional string value = 4;</code>
1108
+ * @param value The value to set.
1109
+ * @return This builder for chaining.
1110
+ */
1111
+ public Builder setValue(
1112
+ java.lang.String value) {
1113
+ if (value == null) { throw new NullPointerException(); }
1114
+ value_ = value;
1115
+ bitField0_ |= 0x00000008;
1116
+ onChanged();
1117
+ return this;
1118
+ }
1119
+ /**
1120
+ * <code>optional string value = 4;</code>
1121
+ * @return This builder for chaining.
1122
+ */
1123
+ public Builder clearValue() {
1124
+ value_ = getDefaultInstance().getValue();
1125
+ bitField0_ = (bitField0_ & ~0x00000008);
1126
+ onChanged();
1127
+ return this;
1128
+ }
1129
+ /**
1130
+ * <code>optional string value = 4;</code>
1131
+ * @param value The bytes for value to set.
1132
+ * @return This builder for chaining.
1133
+ */
1134
+ public Builder setValueBytes(
1135
+ com.google.protobuf.ByteString value) {
1136
+ if (value == null) { throw new NullPointerException(); }
1137
+ checkByteStringIsUtf8(value);
1138
+ value_ = value;
1139
+ bitField0_ |= 0x00000008;
1140
+ onChanged();
1141
+ return this;
1142
+ }
1143
+
1144
+ private java.lang.Object regKey_ = "";
1145
+ /**
1146
+ * <pre>
1147
+ *=&gt; $"{RootKey}&#92;&#92;{Key}";
1148
+ * </pre>
1149
+ *
1150
+ * <code>optional string reg_key = 5;</code>
1151
+ * @return Whether the regKey field is set.
1152
+ */
1153
+ public boolean hasRegKey() {
1154
+ return ((bitField0_ & 0x00000010) != 0);
1155
+ }
1156
+ /**
1157
+ * <pre>
1158
+ *=&gt; $"{RootKey}&#92;&#92;{Key}";
1159
+ * </pre>
1160
+ *
1161
+ * <code>optional string reg_key = 5;</code>
1162
+ * @return The regKey.
1163
+ */
1164
+ public java.lang.String getRegKey() {
1165
+ java.lang.Object ref = regKey_;
1166
+ if (!(ref instanceof java.lang.String)) {
1167
+ com.google.protobuf.ByteString bs =
1168
+ (com.google.protobuf.ByteString) ref;
1169
+ java.lang.String s = bs.toStringUtf8();
1170
+ regKey_ = s;
1171
+ return s;
1172
+ } else {
1173
+ return (java.lang.String) ref;
1174
+ }
1175
+ }
1176
+ /**
1177
+ * <pre>
1178
+ *=&gt; $"{RootKey}&#92;&#92;{Key}";
1179
+ * </pre>
1180
+ *
1181
+ * <code>optional string reg_key = 5;</code>
1182
+ * @return The bytes for regKey.
1183
+ */
1184
+ public com.google.protobuf.ByteString
1185
+ getRegKeyBytes() {
1186
+ java.lang.Object ref = regKey_;
1187
+ if (ref instanceof String) {
1188
+ com.google.protobuf.ByteString b =
1189
+ com.google.protobuf.ByteString.copyFromUtf8(
1190
+ (java.lang.String) ref);
1191
+ regKey_ = b;
1192
+ return b;
1193
+ } else {
1194
+ return (com.google.protobuf.ByteString) ref;
1195
+ }
1196
+ }
1197
+ /**
1198
+ * <pre>
1199
+ *=&gt; $"{RootKey}&#92;&#92;{Key}";
1200
+ * </pre>
1201
+ *
1202
+ * <code>optional string reg_key = 5;</code>
1203
+ * @param value The regKey to set.
1204
+ * @return This builder for chaining.
1205
+ */
1206
+ public Builder setRegKey(
1207
+ java.lang.String value) {
1208
+ if (value == null) { throw new NullPointerException(); }
1209
+ regKey_ = value;
1210
+ bitField0_ |= 0x00000010;
1211
+ onChanged();
1212
+ return this;
1213
+ }
1214
+ /**
1215
+ * <pre>
1216
+ *=&gt; $"{RootKey}&#92;&#92;{Key}";
1217
+ * </pre>
1218
+ *
1219
+ * <code>optional string reg_key = 5;</code>
1220
+ * @return This builder for chaining.
1221
+ */
1222
+ public Builder clearRegKey() {
1223
+ regKey_ = getDefaultInstance().getRegKey();
1224
+ bitField0_ = (bitField0_ & ~0x00000010);
1225
+ onChanged();
1226
+ return this;
1227
+ }
1228
+ /**
1229
+ * <pre>
1230
+ *=&gt; $"{RootKey}&#92;&#92;{Key}";
1231
+ * </pre>
1232
+ *
1233
+ * <code>optional string reg_key = 5;</code>
1234
+ * @param value The bytes for regKey to set.
1235
+ * @return This builder for chaining.
1236
+ */
1237
+ public Builder setRegKeyBytes(
1238
+ com.google.protobuf.ByteString value) {
1239
+ if (value == null) { throw new NullPointerException(); }
1240
+ checkByteStringIsUtf8(value);
1241
+ regKey_ = value;
1242
+ bitField0_ |= 0x00000010;
1243
+ onChanged();
1244
+ return this;
1245
+ }
1246
+
1247
+ private com.google.protobuf.Timestamp lastChanged_;
1248
+ private com.google.protobuf.SingleFieldBuilderV3<
1249
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastChangedBuilder_;
1250
+ /**
1251
+ * <code>optional .google.protobuf.Timestamp last_changed = 6;</code>
1252
+ * @return Whether the lastChanged field is set.
1253
+ */
1254
+ public boolean hasLastChanged() {
1255
+ return ((bitField0_ & 0x00000020) != 0);
1256
+ }
1257
+ /**
1258
+ * <code>optional .google.protobuf.Timestamp last_changed = 6;</code>
1259
+ * @return The lastChanged.
1260
+ */
1261
+ public com.google.protobuf.Timestamp getLastChanged() {
1262
+ if (lastChangedBuilder_ == null) {
1263
+ return lastChanged_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastChanged_;
1264
+ } else {
1265
+ return lastChangedBuilder_.getMessage();
1266
+ }
1267
+ }
1268
+ /**
1269
+ * <code>optional .google.protobuf.Timestamp last_changed = 6;</code>
1270
+ */
1271
+ public Builder setLastChanged(com.google.protobuf.Timestamp value) {
1272
+ if (lastChangedBuilder_ == null) {
1273
+ if (value == null) {
1274
+ throw new NullPointerException();
1275
+ }
1276
+ lastChanged_ = value;
1277
+ } else {
1278
+ lastChangedBuilder_.setMessage(value);
1279
+ }
1280
+ bitField0_ |= 0x00000020;
1281
+ onChanged();
1282
+ return this;
1283
+ }
1284
+ /**
1285
+ * <code>optional .google.protobuf.Timestamp last_changed = 6;</code>
1286
+ */
1287
+ public Builder setLastChanged(
1288
+ com.google.protobuf.Timestamp.Builder builderForValue) {
1289
+ if (lastChangedBuilder_ == null) {
1290
+ lastChanged_ = builderForValue.build();
1291
+ } else {
1292
+ lastChangedBuilder_.setMessage(builderForValue.build());
1293
+ }
1294
+ bitField0_ |= 0x00000020;
1295
+ onChanged();
1296
+ return this;
1297
+ }
1298
+ /**
1299
+ * <code>optional .google.protobuf.Timestamp last_changed = 6;</code>
1300
+ */
1301
+ public Builder mergeLastChanged(com.google.protobuf.Timestamp value) {
1302
+ if (lastChangedBuilder_ == null) {
1303
+ if (((bitField0_ & 0x00000020) != 0) &&
1304
+ lastChanged_ != null &&
1305
+ lastChanged_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
1306
+ getLastChangedBuilder().mergeFrom(value);
1307
+ } else {
1308
+ lastChanged_ = value;
1309
+ }
1310
+ } else {
1311
+ lastChangedBuilder_.mergeFrom(value);
1312
+ }
1313
+ if (lastChanged_ != null) {
1314
+ bitField0_ |= 0x00000020;
1315
+ onChanged();
1316
+ }
1317
+ return this;
1318
+ }
1319
+ /**
1320
+ * <code>optional .google.protobuf.Timestamp last_changed = 6;</code>
1321
+ */
1322
+ public Builder clearLastChanged() {
1323
+ bitField0_ = (bitField0_ & ~0x00000020);
1324
+ lastChanged_ = null;
1325
+ if (lastChangedBuilder_ != null) {
1326
+ lastChangedBuilder_.dispose();
1327
+ lastChangedBuilder_ = null;
1328
+ }
1329
+ onChanged();
1330
+ return this;
1331
+ }
1332
+ /**
1333
+ * <code>optional .google.protobuf.Timestamp last_changed = 6;</code>
1334
+ */
1335
+ public com.google.protobuf.Timestamp.Builder getLastChangedBuilder() {
1336
+ bitField0_ |= 0x00000020;
1337
+ onChanged();
1338
+ return getLastChangedFieldBuilder().getBuilder();
1339
+ }
1340
+ /**
1341
+ * <code>optional .google.protobuf.Timestamp last_changed = 6;</code>
1342
+ */
1343
+ public com.google.protobuf.TimestampOrBuilder getLastChangedOrBuilder() {
1344
+ if (lastChangedBuilder_ != null) {
1345
+ return lastChangedBuilder_.getMessageOrBuilder();
1346
+ } else {
1347
+ return lastChanged_ == null ?
1348
+ com.google.protobuf.Timestamp.getDefaultInstance() : lastChanged_;
1349
+ }
1350
+ }
1351
+ /**
1352
+ * <code>optional .google.protobuf.Timestamp last_changed = 6;</code>
1353
+ */
1354
+ private com.google.protobuf.SingleFieldBuilderV3<
1355
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
1356
+ getLastChangedFieldBuilder() {
1357
+ if (lastChangedBuilder_ == null) {
1358
+ lastChangedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
1359
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
1360
+ getLastChanged(),
1361
+ getParentForChildren(),
1362
+ isClean());
1363
+ lastChanged_ = null;
1364
+ }
1365
+ return lastChangedBuilder_;
1366
+ }
1367
+ @java.lang.Override
1368
+ public final Builder setUnknownFields(
1369
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
1370
+ return super.setUnknownFields(unknownFields);
1371
+ }
1372
+
1373
+ @java.lang.Override
1374
+ public final Builder mergeUnknownFields(
1375
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
1376
+ return super.mergeUnknownFields(unknownFields);
1377
+ }
1378
+
1379
+
1380
+ // @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo)
1381
+ }
1382
+
1383
+ // @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo)
1384
+ private static final com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo DEFAULT_INSTANCE;
1385
+ static {
1386
+ DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo();
1387
+ }
1388
+
1389
+ public static com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo getDefaultInstance() {
1390
+ return DEFAULT_INSTANCE;
1391
+ }
1392
+
1393
+ private static final com.google.protobuf.Parser<WindowsComputerRegistryInfo>
1394
+ PARSER = new com.google.protobuf.AbstractParser<WindowsComputerRegistryInfo>() {
1395
+ @java.lang.Override
1396
+ public WindowsComputerRegistryInfo parsePartialFrom(
1397
+ com.google.protobuf.CodedInputStream input,
1398
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1399
+ throws com.google.protobuf.InvalidProtocolBufferException {
1400
+ Builder builder = newBuilder();
1401
+ try {
1402
+ builder.mergeFrom(input, extensionRegistry);
1403
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1404
+ throw e.setUnfinishedMessage(builder.buildPartial());
1405
+ } catch (com.google.protobuf.UninitializedMessageException e) {
1406
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1407
+ } catch (java.io.IOException e) {
1408
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
1409
+ .setUnfinishedMessage(builder.buildPartial());
1410
+ }
1411
+ return builder.buildPartial();
1412
+ }
1413
+ };
1414
+
1415
+ public static com.google.protobuf.Parser<WindowsComputerRegistryInfo> parser() {
1416
+ return PARSER;
1417
+ }
1418
+
1419
+ @java.lang.Override
1420
+ public com.google.protobuf.Parser<WindowsComputerRegistryInfo> getParserForType() {
1421
+ return PARSER;
1422
+ }
1423
+
1424
+ @java.lang.Override
1425
+ public com.lansweeper.dp.outbound.v1.WindowsComputerRegistryInfo getDefaultInstanceForType() {
1426
+ return DEFAULT_INSTANCE;
1427
+ }
1428
+
1429
+ }
1430
+