@lansweeper/data-platform-outbound-grpc 0.3.17 → 0.3.18

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 (39) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +52 -0
  4. package/gen-proto/outbound_pb.js +370 -3
  5. package/generated-go/outbound.pb.go +9918 -9734
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +19 -0
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent$2.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent$Builder.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent$EventCase.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEventOrBuilder.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent$1.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent$Builder.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent$EventType$1.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent$EventType.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent.class +0 -0
  21. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEventOrBuilder.class +0 -0
  22. package/model/target/classes/outbound.proto +19 -0
  23. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetChangeEvent.java +256 -0
  24. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetChangeEventOrBuilder.java +27 -0
  25. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +2889 -2868
  26. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent.java +1190 -0
  27. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEventOrBuilder.java +66 -0
  28. package/model/target/maven-archiver/pom.properties +2 -2
  29. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +6 -0
  30. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +2 -0
  31. package/model/target/{outbound-model-0.3.16-sources.jar → outbound-model-0.3.17-sources.jar} +0 -0
  32. package/model/target/{outbound-model-0.3.16.jar → outbound-model-0.3.17.jar} +0 -0
  33. package/package.json +2 -2
  34. package/pom.xml +1 -1
  35. package/proto/outbound.proto +19 -0
  36. package/service/pom.xml +1 -1
  37. package/service/target/maven-archiver/pom.properties +2 -2
  38. package/service/target/{outbound-service-0.3.16-sources.jar → outbound-service-0.3.17-sources.jar} +0 -0
  39. package/service/target/{outbound-service-0.3.16.jar → outbound-service-0.3.17.jar} +0 -0
