@lansweeper/data-platform-outbound-grpc 0.10.3 → 0.11.0
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.
- package/CHANGELOG.md +12 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +103 -0
- package/gen-proto/outbound_pb.js +802 -4
- package/generated-go/outbound.pb.go +5499 -5186
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/outbound.proto +20 -1
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputer$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputer$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputer.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputerOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/BitLockerRecoveryKey$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/BitLockerRecoveryKey$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/BitLockerRecoveryKey.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/BitLockerRecoveryKeyOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputer$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputer$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputer.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerList$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerList$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerList.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerListOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorInventory$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorInventory$2.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorInventory$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorInventory$RelationCase.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorInventory.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorInventoryOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
- package/model/target/classes/outbound.proto +20 -1
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputer.java +391 -18
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputerOrBuilder.java +36 -6
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/BitLockerRecoveryKey.java +735 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/BitLockerRecoveryKeyOrBuilder.java +37 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorConnectedComputer.java +832 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerList.java +760 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerListOrBuilder.java +34 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerOrBuilder.java +52 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorInventory.java +587 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorInventoryOrBuilder.java +56 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +1560 -1510
- package/model/target/maven-archiver/pom.properties +2 -2
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +14 -0
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +6 -0
- package/model/target/{outbound-model-0.10.2-sources.jar → outbound-model-0.10.4-sources.jar} +0 -0
- package/model/target/{outbound-model-0.10.2.jar → outbound-model-0.10.4.jar} +0 -0
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +20 -1
- package/service/pom.xml +1 -1
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/{outbound-service-0.10.2-sources.jar → outbound-service-0.10.4-sources.jar} +0 -0
- package/service/target/{outbound-service-0.10.2.jar → outbound-service-0.10.4.jar} +0 -0
|
@@ -45,6 +45,48 @@ private static final long serialVersionUID = 0L;
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
private int bitField0_;
|
|
48
|
+
private int relationCase_ = 0;
|
|
49
|
+
@SuppressWarnings("serial")
|
|
50
|
+
private java.lang.Object relation_;
|
|
51
|
+
public enum RelationCase
|
|
52
|
+
implements com.google.protobuf.Internal.EnumLite,
|
|
53
|
+
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
|
|
54
|
+
EXTERNAL_MONITOR(3),
|
|
55
|
+
CONNECTED_COMPUTER(4),
|
|
56
|
+
RELATION_NOT_SET(0);
|
|
57
|
+
private final int value;
|
|
58
|
+
private RelationCase(int value) {
|
|
59
|
+
this.value = value;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @param value The number of the enum to look for.
|
|
63
|
+
* @return The enum associated with the given number.
|
|
64
|
+
* @deprecated Use {@link #forNumber(int)} instead.
|
|
65
|
+
*/
|
|
66
|
+
@java.lang.Deprecated
|
|
67
|
+
public static RelationCase valueOf(int value) {
|
|
68
|
+
return forNumber(value);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
public static RelationCase forNumber(int value) {
|
|
72
|
+
switch (value) {
|
|
73
|
+
case 3: return EXTERNAL_MONITOR;
|
|
74
|
+
case 4: return CONNECTED_COMPUTER;
|
|
75
|
+
case 0: return RELATION_NOT_SET;
|
|
76
|
+
default: return null;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
public int getNumber() {
|
|
80
|
+
return this.value;
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
public RelationCase
|
|
85
|
+
getRelationCase() {
|
|
86
|
+
return RelationCase.forNumber(
|
|
87
|
+
relationCase_);
|
|
88
|
+
}
|
|
89
|
+
|
|
48
90
|
public static final int TIMESTAMP_FIELD_NUMBER = 1;
|
|
49
91
|
private com.google.protobuf.Timestamp timestamp_;
|
|
50
92
|
/**
|
|
@@ -112,6 +154,92 @@ private static final long serialVersionUID = 0L;
|
|
|
112
154
|
return monitor_.get(index);
|
|
113
155
|
}
|
|
114
156
|
|
|
157
|
+
public static final int EXTERNAL_MONITOR_FIELD_NUMBER = 3;
|
|
158
|
+
/**
|
|
159
|
+
* <pre>
|
|
160
|
+
* reference to the external monitor asset, if this is a computer asset
|
|
161
|
+
* </pre>
|
|
162
|
+
*
|
|
163
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath external_monitor = 3;</code>
|
|
164
|
+
* @return Whether the externalMonitor field is set.
|
|
165
|
+
*/
|
|
166
|
+
@java.lang.Override
|
|
167
|
+
public boolean hasExternalMonitor() {
|
|
168
|
+
return relationCase_ == 3;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* <pre>
|
|
172
|
+
* reference to the external monitor asset, if this is a computer asset
|
|
173
|
+
* </pre>
|
|
174
|
+
*
|
|
175
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath external_monitor = 3;</code>
|
|
176
|
+
* @return The externalMonitor.
|
|
177
|
+
*/
|
|
178
|
+
@java.lang.Override
|
|
179
|
+
public com.lansweeper.dp.outbound.v1.EntityPath getExternalMonitor() {
|
|
180
|
+
if (relationCase_ == 3) {
|
|
181
|
+
return (com.lansweeper.dp.outbound.v1.EntityPath) relation_;
|
|
182
|
+
}
|
|
183
|
+
return com.lansweeper.dp.outbound.v1.EntityPath.getDefaultInstance();
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* <pre>
|
|
187
|
+
* reference to the external monitor asset, if this is a computer asset
|
|
188
|
+
* </pre>
|
|
189
|
+
*
|
|
190
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath external_monitor = 3;</code>
|
|
191
|
+
*/
|
|
192
|
+
@java.lang.Override
|
|
193
|
+
public com.lansweeper.dp.outbound.v1.EntityPathOrBuilder getExternalMonitorOrBuilder() {
|
|
194
|
+
if (relationCase_ == 3) {
|
|
195
|
+
return (com.lansweeper.dp.outbound.v1.EntityPath) relation_;
|
|
196
|
+
}
|
|
197
|
+
return com.lansweeper.dp.outbound.v1.EntityPath.getDefaultInstance();
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
public static final int CONNECTED_COMPUTER_FIELD_NUMBER = 4;
|
|
201
|
+
/**
|
|
202
|
+
* <pre>
|
|
203
|
+
* reference to the assets that this monitor is or was connected to, if this is a monitor asset
|
|
204
|
+
* </pre>
|
|
205
|
+
*
|
|
206
|
+
* <code>.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList connected_computer = 4;</code>
|
|
207
|
+
* @return Whether the connectedComputer field is set.
|
|
208
|
+
*/
|
|
209
|
+
@java.lang.Override
|
|
210
|
+
public boolean hasConnectedComputer() {
|
|
211
|
+
return relationCase_ == 4;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* <pre>
|
|
215
|
+
* reference to the assets that this monitor is or was connected to, if this is a monitor asset
|
|
216
|
+
* </pre>
|
|
217
|
+
*
|
|
218
|
+
* <code>.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList connected_computer = 4;</code>
|
|
219
|
+
* @return The connectedComputer.
|
|
220
|
+
*/
|
|
221
|
+
@java.lang.Override
|
|
222
|
+
public com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList getConnectedComputer() {
|
|
223
|
+
if (relationCase_ == 4) {
|
|
224
|
+
return (com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList) relation_;
|
|
225
|
+
}
|
|
226
|
+
return com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.getDefaultInstance();
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* <pre>
|
|
230
|
+
* reference to the assets that this monitor is or was connected to, if this is a monitor asset
|
|
231
|
+
* </pre>
|
|
232
|
+
*
|
|
233
|
+
* <code>.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList connected_computer = 4;</code>
|
|
234
|
+
*/
|
|
235
|
+
@java.lang.Override
|
|
236
|
+
public com.lansweeper.dp.outbound.v1.MonitorConnectedComputerListOrBuilder getConnectedComputerOrBuilder() {
|
|
237
|
+
if (relationCase_ == 4) {
|
|
238
|
+
return (com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList) relation_;
|
|
239
|
+
}
|
|
240
|
+
return com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.getDefaultInstance();
|
|
241
|
+
}
|
|
242
|
+
|
|
115
243
|
private byte memoizedIsInitialized = -1;
|
|
116
244
|
@java.lang.Override
|
|
117
245
|
public final boolean isInitialized() {
|
|
@@ -132,6 +260,12 @@ private static final long serialVersionUID = 0L;
|
|
|
132
260
|
for (int i = 0; i < monitor_.size(); i++) {
|
|
133
261
|
output.writeMessage(2, monitor_.get(i));
|
|
134
262
|
}
|
|
263
|
+
if (relationCase_ == 3) {
|
|
264
|
+
output.writeMessage(3, (com.lansweeper.dp.outbound.v1.EntityPath) relation_);
|
|
265
|
+
}
|
|
266
|
+
if (relationCase_ == 4) {
|
|
267
|
+
output.writeMessage(4, (com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList) relation_);
|
|
268
|
+
}
|
|
135
269
|
getUnknownFields().writeTo(output);
|
|
136
270
|
}
|
|
137
271
|
|
|
@@ -149,6 +283,14 @@ private static final long serialVersionUID = 0L;
|
|
|
149
283
|
size += com.google.protobuf.CodedOutputStream
|
|
150
284
|
.computeMessageSize(2, monitor_.get(i));
|
|
151
285
|
}
|
|
286
|
+
if (relationCase_ == 3) {
|
|
287
|
+
size += com.google.protobuf.CodedOutputStream
|
|
288
|
+
.computeMessageSize(3, (com.lansweeper.dp.outbound.v1.EntityPath) relation_);
|
|
289
|
+
}
|
|
290
|
+
if (relationCase_ == 4) {
|
|
291
|
+
size += com.google.protobuf.CodedOutputStream
|
|
292
|
+
.computeMessageSize(4, (com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList) relation_);
|
|
293
|
+
}
|
|
152
294
|
size += getUnknownFields().getSerializedSize();
|
|
153
295
|
memoizedSize = size;
|
|
154
296
|
return size;
|
|
@@ -171,6 +313,19 @@ private static final long serialVersionUID = 0L;
|
|
|
171
313
|
}
|
|
172
314
|
if (!getMonitorList()
|
|
173
315
|
.equals(other.getMonitorList())) return false;
|
|
316
|
+
if (!getRelationCase().equals(other.getRelationCase())) return false;
|
|
317
|
+
switch (relationCase_) {
|
|
318
|
+
case 3:
|
|
319
|
+
if (!getExternalMonitor()
|
|
320
|
+
.equals(other.getExternalMonitor())) return false;
|
|
321
|
+
break;
|
|
322
|
+
case 4:
|
|
323
|
+
if (!getConnectedComputer()
|
|
324
|
+
.equals(other.getConnectedComputer())) return false;
|
|
325
|
+
break;
|
|
326
|
+
case 0:
|
|
327
|
+
default:
|
|
328
|
+
}
|
|
174
329
|
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
|
175
330
|
return true;
|
|
176
331
|
}
|
|
@@ -190,6 +345,18 @@ private static final long serialVersionUID = 0L;
|
|
|
190
345
|
hash = (37 * hash) + MONITOR_FIELD_NUMBER;
|
|
191
346
|
hash = (53 * hash) + getMonitorList().hashCode();
|
|
192
347
|
}
|
|
348
|
+
switch (relationCase_) {
|
|
349
|
+
case 3:
|
|
350
|
+
hash = (37 * hash) + EXTERNAL_MONITOR_FIELD_NUMBER;
|
|
351
|
+
hash = (53 * hash) + getExternalMonitor().hashCode();
|
|
352
|
+
break;
|
|
353
|
+
case 4:
|
|
354
|
+
hash = (37 * hash) + CONNECTED_COMPUTER_FIELD_NUMBER;
|
|
355
|
+
hash = (53 * hash) + getConnectedComputer().hashCode();
|
|
356
|
+
break;
|
|
357
|
+
case 0:
|
|
358
|
+
default:
|
|
359
|
+
}
|
|
193
360
|
hash = (29 * hash) + getUnknownFields().hashCode();
|
|
194
361
|
memoizedHashCode = hash;
|
|
195
362
|
return hash;
|
|
@@ -344,6 +511,14 @@ private static final long serialVersionUID = 0L;
|
|
|
344
511
|
monitorBuilder_.clear();
|
|
345
512
|
}
|
|
346
513
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
514
|
+
if (externalMonitorBuilder_ != null) {
|
|
515
|
+
externalMonitorBuilder_.clear();
|
|
516
|
+
}
|
|
517
|
+
if (connectedComputerBuilder_ != null) {
|
|
518
|
+
connectedComputerBuilder_.clear();
|
|
519
|
+
}
|
|
520
|
+
relationCase_ = 0;
|
|
521
|
+
relation_ = null;
|
|
347
522
|
return this;
|
|
348
523
|
}
|
|
349
524
|
|
|
@@ -372,6 +547,7 @@ private static final long serialVersionUID = 0L;
|
|
|
372
547
|
com.lansweeper.dp.outbound.v1.MonitorInventory result = new com.lansweeper.dp.outbound.v1.MonitorInventory(this);
|
|
373
548
|
buildPartialRepeatedFields(result);
|
|
374
549
|
if (bitField0_ != 0) { buildPartial0(result); }
|
|
550
|
+
buildPartialOneofs(result);
|
|
375
551
|
onBuilt();
|
|
376
552
|
return result;
|
|
377
553
|
}
|
|
@@ -400,6 +576,19 @@ private static final long serialVersionUID = 0L;
|
|
|
400
576
|
result.bitField0_ |= to_bitField0_;
|
|
401
577
|
}
|
|
402
578
|
|
|
579
|
+
private void buildPartialOneofs(com.lansweeper.dp.outbound.v1.MonitorInventory result) {
|
|
580
|
+
result.relationCase_ = relationCase_;
|
|
581
|
+
result.relation_ = this.relation_;
|
|
582
|
+
if (relationCase_ == 3 &&
|
|
583
|
+
externalMonitorBuilder_ != null) {
|
|
584
|
+
result.relation_ = externalMonitorBuilder_.build();
|
|
585
|
+
}
|
|
586
|
+
if (relationCase_ == 4 &&
|
|
587
|
+
connectedComputerBuilder_ != null) {
|
|
588
|
+
result.relation_ = connectedComputerBuilder_.build();
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
|
|
403
592
|
@java.lang.Override
|
|
404
593
|
public Builder clone() {
|
|
405
594
|
return super.clone();
|
|
@@ -473,6 +662,19 @@ private static final long serialVersionUID = 0L;
|
|
|
473
662
|
}
|
|
474
663
|
}
|
|
475
664
|
}
|
|
665
|
+
switch (other.getRelationCase()) {
|
|
666
|
+
case EXTERNAL_MONITOR: {
|
|
667
|
+
mergeExternalMonitor(other.getExternalMonitor());
|
|
668
|
+
break;
|
|
669
|
+
}
|
|
670
|
+
case CONNECTED_COMPUTER: {
|
|
671
|
+
mergeConnectedComputer(other.getConnectedComputer());
|
|
672
|
+
break;
|
|
673
|
+
}
|
|
674
|
+
case RELATION_NOT_SET: {
|
|
675
|
+
break;
|
|
676
|
+
}
|
|
677
|
+
}
|
|
476
678
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
477
679
|
onChanged();
|
|
478
680
|
return this;
|
|
@@ -519,6 +721,20 @@ private static final long serialVersionUID = 0L;
|
|
|
519
721
|
}
|
|
520
722
|
break;
|
|
521
723
|
} // case 18
|
|
724
|
+
case 26: {
|
|
725
|
+
input.readMessage(
|
|
726
|
+
getExternalMonitorFieldBuilder().getBuilder(),
|
|
727
|
+
extensionRegistry);
|
|
728
|
+
relationCase_ = 3;
|
|
729
|
+
break;
|
|
730
|
+
} // case 26
|
|
731
|
+
case 34: {
|
|
732
|
+
input.readMessage(
|
|
733
|
+
getConnectedComputerFieldBuilder().getBuilder(),
|
|
734
|
+
extensionRegistry);
|
|
735
|
+
relationCase_ = 4;
|
|
736
|
+
break;
|
|
737
|
+
} // case 34
|
|
522
738
|
default: {
|
|
523
739
|
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
|
524
740
|
done = true; // was an endgroup tag
|
|
@@ -534,6 +750,21 @@ private static final long serialVersionUID = 0L;
|
|
|
534
750
|
} // finally
|
|
535
751
|
return this;
|
|
536
752
|
}
|
|
753
|
+
private int relationCase_ = 0;
|
|
754
|
+
private java.lang.Object relation_;
|
|
755
|
+
public RelationCase
|
|
756
|
+
getRelationCase() {
|
|
757
|
+
return RelationCase.forNumber(
|
|
758
|
+
relationCase_);
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
public Builder clearRelation() {
|
|
762
|
+
relationCase_ = 0;
|
|
763
|
+
relation_ = null;
|
|
764
|
+
onChanged();
|
|
765
|
+
return this;
|
|
766
|
+
}
|
|
767
|
+
|
|
537
768
|
private int bitField0_;
|
|
538
769
|
|
|
539
770
|
private com.google.protobuf.Timestamp timestamp_;
|
|
@@ -896,6 +1127,362 @@ private static final long serialVersionUID = 0L;
|
|
|
896
1127
|
}
|
|
897
1128
|
return monitorBuilder_;
|
|
898
1129
|
}
|
|
1130
|
+
|
|
1131
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
1132
|
+
com.lansweeper.dp.outbound.v1.EntityPath, com.lansweeper.dp.outbound.v1.EntityPath.Builder, com.lansweeper.dp.outbound.v1.EntityPathOrBuilder> externalMonitorBuilder_;
|
|
1133
|
+
/**
|
|
1134
|
+
* <pre>
|
|
1135
|
+
* reference to the external monitor asset, if this is a computer asset
|
|
1136
|
+
* </pre>
|
|
1137
|
+
*
|
|
1138
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath external_monitor = 3;</code>
|
|
1139
|
+
* @return Whether the externalMonitor field is set.
|
|
1140
|
+
*/
|
|
1141
|
+
@java.lang.Override
|
|
1142
|
+
public boolean hasExternalMonitor() {
|
|
1143
|
+
return relationCase_ == 3;
|
|
1144
|
+
}
|
|
1145
|
+
/**
|
|
1146
|
+
* <pre>
|
|
1147
|
+
* reference to the external monitor asset, if this is a computer asset
|
|
1148
|
+
* </pre>
|
|
1149
|
+
*
|
|
1150
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath external_monitor = 3;</code>
|
|
1151
|
+
* @return The externalMonitor.
|
|
1152
|
+
*/
|
|
1153
|
+
@java.lang.Override
|
|
1154
|
+
public com.lansweeper.dp.outbound.v1.EntityPath getExternalMonitor() {
|
|
1155
|
+
if (externalMonitorBuilder_ == null) {
|
|
1156
|
+
if (relationCase_ == 3) {
|
|
1157
|
+
return (com.lansweeper.dp.outbound.v1.EntityPath) relation_;
|
|
1158
|
+
}
|
|
1159
|
+
return com.lansweeper.dp.outbound.v1.EntityPath.getDefaultInstance();
|
|
1160
|
+
} else {
|
|
1161
|
+
if (relationCase_ == 3) {
|
|
1162
|
+
return externalMonitorBuilder_.getMessage();
|
|
1163
|
+
}
|
|
1164
|
+
return com.lansweeper.dp.outbound.v1.EntityPath.getDefaultInstance();
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
/**
|
|
1168
|
+
* <pre>
|
|
1169
|
+
* reference to the external monitor asset, if this is a computer asset
|
|
1170
|
+
* </pre>
|
|
1171
|
+
*
|
|
1172
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath external_monitor = 3;</code>
|
|
1173
|
+
*/
|
|
1174
|
+
public Builder setExternalMonitor(com.lansweeper.dp.outbound.v1.EntityPath value) {
|
|
1175
|
+
if (externalMonitorBuilder_ == null) {
|
|
1176
|
+
if (value == null) {
|
|
1177
|
+
throw new NullPointerException();
|
|
1178
|
+
}
|
|
1179
|
+
relation_ = value;
|
|
1180
|
+
onChanged();
|
|
1181
|
+
} else {
|
|
1182
|
+
externalMonitorBuilder_.setMessage(value);
|
|
1183
|
+
}
|
|
1184
|
+
relationCase_ = 3;
|
|
1185
|
+
return this;
|
|
1186
|
+
}
|
|
1187
|
+
/**
|
|
1188
|
+
* <pre>
|
|
1189
|
+
* reference to the external monitor asset, if this is a computer asset
|
|
1190
|
+
* </pre>
|
|
1191
|
+
*
|
|
1192
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath external_monitor = 3;</code>
|
|
1193
|
+
*/
|
|
1194
|
+
public Builder setExternalMonitor(
|
|
1195
|
+
com.lansweeper.dp.outbound.v1.EntityPath.Builder builderForValue) {
|
|
1196
|
+
if (externalMonitorBuilder_ == null) {
|
|
1197
|
+
relation_ = builderForValue.build();
|
|
1198
|
+
onChanged();
|
|
1199
|
+
} else {
|
|
1200
|
+
externalMonitorBuilder_.setMessage(builderForValue.build());
|
|
1201
|
+
}
|
|
1202
|
+
relationCase_ = 3;
|
|
1203
|
+
return this;
|
|
1204
|
+
}
|
|
1205
|
+
/**
|
|
1206
|
+
* <pre>
|
|
1207
|
+
* reference to the external monitor asset, if this is a computer asset
|
|
1208
|
+
* </pre>
|
|
1209
|
+
*
|
|
1210
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath external_monitor = 3;</code>
|
|
1211
|
+
*/
|
|
1212
|
+
public Builder mergeExternalMonitor(com.lansweeper.dp.outbound.v1.EntityPath value) {
|
|
1213
|
+
if (externalMonitorBuilder_ == null) {
|
|
1214
|
+
if (relationCase_ == 3 &&
|
|
1215
|
+
relation_ != com.lansweeper.dp.outbound.v1.EntityPath.getDefaultInstance()) {
|
|
1216
|
+
relation_ = com.lansweeper.dp.outbound.v1.EntityPath.newBuilder((com.lansweeper.dp.outbound.v1.EntityPath) relation_)
|
|
1217
|
+
.mergeFrom(value).buildPartial();
|
|
1218
|
+
} else {
|
|
1219
|
+
relation_ = value;
|
|
1220
|
+
}
|
|
1221
|
+
onChanged();
|
|
1222
|
+
} else {
|
|
1223
|
+
if (relationCase_ == 3) {
|
|
1224
|
+
externalMonitorBuilder_.mergeFrom(value);
|
|
1225
|
+
} else {
|
|
1226
|
+
externalMonitorBuilder_.setMessage(value);
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
relationCase_ = 3;
|
|
1230
|
+
return this;
|
|
1231
|
+
}
|
|
1232
|
+
/**
|
|
1233
|
+
* <pre>
|
|
1234
|
+
* reference to the external monitor asset, if this is a computer asset
|
|
1235
|
+
* </pre>
|
|
1236
|
+
*
|
|
1237
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath external_monitor = 3;</code>
|
|
1238
|
+
*/
|
|
1239
|
+
public Builder clearExternalMonitor() {
|
|
1240
|
+
if (externalMonitorBuilder_ == null) {
|
|
1241
|
+
if (relationCase_ == 3) {
|
|
1242
|
+
relationCase_ = 0;
|
|
1243
|
+
relation_ = null;
|
|
1244
|
+
onChanged();
|
|
1245
|
+
}
|
|
1246
|
+
} else {
|
|
1247
|
+
if (relationCase_ == 3) {
|
|
1248
|
+
relationCase_ = 0;
|
|
1249
|
+
relation_ = null;
|
|
1250
|
+
}
|
|
1251
|
+
externalMonitorBuilder_.clear();
|
|
1252
|
+
}
|
|
1253
|
+
return this;
|
|
1254
|
+
}
|
|
1255
|
+
/**
|
|
1256
|
+
* <pre>
|
|
1257
|
+
* reference to the external monitor asset, if this is a computer asset
|
|
1258
|
+
* </pre>
|
|
1259
|
+
*
|
|
1260
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath external_monitor = 3;</code>
|
|
1261
|
+
*/
|
|
1262
|
+
public com.lansweeper.dp.outbound.v1.EntityPath.Builder getExternalMonitorBuilder() {
|
|
1263
|
+
return getExternalMonitorFieldBuilder().getBuilder();
|
|
1264
|
+
}
|
|
1265
|
+
/**
|
|
1266
|
+
* <pre>
|
|
1267
|
+
* reference to the external monitor asset, if this is a computer asset
|
|
1268
|
+
* </pre>
|
|
1269
|
+
*
|
|
1270
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath external_monitor = 3;</code>
|
|
1271
|
+
*/
|
|
1272
|
+
@java.lang.Override
|
|
1273
|
+
public com.lansweeper.dp.outbound.v1.EntityPathOrBuilder getExternalMonitorOrBuilder() {
|
|
1274
|
+
if ((relationCase_ == 3) && (externalMonitorBuilder_ != null)) {
|
|
1275
|
+
return externalMonitorBuilder_.getMessageOrBuilder();
|
|
1276
|
+
} else {
|
|
1277
|
+
if (relationCase_ == 3) {
|
|
1278
|
+
return (com.lansweeper.dp.outbound.v1.EntityPath) relation_;
|
|
1279
|
+
}
|
|
1280
|
+
return com.lansweeper.dp.outbound.v1.EntityPath.getDefaultInstance();
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
/**
|
|
1284
|
+
* <pre>
|
|
1285
|
+
* reference to the external monitor asset, if this is a computer asset
|
|
1286
|
+
* </pre>
|
|
1287
|
+
*
|
|
1288
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath external_monitor = 3;</code>
|
|
1289
|
+
*/
|
|
1290
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
1291
|
+
com.lansweeper.dp.outbound.v1.EntityPath, com.lansweeper.dp.outbound.v1.EntityPath.Builder, com.lansweeper.dp.outbound.v1.EntityPathOrBuilder>
|
|
1292
|
+
getExternalMonitorFieldBuilder() {
|
|
1293
|
+
if (externalMonitorBuilder_ == null) {
|
|
1294
|
+
if (!(relationCase_ == 3)) {
|
|
1295
|
+
relation_ = com.lansweeper.dp.outbound.v1.EntityPath.getDefaultInstance();
|
|
1296
|
+
}
|
|
1297
|
+
externalMonitorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
1298
|
+
com.lansweeper.dp.outbound.v1.EntityPath, com.lansweeper.dp.outbound.v1.EntityPath.Builder, com.lansweeper.dp.outbound.v1.EntityPathOrBuilder>(
|
|
1299
|
+
(com.lansweeper.dp.outbound.v1.EntityPath) relation_,
|
|
1300
|
+
getParentForChildren(),
|
|
1301
|
+
isClean());
|
|
1302
|
+
relation_ = null;
|
|
1303
|
+
}
|
|
1304
|
+
relationCase_ = 3;
|
|
1305
|
+
onChanged();
|
|
1306
|
+
return externalMonitorBuilder_;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
1310
|
+
com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList, com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.Builder, com.lansweeper.dp.outbound.v1.MonitorConnectedComputerListOrBuilder> connectedComputerBuilder_;
|
|
1311
|
+
/**
|
|
1312
|
+
* <pre>
|
|
1313
|
+
* reference to the assets that this monitor is or was connected to, if this is a monitor asset
|
|
1314
|
+
* </pre>
|
|
1315
|
+
*
|
|
1316
|
+
* <code>.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList connected_computer = 4;</code>
|
|
1317
|
+
* @return Whether the connectedComputer field is set.
|
|
1318
|
+
*/
|
|
1319
|
+
@java.lang.Override
|
|
1320
|
+
public boolean hasConnectedComputer() {
|
|
1321
|
+
return relationCase_ == 4;
|
|
1322
|
+
}
|
|
1323
|
+
/**
|
|
1324
|
+
* <pre>
|
|
1325
|
+
* reference to the assets that this monitor is or was connected to, if this is a monitor asset
|
|
1326
|
+
* </pre>
|
|
1327
|
+
*
|
|
1328
|
+
* <code>.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList connected_computer = 4;</code>
|
|
1329
|
+
* @return The connectedComputer.
|
|
1330
|
+
*/
|
|
1331
|
+
@java.lang.Override
|
|
1332
|
+
public com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList getConnectedComputer() {
|
|
1333
|
+
if (connectedComputerBuilder_ == null) {
|
|
1334
|
+
if (relationCase_ == 4) {
|
|
1335
|
+
return (com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList) relation_;
|
|
1336
|
+
}
|
|
1337
|
+
return com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.getDefaultInstance();
|
|
1338
|
+
} else {
|
|
1339
|
+
if (relationCase_ == 4) {
|
|
1340
|
+
return connectedComputerBuilder_.getMessage();
|
|
1341
|
+
}
|
|
1342
|
+
return com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.getDefaultInstance();
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
/**
|
|
1346
|
+
* <pre>
|
|
1347
|
+
* reference to the assets that this monitor is or was connected to, if this is a monitor asset
|
|
1348
|
+
* </pre>
|
|
1349
|
+
*
|
|
1350
|
+
* <code>.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList connected_computer = 4;</code>
|
|
1351
|
+
*/
|
|
1352
|
+
public Builder setConnectedComputer(com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList value) {
|
|
1353
|
+
if (connectedComputerBuilder_ == null) {
|
|
1354
|
+
if (value == null) {
|
|
1355
|
+
throw new NullPointerException();
|
|
1356
|
+
}
|
|
1357
|
+
relation_ = value;
|
|
1358
|
+
onChanged();
|
|
1359
|
+
} else {
|
|
1360
|
+
connectedComputerBuilder_.setMessage(value);
|
|
1361
|
+
}
|
|
1362
|
+
relationCase_ = 4;
|
|
1363
|
+
return this;
|
|
1364
|
+
}
|
|
1365
|
+
/**
|
|
1366
|
+
* <pre>
|
|
1367
|
+
* reference to the assets that this monitor is or was connected to, if this is a monitor asset
|
|
1368
|
+
* </pre>
|
|
1369
|
+
*
|
|
1370
|
+
* <code>.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList connected_computer = 4;</code>
|
|
1371
|
+
*/
|
|
1372
|
+
public Builder setConnectedComputer(
|
|
1373
|
+
com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.Builder builderForValue) {
|
|
1374
|
+
if (connectedComputerBuilder_ == null) {
|
|
1375
|
+
relation_ = builderForValue.build();
|
|
1376
|
+
onChanged();
|
|
1377
|
+
} else {
|
|
1378
|
+
connectedComputerBuilder_.setMessage(builderForValue.build());
|
|
1379
|
+
}
|
|
1380
|
+
relationCase_ = 4;
|
|
1381
|
+
return this;
|
|
1382
|
+
}
|
|
1383
|
+
/**
|
|
1384
|
+
* <pre>
|
|
1385
|
+
* reference to the assets that this monitor is or was connected to, if this is a monitor asset
|
|
1386
|
+
* </pre>
|
|
1387
|
+
*
|
|
1388
|
+
* <code>.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList connected_computer = 4;</code>
|
|
1389
|
+
*/
|
|
1390
|
+
public Builder mergeConnectedComputer(com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList value) {
|
|
1391
|
+
if (connectedComputerBuilder_ == null) {
|
|
1392
|
+
if (relationCase_ == 4 &&
|
|
1393
|
+
relation_ != com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.getDefaultInstance()) {
|
|
1394
|
+
relation_ = com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.newBuilder((com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList) relation_)
|
|
1395
|
+
.mergeFrom(value).buildPartial();
|
|
1396
|
+
} else {
|
|
1397
|
+
relation_ = value;
|
|
1398
|
+
}
|
|
1399
|
+
onChanged();
|
|
1400
|
+
} else {
|
|
1401
|
+
if (relationCase_ == 4) {
|
|
1402
|
+
connectedComputerBuilder_.mergeFrom(value);
|
|
1403
|
+
} else {
|
|
1404
|
+
connectedComputerBuilder_.setMessage(value);
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
relationCase_ = 4;
|
|
1408
|
+
return this;
|
|
1409
|
+
}
|
|
1410
|
+
/**
|
|
1411
|
+
* <pre>
|
|
1412
|
+
* reference to the assets that this monitor is or was connected to, if this is a monitor asset
|
|
1413
|
+
* </pre>
|
|
1414
|
+
*
|
|
1415
|
+
* <code>.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList connected_computer = 4;</code>
|
|
1416
|
+
*/
|
|
1417
|
+
public Builder clearConnectedComputer() {
|
|
1418
|
+
if (connectedComputerBuilder_ == null) {
|
|
1419
|
+
if (relationCase_ == 4) {
|
|
1420
|
+
relationCase_ = 0;
|
|
1421
|
+
relation_ = null;
|
|
1422
|
+
onChanged();
|
|
1423
|
+
}
|
|
1424
|
+
} else {
|
|
1425
|
+
if (relationCase_ == 4) {
|
|
1426
|
+
relationCase_ = 0;
|
|
1427
|
+
relation_ = null;
|
|
1428
|
+
}
|
|
1429
|
+
connectedComputerBuilder_.clear();
|
|
1430
|
+
}
|
|
1431
|
+
return this;
|
|
1432
|
+
}
|
|
1433
|
+
/**
|
|
1434
|
+
* <pre>
|
|
1435
|
+
* reference to the assets that this monitor is or was connected to, if this is a monitor asset
|
|
1436
|
+
* </pre>
|
|
1437
|
+
*
|
|
1438
|
+
* <code>.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList connected_computer = 4;</code>
|
|
1439
|
+
*/
|
|
1440
|
+
public com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.Builder getConnectedComputerBuilder() {
|
|
1441
|
+
return getConnectedComputerFieldBuilder().getBuilder();
|
|
1442
|
+
}
|
|
1443
|
+
/**
|
|
1444
|
+
* <pre>
|
|
1445
|
+
* reference to the assets that this monitor is or was connected to, if this is a monitor asset
|
|
1446
|
+
* </pre>
|
|
1447
|
+
*
|
|
1448
|
+
* <code>.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList connected_computer = 4;</code>
|
|
1449
|
+
*/
|
|
1450
|
+
@java.lang.Override
|
|
1451
|
+
public com.lansweeper.dp.outbound.v1.MonitorConnectedComputerListOrBuilder getConnectedComputerOrBuilder() {
|
|
1452
|
+
if ((relationCase_ == 4) && (connectedComputerBuilder_ != null)) {
|
|
1453
|
+
return connectedComputerBuilder_.getMessageOrBuilder();
|
|
1454
|
+
} else {
|
|
1455
|
+
if (relationCase_ == 4) {
|
|
1456
|
+
return (com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList) relation_;
|
|
1457
|
+
}
|
|
1458
|
+
return com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.getDefaultInstance();
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
/**
|
|
1462
|
+
* <pre>
|
|
1463
|
+
* reference to the assets that this monitor is or was connected to, if this is a monitor asset
|
|
1464
|
+
* </pre>
|
|
1465
|
+
*
|
|
1466
|
+
* <code>.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList connected_computer = 4;</code>
|
|
1467
|
+
*/
|
|
1468
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
1469
|
+
com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList, com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.Builder, com.lansweeper.dp.outbound.v1.MonitorConnectedComputerListOrBuilder>
|
|
1470
|
+
getConnectedComputerFieldBuilder() {
|
|
1471
|
+
if (connectedComputerBuilder_ == null) {
|
|
1472
|
+
if (!(relationCase_ == 4)) {
|
|
1473
|
+
relation_ = com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.getDefaultInstance();
|
|
1474
|
+
}
|
|
1475
|
+
connectedComputerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
1476
|
+
com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList, com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.Builder, com.lansweeper.dp.outbound.v1.MonitorConnectedComputerListOrBuilder>(
|
|
1477
|
+
(com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList) relation_,
|
|
1478
|
+
getParentForChildren(),
|
|
1479
|
+
isClean());
|
|
1480
|
+
relation_ = null;
|
|
1481
|
+
}
|
|
1482
|
+
relationCase_ = 4;
|
|
1483
|
+
onChanged();
|
|
1484
|
+
return connectedComputerBuilder_;
|
|
1485
|
+
}
|
|
899
1486
|
@java.lang.Override
|
|
900
1487
|
public final Builder setUnknownFields(
|
|
901
1488
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|