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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +21 -0
  4. package/gen-proto/outbound_pb.js +189 -12
  5. package/package.json +2 -2
  6. package/pom.xml +1 -1
  7. package/proto/outbound.proto +9 -2
  8. package/src/main/java/com/lansweeper/dp/outbound/v1/Asset.java +2132 -0
  9. package/src/main/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +144 -0
  10. package/src/main/java/com/lansweeper/dp/outbound/v1/AssetType.java +801 -0
  11. package/src/main/java/com/lansweeper/dp/outbound/v1/AssetTypeOrBuilder.java +58 -0
  12. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrand.java +4433 -0
  13. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrandOrBuilder.java +446 -0
  14. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModel.java +4089 -0
  15. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModelOrBuilder.java +422 -0
  16. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogMonitor.java +484 -0
  17. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogMonitorOrBuilder.java +15 -0
  18. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOs.java +3858 -0
  19. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOsOrBuilder.java +384 -0
  20. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogSoftware.java +3315 -0
  21. package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogSoftwareOrBuilder.java +332 -0
  22. package/src/main/java/com/lansweeper/dp/outbound/v1/CoreFields.java +1731 -0
  23. package/src/main/java/com/lansweeper/dp/outbound/v1/CoreFieldsOrBuilder.java +138 -0
  24. package/src/main/java/com/lansweeper/dp/outbound/v1/Entity.java +762 -0
  25. package/src/main/java/com/lansweeper/dp/outbound/v1/EntityOrBuilder.java +41 -0
  26. package/src/main/java/com/lansweeper/dp/outbound/v1/EntityPath.java +1283 -0
  27. package/src/main/java/com/lansweeper/dp/outbound/v1/EntityPathOrBuilder.java +113 -0
  28. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityRequest.java +655 -0
  29. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityRequestOrBuilder.java +36 -0
  30. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityResponse.java +1193 -0
  31. package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityResponseOrBuilder.java +71 -0
  32. package/src/main/java/com/lansweeper/dp/outbound/v1/HardwareInfo.java +2702 -0
  33. package/src/main/java/com/lansweeper/dp/outbound/v1/HardwareInfoOrBuilder.java +237 -0
  34. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityRequest.java +655 -0
  35. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityRequestOrBuilder.java +36 -0
  36. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityResponse.java +958 -0
  37. package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityResponseOrBuilder.java +48 -0
  38. package/src/main/java/com/lansweeper/dp/outbound/v1/OperatingSystemInfo.java +2332 -0
  39. package/src/main/java/com/lansweeper/dp/outbound/v1/OperatingSystemInfoOrBuilder.java +191 -0
  40. package/src/main/java/com/lansweeper/dp/outbound/v1/Outbound.java +286 -42943
  41. package/src/main/java/com/lansweeper/dp/outbound/v1/RawHardwareInfo.java +1073 -0
  42. package/src/main/java/com/lansweeper/dp/outbound/v1/RawHardwareInfoOrBuilder.java +77 -0
  43. package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftware.java +1894 -0
  44. package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftwareOrBuilder.java +187 -0
  45. package/src/main/java/com/lansweeper/dp/outbound/v1/Software.java +2797 -0
  46. package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventory.java +958 -0
  47. package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventoryOrBuilder.java +48 -0
  48. package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareOrBuilder.java +258 -0
  49. package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawOperatingSystemInfo.java +1846 -0
  50. package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawOperatingSystemInfoOrBuilder.java +205 -0
