@lansweeper/data-platform-outbound-grpc 0.3.13 → 0.3.15

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 (56) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +388 -0
  4. package/gen-proto/outbound_pb.js +3767 -129
  5. package/generated-go/outbound.pb.go +22238 -20918
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +121 -10
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetOrBuilder.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/CoreFields$1.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/CoreFields$Builder.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/CoreFields.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/CoreFieldsOrBuilder.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/DeviceActionResult$1.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/DeviceActionResult$Builder.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/DeviceActionResult.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/DeviceActionResultOrBuilder.class +0 -0
  21. package/model/target/classes/com/lansweeper/dp/outbound/v1/IntuneApplication$1.class +0 -0
  22. package/model/target/classes/com/lansweeper/dp/outbound/v1/IntuneApplication$Builder.class +0 -0
  23. package/model/target/classes/com/lansweeper/dp/outbound/v1/IntuneApplication.class +0 -0
  24. package/model/target/classes/com/lansweeper/dp/outbound/v1/IntuneApplicationOrBuilder.class +0 -0
  25. package/model/target/classes/com/lansweeper/dp/outbound/v1/IntuneDevice$1.class +0 -0
  26. package/model/target/classes/com/lansweeper/dp/outbound/v1/IntuneDevice$Builder.class +0 -0
  27. package/model/target/classes/com/lansweeper/dp/outbound/v1/IntuneDevice.class +0 -0
  28. package/model/target/classes/com/lansweeper/dp/outbound/v1/IntuneDeviceOrBuilder.class +0 -0
  29. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  30. package/model/target/classes/outbound.proto +121 -10
  31. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Asset.java +372 -0
  32. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +30 -0
  33. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/BootConfig.java +2 -2
  34. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerConnectedModem.java +9 -9
  35. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerConnectedModemOrBuilder.java +3 -3
  36. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CoreFields.java +113 -0
  37. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CoreFieldsOrBuilder.java +19 -0
  38. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DeviceActionResult.java +1084 -0
  39. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DeviceActionResultOrBuilder.java +72 -0
  40. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/IntuneApplication.java +947 -0
  41. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/IntuneApplicationOrBuilder.java +58 -0
  42. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/IntuneDevice.java +12075 -0
  43. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/IntuneDeviceOrBuilder.java +1015 -0
  44. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +2931 -2803
  45. package/model/target/maven-archiver/pom.properties +2 -2
  46. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +12 -0
  47. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +7 -1
  48. package/model/target/{outbound-model-0.3.12-sources.jar → outbound-model-0.3.14-sources.jar} +0 -0
  49. package/model/target/{outbound-model-0.3.12.jar → outbound-model-0.3.14.jar} +0 -0
  50. package/package.json +2 -2
  51. package/pom.xml +1 -1
  52. package/proto/outbound.proto +121 -10
  53. package/service/pom.xml +1 -1
  54. package/service/target/maven-archiver/pom.properties +2 -2
  55. package/service/target/{outbound-service-0.3.12-sources.jar → outbound-service-0.3.14-sources.jar} +0 -0
  56. package/service/target/{outbound-service-0.3.12.jar → outbound-service-0.3.14.jar} +0 -0
