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