@@ -0,0 +1,655 @@
1
+ // Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ // source: packages/data.platform/outbound/grpc/proto/outbound.proto
3
+
4
+ package com.lansweeper.dp.outbound.v1;
5
+
6
+ /**
7
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.GetEntityRequest}
8
+ */
9
+ public final class GetEntityRequest extends
10
+ com.google.protobuf.GeneratedMessageV3 implements
11
+ // @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.GetEntityRequest)
12
+ GetEntityRequestOrBuilder {
13
+ private static final long serialVersionUID = 0L;
14
+ // Use GetEntityRequest.newBuilder() to construct.
15
+ private GetEntityRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
16
+ super(builder);
17
+ }
18
+ private GetEntityRequest() {
19
+ }
20
+
21
+ @java.lang.Override
22
+ @SuppressWarnings({"unused"})
23
+ protected java.lang.Object newInstance(
24
+ UnusedPrivateParameter unused) {
25
+ return new GetEntityRequest();
26
+ }
27
+
28
+ @java.lang.Override
29
+ public final com.google.protobuf.UnknownFieldSet
30
+ getUnknownFields() {
31
+ return this.unknownFields;
32
+ }
33
+ private GetEntityRequest(
34
+ com.google.protobuf.CodedInputStream input,
35
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
36
+ throws com.google.protobuf.InvalidProtocolBufferException {
37
+ this();
38
+ if (extensionRegistry == null) {
39
+ throw new java.lang.NullPointerException();
40
+ }
41
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
42
+ com.google.protobuf.UnknownFieldSet.newBuilder();
43
+ try {
44
+ boolean done = false;
45
+ while (!done) {
46
+ int tag = input.readTag();
47
+ switch (tag) {
48
+ case 0:
49
+ done = true;
50
+ break;
51
+ case 10: {
52
+ com.lansweeper.dp.outbound.v1.EntityPath.Builder subBuilder = null;
53
+ if (entityPath_ != null) {
54
+ subBuilder = entityPath_.toBuilder();
55
+ }
56
+ entityPath_ = input.readMessage(com.lansweeper.dp.outbound.v1.EntityPath.parser(), extensionRegistry);
57
+ if (subBuilder != null) {
58
+ subBuilder.mergeFrom(entityPath_);
59
+ entityPath_ = subBuilder.buildPartial();
60
+ }
61
+
62
+ break;
63
+ }
64
+ default: {
65
+ if (!parseUnknownField(
66
+ input, unknownFields, extensionRegistry, tag)) {
67
+ done = true;
68
+ }
69
+ break;
70
+ }
71
+ }
72
+ }
73
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
74
+ throw e.setUnfinishedMessage(this);
75
+ } catch (java.io.IOException e) {
76
+ throw new com.google.protobuf.InvalidProtocolBufferException(
77
+ e).setUnfinishedMessage(this);
78
+ } finally {
79
+ this.unknownFields = unknownFields.build();
80
+ makeExtensionsImmutable();
81
+ }
82
+ }
83
+ public static final com.google.protobuf.Descriptors.Descriptor
84
+ getDescriptor() {
85
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_GetEntityRequest_descriptor;
86
+ }
87
+
88
+ @java.lang.Override
89
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
90
+ internalGetFieldAccessorTable() {
91
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_GetEntityRequest_fieldAccessorTable
92
+ .ensureFieldAccessorsInitialized(
93
+ com.lansweeper.dp.outbound.v1.GetEntityRequest.class, com.lansweeper.dp.outbound.v1.GetEntityRequest.Builder.class);
94
+ }
95
+
96
+ public static final int ENTITY_PATH_FIELD_NUMBER = 1;
97
+ private com.lansweeper.dp.outbound.v1.EntityPath entityPath_;
98
+ /**
99
+ * <pre>
100
+ * bool send_related = 2; // send also related entities
101
+ * </pre>
102
+ *
103
+ * <code>.com.lansweeper.dp.outbound.v1.EntityPath entity_path = 1;</code>
104
+ * @return Whether the entityPath field is set.
105
+ */
106
+ @java.lang.Override
107
+ public boolean hasEntityPath() {
108
+ return entityPath_ != null;
109
+ }
110
+ /**
111
+ * <pre>
112
+ * bool send_related = 2; // send also related entities
113
+ * </pre>
114
+ *
115
+ * <code>.com.lansweeper.dp.outbound.v1.EntityPath entity_path = 1;</code>
116
+ * @return The entityPath.
117
+ */
118
+ @java.lang.Override
119
+ public com.lansweeper.dp.outbound.v1.EntityPath getEntityPath() {
120
+ return entityPath_ == null ? com.lansweeper.dp.outbound.v1.EntityPath.getDefaultInstance() : entityPath_;
121
+ }
122
+ /**
123
+ * <pre>
124
+ * bool send_related = 2; // send also related entities
125
+ * </pre>
126
+ *
127
+ * <code>.com.lansweeper.dp.outbound.v1.EntityPath entity_path = 1;</code>
128
+ */
129
+ @java.lang.Override
130
+ public com.lansweeper.dp.outbound.v1.EntityPathOrBuilder getEntityPathOrBuilder() {
131
+ return getEntityPath();
132
+ }
133
+
134
+ private byte memoizedIsInitialized = -1;
135
+ @java.lang.Override
136
+ public final boolean isInitialized() {
137
+ byte isInitialized = memoizedIsInitialized;
138
+ if (isInitialized == 1) return true;
139
+ if (isInitialized == 0) return false;
140
+
141
+ memoizedIsInitialized = 1;
142
+ return true;
143
+ }
144
+
145
+ @java.lang.Override
146
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
147
+ throws java.io.IOException {
148
+ if (entityPath_ != null) {
149
+ output.writeMessage(1, getEntityPath());
150
+ }
151
+ unknownFields.writeTo(output);
152
+ }
153
+
154
+ @java.lang.Override
155
+ public int getSerializedSize() {
156
+ int size = memoizedSize;
157
+ if (size != -1) return size;
158
+
159
+ size = 0;
160
+ if (entityPath_ != null) {
161
+ size += com.google.protobuf.CodedOutputStream
162
+ .computeMessageSize(1, getEntityPath());
163
+ }
164
+ size += unknownFields.getSerializedSize();
165
+ memoizedSize = size;
166
+ return size;
167
+ }
168
+
169
+ @java.lang.Override
170
+ public boolean equals(final java.lang.Object obj) {
171
+ if (obj == this) {
172
+ return true;
173
+ }
174
+ if (!(obj instanceof com.lansweeper.dp.outbound.v1.GetEntityRequest)) {
175
+ return super.equals(obj);
176
+ }
177
+ com.lansweeper.dp.outbound.v1.GetEntityRequest other = (com.lansweeper.dp.outbound.v1.GetEntityRequest) obj;
178
+
179
+ if (hasEntityPath() != other.hasEntityPath()) return false;
180
+ if (hasEntityPath()) {
181
+ if (!getEntityPath()
182
+ .equals(other.getEntityPath())) return false;
183
+ }
184
+ if (!unknownFields.equals(other.unknownFields)) return false;
185
+ return true;
186
+ }
187
+
188
+ @java.lang.Override
189
+ public int hashCode() {
190
+ if (memoizedHashCode != 0) {
191
+ return memoizedHashCode;
192
+ }
193
+ int hash = 41;
194
+ hash = (19 * hash) + getDescriptor().hashCode();
195
+ if (hasEntityPath()) {
196
+ hash = (37 * hash) + ENTITY_PATH_FIELD_NUMBER;
197
+ hash = (53 * hash) + getEntityPath().hashCode();
198
+ }
199
+ hash = (29 * hash) + unknownFields.hashCode();
200
+ memoizedHashCode = hash;
201
+ return hash;
202
+ }
203
+
204
+ public static com.lansweeper.dp.outbound.v1.GetEntityRequest parseFrom(
205
+ java.nio.ByteBuffer data)
206
+ throws com.google.protobuf.InvalidProtocolBufferException {
207
+ return PARSER.parseFrom(data);
208
+ }
209
+ public static com.lansweeper.dp.outbound.v1.GetEntityRequest parseFrom(
210
+ java.nio.ByteBuffer data,
211
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
212
+ throws com.google.protobuf.InvalidProtocolBufferException {
213
+ return PARSER.parseFrom(data, extensionRegistry);
214
+ }
215
+ public static com.lansweeper.dp.outbound.v1.GetEntityRequest parseFrom(
216
+ com.google.protobuf.ByteString data)
217
+ throws com.google.protobuf.InvalidProtocolBufferException {
218
+ return PARSER.parseFrom(data);
219
+ }
220
+ public static com.lansweeper.dp.outbound.v1.GetEntityRequest parseFrom(
221
+ com.google.protobuf.ByteString data,
222
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
223
+ throws com.google.protobuf.InvalidProtocolBufferException {
224
+ return PARSER.parseFrom(data, extensionRegistry);
225
+ }
226
+ public static com.lansweeper.dp.outbound.v1.GetEntityRequest parseFrom(byte[] data)
227
+ throws com.google.protobuf.InvalidProtocolBufferException {
228
+ return PARSER.parseFrom(data);
229
+ }
230
+ public static com.lansweeper.dp.outbound.v1.GetEntityRequest parseFrom(
231
+ byte[] data,
232
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
233
+ throws com.google.protobuf.InvalidProtocolBufferException {
234
+ return PARSER.parseFrom(data, extensionRegistry);
235
+ }
236
+ public static com.lansweeper.dp.outbound.v1.GetEntityRequest parseFrom(java.io.InputStream input)
237
+ throws java.io.IOException {
238
+ return com.google.protobuf.GeneratedMessageV3
239
+ .parseWithIOException(PARSER, input);
240
+ }
241
+ public static com.lansweeper.dp.outbound.v1.GetEntityRequest parseFrom(
242
+ java.io.InputStream input,
243
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
244
+ throws java.io.IOException {
245
+ return com.google.protobuf.GeneratedMessageV3
246
+ .parseWithIOException(PARSER, input, extensionRegistry);
247
+ }
248
+ public static com.lansweeper.dp.outbound.v1.GetEntityRequest parseDelimitedFrom(java.io.InputStream input)
249
+ throws java.io.IOException {
250
+ return com.google.protobuf.GeneratedMessageV3
251
+ .parseDelimitedWithIOException(PARSER, input);
252
+ }
253
+ public static com.lansweeper.dp.outbound.v1.GetEntityRequest parseDelimitedFrom(
254
+ java.io.InputStream input,
255
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
256
+ throws java.io.IOException {
257
+ return com.google.protobuf.GeneratedMessageV3
258
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
259
+ }
260
+ public static com.lansweeper.dp.outbound.v1.GetEntityRequest parseFrom(
261
+ com.google.protobuf.CodedInputStream input)
262
+ throws java.io.IOException {
263
+ return com.google.protobuf.GeneratedMessageV3
264
+ .parseWithIOException(PARSER, input);
265
+ }
266
+ public static com.lansweeper.dp.outbound.v1.GetEntityRequest parseFrom(
267
+ com.google.protobuf.CodedInputStream input,
268
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
269
+ throws java.io.IOException {
270
+ return com.google.protobuf.GeneratedMessageV3
271
+ .parseWithIOException(PARSER, input, extensionRegistry);
272
+ }
273
+
274
+ @java.lang.Override
275
+ public Builder newBuilderForType() { return newBuilder(); }
276
+ public static Builder newBuilder() {
277
+ return DEFAULT_INSTANCE.toBuilder();
278
+ }
279
+ public static Builder newBuilder(com.lansweeper.dp.outbound.v1.GetEntityRequest prototype) {
280
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
281
+ }
282
+ @java.lang.Override
283
+ public Builder toBuilder() {
284
+ return this == DEFAULT_INSTANCE
285
+ ? new Builder() : new Builder().mergeFrom(this);
286
+ }
287
+
288
+ @java.lang.Override
289
+ protected Builder newBuilderForType(
290
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
291
+ Builder builder = new Builder(parent);
292
+ return builder;
293
+ }
294
+ /**
295
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.GetEntityRequest}
296
+ */
297
+ public static final class Builder extends
298
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
299
+ // @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.GetEntityRequest)
300
+ com.lansweeper.dp.outbound.v1.GetEntityRequestOrBuilder {
301
+ public static final com.google.protobuf.Descriptors.Descriptor
302
+ getDescriptor() {
303
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_GetEntityRequest_descriptor;
304
+ }
305
+
306
+ @java.lang.Override
307
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
308
+ internalGetFieldAccessorTable() {
309
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_GetEntityRequest_fieldAccessorTable
310
+ .ensureFieldAccessorsInitialized(
311
+ com.lansweeper.dp.outbound.v1.GetEntityRequest.class, com.lansweeper.dp.outbound.v1.GetEntityRequest.Builder.class);
312
+ }
313
+
314
+ // Construct using com.lansweeper.dp.outbound.v1.GetEntityRequest.newBuilder()
315
+ private Builder() {
316
+ maybeForceBuilderInitialization();
317
+ }
318
+
319
+ private Builder(
320
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
321
+ super(parent);
322
+ maybeForceBuilderInitialization();
323
+ }
324
+ private void maybeForceBuilderInitialization() {
325
+ if (com.google.protobuf.GeneratedMessageV3
326
+ .alwaysUseFieldBuilders) {
327
+ }
328
+ }
329
+ @java.lang.Override
330
+ public Builder clear() {
331
+ super.clear();
332
+ if (entityPathBuilder_ == null) {
333
+ entityPath_ = null;
334
+ } else {
335
+ entityPath_ = null;
336
+ entityPathBuilder_ = null;
337
+ }
338
+ return this;
339
+ }
340
+
341
+ @java.lang.Override
342
+ public com.google.protobuf.Descriptors.Descriptor
343
+ getDescriptorForType() {
344
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_GetEntityRequest_descriptor;
345
+ }
346
+
347
+ @java.lang.Override
348
+ public com.lansweeper.dp.outbound.v1.GetEntityRequest getDefaultInstanceForType() {
349
+ return com.lansweeper.dp.outbound.v1.GetEntityRequest.getDefaultInstance();
350
+ }
351
+
352
+ @java.lang.Override
353
+ public com.lansweeper.dp.outbound.v1.GetEntityRequest build() {
354
+ com.lansweeper.dp.outbound.v1.GetEntityRequest result = buildPartial();
355
+ if (!result.isInitialized()) {
356
+ throw newUninitializedMessageException(result);
357
+ }
358
+ return result;
359
+ }
360
+
361
+ @java.lang.Override
362
+ public com.lansweeper.dp.outbound.v1.GetEntityRequest buildPartial() {
363
+ com.lansweeper.dp.outbound.v1.GetEntityRequest result = new com.lansweeper.dp.outbound.v1.GetEntityRequest(this);
364
+ if (entityPathBuilder_ == null) {
365
+ result.entityPath_ = entityPath_;
366
+ } else {
367
+ result.entityPath_ = entityPathBuilder_.build();
368
+ }
369
+ onBuilt();
370
+ return result;
371
+ }
372
+
373
+ @java.lang.Override
374
+ public Builder clone() {
375
+ return super.clone();
376
+ }
377
+ @java.lang.Override
378
+ public Builder setField(
379
+ com.google.protobuf.Descriptors.FieldDescriptor field,
380
+ java.lang.Object value) {
381
+ return super.setField(field, value);
382
+ }
383
+ @java.lang.Override
384
+ public Builder clearField(
385
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
386
+ return super.clearField(field);
387
+ }
388
+ @java.lang.Override
389
+ public Builder clearOneof(
390
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
391
+ return super.clearOneof(oneof);
392
+ }
393
+ @java.lang.Override
394
+ public Builder setRepeatedField(
395
+ com.google.protobuf.Descriptors.FieldDescriptor field,
396
+ int index, java.lang.Object value) {
397
+ return super.setRepeatedField(field, index, value);
398
+ }
399
+ @java.lang.Override
400
+ public Builder addRepeatedField(
401
+ com.google.protobuf.Descriptors.FieldDescriptor field,
402
+ java.lang.Object value) {
403
+ return super.addRepeatedField(field, value);
404
+ }
405
+ @java.lang.Override
406
+ public Builder mergeFrom(com.google.protobuf.Message other) {
407
+ if (other instanceof com.lansweeper.dp.outbound.v1.GetEntityRequest) {
408
+ return mergeFrom((com.lansweeper.dp.outbound.v1.GetEntityRequest)other);
409
+ } else {
410
+ super.mergeFrom(other);
411
+ return this;
412
+ }
413
+ }
414
+
415
+ public Builder mergeFrom(com.lansweeper.dp.outbound.v1.GetEntityRequest other) {
416
+ if (other == com.lansweeper.dp.outbound.v1.GetEntityRequest.getDefaultInstance()) return this;
417
+ if (other.hasEntityPath()) {
418
+ mergeEntityPath(other.getEntityPath());
419
+ }
420
+ this.mergeUnknownFields(other.unknownFields);
421
+ onChanged();
422
+ return this;
423
+ }
424
+
425
+ @java.lang.Override
426
+ public final boolean isInitialized() {
427
+ return true;
428
+ }
429
+
430
+ @java.lang.Override
431
+ public Builder mergeFrom(
432
+ com.google.protobuf.CodedInputStream input,
433
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
434
+ throws java.io.IOException {
435
+ com.lansweeper.dp.outbound.v1.GetEntityRequest parsedMessage = null;
436
+ try {
437
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
438
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
439
+ parsedMessage = (com.lansweeper.dp.outbound.v1.GetEntityRequest) e.getUnfinishedMessage();
440
+ throw e.unwrapIOException();
441
+ } finally {
442
+ if (parsedMessage != null) {
443
+ mergeFrom(parsedMessage);
444
+ }
445
+ }
446
+ return this;
447
+ }
448
+
449
+ private com.lansweeper.dp.outbound.v1.EntityPath entityPath_;
450
+ private com.google.protobuf.SingleFieldBuilderV3<
451
+ com.lansweeper.dp.outbound.v1.EntityPath, com.lansweeper.dp.outbound.v1.EntityPath.Builder, com.lansweeper.dp.outbound.v1.EntityPathOrBuilder> entityPathBuilder_;
452
+ /**
453
+ * <pre>
454
+ * bool send_related = 2; // send also related entities
455
+ * </pre>
456
+ *
457
+ * <code>.com.lansweeper.dp.outbound.v1.EntityPath entity_path = 1;</code>
458
+ * @return Whether the entityPath field is set.
459
+ */
460
+ public boolean hasEntityPath() {
461
+ return entityPathBuilder_ != null || entityPath_ != null;
462
+ }
463
+ /**
464
+ * <pre>
465
+ * bool send_related = 2; // send also related entities
466
+ * </pre>
467
+ *
468
+ * <code>.com.lansweeper.dp.outbound.v1.EntityPath entity_path = 1;</code>
469
+ * @return The entityPath.
470
+ */
471
+ public com.lansweeper.dp.outbound.v1.EntityPath getEntityPath() {
472
+ if (entityPathBuilder_ == null) {
473
+ return entityPath_ == null ? com.lansweeper.dp.outbound.v1.EntityPath.getDefaultInstance() : entityPath_;
474
+ } else {
475
+ return entityPathBuilder_.getMessage();
476
+ }
477
+ }
478
+ /**
479
+ * <pre>
480
+ * bool send_related = 2; // send also related entities
481
+ * </pre>
482
+ *
483
+ * <code>.com.lansweeper.dp.outbound.v1.EntityPath entity_path = 1;</code>
484
+ */
485
+ public Builder setEntityPath(com.lansweeper.dp.outbound.v1.EntityPath value) {
486
+ if (entityPathBuilder_ == null) {
487
+ if (value == null) {
488
+ throw new NullPointerException();
489
+ }
490
+ entityPath_ = value;
491
+ onChanged();
492
+ } else {
493
+ entityPathBuilder_.setMessage(value);
494
+ }
495
+
496
+ return this;
497
+ }
498
+ /**
499
+ * <pre>
500
+ * bool send_related = 2; // send also related entities
501
+ * </pre>
502
+ *
503
+ * <code>.com.lansweeper.dp.outbound.v1.EntityPath entity_path = 1;</code>
504
+ */
505
+ public Builder setEntityPath(
506
+ com.lansweeper.dp.outbound.v1.EntityPath.Builder builderForValue) {
507
+ if (entityPathBuilder_ == null) {
508
+ entityPath_ = builderForValue.build();
509
+ onChanged();
510
+ } else {
511
+ entityPathBuilder_.setMessage(builderForValue.build());
512
+ }
513
+
514
+ return this;
515
+ }
516
+ /**
517
+ * <pre>
518
+ * bool send_related = 2; // send also related entities
519
+ * </pre>
520
+ *
521
+ * <code>.com.lansweeper.dp.outbound.v1.EntityPath entity_path = 1;</code>
522
+ */
523
+ public Builder mergeEntityPath(com.lansweeper.dp.outbound.v1.EntityPath value) {
524
+ if (entityPathBuilder_ == null) {
525
+ if (entityPath_ != null) {
526
+ entityPath_ =
527
+ com.lansweeper.dp.outbound.v1.EntityPath.newBuilder(entityPath_).mergeFrom(value).buildPartial();
528
+ } else {
529
+ entityPath_ = value;
530
+ }
531
+ onChanged();
532
+ } else {
533
+ entityPathBuilder_.mergeFrom(value);
534
+ }
535
+
536
+ return this;
537
+ }
538
+ /**
539
+ * <pre>
540
+ * bool send_related = 2; // send also related entities
541
+ * </pre>
542
+ *
543
+ * <code>.com.lansweeper.dp.outbound.v1.EntityPath entity_path = 1;</code>
544
+ */
545
+ public Builder clearEntityPath() {
546
+ if (entityPathBuilder_ == null) {
547
+ entityPath_ = null;
548
+ onChanged();
549
+ } else {
550
+ entityPath_ = null;
551
+ entityPathBuilder_ = null;
552
+ }
553
+
554
+ return this;
555
+ }
556
+ /**
557
+ * <pre>
558
+ * bool send_related = 2; // send also related entities
559
+ * </pre>
560
+ *
561
+ * <code>.com.lansweeper.dp.outbound.v1.EntityPath entity_path = 1;</code>
562
+ */
563
+ public com.lansweeper.dp.outbound.v1.EntityPath.Builder getEntityPathBuilder() {
564
+
565
+ onChanged();
566
+ return getEntityPathFieldBuilder().getBuilder();
567
+ }
568
+ /**
569
+ * <pre>
570
+ * bool send_related = 2; // send also related entities
571
+ * </pre>
572
+ *
573
+ * <code>.com.lansweeper.dp.outbound.v1.EntityPath entity_path = 1;</code>
574
+ */
575
+ public com.lansweeper.dp.outbound.v1.EntityPathOrBuilder getEntityPathOrBuilder() {
576
+ if (entityPathBuilder_ != null) {
577
+ return entityPathBuilder_.getMessageOrBuilder();
578
+ } else {
579
+ return entityPath_ == null ?
580
+ com.lansweeper.dp.outbound.v1.EntityPath.getDefaultInstance() : entityPath_;
581
+ }
582
+ }
583
+ /**
584
+ * <pre>
585
+ * bool send_related = 2; // send also related entities
586
+ * </pre>
587
+ *
588
+ * <code>.com.lansweeper.dp.outbound.v1.EntityPath entity_path = 1;</code>
589
+ */
590
+ private com.google.protobuf.SingleFieldBuilderV3<
591
+ com.lansweeper.dp.outbound.v1.EntityPath, com.lansweeper.dp.outbound.v1.EntityPath.Builder, com.lansweeper.dp.outbound.v1.EntityPathOrBuilder>
592
+ getEntityPathFieldBuilder() {
593
+ if (entityPathBuilder_ == null) {
594
+ entityPathBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
595
+ com.lansweeper.dp.outbound.v1.EntityPath, com.lansweeper.dp.outbound.v1.EntityPath.Builder, com.lansweeper.dp.outbound.v1.EntityPathOrBuilder>(
596
+ getEntityPath(),
597
+ getParentForChildren(),
598
+ isClean());
599
+ entityPath_ = null;
600
+ }
601
+ return entityPathBuilder_;
602
+ }
603
+ @java.lang.Override
604
+ public final Builder setUnknownFields(
605
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
606
+ return super.setUnknownFields(unknownFields);
607
+ }
608
+
609
+ @java.lang.Override
610
+ public final Builder mergeUnknownFields(
611
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
612
+ return super.mergeUnknownFields(unknownFields);
613
+ }
614
+
615
+
616
+ // @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.GetEntityRequest)
617
+ }
618
+
619
+ // @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.GetEntityRequest)
620
+ private static final com.lansweeper.dp.outbound.v1.GetEntityRequest DEFAULT_INSTANCE;
621
+ static {
622
+ DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.GetEntityRequest();
623
+ }
624
+
625
+ public static com.lansweeper.dp.outbound.v1.GetEntityRequest getDefaultInstance() {
626
+ return DEFAULT_INSTANCE;
627
+ }
628
+
629
+ private static final com.google.protobuf.Parser<GetEntityRequest>
630
+ PARSER = new com.google.protobuf.AbstractParser<GetEntityRequest>() {
631
+ @java.lang.Override
632
+ public GetEntityRequest parsePartialFrom(
633
+ com.google.protobuf.CodedInputStream input,
634
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
635
+ throws com.google.protobuf.InvalidProtocolBufferException {
636
+ return new GetEntityRequest(input, extensionRegistry);
637
+ }
638
+ };
639
+
640
+ public static com.google.protobuf.Parser<GetEntityRequest> parser() {
641
+ return PARSER;
642
+ }
643
+
644
+ @java.lang.Override
645
+ public com.google.protobuf.Parser<GetEntityRequest> getParserForType() {
646
+ return PARSER;
647
+ }
648
+
649
+ @java.lang.Override
650
+ public com.lansweeper.dp.outbound.v1.GetEntityRequest getDefaultInstanceForType() {
651
+ return DEFAULT_INSTANCE;
652
+ }
653
+
654
+ }
655
+
@@ -0,0 +1,36 @@
1
+ // Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ // source: packages/data.platform/outbound/grpc/proto/outbound.proto
3
+
4
+ package com.lansweeper.dp.outbound.v1;
5
+
6
+ public interface GetEntityRequestOrBuilder extends
7
+ // @@protoc_insertion_point(interface_extends:com.lansweeper.dp.outbound.v1.GetEntityRequest)
8
+ com.google.protobuf.MessageOrBuilder {
9
+
10
+ /**
11
+ * <pre>
12
+ * bool send_related = 2; // send also related entities
13
+ * </pre>
14
+ *
15
+ * <code>.com.lansweeper.dp.outbound.v1.EntityPath entity_path = 1;</code>
16
+ * @return Whether the entityPath field is set.
17
+ */
18
+ boolean hasEntityPath();
19
+ /**
20
+ * <pre>
21
+ * bool send_related = 2; // send also related entities
22
+ * </pre>
23
+ *
24
+ * <code>.com.lansweeper.dp.outbound.v1.EntityPath entity_path = 1;</code>
25
+ * @return The entityPath.
26
+ */
27
+ com.lansweeper.dp.outbound.v1.EntityPath getEntityPath();
28
+ /**
29
+ * <pre>
30
+ * bool send_related = 2; // send also related entities
31
+ * </pre>
32
+ *
33
+ * <code>.com.lansweeper.dp.outbound.v1.EntityPath entity_path = 1;</code>
34
+ */
35
+ com.lansweeper.dp.outbound.v1.EntityPathOrBuilder getEntityPathOrBuilder();
36
+ }