@@ -0,0 +1,947 @@
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
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.IntuneApplication}
9
+ */
10
+ public final class IntuneApplication extends
11
+ com.google.protobuf.GeneratedMessageV3 implements
12
+ // @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.IntuneApplication)
13
+ IntuneApplicationOrBuilder {
14
+ private static final long serialVersionUID = 0L;
15
+ // Use IntuneApplication.newBuilder() to construct.
16
+ private IntuneApplication(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
17
+ super(builder);
18
+ }
19
+ private IntuneApplication() {
20
+ intuneId_ = "";
21
+ displayName_ = "";
22
+ version_ = "";
23
+ }
24
+
25
+ @java.lang.Override
26
+ @SuppressWarnings({"unused"})
27
+ protected java.lang.Object newInstance(
28
+ UnusedPrivateParameter unused) {
29
+ return new IntuneApplication();
30
+ }
31
+
32
+ public static final com.google.protobuf.Descriptors.Descriptor
33
+ getDescriptor() {
34
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_IntuneApplication_descriptor;
35
+ }
36
+
37
+ @java.lang.Override
38
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
39
+ internalGetFieldAccessorTable() {
40
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_IntuneApplication_fieldAccessorTable
41
+ .ensureFieldAccessorsInitialized(
42
+ com.lansweeper.dp.outbound.v1.IntuneApplication.class, com.lansweeper.dp.outbound.v1.IntuneApplication.Builder.class);
43
+ }
44
+
45
+ public static final int INTUNE_ID_FIELD_NUMBER = 1;
46
+ @SuppressWarnings("serial")
47
+ private volatile java.lang.Object intuneId_ = "";
48
+ /**
49
+ * <code>string intune_id = 1;</code>
50
+ * @return The intuneId.
51
+ */
52
+ @java.lang.Override
53
+ public java.lang.String getIntuneId() {
54
+ java.lang.Object ref = intuneId_;
55
+ if (ref instanceof java.lang.String) {
56
+ return (java.lang.String) ref;
57
+ } else {
58
+ com.google.protobuf.ByteString bs =
59
+ (com.google.protobuf.ByteString) ref;
60
+ java.lang.String s = bs.toStringUtf8();
61
+ intuneId_ = s;
62
+ return s;
63
+ }
64
+ }
65
+ /**
66
+ * <code>string intune_id = 1;</code>
67
+ * @return The bytes for intuneId.
68
+ */
69
+ @java.lang.Override
70
+ public com.google.protobuf.ByteString
71
+ getIntuneIdBytes() {
72
+ java.lang.Object ref = intuneId_;
73
+ if (ref instanceof java.lang.String) {
74
+ com.google.protobuf.ByteString b =
75
+ com.google.protobuf.ByteString.copyFromUtf8(
76
+ (java.lang.String) ref);
77
+ intuneId_ = b;
78
+ return b;
79
+ } else {
80
+ return (com.google.protobuf.ByteString) ref;
81
+ }
82
+ }
83
+
84
+ public static final int DISPLAY_NAME_FIELD_NUMBER = 2;
85
+ @SuppressWarnings("serial")
86
+ private volatile java.lang.Object displayName_ = "";
87
+ /**
88
+ * <code>string display_name = 2;</code>
89
+ * @return The displayName.
90
+ */
91
+ @java.lang.Override
92
+ public java.lang.String getDisplayName() {
93
+ java.lang.Object ref = displayName_;
94
+ if (ref instanceof java.lang.String) {
95
+ return (java.lang.String) ref;
96
+ } else {
97
+ com.google.protobuf.ByteString bs =
98
+ (com.google.protobuf.ByteString) ref;
99
+ java.lang.String s = bs.toStringUtf8();
100
+ displayName_ = s;
101
+ return s;
102
+ }
103
+ }
104
+ /**
105
+ * <code>string display_name = 2;</code>
106
+ * @return The bytes for displayName.
107
+ */
108
+ @java.lang.Override
109
+ public com.google.protobuf.ByteString
110
+ getDisplayNameBytes() {
111
+ java.lang.Object ref = displayName_;
112
+ if (ref instanceof java.lang.String) {
113
+ com.google.protobuf.ByteString b =
114
+ com.google.protobuf.ByteString.copyFromUtf8(
115
+ (java.lang.String) ref);
116
+ displayName_ = b;
117
+ return b;
118
+ } else {
119
+ return (com.google.protobuf.ByteString) ref;
120
+ }
121
+ }
122
+
123
+ public static final int VERSION_FIELD_NUMBER = 3;
124
+ @SuppressWarnings("serial")
125
+ private volatile java.lang.Object version_ = "";
126
+ /**
127
+ * <code>string version = 3;</code>
128
+ * @return The version.
129
+ */
130
+ @java.lang.Override
131
+ public java.lang.String getVersion() {
132
+ java.lang.Object ref = version_;
133
+ if (ref instanceof java.lang.String) {
134
+ return (java.lang.String) ref;
135
+ } else {
136
+ com.google.protobuf.ByteString bs =
137
+ (com.google.protobuf.ByteString) ref;
138
+ java.lang.String s = bs.toStringUtf8();
139
+ version_ = s;
140
+ return s;
141
+ }
142
+ }
143
+ /**
144
+ * <code>string version = 3;</code>
145
+ * @return The bytes for version.
146
+ */
147
+ @java.lang.Override
148
+ public com.google.protobuf.ByteString
149
+ getVersionBytes() {
150
+ java.lang.Object ref = version_;
151
+ if (ref instanceof java.lang.String) {
152
+ com.google.protobuf.ByteString b =
153
+ com.google.protobuf.ByteString.copyFromUtf8(
154
+ (java.lang.String) ref);
155
+ version_ = b;
156
+ return b;
157
+ } else {
158
+ return (com.google.protobuf.ByteString) ref;
159
+ }
160
+ }
161
+
162
+ public static final int SIZE_IN_BYTE_FIELD_NUMBER = 4;
163
+ private long sizeInByte_ = 0L;
164
+ /**
165
+ * <code>int64 size_in_byte = 4;</code>
166
+ * @return The sizeInByte.
167
+ */
168
+ @java.lang.Override
169
+ public long getSizeInByte() {
170
+ return sizeInByte_;
171
+ }
172
+
173
+ public static final int DEVICE_COUNT_FIELD_NUMBER = 5;
174
+ private int deviceCount_ = 0;
175
+ /**
176
+ * <code>int32 device_count = 5;</code>
177
+ * @return The deviceCount.
178
+ */
179
+ @java.lang.Override
180
+ public int getDeviceCount() {
181
+ return deviceCount_;
182
+ }
183
+
184
+ private byte memoizedIsInitialized = -1;
185
+ @java.lang.Override
186
+ public final boolean isInitialized() {
187
+ byte isInitialized = memoizedIsInitialized;
188
+ if (isInitialized == 1) return true;
189
+ if (isInitialized == 0) return false;
190
+
191
+ memoizedIsInitialized = 1;
192
+ return true;
193
+ }
194
+
195
+ @java.lang.Override
196
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
197
+ throws java.io.IOException {
198
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(intuneId_)) {
199
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, intuneId_);
200
+ }
201
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
202
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_);
203
+ }
204
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
205
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, version_);
206
+ }
207
+ if (sizeInByte_ != 0L) {
208
+ output.writeInt64(4, sizeInByte_);
209
+ }
210
+ if (deviceCount_ != 0) {
211
+ output.writeInt32(5, deviceCount_);
212
+ }
213
+ getUnknownFields().writeTo(output);
214
+ }
215
+
216
+ @java.lang.Override
217
+ public int getSerializedSize() {
218
+ int size = memoizedSize;
219
+ if (size != -1) return size;
220
+
221
+ size = 0;
222
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(intuneId_)) {
223
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, intuneId_);
224
+ }
225
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
226
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
227
+ }
228
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
229
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, version_);
230
+ }
231
+ if (sizeInByte_ != 0L) {
232
+ size += com.google.protobuf.CodedOutputStream
233
+ .computeInt64Size(4, sizeInByte_);
234
+ }
235
+ if (deviceCount_ != 0) {
236
+ size += com.google.protobuf.CodedOutputStream
237
+ .computeInt32Size(5, deviceCount_);
238
+ }
239
+ size += getUnknownFields().getSerializedSize();
240
+ memoizedSize = size;
241
+ return size;
242
+ }
243
+
244
+ @java.lang.Override
245
+ public boolean equals(final java.lang.Object obj) {
246
+ if (obj == this) {
247
+ return true;
248
+ }
249
+ if (!(obj instanceof com.lansweeper.dp.outbound.v1.IntuneApplication)) {
250
+ return super.equals(obj);
251
+ }
252
+ com.lansweeper.dp.outbound.v1.IntuneApplication other = (com.lansweeper.dp.outbound.v1.IntuneApplication) obj;
253
+
254
+ if (!getIntuneId()
255
+ .equals(other.getIntuneId())) return false;
256
+ if (!getDisplayName()
257
+ .equals(other.getDisplayName())) return false;
258
+ if (!getVersion()
259
+ .equals(other.getVersion())) return false;
260
+ if (getSizeInByte()
261
+ != other.getSizeInByte()) return false;
262
+ if (getDeviceCount()
263
+ != other.getDeviceCount()) return false;
264
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
265
+ return true;
266
+ }
267
+
268
+ @java.lang.Override
269
+ public int hashCode() {
270
+ if (memoizedHashCode != 0) {
271
+ return memoizedHashCode;
272
+ }
273
+ int hash = 41;
274
+ hash = (19 * hash) + getDescriptor().hashCode();
275
+ hash = (37 * hash) + INTUNE_ID_FIELD_NUMBER;
276
+ hash = (53 * hash) + getIntuneId().hashCode();
277
+ hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER;
278
+ hash = (53 * hash) + getDisplayName().hashCode();
279
+ hash = (37 * hash) + VERSION_FIELD_NUMBER;
280
+ hash = (53 * hash) + getVersion().hashCode();
281
+ hash = (37 * hash) + SIZE_IN_BYTE_FIELD_NUMBER;
282
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
283
+ getSizeInByte());
284
+ hash = (37 * hash) + DEVICE_COUNT_FIELD_NUMBER;
285
+ hash = (53 * hash) + getDeviceCount();
286
+ hash = (29 * hash) + getUnknownFields().hashCode();
287
+ memoizedHashCode = hash;
288
+ return hash;
289
+ }
290
+
291
+ public static com.lansweeper.dp.outbound.v1.IntuneApplication parseFrom(
292
+ java.nio.ByteBuffer data)
293
+ throws com.google.protobuf.InvalidProtocolBufferException {
294
+ return PARSER.parseFrom(data);
295
+ }
296
+ public static com.lansweeper.dp.outbound.v1.IntuneApplication parseFrom(
297
+ java.nio.ByteBuffer data,
298
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
299
+ throws com.google.protobuf.InvalidProtocolBufferException {
300
+ return PARSER.parseFrom(data, extensionRegistry);
301
+ }
302
+ public static com.lansweeper.dp.outbound.v1.IntuneApplication parseFrom(
303
+ com.google.protobuf.ByteString data)
304
+ throws com.google.protobuf.InvalidProtocolBufferException {
305
+ return PARSER.parseFrom(data);
306
+ }
307
+ public static com.lansweeper.dp.outbound.v1.IntuneApplication parseFrom(
308
+ com.google.protobuf.ByteString data,
309
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
310
+ throws com.google.protobuf.InvalidProtocolBufferException {
311
+ return PARSER.parseFrom(data, extensionRegistry);
312
+ }
313
+ public static com.lansweeper.dp.outbound.v1.IntuneApplication parseFrom(byte[] data)
314
+ throws com.google.protobuf.InvalidProtocolBufferException {
315
+ return PARSER.parseFrom(data);
316
+ }
317
+ public static com.lansweeper.dp.outbound.v1.IntuneApplication parseFrom(
318
+ byte[] data,
319
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
320
+ throws com.google.protobuf.InvalidProtocolBufferException {
321
+ return PARSER.parseFrom(data, extensionRegistry);
322
+ }
323
+ public static com.lansweeper.dp.outbound.v1.IntuneApplication parseFrom(java.io.InputStream input)
324
+ throws java.io.IOException {
325
+ return com.google.protobuf.GeneratedMessageV3
326
+ .parseWithIOException(PARSER, input);
327
+ }
328
+ public static com.lansweeper.dp.outbound.v1.IntuneApplication parseFrom(
329
+ java.io.InputStream input,
330
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
331
+ throws java.io.IOException {
332
+ return com.google.protobuf.GeneratedMessageV3
333
+ .parseWithIOException(PARSER, input, extensionRegistry);
334
+ }
335
+
336
+ public static com.lansweeper.dp.outbound.v1.IntuneApplication parseDelimitedFrom(java.io.InputStream input)
337
+ throws java.io.IOException {
338
+ return com.google.protobuf.GeneratedMessageV3
339
+ .parseDelimitedWithIOException(PARSER, input);
340
+ }
341
+
342
+ public static com.lansweeper.dp.outbound.v1.IntuneApplication parseDelimitedFrom(
343
+ java.io.InputStream input,
344
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
345
+ throws java.io.IOException {
346
+ return com.google.protobuf.GeneratedMessageV3
347
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
348
+ }
349
+ public static com.lansweeper.dp.outbound.v1.IntuneApplication parseFrom(
350
+ com.google.protobuf.CodedInputStream input)
351
+ throws java.io.IOException {
352
+ return com.google.protobuf.GeneratedMessageV3
353
+ .parseWithIOException(PARSER, input);
354
+ }
355
+ public static com.lansweeper.dp.outbound.v1.IntuneApplication parseFrom(
356
+ com.google.protobuf.CodedInputStream input,
357
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
358
+ throws java.io.IOException {
359
+ return com.google.protobuf.GeneratedMessageV3
360
+ .parseWithIOException(PARSER, input, extensionRegistry);
361
+ }
362
+
363
+ @java.lang.Override
364
+ public Builder newBuilderForType() { return newBuilder(); }
365
+ public static Builder newBuilder() {
366
+ return DEFAULT_INSTANCE.toBuilder();
367
+ }
368
+ public static Builder newBuilder(com.lansweeper.dp.outbound.v1.IntuneApplication prototype) {
369
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
370
+ }
371
+ @java.lang.Override
372
+ public Builder toBuilder() {
373
+ return this == DEFAULT_INSTANCE
374
+ ? new Builder() : new Builder().mergeFrom(this);
375
+ }
376
+
377
+ @java.lang.Override
378
+ protected Builder newBuilderForType(
379
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
380
+ Builder builder = new Builder(parent);
381
+ return builder;
382
+ }
383
+ /**
384
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.IntuneApplication}
385
+ */
386
+ public static final class Builder extends
387
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
388
+ // @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.IntuneApplication)
389
+ com.lansweeper.dp.outbound.v1.IntuneApplicationOrBuilder {
390
+ public static final com.google.protobuf.Descriptors.Descriptor
391
+ getDescriptor() {
392
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_IntuneApplication_descriptor;
393
+ }
394
+
395
+ @java.lang.Override
396
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
397
+ internalGetFieldAccessorTable() {
398
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_IntuneApplication_fieldAccessorTable
399
+ .ensureFieldAccessorsInitialized(
400
+ com.lansweeper.dp.outbound.v1.IntuneApplication.class, com.lansweeper.dp.outbound.v1.IntuneApplication.Builder.class);
401
+ }
402
+
403
+ // Construct using com.lansweeper.dp.outbound.v1.IntuneApplication.newBuilder()
404
+ private Builder() {
405
+
406
+ }
407
+
408
+ private Builder(
409
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
410
+ super(parent);
411
+
412
+ }
413
+ @java.lang.Override
414
+ public Builder clear() {
415
+ super.clear();
416
+ bitField0_ = 0;
417
+ intuneId_ = "";
418
+ displayName_ = "";
419
+ version_ = "";
420
+ sizeInByte_ = 0L;
421
+ deviceCount_ = 0;
422
+ return this;
423
+ }
424
+
425
+ @java.lang.Override
426
+ public com.google.protobuf.Descriptors.Descriptor
427
+ getDescriptorForType() {
428
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_IntuneApplication_descriptor;
429
+ }
430
+
431
+ @java.lang.Override
432
+ public com.lansweeper.dp.outbound.v1.IntuneApplication getDefaultInstanceForType() {
433
+ return com.lansweeper.dp.outbound.v1.IntuneApplication.getDefaultInstance();
434
+ }
435
+
436
+ @java.lang.Override
437
+ public com.lansweeper.dp.outbound.v1.IntuneApplication build() {
438
+ com.lansweeper.dp.outbound.v1.IntuneApplication result = buildPartial();
439
+ if (!result.isInitialized()) {
440
+ throw newUninitializedMessageException(result);
441
+ }
442
+ return result;
443
+ }
444
+
445
+ @java.lang.Override
446
+ public com.lansweeper.dp.outbound.v1.IntuneApplication buildPartial() {
447
+ com.lansweeper.dp.outbound.v1.IntuneApplication result = new com.lansweeper.dp.outbound.v1.IntuneApplication(this);
448
+ if (bitField0_ != 0) { buildPartial0(result); }
449
+ onBuilt();
450
+ return result;
451
+ }
452
+
453
+ private void buildPartial0(com.lansweeper.dp.outbound.v1.IntuneApplication result) {
454
+ int from_bitField0_ = bitField0_;
455
+ if (((from_bitField0_ & 0x00000001) != 0)) {
456
+ result.intuneId_ = intuneId_;
457
+ }
458
+ if (((from_bitField0_ & 0x00000002) != 0)) {
459
+ result.displayName_ = displayName_;
460
+ }
461
+ if (((from_bitField0_ & 0x00000004) != 0)) {
462
+ result.version_ = version_;
463
+ }
464
+ if (((from_bitField0_ & 0x00000008) != 0)) {
465
+ result.sizeInByte_ = sizeInByte_;
466
+ }
467
+ if (((from_bitField0_ & 0x00000010) != 0)) {
468
+ result.deviceCount_ = deviceCount_;
469
+ }
470
+ }
471
+
472
+ @java.lang.Override
473
+ public Builder clone() {
474
+ return super.clone();
475
+ }
476
+ @java.lang.Override
477
+ public Builder setField(
478
+ com.google.protobuf.Descriptors.FieldDescriptor field,
479
+ java.lang.Object value) {
480
+ return super.setField(field, value);
481
+ }
482
+ @java.lang.Override
483
+ public Builder clearField(
484
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
485
+ return super.clearField(field);
486
+ }
487
+ @java.lang.Override
488
+ public Builder clearOneof(
489
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
490
+ return super.clearOneof(oneof);
491
+ }
492
+ @java.lang.Override
493
+ public Builder setRepeatedField(
494
+ com.google.protobuf.Descriptors.FieldDescriptor field,
495
+ int index, java.lang.Object value) {
496
+ return super.setRepeatedField(field, index, value);
497
+ }
498
+ @java.lang.Override
499
+ public Builder addRepeatedField(
500
+ com.google.protobuf.Descriptors.FieldDescriptor field,
501
+ java.lang.Object value) {
502
+ return super.addRepeatedField(field, value);
503
+ }
504
+ @java.lang.Override
505
+ public Builder mergeFrom(com.google.protobuf.Message other) {
506
+ if (other instanceof com.lansweeper.dp.outbound.v1.IntuneApplication) {
507
+ return mergeFrom((com.lansweeper.dp.outbound.v1.IntuneApplication)other);
508
+ } else {
509
+ super.mergeFrom(other);
510
+ return this;
511
+ }
512
+ }
513
+
514
+ public Builder mergeFrom(com.lansweeper.dp.outbound.v1.IntuneApplication other) {
515
+ if (other == com.lansweeper.dp.outbound.v1.IntuneApplication.getDefaultInstance()) return this;
516
+ if (!other.getIntuneId().isEmpty()) {
517
+ intuneId_ = other.intuneId_;
518
+ bitField0_ |= 0x00000001;
519
+ onChanged();
520
+ }
521
+ if (!other.getDisplayName().isEmpty()) {
522
+ displayName_ = other.displayName_;
523
+ bitField0_ |= 0x00000002;
524
+ onChanged();
525
+ }
526
+ if (!other.getVersion().isEmpty()) {
527
+ version_ = other.version_;
528
+ bitField0_ |= 0x00000004;
529
+ onChanged();
530
+ }
531
+ if (other.getSizeInByte() != 0L) {
532
+ setSizeInByte(other.getSizeInByte());
533
+ }
534
+ if (other.getDeviceCount() != 0) {
535
+ setDeviceCount(other.getDeviceCount());
536
+ }
537
+ this.mergeUnknownFields(other.getUnknownFields());
538
+ onChanged();
539
+ return this;
540
+ }
541
+
542
+ @java.lang.Override
543
+ public final boolean isInitialized() {
544
+ return true;
545
+ }
546
+
547
+ @java.lang.Override
548
+ public Builder mergeFrom(
549
+ com.google.protobuf.CodedInputStream input,
550
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
551
+ throws java.io.IOException {
552
+ if (extensionRegistry == null) {
553
+ throw new java.lang.NullPointerException();
554
+ }
555
+ try {
556
+ boolean done = false;
557
+ while (!done) {
558
+ int tag = input.readTag();
559
+ switch (tag) {
560
+ case 0:
561
+ done = true;
562
+ break;
563
+ case 10: {
564
+ intuneId_ = input.readStringRequireUtf8();
565
+ bitField0_ |= 0x00000001;
566
+ break;
567
+ } // case 10
568
+ case 18: {
569
+ displayName_ = input.readStringRequireUtf8();
570
+ bitField0_ |= 0x00000002;
571
+ break;
572
+ } // case 18
573
+ case 26: {
574
+ version_ = input.readStringRequireUtf8();
575
+ bitField0_ |= 0x00000004;
576
+ break;
577
+ } // case 26
578
+ case 32: {
579
+ sizeInByte_ = input.readInt64();
580
+ bitField0_ |= 0x00000008;
581
+ break;
582
+ } // case 32
583
+ case 40: {
584
+ deviceCount_ = input.readInt32();
585
+ bitField0_ |= 0x00000010;
586
+ break;
587
+ } // case 40
588
+ default: {
589
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
590
+ done = true; // was an endgroup tag
591
+ }
592
+ break;
593
+ } // default:
594
+ } // switch (tag)
595
+ } // while (!done)
596
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
597
+ throw e.unwrapIOException();
598
+ } finally {
599
+ onChanged();
600
+ } // finally
601
+ return this;
602
+ }
603
+ private int bitField0_;
604
+
605
+ private java.lang.Object intuneId_ = "";
606
+ /**
607
+ * <code>string intune_id = 1;</code>
608
+ * @return The intuneId.
609
+ */
610
+ public java.lang.String getIntuneId() {
611
+ java.lang.Object ref = intuneId_;
612
+ if (!(ref instanceof java.lang.String)) {
613
+ com.google.protobuf.ByteString bs =
614
+ (com.google.protobuf.ByteString) ref;
615
+ java.lang.String s = bs.toStringUtf8();
616
+ intuneId_ = s;
617
+ return s;
618
+ } else {
619
+ return (java.lang.String) ref;
620
+ }
621
+ }
622
+ /**
623
+ * <code>string intune_id = 1;</code>
624
+ * @return The bytes for intuneId.
625
+ */
626
+ public com.google.protobuf.ByteString
627
+ getIntuneIdBytes() {
628
+ java.lang.Object ref = intuneId_;
629
+ if (ref instanceof String) {
630
+ com.google.protobuf.ByteString b =
631
+ com.google.protobuf.ByteString.copyFromUtf8(
632
+ (java.lang.String) ref);
633
+ intuneId_ = b;
634
+ return b;
635
+ } else {
636
+ return (com.google.protobuf.ByteString) ref;
637
+ }
638
+ }
639
+ /**
640
+ * <code>string intune_id = 1;</code>
641
+ * @param value The intuneId to set.
642
+ * @return This builder for chaining.
643
+ */
644
+ public Builder setIntuneId(
645
+ java.lang.String value) {
646
+ if (value == null) { throw new NullPointerException(); }
647
+ intuneId_ = value;
648
+ bitField0_ |= 0x00000001;
649
+ onChanged();
650
+ return this;
651
+ }
652
+ /**
653
+ * <code>string intune_id = 1;</code>
654
+ * @return This builder for chaining.
655
+ */
656
+ public Builder clearIntuneId() {
657
+ intuneId_ = getDefaultInstance().getIntuneId();
658
+ bitField0_ = (bitField0_ & ~0x00000001);
659
+ onChanged();
660
+ return this;
661
+ }
662
+ /**
663
+ * <code>string intune_id = 1;</code>
664
+ * @param value The bytes for intuneId to set.
665
+ * @return This builder for chaining.
666
+ */
667
+ public Builder setIntuneIdBytes(
668
+ com.google.protobuf.ByteString value) {
669
+ if (value == null) { throw new NullPointerException(); }
670
+ checkByteStringIsUtf8(value);
671
+ intuneId_ = value;
672
+ bitField0_ |= 0x00000001;
673
+ onChanged();
674
+ return this;
675
+ }
676
+
677
+ private java.lang.Object displayName_ = "";
678
+ /**
679
+ * <code>string display_name = 2;</code>
680
+ * @return The displayName.
681
+ */
682
+ public java.lang.String getDisplayName() {
683
+ java.lang.Object ref = displayName_;
684
+ if (!(ref instanceof java.lang.String)) {
685
+ com.google.protobuf.ByteString bs =
686
+ (com.google.protobuf.ByteString) ref;
687
+ java.lang.String s = bs.toStringUtf8();
688
+ displayName_ = s;
689
+ return s;
690
+ } else {
691
+ return (java.lang.String) ref;
692
+ }
693
+ }
694
+ /**
695
+ * <code>string display_name = 2;</code>
696
+ * @return The bytes for displayName.
697
+ */
698
+ public com.google.protobuf.ByteString
699
+ getDisplayNameBytes() {
700
+ java.lang.Object ref = displayName_;
701
+ if (ref instanceof String) {
702
+ com.google.protobuf.ByteString b =
703
+ com.google.protobuf.ByteString.copyFromUtf8(
704
+ (java.lang.String) ref);
705
+ displayName_ = b;
706
+ return b;
707
+ } else {
708
+ return (com.google.protobuf.ByteString) ref;
709
+ }
710
+ }
711
+ /**
712
+ * <code>string display_name = 2;</code>
713
+ * @param value The displayName to set.
714
+ * @return This builder for chaining.
715
+ */
716
+ public Builder setDisplayName(
717
+ java.lang.String value) {
718
+ if (value == null) { throw new NullPointerException(); }
719
+ displayName_ = value;
720
+ bitField0_ |= 0x00000002;
721
+ onChanged();
722
+ return this;
723
+ }
724
+ /**
725
+ * <code>string display_name = 2;</code>
726
+ * @return This builder for chaining.
727
+ */
728
+ public Builder clearDisplayName() {
729
+ displayName_ = getDefaultInstance().getDisplayName();
730
+ bitField0_ = (bitField0_ & ~0x00000002);
731
+ onChanged();
732
+ return this;
733
+ }
734
+ /**
735
+ * <code>string display_name = 2;</code>
736
+ * @param value The bytes for displayName to set.
737
+ * @return This builder for chaining.
738
+ */
739
+ public Builder setDisplayNameBytes(
740
+ com.google.protobuf.ByteString value) {
741
+ if (value == null) { throw new NullPointerException(); }
742
+ checkByteStringIsUtf8(value);
743
+ displayName_ = value;
744
+ bitField0_ |= 0x00000002;
745
+ onChanged();
746
+ return this;
747
+ }
748
+
749
+ private java.lang.Object version_ = "";
750
+ /**
751
+ * <code>string version = 3;</code>
752
+ * @return The version.
753
+ */
754
+ public java.lang.String getVersion() {
755
+ java.lang.Object ref = version_;
756
+ if (!(ref instanceof java.lang.String)) {
757
+ com.google.protobuf.ByteString bs =
758
+ (com.google.protobuf.ByteString) ref;
759
+ java.lang.String s = bs.toStringUtf8();
760
+ version_ = s;
761
+ return s;
762
+ } else {
763
+ return (java.lang.String) ref;
764
+ }
765
+ }
766
+ /**
767
+ * <code>string version = 3;</code>
768
+ * @return The bytes for version.
769
+ */
770
+ public com.google.protobuf.ByteString
771
+ getVersionBytes() {
772
+ java.lang.Object ref = version_;
773
+ if (ref instanceof String) {
774
+ com.google.protobuf.ByteString b =
775
+ com.google.protobuf.ByteString.copyFromUtf8(
776
+ (java.lang.String) ref);
777
+ version_ = b;
778
+ return b;
779
+ } else {
780
+ return (com.google.protobuf.ByteString) ref;
781
+ }
782
+ }
783
+ /**
784
+ * <code>string version = 3;</code>
785
+ * @param value The version to set.
786
+ * @return This builder for chaining.
787
+ */
788
+ public Builder setVersion(
789
+ java.lang.String value) {
790
+ if (value == null) { throw new NullPointerException(); }
791
+ version_ = value;
792
+ bitField0_ |= 0x00000004;
793
+ onChanged();
794
+ return this;
795
+ }
796
+ /**
797
+ * <code>string version = 3;</code>
798
+ * @return This builder for chaining.
799
+ */
800
+ public Builder clearVersion() {
801
+ version_ = getDefaultInstance().getVersion();
802
+ bitField0_ = (bitField0_ & ~0x00000004);
803
+ onChanged();
804
+ return this;
805
+ }
806
+ /**
807
+ * <code>string version = 3;</code>
808
+ * @param value The bytes for version to set.
809
+ * @return This builder for chaining.
810
+ */
811
+ public Builder setVersionBytes(
812
+ com.google.protobuf.ByteString value) {
813
+ if (value == null) { throw new NullPointerException(); }
814
+ checkByteStringIsUtf8(value);
815
+ version_ = value;
816
+ bitField0_ |= 0x00000004;
817
+ onChanged();
818
+ return this;
819
+ }
820
+
821
+ private long sizeInByte_ ;
822
+ /**
823
+ * <code>int64 size_in_byte = 4;</code>
824
+ * @return The sizeInByte.
825
+ */
826
+ @java.lang.Override
827
+ public long getSizeInByte() {
828
+ return sizeInByte_;
829
+ }
830
+ /**
831
+ * <code>int64 size_in_byte = 4;</code>
832
+ * @param value The sizeInByte to set.
833
+ * @return This builder for chaining.
834
+ */
835
+ public Builder setSizeInByte(long value) {
836
+
837
+ sizeInByte_ = value;
838
+ bitField0_ |= 0x00000008;
839
+ onChanged();
840
+ return this;
841
+ }
842
+ /**
843
+ * <code>int64 size_in_byte = 4;</code>
844
+ * @return This builder for chaining.
845
+ */
846
+ public Builder clearSizeInByte() {
847
+ bitField0_ = (bitField0_ & ~0x00000008);
848
+ sizeInByte_ = 0L;
849
+ onChanged();
850
+ return this;
851
+ }
852
+
853
+ private int deviceCount_ ;
854
+ /**
855
+ * <code>int32 device_count = 5;</code>
856
+ * @return The deviceCount.
857
+ */
858
+ @java.lang.Override
859
+ public int getDeviceCount() {
860
+ return deviceCount_;
861
+ }
862
+ /**
863
+ * <code>int32 device_count = 5;</code>
864
+ * @param value The deviceCount to set.
865
+ * @return This builder for chaining.
866
+ */
867
+ public Builder setDeviceCount(int value) {
868
+
869
+ deviceCount_ = value;
870
+ bitField0_ |= 0x00000010;
871
+ onChanged();
872
+ return this;
873
+ }
874
+ /**
875
+ * <code>int32 device_count = 5;</code>
876
+ * @return This builder for chaining.
877
+ */
878
+ public Builder clearDeviceCount() {
879
+ bitField0_ = (bitField0_ & ~0x00000010);
880
+ deviceCount_ = 0;
881
+ onChanged();
882
+ return this;
883
+ }
884
+ @java.lang.Override
885
+ public final Builder setUnknownFields(
886
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
887
+ return super.setUnknownFields(unknownFields);
888
+ }
889
+
890
+ @java.lang.Override
891
+ public final Builder mergeUnknownFields(
892
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
893
+ return super.mergeUnknownFields(unknownFields);
894
+ }
895
+
896
+
897
+ // @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.IntuneApplication)
898
+ }
899
+
900
+ // @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.IntuneApplication)
901
+ private static final com.lansweeper.dp.outbound.v1.IntuneApplication DEFAULT_INSTANCE;
902
+ static {
903
+ DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.IntuneApplication();
904
+ }
905
+
906
+ public static com.lansweeper.dp.outbound.v1.IntuneApplication getDefaultInstance() {
907
+ return DEFAULT_INSTANCE;
908
+ }
909
+
910
+ private static final com.google.protobuf.Parser<IntuneApplication>
911
+ PARSER = new com.google.protobuf.AbstractParser<IntuneApplication>() {
912
+ @java.lang.Override
913
+ public IntuneApplication parsePartialFrom(
914
+ com.google.protobuf.CodedInputStream input,
915
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
916
+ throws com.google.protobuf.InvalidProtocolBufferException {
917
+ Builder builder = newBuilder();
918
+ try {
919
+ builder.mergeFrom(input, extensionRegistry);
920
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
921
+ throw e.setUnfinishedMessage(builder.buildPartial());
922
+ } catch (com.google.protobuf.UninitializedMessageException e) {
923
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
924
+ } catch (java.io.IOException e) {
925
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
926
+ .setUnfinishedMessage(builder.buildPartial());
927
+ }
928
+ return builder.buildPartial();
929
+ }
930
+ };
931
+
932
+ public static com.google.protobuf.Parser<IntuneApplication> parser() {
933
+ return PARSER;
934
+ }
935
+
936
+ @java.lang.Override
937
+ public com.google.protobuf.Parser<IntuneApplication> getParserForType() {
938
+ return PARSER;
939
+ }
940
+
941
+ @java.lang.Override
942
+ public com.lansweeper.dp.outbound.v1.IntuneApplication getDefaultInstanceForType() {
943
+ return DEFAULT_INSTANCE;
944
+ }
945
+
946
+ }
947
+