@@ -0,0 +1,1190 @@
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
+ * Log entry for windows HyperV change log, tracking install, uninstall and update.
11
+ * </pre>
12
+ *
13
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent}
14
+ */
15
+ public final class WindowsHyperVChangeEvent extends
16
+ com.google.protobuf.GeneratedMessageV3 implements
17
+ // @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent)
18
+ WindowsHyperVChangeEventOrBuilder {
19
+ private static final long serialVersionUID = 0L;
20
+ // Use WindowsHyperVChangeEvent.newBuilder() to construct.
21
+ private WindowsHyperVChangeEvent(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
22
+ super(builder);
23
+ }
24
+ private WindowsHyperVChangeEvent() {
25
+ eventType_ = 0;
26
+ }
27
+
28
+ @java.lang.Override
29
+ @SuppressWarnings({"unused"})
30
+ protected java.lang.Object newInstance(
31
+ UnusedPrivateParameter unused) {
32
+ return new WindowsHyperVChangeEvent();
33
+ }
34
+
35
+ public static final com.google.protobuf.Descriptors.Descriptor
36
+ getDescriptor() {
37
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_WindowsHyperVChangeEvent_descriptor;
38
+ }
39
+
40
+ @java.lang.Override
41
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
42
+ internalGetFieldAccessorTable() {
43
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_WindowsHyperVChangeEvent_fieldAccessorTable
44
+ .ensureFieldAccessorsInitialized(
45
+ com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.class, com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.Builder.class);
46
+ }
47
+
48
+ /**
49
+ * Protobuf enum {@code com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType}
50
+ */
51
+ public enum EventType
52
+ implements com.google.protobuf.ProtocolMessageEnum {
53
+ /**
54
+ * <code>INSTALL = 0;</code>
55
+ */
56
+ INSTALL(0),
57
+ /**
58
+ * <code>UNINSTALL = 1;</code>
59
+ */
60
+ UNINSTALL(1),
61
+ /**
62
+ * <code>UPDATE = 2;</code>
63
+ */
64
+ UPDATE(2),
65
+ UNRECOGNIZED(-1),
66
+ ;
67
+
68
+ /**
69
+ * <code>INSTALL = 0;</code>
70
+ */
71
+ public static final int INSTALL_VALUE = 0;
72
+ /**
73
+ * <code>UNINSTALL = 1;</code>
74
+ */
75
+ public static final int UNINSTALL_VALUE = 1;
76
+ /**
77
+ * <code>UPDATE = 2;</code>
78
+ */
79
+ public static final int UPDATE_VALUE = 2;
80
+
81
+
82
+ public final int getNumber() {
83
+ if (this == UNRECOGNIZED) {
84
+ throw new java.lang.IllegalArgumentException(
85
+ "Can't get the number of an unknown enum value.");
86
+ }
87
+ return value;
88
+ }
89
+
90
+ /**
91
+ * @param value The numeric wire value of the corresponding enum entry.
92
+ * @return The enum associated with the given numeric wire value.
93
+ * @deprecated Use {@link #forNumber(int)} instead.
94
+ */
95
+ @java.lang.Deprecated
96
+ public static EventType valueOf(int value) {
97
+ return forNumber(value);
98
+ }
99
+
100
+ /**
101
+ * @param value The numeric wire value of the corresponding enum entry.
102
+ * @return The enum associated with the given numeric wire value.
103
+ */
104
+ public static EventType forNumber(int value) {
105
+ switch (value) {
106
+ case 0: return INSTALL;
107
+ case 1: return UNINSTALL;
108
+ case 2: return UPDATE;
109
+ default: return null;
110
+ }
111
+ }
112
+
113
+ public static com.google.protobuf.Internal.EnumLiteMap<EventType>
114
+ internalGetValueMap() {
115
+ return internalValueMap;
116
+ }
117
+ private static final com.google.protobuf.Internal.EnumLiteMap<
118
+ EventType> internalValueMap =
119
+ new com.google.protobuf.Internal.EnumLiteMap<EventType>() {
120
+ public EventType findValueByNumber(int number) {
121
+ return EventType.forNumber(number);
122
+ }
123
+ };
124
+
125
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
126
+ getValueDescriptor() {
127
+ if (this == UNRECOGNIZED) {
128
+ throw new java.lang.IllegalStateException(
129
+ "Can't get the descriptor of an unrecognized enum value.");
130
+ }
131
+ return getDescriptor().getValues().get(ordinal());
132
+ }
133
+ public final com.google.protobuf.Descriptors.EnumDescriptor
134
+ getDescriptorForType() {
135
+ return getDescriptor();
136
+ }
137
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
138
+ getDescriptor() {
139
+ return com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.getDescriptor().getEnumTypes().get(0);
140
+ }
141
+
142
+ private static final EventType[] VALUES = values();
143
+
144
+ public static EventType valueOf(
145
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
146
+ if (desc.getType() != getDescriptor()) {
147
+ throw new java.lang.IllegalArgumentException(
148
+ "EnumValueDescriptor is not for this type.");
149
+ }
150
+ if (desc.getIndex() == -1) {
151
+ return UNRECOGNIZED;
152
+ }
153
+ return VALUES[desc.getIndex()];
154
+ }
155
+
156
+ private final int value;
157
+
158
+ private EventType(int value) {
159
+ this.value = value;
160
+ }
161
+
162
+ // @@protoc_insertion_point(enum_scope:com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType)
163
+ }
164
+
165
+ private int bitField0_;
166
+ public static final int EVENT_TYPE_FIELD_NUMBER = 1;
167
+ private int eventType_ = 0;
168
+ /**
169
+ * <code>.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType event_type = 1;</code>
170
+ * @return The enum numeric value on the wire for eventType.
171
+ */
172
+ @java.lang.Override public int getEventTypeValue() {
173
+ return eventType_;
174
+ }
175
+ /**
176
+ * <code>.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType event_type = 1;</code>
177
+ * @return The eventType.
178
+ */
179
+ @java.lang.Override public com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType getEventType() {
180
+ com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType result = com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType.forNumber(eventType_);
181
+ return result == null ? com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType.UNRECOGNIZED : result;
182
+ }
183
+
184
+ public static final int START_FIELD_NUMBER = 2;
185
+ private com.google.protobuf.Timestamp start_;
186
+ /**
187
+ * <code>.google.protobuf.Timestamp start = 2;</code>
188
+ * @return Whether the start field is set.
189
+ */
190
+ @java.lang.Override
191
+ public boolean hasStart() {
192
+ return ((bitField0_ & 0x00000001) != 0);
193
+ }
194
+ /**
195
+ * <code>.google.protobuf.Timestamp start = 2;</code>
196
+ * @return The start.
197
+ */
198
+ @java.lang.Override
199
+ public com.google.protobuf.Timestamp getStart() {
200
+ return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_;
201
+ }
202
+ /**
203
+ * <code>.google.protobuf.Timestamp start = 2;</code>
204
+ */
205
+ @java.lang.Override
206
+ public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() {
207
+ return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_;
208
+ }
209
+
210
+ public static final int END_FIELD_NUMBER = 3;
211
+ private com.google.protobuf.Timestamp end_;
212
+ /**
213
+ * <code>optional .google.protobuf.Timestamp end = 3;</code>
214
+ * @return Whether the end field is set.
215
+ */
216
+ @java.lang.Override
217
+ public boolean hasEnd() {
218
+ return ((bitField0_ & 0x00000002) != 0);
219
+ }
220
+ /**
221
+ * <code>optional .google.protobuf.Timestamp end = 3;</code>
222
+ * @return The end.
223
+ */
224
+ @java.lang.Override
225
+ public com.google.protobuf.Timestamp getEnd() {
226
+ return end_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : end_;
227
+ }
228
+ /**
229
+ * <code>optional .google.protobuf.Timestamp end = 3;</code>
230
+ */
231
+ @java.lang.Override
232
+ public com.google.protobuf.TimestampOrBuilder getEndOrBuilder() {
233
+ return end_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : end_;
234
+ }
235
+
236
+ public static final int HYPER_V_FIELD_NUMBER = 4;
237
+ private com.lansweeper.dp.outbound.v1.HyperV hyperV_;
238
+ /**
239
+ * <code>.com.lansweeper.dp.outbound.v1.HyperV hyper_v = 4;</code>
240
+ * @return Whether the hyperV field is set.
241
+ */
242
+ @java.lang.Override
243
+ public boolean hasHyperV() {
244
+ return ((bitField0_ & 0x00000004) != 0);
245
+ }
246
+ /**
247
+ * <code>.com.lansweeper.dp.outbound.v1.HyperV hyper_v = 4;</code>
248
+ * @return The hyperV.
249
+ */
250
+ @java.lang.Override
251
+ public com.lansweeper.dp.outbound.v1.HyperV getHyperV() {
252
+ return hyperV_ == null ? com.lansweeper.dp.outbound.v1.HyperV.getDefaultInstance() : hyperV_;
253
+ }
254
+ /**
255
+ * <code>.com.lansweeper.dp.outbound.v1.HyperV hyper_v = 4;</code>
256
+ */
257
+ @java.lang.Override
258
+ public com.lansweeper.dp.outbound.v1.HyperVOrBuilder getHyperVOrBuilder() {
259
+ return hyperV_ == null ? com.lansweeper.dp.outbound.v1.HyperV.getDefaultInstance() : hyperV_;
260
+ }
261
+
262
+ private byte memoizedIsInitialized = -1;
263
+ @java.lang.Override
264
+ public final boolean isInitialized() {
265
+ byte isInitialized = memoizedIsInitialized;
266
+ if (isInitialized == 1) return true;
267
+ if (isInitialized == 0) return false;
268
+
269
+ memoizedIsInitialized = 1;
270
+ return true;
271
+ }
272
+
273
+ @java.lang.Override
274
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
275
+ throws java.io.IOException {
276
+ if (eventType_ != com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType.INSTALL.getNumber()) {
277
+ output.writeEnum(1, eventType_);
278
+ }
279
+ if (((bitField0_ & 0x00000001) != 0)) {
280
+ output.writeMessage(2, getStart());
281
+ }
282
+ if (((bitField0_ & 0x00000002) != 0)) {
283
+ output.writeMessage(3, getEnd());
284
+ }
285
+ if (((bitField0_ & 0x00000004) != 0)) {
286
+ output.writeMessage(4, getHyperV());
287
+ }
288
+ getUnknownFields().writeTo(output);
289
+ }
290
+
291
+ @java.lang.Override
292
+ public int getSerializedSize() {
293
+ int size = memoizedSize;
294
+ if (size != -1) return size;
295
+
296
+ size = 0;
297
+ if (eventType_ != com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType.INSTALL.getNumber()) {
298
+ size += com.google.protobuf.CodedOutputStream
299
+ .computeEnumSize(1, eventType_);
300
+ }
301
+ if (((bitField0_ & 0x00000001) != 0)) {
302
+ size += com.google.protobuf.CodedOutputStream
303
+ .computeMessageSize(2, getStart());
304
+ }
305
+ if (((bitField0_ & 0x00000002) != 0)) {
306
+ size += com.google.protobuf.CodedOutputStream
307
+ .computeMessageSize(3, getEnd());
308
+ }
309
+ if (((bitField0_ & 0x00000004) != 0)) {
310
+ size += com.google.protobuf.CodedOutputStream
311
+ .computeMessageSize(4, getHyperV());
312
+ }
313
+ size += getUnknownFields().getSerializedSize();
314
+ memoizedSize = size;
315
+ return size;
316
+ }
317
+
318
+ @java.lang.Override
319
+ public boolean equals(final java.lang.Object obj) {
320
+ if (obj == this) {
321
+ return true;
322
+ }
323
+ if (!(obj instanceof com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent)) {
324
+ return super.equals(obj);
325
+ }
326
+ com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent other = (com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent) obj;
327
+
328
+ if (eventType_ != other.eventType_) return false;
329
+ if (hasStart() != other.hasStart()) return false;
330
+ if (hasStart()) {
331
+ if (!getStart()
332
+ .equals(other.getStart())) return false;
333
+ }
334
+ if (hasEnd() != other.hasEnd()) return false;
335
+ if (hasEnd()) {
336
+ if (!getEnd()
337
+ .equals(other.getEnd())) return false;
338
+ }
339
+ if (hasHyperV() != other.hasHyperV()) return false;
340
+ if (hasHyperV()) {
341
+ if (!getHyperV()
342
+ .equals(other.getHyperV())) return false;
343
+ }
344
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
345
+ return true;
346
+ }
347
+
348
+ @java.lang.Override
349
+ public int hashCode() {
350
+ if (memoizedHashCode != 0) {
351
+ return memoizedHashCode;
352
+ }
353
+ int hash = 41;
354
+ hash = (19 * hash) + getDescriptor().hashCode();
355
+ hash = (37 * hash) + EVENT_TYPE_FIELD_NUMBER;
356
+ hash = (53 * hash) + eventType_;
357
+ if (hasStart()) {
358
+ hash = (37 * hash) + START_FIELD_NUMBER;
359
+ hash = (53 * hash) + getStart().hashCode();
360
+ }
361
+ if (hasEnd()) {
362
+ hash = (37 * hash) + END_FIELD_NUMBER;
363
+ hash = (53 * hash) + getEnd().hashCode();
364
+ }
365
+ if (hasHyperV()) {
366
+ hash = (37 * hash) + HYPER_V_FIELD_NUMBER;
367
+ hash = (53 * hash) + getHyperV().hashCode();
368
+ }
369
+ hash = (29 * hash) + getUnknownFields().hashCode();
370
+ memoizedHashCode = hash;
371
+ return hash;
372
+ }
373
+
374
+ public static com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent parseFrom(
375
+ java.nio.ByteBuffer data)
376
+ throws com.google.protobuf.InvalidProtocolBufferException {
377
+ return PARSER.parseFrom(data);
378
+ }
379
+ public static com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent parseFrom(
380
+ java.nio.ByteBuffer data,
381
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
382
+ throws com.google.protobuf.InvalidProtocolBufferException {
383
+ return PARSER.parseFrom(data, extensionRegistry);
384
+ }
385
+ public static com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent parseFrom(
386
+ com.google.protobuf.ByteString data)
387
+ throws com.google.protobuf.InvalidProtocolBufferException {
388
+ return PARSER.parseFrom(data);
389
+ }
390
+ public static com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent parseFrom(
391
+ com.google.protobuf.ByteString data,
392
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
393
+ throws com.google.protobuf.InvalidProtocolBufferException {
394
+ return PARSER.parseFrom(data, extensionRegistry);
395
+ }
396
+ public static com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent parseFrom(byte[] data)
397
+ throws com.google.protobuf.InvalidProtocolBufferException {
398
+ return PARSER.parseFrom(data);
399
+ }
400
+ public static com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent parseFrom(
401
+ byte[] data,
402
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
403
+ throws com.google.protobuf.InvalidProtocolBufferException {
404
+ return PARSER.parseFrom(data, extensionRegistry);
405
+ }
406
+ public static com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent parseFrom(java.io.InputStream input)
407
+ throws java.io.IOException {
408
+ return com.google.protobuf.GeneratedMessageV3
409
+ .parseWithIOException(PARSER, input);
410
+ }
411
+ public static com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent parseFrom(
412
+ java.io.InputStream input,
413
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
414
+ throws java.io.IOException {
415
+ return com.google.protobuf.GeneratedMessageV3
416
+ .parseWithIOException(PARSER, input, extensionRegistry);
417
+ }
418
+
419
+ public static com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent parseDelimitedFrom(java.io.InputStream input)
420
+ throws java.io.IOException {
421
+ return com.google.protobuf.GeneratedMessageV3
422
+ .parseDelimitedWithIOException(PARSER, input);
423
+ }
424
+
425
+ public static com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent parseDelimitedFrom(
426
+ java.io.InputStream input,
427
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
428
+ throws java.io.IOException {
429
+ return com.google.protobuf.GeneratedMessageV3
430
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
431
+ }
432
+ public static com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent parseFrom(
433
+ com.google.protobuf.CodedInputStream input)
434
+ throws java.io.IOException {
435
+ return com.google.protobuf.GeneratedMessageV3
436
+ .parseWithIOException(PARSER, input);
437
+ }
438
+ public static com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent parseFrom(
439
+ com.google.protobuf.CodedInputStream input,
440
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
441
+ throws java.io.IOException {
442
+ return com.google.protobuf.GeneratedMessageV3
443
+ .parseWithIOException(PARSER, input, extensionRegistry);
444
+ }
445
+
446
+ @java.lang.Override
447
+ public Builder newBuilderForType() { return newBuilder(); }
448
+ public static Builder newBuilder() {
449
+ return DEFAULT_INSTANCE.toBuilder();
450
+ }
451
+ public static Builder newBuilder(com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent prototype) {
452
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
453
+ }
454
+ @java.lang.Override
455
+ public Builder toBuilder() {
456
+ return this == DEFAULT_INSTANCE
457
+ ? new Builder() : new Builder().mergeFrom(this);
458
+ }
459
+
460
+ @java.lang.Override
461
+ protected Builder newBuilderForType(
462
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
463
+ Builder builder = new Builder(parent);
464
+ return builder;
465
+ }
466
+ /**
467
+ * <pre>
468
+ **
469
+ * Log entry for windows HyperV change log, tracking install, uninstall and update.
470
+ * </pre>
471
+ *
472
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent}
473
+ */
474
+ public static final class Builder extends
475
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
476
+ // @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent)
477
+ com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEventOrBuilder {
478
+ public static final com.google.protobuf.Descriptors.Descriptor
479
+ getDescriptor() {
480
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_WindowsHyperVChangeEvent_descriptor;
481
+ }
482
+
483
+ @java.lang.Override
484
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
485
+ internalGetFieldAccessorTable() {
486
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_WindowsHyperVChangeEvent_fieldAccessorTable
487
+ .ensureFieldAccessorsInitialized(
488
+ com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.class, com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.Builder.class);
489
+ }
490
+
491
+ // Construct using com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.newBuilder()
492
+ private Builder() {
493
+ maybeForceBuilderInitialization();
494
+ }
495
+
496
+ private Builder(
497
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
498
+ super(parent);
499
+ maybeForceBuilderInitialization();
500
+ }
501
+ private void maybeForceBuilderInitialization() {
502
+ if (com.google.protobuf.GeneratedMessageV3
503
+ .alwaysUseFieldBuilders) {
504
+ getStartFieldBuilder();
505
+ getEndFieldBuilder();
506
+ getHyperVFieldBuilder();
507
+ }
508
+ }
509
+ @java.lang.Override
510
+ public Builder clear() {
511
+ super.clear();
512
+ bitField0_ = 0;
513
+ eventType_ = 0;
514
+ start_ = null;
515
+ if (startBuilder_ != null) {
516
+ startBuilder_.dispose();
517
+ startBuilder_ = null;
518
+ }
519
+ end_ = null;
520
+ if (endBuilder_ != null) {
521
+ endBuilder_.dispose();
522
+ endBuilder_ = null;
523
+ }
524
+ hyperV_ = null;
525
+ if (hyperVBuilder_ != null) {
526
+ hyperVBuilder_.dispose();
527
+ hyperVBuilder_ = null;
528
+ }
529
+ return this;
530
+ }
531
+
532
+ @java.lang.Override
533
+ public com.google.protobuf.Descriptors.Descriptor
534
+ getDescriptorForType() {
535
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_WindowsHyperVChangeEvent_descriptor;
536
+ }
537
+
538
+ @java.lang.Override
539
+ public com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent getDefaultInstanceForType() {
540
+ return com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.getDefaultInstance();
541
+ }
542
+
543
+ @java.lang.Override
544
+ public com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent build() {
545
+ com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent result = buildPartial();
546
+ if (!result.isInitialized()) {
547
+ throw newUninitializedMessageException(result);
548
+ }
549
+ return result;
550
+ }
551
+
552
+ @java.lang.Override
553
+ public com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent buildPartial() {
554
+ com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent result = new com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent(this);
555
+ if (bitField0_ != 0) { buildPartial0(result); }
556
+ onBuilt();
557
+ return result;
558
+ }
559
+
560
+ private void buildPartial0(com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent result) {
561
+ int from_bitField0_ = bitField0_;
562
+ if (((from_bitField0_ & 0x00000001) != 0)) {
563
+ result.eventType_ = eventType_;
564
+ }
565
+ int to_bitField0_ = 0;
566
+ if (((from_bitField0_ & 0x00000002) != 0)) {
567
+ result.start_ = startBuilder_ == null
568
+ ? start_
569
+ : startBuilder_.build();
570
+ to_bitField0_ |= 0x00000001;
571
+ }
572
+ if (((from_bitField0_ & 0x00000004) != 0)) {
573
+ result.end_ = endBuilder_ == null
574
+ ? end_
575
+ : endBuilder_.build();
576
+ to_bitField0_ |= 0x00000002;
577
+ }
578
+ if (((from_bitField0_ & 0x00000008) != 0)) {
579
+ result.hyperV_ = hyperVBuilder_ == null
580
+ ? hyperV_
581
+ : hyperVBuilder_.build();
582
+ to_bitField0_ |= 0x00000004;
583
+ }
584
+ result.bitField0_ |= to_bitField0_;
585
+ }
586
+
587
+ @java.lang.Override
588
+ public Builder clone() {
589
+ return super.clone();
590
+ }
591
+ @java.lang.Override
592
+ public Builder setField(
593
+ com.google.protobuf.Descriptors.FieldDescriptor field,
594
+ java.lang.Object value) {
595
+ return super.setField(field, value);
596
+ }
597
+ @java.lang.Override
598
+ public Builder clearField(
599
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
600
+ return super.clearField(field);
601
+ }
602
+ @java.lang.Override
603
+ public Builder clearOneof(
604
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
605
+ return super.clearOneof(oneof);
606
+ }
607
+ @java.lang.Override
608
+ public Builder setRepeatedField(
609
+ com.google.protobuf.Descriptors.FieldDescriptor field,
610
+ int index, java.lang.Object value) {
611
+ return super.setRepeatedField(field, index, value);
612
+ }
613
+ @java.lang.Override
614
+ public Builder addRepeatedField(
615
+ com.google.protobuf.Descriptors.FieldDescriptor field,
616
+ java.lang.Object value) {
617
+ return super.addRepeatedField(field, value);
618
+ }
619
+ @java.lang.Override
620
+ public Builder mergeFrom(com.google.protobuf.Message other) {
621
+ if (other instanceof com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent) {
622
+ return mergeFrom((com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent)other);
623
+ } else {
624
+ super.mergeFrom(other);
625
+ return this;
626
+ }
627
+ }
628
+
629
+ public Builder mergeFrom(com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent other) {
630
+ if (other == com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.getDefaultInstance()) return this;
631
+ if (other.eventType_ != 0) {
632
+ setEventTypeValue(other.getEventTypeValue());
633
+ }
634
+ if (other.hasStart()) {
635
+ mergeStart(other.getStart());
636
+ }
637
+ if (other.hasEnd()) {
638
+ mergeEnd(other.getEnd());
639
+ }
640
+ if (other.hasHyperV()) {
641
+ mergeHyperV(other.getHyperV());
642
+ }
643
+ this.mergeUnknownFields(other.getUnknownFields());
644
+ onChanged();
645
+ return this;
646
+ }
647
+
648
+ @java.lang.Override
649
+ public final boolean isInitialized() {
650
+ return true;
651
+ }
652
+
653
+ @java.lang.Override
654
+ public Builder mergeFrom(
655
+ com.google.protobuf.CodedInputStream input,
656
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
657
+ throws java.io.IOException {
658
+ if (extensionRegistry == null) {
659
+ throw new java.lang.NullPointerException();
660
+ }
661
+ try {
662
+ boolean done = false;
663
+ while (!done) {
664
+ int tag = input.readTag();
665
+ switch (tag) {
666
+ case 0:
667
+ done = true;
668
+ break;
669
+ case 8: {
670
+ eventType_ = input.readEnum();
671
+ bitField0_ |= 0x00000001;
672
+ break;
673
+ } // case 8
674
+ case 18: {
675
+ input.readMessage(
676
+ getStartFieldBuilder().getBuilder(),
677
+ extensionRegistry);
678
+ bitField0_ |= 0x00000002;
679
+ break;
680
+ } // case 18
681
+ case 26: {
682
+ input.readMessage(
683
+ getEndFieldBuilder().getBuilder(),
684
+ extensionRegistry);
685
+ bitField0_ |= 0x00000004;
686
+ break;
687
+ } // case 26
688
+ case 34: {
689
+ input.readMessage(
690
+ getHyperVFieldBuilder().getBuilder(),
691
+ extensionRegistry);
692
+ bitField0_ |= 0x00000008;
693
+ break;
694
+ } // case 34
695
+ default: {
696
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
697
+ done = true; // was an endgroup tag
698
+ }
699
+ break;
700
+ } // default:
701
+ } // switch (tag)
702
+ } // while (!done)
703
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
704
+ throw e.unwrapIOException();
705
+ } finally {
706
+ onChanged();
707
+ } // finally
708
+ return this;
709
+ }
710
+ private int bitField0_;
711
+
712
+ private int eventType_ = 0;
713
+ /**
714
+ * <code>.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType event_type = 1;</code>
715
+ * @return The enum numeric value on the wire for eventType.
716
+ */
717
+ @java.lang.Override public int getEventTypeValue() {
718
+ return eventType_;
719
+ }
720
+ /**
721
+ * <code>.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType event_type = 1;</code>
722
+ * @param value The enum numeric value on the wire for eventType to set.
723
+ * @return This builder for chaining.
724
+ */
725
+ public Builder setEventTypeValue(int value) {
726
+ eventType_ = value;
727
+ bitField0_ |= 0x00000001;
728
+ onChanged();
729
+ return this;
730
+ }
731
+ /**
732
+ * <code>.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType event_type = 1;</code>
733
+ * @return The eventType.
734
+ */
735
+ @java.lang.Override
736
+ public com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType getEventType() {
737
+ com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType result = com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType.forNumber(eventType_);
738
+ return result == null ? com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType.UNRECOGNIZED : result;
739
+ }
740
+ /**
741
+ * <code>.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType event_type = 1;</code>
742
+ * @param value The eventType to set.
743
+ * @return This builder for chaining.
744
+ */
745
+ public Builder setEventType(com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType value) {
746
+ if (value == null) {
747
+ throw new NullPointerException();
748
+ }
749
+ bitField0_ |= 0x00000001;
750
+ eventType_ = value.getNumber();
751
+ onChanged();
752
+ return this;
753
+ }
754
+ /**
755
+ * <code>.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType event_type = 1;</code>
756
+ * @return This builder for chaining.
757
+ */
758
+ public Builder clearEventType() {
759
+ bitField0_ = (bitField0_ & ~0x00000001);
760
+ eventType_ = 0;
761
+ onChanged();
762
+ return this;
763
+ }
764
+
765
+ private com.google.protobuf.Timestamp start_;
766
+ private com.google.protobuf.SingleFieldBuilderV3<
767
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startBuilder_;
768
+ /**
769
+ * <code>.google.protobuf.Timestamp start = 2;</code>
770
+ * @return Whether the start field is set.
771
+ */
772
+ public boolean hasStart() {
773
+ return ((bitField0_ & 0x00000002) != 0);
774
+ }
775
+ /**
776
+ * <code>.google.protobuf.Timestamp start = 2;</code>
777
+ * @return The start.
778
+ */
779
+ public com.google.protobuf.Timestamp getStart() {
780
+ if (startBuilder_ == null) {
781
+ return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_;
782
+ } else {
783
+ return startBuilder_.getMessage();
784
+ }
785
+ }
786
+ /**
787
+ * <code>.google.protobuf.Timestamp start = 2;</code>
788
+ */
789
+ public Builder setStart(com.google.protobuf.Timestamp value) {
790
+ if (startBuilder_ == null) {
791
+ if (value == null) {
792
+ throw new NullPointerException();
793
+ }
794
+ start_ = value;
795
+ } else {
796
+ startBuilder_.setMessage(value);
797
+ }
798
+ bitField0_ |= 0x00000002;
799
+ onChanged();
800
+ return this;
801
+ }
802
+ /**
803
+ * <code>.google.protobuf.Timestamp start = 2;</code>
804
+ */
805
+ public Builder setStart(
806
+ com.google.protobuf.Timestamp.Builder builderForValue) {
807
+ if (startBuilder_ == null) {
808
+ start_ = builderForValue.build();
809
+ } else {
810
+ startBuilder_.setMessage(builderForValue.build());
811
+ }
812
+ bitField0_ |= 0x00000002;
813
+ onChanged();
814
+ return this;
815
+ }
816
+ /**
817
+ * <code>.google.protobuf.Timestamp start = 2;</code>
818
+ */
819
+ public Builder mergeStart(com.google.protobuf.Timestamp value) {
820
+ if (startBuilder_ == null) {
821
+ if (((bitField0_ & 0x00000002) != 0) &&
822
+ start_ != null &&
823
+ start_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
824
+ getStartBuilder().mergeFrom(value);
825
+ } else {
826
+ start_ = value;
827
+ }
828
+ } else {
829
+ startBuilder_.mergeFrom(value);
830
+ }
831
+ if (start_ != null) {
832
+ bitField0_ |= 0x00000002;
833
+ onChanged();
834
+ }
835
+ return this;
836
+ }
837
+ /**
838
+ * <code>.google.protobuf.Timestamp start = 2;</code>
839
+ */
840
+ public Builder clearStart() {
841
+ bitField0_ = (bitField0_ & ~0x00000002);
842
+ start_ = null;
843
+ if (startBuilder_ != null) {
844
+ startBuilder_.dispose();
845
+ startBuilder_ = null;
846
+ }
847
+ onChanged();
848
+ return this;
849
+ }
850
+ /**
851
+ * <code>.google.protobuf.Timestamp start = 2;</code>
852
+ */
853
+ public com.google.protobuf.Timestamp.Builder getStartBuilder() {
854
+ bitField0_ |= 0x00000002;
855
+ onChanged();
856
+ return getStartFieldBuilder().getBuilder();
857
+ }
858
+ /**
859
+ * <code>.google.protobuf.Timestamp start = 2;</code>
860
+ */
861
+ public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() {
862
+ if (startBuilder_ != null) {
863
+ return startBuilder_.getMessageOrBuilder();
864
+ } else {
865
+ return start_ == null ?
866
+ com.google.protobuf.Timestamp.getDefaultInstance() : start_;
867
+ }
868
+ }
869
+ /**
870
+ * <code>.google.protobuf.Timestamp start = 2;</code>
871
+ */
872
+ private com.google.protobuf.SingleFieldBuilderV3<
873
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
874
+ getStartFieldBuilder() {
875
+ if (startBuilder_ == null) {
876
+ startBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
877
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
878
+ getStart(),
879
+ getParentForChildren(),
880
+ isClean());
881
+ start_ = null;
882
+ }
883
+ return startBuilder_;
884
+ }
885
+
886
+ private com.google.protobuf.Timestamp end_;
887
+ private com.google.protobuf.SingleFieldBuilderV3<
888
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endBuilder_;
889
+ /**
890
+ * <code>optional .google.protobuf.Timestamp end = 3;</code>
891
+ * @return Whether the end field is set.
892
+ */
893
+ public boolean hasEnd() {
894
+ return ((bitField0_ & 0x00000004) != 0);
895
+ }
896
+ /**
897
+ * <code>optional .google.protobuf.Timestamp end = 3;</code>
898
+ * @return The end.
899
+ */
900
+ public com.google.protobuf.Timestamp getEnd() {
901
+ if (endBuilder_ == null) {
902
+ return end_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : end_;
903
+ } else {
904
+ return endBuilder_.getMessage();
905
+ }
906
+ }
907
+ /**
908
+ * <code>optional .google.protobuf.Timestamp end = 3;</code>
909
+ */
910
+ public Builder setEnd(com.google.protobuf.Timestamp value) {
911
+ if (endBuilder_ == null) {
912
+ if (value == null) {
913
+ throw new NullPointerException();
914
+ }
915
+ end_ = value;
916
+ } else {
917
+ endBuilder_.setMessage(value);
918
+ }
919
+ bitField0_ |= 0x00000004;
920
+ onChanged();
921
+ return this;
922
+ }
923
+ /**
924
+ * <code>optional .google.protobuf.Timestamp end = 3;</code>
925
+ */
926
+ public Builder setEnd(
927
+ com.google.protobuf.Timestamp.Builder builderForValue) {
928
+ if (endBuilder_ == null) {
929
+ end_ = builderForValue.build();
930
+ } else {
931
+ endBuilder_.setMessage(builderForValue.build());
932
+ }
933
+ bitField0_ |= 0x00000004;
934
+ onChanged();
935
+ return this;
936
+ }
937
+ /**
938
+ * <code>optional .google.protobuf.Timestamp end = 3;</code>
939
+ */
940
+ public Builder mergeEnd(com.google.protobuf.Timestamp value) {
941
+ if (endBuilder_ == null) {
942
+ if (((bitField0_ & 0x00000004) != 0) &&
943
+ end_ != null &&
944
+ end_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
945
+ getEndBuilder().mergeFrom(value);
946
+ } else {
947
+ end_ = value;
948
+ }
949
+ } else {
950
+ endBuilder_.mergeFrom(value);
951
+ }
952
+ if (end_ != null) {
953
+ bitField0_ |= 0x00000004;
954
+ onChanged();
955
+ }
956
+ return this;
957
+ }
958
+ /**
959
+ * <code>optional .google.protobuf.Timestamp end = 3;</code>
960
+ */
961
+ public Builder clearEnd() {
962
+ bitField0_ = (bitField0_ & ~0x00000004);
963
+ end_ = null;
964
+ if (endBuilder_ != null) {
965
+ endBuilder_.dispose();
966
+ endBuilder_ = null;
967
+ }
968
+ onChanged();
969
+ return this;
970
+ }
971
+ /**
972
+ * <code>optional .google.protobuf.Timestamp end = 3;</code>
973
+ */
974
+ public com.google.protobuf.Timestamp.Builder getEndBuilder() {
975
+ bitField0_ |= 0x00000004;
976
+ onChanged();
977
+ return getEndFieldBuilder().getBuilder();
978
+ }
979
+ /**
980
+ * <code>optional .google.protobuf.Timestamp end = 3;</code>
981
+ */
982
+ public com.google.protobuf.TimestampOrBuilder getEndOrBuilder() {
983
+ if (endBuilder_ != null) {
984
+ return endBuilder_.getMessageOrBuilder();
985
+ } else {
986
+ return end_ == null ?
987
+ com.google.protobuf.Timestamp.getDefaultInstance() : end_;
988
+ }
989
+ }
990
+ /**
991
+ * <code>optional .google.protobuf.Timestamp end = 3;</code>
992
+ */
993
+ private com.google.protobuf.SingleFieldBuilderV3<
994
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
995
+ getEndFieldBuilder() {
996
+ if (endBuilder_ == null) {
997
+ endBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
998
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
999
+ getEnd(),
1000
+ getParentForChildren(),
1001
+ isClean());
1002
+ end_ = null;
1003
+ }
1004
+ return endBuilder_;
1005
+ }
1006
+
1007
+ private com.lansweeper.dp.outbound.v1.HyperV hyperV_;
1008
+ private com.google.protobuf.SingleFieldBuilderV3<
1009
+ com.lansweeper.dp.outbound.v1.HyperV, com.lansweeper.dp.outbound.v1.HyperV.Builder, com.lansweeper.dp.outbound.v1.HyperVOrBuilder> hyperVBuilder_;
1010
+ /**
1011
+ * <code>.com.lansweeper.dp.outbound.v1.HyperV hyper_v = 4;</code>
1012
+ * @return Whether the hyperV field is set.
1013
+ */
1014
+ public boolean hasHyperV() {
1015
+ return ((bitField0_ & 0x00000008) != 0);
1016
+ }
1017
+ /**
1018
+ * <code>.com.lansweeper.dp.outbound.v1.HyperV hyper_v = 4;</code>
1019
+ * @return The hyperV.
1020
+ */
1021
+ public com.lansweeper.dp.outbound.v1.HyperV getHyperV() {
1022
+ if (hyperVBuilder_ == null) {
1023
+ return hyperV_ == null ? com.lansweeper.dp.outbound.v1.HyperV.getDefaultInstance() : hyperV_;
1024
+ } else {
1025
+ return hyperVBuilder_.getMessage();
1026
+ }
1027
+ }
1028
+ /**
1029
+ * <code>.com.lansweeper.dp.outbound.v1.HyperV hyper_v = 4;</code>
1030
+ */
1031
+ public Builder setHyperV(com.lansweeper.dp.outbound.v1.HyperV value) {
1032
+ if (hyperVBuilder_ == null) {
1033
+ if (value == null) {
1034
+ throw new NullPointerException();
1035
+ }
1036
+ hyperV_ = value;
1037
+ } else {
1038
+ hyperVBuilder_.setMessage(value);
1039
+ }
1040
+ bitField0_ |= 0x00000008;
1041
+ onChanged();
1042
+ return this;
1043
+ }
1044
+ /**
1045
+ * <code>.com.lansweeper.dp.outbound.v1.HyperV hyper_v = 4;</code>
1046
+ */
1047
+ public Builder setHyperV(
1048
+ com.lansweeper.dp.outbound.v1.HyperV.Builder builderForValue) {
1049
+ if (hyperVBuilder_ == null) {
1050
+ hyperV_ = builderForValue.build();
1051
+ } else {
1052
+ hyperVBuilder_.setMessage(builderForValue.build());
1053
+ }
1054
+ bitField0_ |= 0x00000008;
1055
+ onChanged();
1056
+ return this;
1057
+ }
1058
+ /**
1059
+ * <code>.com.lansweeper.dp.outbound.v1.HyperV hyper_v = 4;</code>
1060
+ */
1061
+ public Builder mergeHyperV(com.lansweeper.dp.outbound.v1.HyperV value) {
1062
+ if (hyperVBuilder_ == null) {
1063
+ if (((bitField0_ & 0x00000008) != 0) &&
1064
+ hyperV_ != null &&
1065
+ hyperV_ != com.lansweeper.dp.outbound.v1.HyperV.getDefaultInstance()) {
1066
+ getHyperVBuilder().mergeFrom(value);
1067
+ } else {
1068
+ hyperV_ = value;
1069
+ }
1070
+ } else {
1071
+ hyperVBuilder_.mergeFrom(value);
1072
+ }
1073
+ if (hyperV_ != null) {
1074
+ bitField0_ |= 0x00000008;
1075
+ onChanged();
1076
+ }
1077
+ return this;
1078
+ }
1079
+ /**
1080
+ * <code>.com.lansweeper.dp.outbound.v1.HyperV hyper_v = 4;</code>
1081
+ */
1082
+ public Builder clearHyperV() {
1083
+ bitField0_ = (bitField0_ & ~0x00000008);
1084
+ hyperV_ = null;
1085
+ if (hyperVBuilder_ != null) {
1086
+ hyperVBuilder_.dispose();
1087
+ hyperVBuilder_ = null;
1088
+ }
1089
+ onChanged();
1090
+ return this;
1091
+ }
1092
+ /**
1093
+ * <code>.com.lansweeper.dp.outbound.v1.HyperV hyper_v = 4;</code>
1094
+ */
1095
+ public com.lansweeper.dp.outbound.v1.HyperV.Builder getHyperVBuilder() {
1096
+ bitField0_ |= 0x00000008;
1097
+ onChanged();
1098
+ return getHyperVFieldBuilder().getBuilder();
1099
+ }
1100
+ /**
1101
+ * <code>.com.lansweeper.dp.outbound.v1.HyperV hyper_v = 4;</code>
1102
+ */
1103
+ public com.lansweeper.dp.outbound.v1.HyperVOrBuilder getHyperVOrBuilder() {
1104
+ if (hyperVBuilder_ != null) {
1105
+ return hyperVBuilder_.getMessageOrBuilder();
1106
+ } else {
1107
+ return hyperV_ == null ?
1108
+ com.lansweeper.dp.outbound.v1.HyperV.getDefaultInstance() : hyperV_;
1109
+ }
1110
+ }
1111
+ /**
1112
+ * <code>.com.lansweeper.dp.outbound.v1.HyperV hyper_v = 4;</code>
1113
+ */
1114
+ private com.google.protobuf.SingleFieldBuilderV3<
1115
+ com.lansweeper.dp.outbound.v1.HyperV, com.lansweeper.dp.outbound.v1.HyperV.Builder, com.lansweeper.dp.outbound.v1.HyperVOrBuilder>
1116
+ getHyperVFieldBuilder() {
1117
+ if (hyperVBuilder_ == null) {
1118
+ hyperVBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
1119
+ com.lansweeper.dp.outbound.v1.HyperV, com.lansweeper.dp.outbound.v1.HyperV.Builder, com.lansweeper.dp.outbound.v1.HyperVOrBuilder>(
1120
+ getHyperV(),
1121
+ getParentForChildren(),
1122
+ isClean());
1123
+ hyperV_ = null;
1124
+ }
1125
+ return hyperVBuilder_;
1126
+ }
1127
+ @java.lang.Override
1128
+ public final Builder setUnknownFields(
1129
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
1130
+ return super.setUnknownFields(unknownFields);
1131
+ }
1132
+
1133
+ @java.lang.Override
1134
+ public final Builder mergeUnknownFields(
1135
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
1136
+ return super.mergeUnknownFields(unknownFields);
1137
+ }
1138
+
1139
+
1140
+ // @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent)
1141
+ }
1142
+
1143
+ // @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent)
1144
+ private static final com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent DEFAULT_INSTANCE;
1145
+ static {
1146
+ DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent();
1147
+ }
1148
+
1149
+ public static com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent getDefaultInstance() {
1150
+ return DEFAULT_INSTANCE;
1151
+ }
1152
+
1153
+ private static final com.google.protobuf.Parser<WindowsHyperVChangeEvent>
1154
+ PARSER = new com.google.protobuf.AbstractParser<WindowsHyperVChangeEvent>() {
1155
+ @java.lang.Override
1156
+ public WindowsHyperVChangeEvent parsePartialFrom(
1157
+ com.google.protobuf.CodedInputStream input,
1158
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1159
+ throws com.google.protobuf.InvalidProtocolBufferException {
1160
+ Builder builder = newBuilder();
1161
+ try {
1162
+ builder.mergeFrom(input, extensionRegistry);
1163
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1164
+ throw e.setUnfinishedMessage(builder.buildPartial());
1165
+ } catch (com.google.protobuf.UninitializedMessageException e) {
1166
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1167
+ } catch (java.io.IOException e) {
1168
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
1169
+ .setUnfinishedMessage(builder.buildPartial());
1170
+ }
1171
+ return builder.buildPartial();
1172
+ }
1173
+ };
1174
+
1175
+ public static com.google.protobuf.Parser<WindowsHyperVChangeEvent> parser() {
1176
+ return PARSER;
1177
+ }
1178
+
1179
+ @java.lang.Override
1180
+ public com.google.protobuf.Parser<WindowsHyperVChangeEvent> getParserForType() {
1181
+ return PARSER;
1182
+ }
1183
+
1184
+ @java.lang.Override
1185
+ public com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent getDefaultInstanceForType() {
1186
+ return DEFAULT_INSTANCE;
1187
+ }
1188
+
1189
+ }
1190
+