@lansweeper/data-platform-outbound-grpc 0.3.12 → 0.3.13
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 +81 -0
- package/gen-proto/outbound_pb.js +673 -0
- package/generated-go/outbound.pb.go +9695 -9464
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/outbound.proto +20 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/HyperV$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/HyperV$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/HyperV.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/HyperVNetwork$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/HyperVNetwork$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/HyperVNetwork.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/HyperVNetworkOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/HyperVOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
- package/model/target/classes/outbound.proto +20 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Asset.java +252 -60
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +15 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/HyperV.java +1833 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/HyperVNetwork.java +542 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/HyperVNetworkOrBuilder.java +22 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/HyperVOrBuilder.java +136 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +2847 -2812
- package/model/target/maven-archiver/pom.properties +2 -2
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +9 -1
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +5 -1
- package/model/target/{outbound-model-0.3.11-sources.jar → outbound-model-0.3.12-sources.jar} +0 -0
- package/model/target/{outbound-model-0.3.11.jar → outbound-model-0.3.12.jar} +0 -0
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +20 -0
- package/service/pom.xml +1 -1
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/{outbound-service-0.3.11-sources.jar → outbound-service-0.3.12-sources.jar} +0 -0
- package/service/target/{outbound-service-0.3.11.jar → outbound-service-0.3.12.jar} +0 -0
package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/HyperV.java
ADDED
|
@@ -0,0 +1,1833 @@
|
|
|
1
|
+
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
// source: outbound.proto
|
|
3
|
+
|
|
4
|
+
// Protobuf Java Version: 3.25.1
|
|
5
|
+
package com.lansweeper.dp.outbound.v1;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* <pre>
|
|
9
|
+
*
|
|
10
|
+
* HyperV Host/Guest only Windows
|
|
11
|
+
* WMI mappings at: https://learn.microsoft.com/en-us/windows/win32/hyperv_v2/msvm-computersystem
|
|
12
|
+
* </pre>
|
|
13
|
+
*
|
|
14
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.HyperV}
|
|
15
|
+
*/
|
|
16
|
+
public final class HyperV extends
|
|
17
|
+
com.google.protobuf.GeneratedMessageV3 implements
|
|
18
|
+
// @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.HyperV)
|
|
19
|
+
HyperVOrBuilder {
|
|
20
|
+
private static final long serialVersionUID = 0L;
|
|
21
|
+
// Use HyperV.newBuilder() to construct.
|
|
22
|
+
private HyperV(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
23
|
+
super(builder);
|
|
24
|
+
}
|
|
25
|
+
private HyperV() {
|
|
26
|
+
instanceId_ = "";
|
|
27
|
+
elementName_ = "";
|
|
28
|
+
healthState_ = "";
|
|
29
|
+
name_ = "";
|
|
30
|
+
hyperVNetwork_ = java.util.Collections.emptyList();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@java.lang.Override
|
|
34
|
+
@SuppressWarnings({"unused"})
|
|
35
|
+
protected java.lang.Object newInstance(
|
|
36
|
+
UnusedPrivateParameter unused) {
|
|
37
|
+
return new HyperV();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
41
|
+
getDescriptor() {
|
|
42
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_HyperV_descriptor;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@java.lang.Override
|
|
46
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
47
|
+
internalGetFieldAccessorTable() {
|
|
48
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_HyperV_fieldAccessorTable
|
|
49
|
+
.ensureFieldAccessorsInitialized(
|
|
50
|
+
com.lansweeper.dp.outbound.v1.HyperV.class, com.lansweeper.dp.outbound.v1.HyperV.Builder.class);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
private int bitField0_;
|
|
54
|
+
public static final int HOST_FIELD_NUMBER = 1;
|
|
55
|
+
private com.lansweeper.dp.outbound.v1.EntityPath host_;
|
|
56
|
+
/**
|
|
57
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath host = 1;</code>
|
|
58
|
+
* @return Whether the host field is set.
|
|
59
|
+
*/
|
|
60
|
+
@java.lang.Override
|
|
61
|
+
public boolean hasHost() {
|
|
62
|
+
return ((bitField0_ & 0x00000001) != 0);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath host = 1;</code>
|
|
66
|
+
* @return The host.
|
|
67
|
+
*/
|
|
68
|
+
@java.lang.Override
|
|
69
|
+
public com.lansweeper.dp.outbound.v1.EntityPath getHost() {
|
|
70
|
+
return host_ == null ? com.lansweeper.dp.outbound.v1.EntityPath.getDefaultInstance() : host_;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath host = 1;</code>
|
|
74
|
+
*/
|
|
75
|
+
@java.lang.Override
|
|
76
|
+
public com.lansweeper.dp.outbound.v1.EntityPathOrBuilder getHostOrBuilder() {
|
|
77
|
+
return host_ == null ? com.lansweeper.dp.outbound.v1.EntityPath.getDefaultInstance() : host_;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
public static final int INSTANCE_ID_FIELD_NUMBER = 2;
|
|
81
|
+
@SuppressWarnings("serial")
|
|
82
|
+
private volatile java.lang.Object instanceId_ = "";
|
|
83
|
+
/**
|
|
84
|
+
* <code>string instance_id = 2;</code>
|
|
85
|
+
* @return The instanceId.
|
|
86
|
+
*/
|
|
87
|
+
@java.lang.Override
|
|
88
|
+
public java.lang.String getInstanceId() {
|
|
89
|
+
java.lang.Object ref = instanceId_;
|
|
90
|
+
if (ref instanceof java.lang.String) {
|
|
91
|
+
return (java.lang.String) ref;
|
|
92
|
+
} else {
|
|
93
|
+
com.google.protobuf.ByteString bs =
|
|
94
|
+
(com.google.protobuf.ByteString) ref;
|
|
95
|
+
java.lang.String s = bs.toStringUtf8();
|
|
96
|
+
instanceId_ = s;
|
|
97
|
+
return s;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* <code>string instance_id = 2;</code>
|
|
102
|
+
* @return The bytes for instanceId.
|
|
103
|
+
*/
|
|
104
|
+
@java.lang.Override
|
|
105
|
+
public com.google.protobuf.ByteString
|
|
106
|
+
getInstanceIdBytes() {
|
|
107
|
+
java.lang.Object ref = instanceId_;
|
|
108
|
+
if (ref instanceof java.lang.String) {
|
|
109
|
+
com.google.protobuf.ByteString b =
|
|
110
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
111
|
+
(java.lang.String) ref);
|
|
112
|
+
instanceId_ = b;
|
|
113
|
+
return b;
|
|
114
|
+
} else {
|
|
115
|
+
return (com.google.protobuf.ByteString) ref;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
public static final int ELEMENT_NAME_FIELD_NUMBER = 3;
|
|
120
|
+
@SuppressWarnings("serial")
|
|
121
|
+
private volatile java.lang.Object elementName_ = "";
|
|
122
|
+
/**
|
|
123
|
+
* <code>string element_name = 3;</code>
|
|
124
|
+
* @return The elementName.
|
|
125
|
+
*/
|
|
126
|
+
@java.lang.Override
|
|
127
|
+
public java.lang.String getElementName() {
|
|
128
|
+
java.lang.Object ref = elementName_;
|
|
129
|
+
if (ref instanceof java.lang.String) {
|
|
130
|
+
return (java.lang.String) ref;
|
|
131
|
+
} else {
|
|
132
|
+
com.google.protobuf.ByteString bs =
|
|
133
|
+
(com.google.protobuf.ByteString) ref;
|
|
134
|
+
java.lang.String s = bs.toStringUtf8();
|
|
135
|
+
elementName_ = s;
|
|
136
|
+
return s;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* <code>string element_name = 3;</code>
|
|
141
|
+
* @return The bytes for elementName.
|
|
142
|
+
*/
|
|
143
|
+
@java.lang.Override
|
|
144
|
+
public com.google.protobuf.ByteString
|
|
145
|
+
getElementNameBytes() {
|
|
146
|
+
java.lang.Object ref = elementName_;
|
|
147
|
+
if (ref instanceof java.lang.String) {
|
|
148
|
+
com.google.protobuf.ByteString b =
|
|
149
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
150
|
+
(java.lang.String) ref);
|
|
151
|
+
elementName_ = b;
|
|
152
|
+
return b;
|
|
153
|
+
} else {
|
|
154
|
+
return (com.google.protobuf.ByteString) ref;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
public static final int ENABLED_STATE_FIELD_NUMBER = 4;
|
|
159
|
+
private com.lansweeper.dp.outbound.v1.MappedValue enabledState_;
|
|
160
|
+
/**
|
|
161
|
+
* <code>optional .com.lansweeper.dp.outbound.v1.MappedValue enabled_state = 4;</code>
|
|
162
|
+
* @return Whether the enabledState field is set.
|
|
163
|
+
*/
|
|
164
|
+
@java.lang.Override
|
|
165
|
+
public boolean hasEnabledState() {
|
|
166
|
+
return ((bitField0_ & 0x00000002) != 0);
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* <code>optional .com.lansweeper.dp.outbound.v1.MappedValue enabled_state = 4;</code>
|
|
170
|
+
* @return The enabledState.
|
|
171
|
+
*/
|
|
172
|
+
@java.lang.Override
|
|
173
|
+
public com.lansweeper.dp.outbound.v1.MappedValue getEnabledState() {
|
|
174
|
+
return enabledState_ == null ? com.lansweeper.dp.outbound.v1.MappedValue.getDefaultInstance() : enabledState_;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* <code>optional .com.lansweeper.dp.outbound.v1.MappedValue enabled_state = 4;</code>
|
|
178
|
+
*/
|
|
179
|
+
@java.lang.Override
|
|
180
|
+
public com.lansweeper.dp.outbound.v1.MappedValueOrBuilder getEnabledStateOrBuilder() {
|
|
181
|
+
return enabledState_ == null ? com.lansweeper.dp.outbound.v1.MappedValue.getDefaultInstance() : enabledState_;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
public static final int HEALTH_STATE_FIELD_NUMBER = 5;
|
|
185
|
+
@SuppressWarnings("serial")
|
|
186
|
+
private volatile java.lang.Object healthState_ = "";
|
|
187
|
+
/**
|
|
188
|
+
* <code>optional string health_state = 5;</code>
|
|
189
|
+
* @return Whether the healthState field is set.
|
|
190
|
+
*/
|
|
191
|
+
@java.lang.Override
|
|
192
|
+
public boolean hasHealthState() {
|
|
193
|
+
return ((bitField0_ & 0x00000004) != 0);
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* <code>optional string health_state = 5;</code>
|
|
197
|
+
* @return The healthState.
|
|
198
|
+
*/
|
|
199
|
+
@java.lang.Override
|
|
200
|
+
public java.lang.String getHealthState() {
|
|
201
|
+
java.lang.Object ref = healthState_;
|
|
202
|
+
if (ref instanceof java.lang.String) {
|
|
203
|
+
return (java.lang.String) ref;
|
|
204
|
+
} else {
|
|
205
|
+
com.google.protobuf.ByteString bs =
|
|
206
|
+
(com.google.protobuf.ByteString) ref;
|
|
207
|
+
java.lang.String s = bs.toStringUtf8();
|
|
208
|
+
healthState_ = s;
|
|
209
|
+
return s;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* <code>optional string health_state = 5;</code>
|
|
214
|
+
* @return The bytes for healthState.
|
|
215
|
+
*/
|
|
216
|
+
@java.lang.Override
|
|
217
|
+
public com.google.protobuf.ByteString
|
|
218
|
+
getHealthStateBytes() {
|
|
219
|
+
java.lang.Object ref = healthState_;
|
|
220
|
+
if (ref instanceof java.lang.String) {
|
|
221
|
+
com.google.protobuf.ByteString b =
|
|
222
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
223
|
+
(java.lang.String) ref);
|
|
224
|
+
healthState_ = b;
|
|
225
|
+
return b;
|
|
226
|
+
} else {
|
|
227
|
+
return (com.google.protobuf.ByteString) ref;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
public static final int NAME_FIELD_NUMBER = 6;
|
|
232
|
+
@SuppressWarnings("serial")
|
|
233
|
+
private volatile java.lang.Object name_ = "";
|
|
234
|
+
/**
|
|
235
|
+
* <pre>
|
|
236
|
+
* GUID
|
|
237
|
+
* </pre>
|
|
238
|
+
*
|
|
239
|
+
* <code>string name = 6;</code>
|
|
240
|
+
* @return The name.
|
|
241
|
+
*/
|
|
242
|
+
@java.lang.Override
|
|
243
|
+
public java.lang.String getName() {
|
|
244
|
+
java.lang.Object ref = name_;
|
|
245
|
+
if (ref instanceof java.lang.String) {
|
|
246
|
+
return (java.lang.String) ref;
|
|
247
|
+
} else {
|
|
248
|
+
com.google.protobuf.ByteString bs =
|
|
249
|
+
(com.google.protobuf.ByteString) ref;
|
|
250
|
+
java.lang.String s = bs.toStringUtf8();
|
|
251
|
+
name_ = s;
|
|
252
|
+
return s;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* <pre>
|
|
257
|
+
* GUID
|
|
258
|
+
* </pre>
|
|
259
|
+
*
|
|
260
|
+
* <code>string name = 6;</code>
|
|
261
|
+
* @return The bytes for name.
|
|
262
|
+
*/
|
|
263
|
+
@java.lang.Override
|
|
264
|
+
public com.google.protobuf.ByteString
|
|
265
|
+
getNameBytes() {
|
|
266
|
+
java.lang.Object ref = name_;
|
|
267
|
+
if (ref instanceof java.lang.String) {
|
|
268
|
+
com.google.protobuf.ByteString b =
|
|
269
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
270
|
+
(java.lang.String) ref);
|
|
271
|
+
name_ = b;
|
|
272
|
+
return b;
|
|
273
|
+
} else {
|
|
274
|
+
return (com.google.protobuf.ByteString) ref;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
public static final int VIRTUAL_QUANTITY_FIELD_NUMBER = 7;
|
|
279
|
+
private long virtualQuantity_ = 0L;
|
|
280
|
+
/**
|
|
281
|
+
* <code>optional int64 virtual_quantity = 7;</code>
|
|
282
|
+
* @return Whether the virtualQuantity field is set.
|
|
283
|
+
*/
|
|
284
|
+
@java.lang.Override
|
|
285
|
+
public boolean hasVirtualQuantity() {
|
|
286
|
+
return ((bitField0_ & 0x00000008) != 0);
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* <code>optional int64 virtual_quantity = 7;</code>
|
|
290
|
+
* @return The virtualQuantity.
|
|
291
|
+
*/
|
|
292
|
+
@java.lang.Override
|
|
293
|
+
public long getVirtualQuantity() {
|
|
294
|
+
return virtualQuantity_;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
public static final int HYPER_V_NETWORK_FIELD_NUMBER = 8;
|
|
298
|
+
@SuppressWarnings("serial")
|
|
299
|
+
private java.util.List<com.lansweeper.dp.outbound.v1.HyperVNetwork> hyperVNetwork_;
|
|
300
|
+
/**
|
|
301
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
302
|
+
*/
|
|
303
|
+
@java.lang.Override
|
|
304
|
+
public java.util.List<com.lansweeper.dp.outbound.v1.HyperVNetwork> getHyperVNetworkList() {
|
|
305
|
+
return hyperVNetwork_;
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
309
|
+
*/
|
|
310
|
+
@java.lang.Override
|
|
311
|
+
public java.util.List<? extends com.lansweeper.dp.outbound.v1.HyperVNetworkOrBuilder>
|
|
312
|
+
getHyperVNetworkOrBuilderList() {
|
|
313
|
+
return hyperVNetwork_;
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
317
|
+
*/
|
|
318
|
+
@java.lang.Override
|
|
319
|
+
public int getHyperVNetworkCount() {
|
|
320
|
+
return hyperVNetwork_.size();
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
324
|
+
*/
|
|
325
|
+
@java.lang.Override
|
|
326
|
+
public com.lansweeper.dp.outbound.v1.HyperVNetwork getHyperVNetwork(int index) {
|
|
327
|
+
return hyperVNetwork_.get(index);
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
331
|
+
*/
|
|
332
|
+
@java.lang.Override
|
|
333
|
+
public com.lansweeper.dp.outbound.v1.HyperVNetworkOrBuilder getHyperVNetworkOrBuilder(
|
|
334
|
+
int index) {
|
|
335
|
+
return hyperVNetwork_.get(index);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
private byte memoizedIsInitialized = -1;
|
|
339
|
+
@java.lang.Override
|
|
340
|
+
public final boolean isInitialized() {
|
|
341
|
+
byte isInitialized = memoizedIsInitialized;
|
|
342
|
+
if (isInitialized == 1) return true;
|
|
343
|
+
if (isInitialized == 0) return false;
|
|
344
|
+
|
|
345
|
+
memoizedIsInitialized = 1;
|
|
346
|
+
return true;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
@java.lang.Override
|
|
350
|
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
351
|
+
throws java.io.IOException {
|
|
352
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
353
|
+
output.writeMessage(1, getHost());
|
|
354
|
+
}
|
|
355
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) {
|
|
356
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, instanceId_);
|
|
357
|
+
}
|
|
358
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(elementName_)) {
|
|
359
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, elementName_);
|
|
360
|
+
}
|
|
361
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
362
|
+
output.writeMessage(4, getEnabledState());
|
|
363
|
+
}
|
|
364
|
+
if (((bitField0_ & 0x00000004) != 0)) {
|
|
365
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, healthState_);
|
|
366
|
+
}
|
|
367
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
|
|
368
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, name_);
|
|
369
|
+
}
|
|
370
|
+
if (((bitField0_ & 0x00000008) != 0)) {
|
|
371
|
+
output.writeInt64(7, virtualQuantity_);
|
|
372
|
+
}
|
|
373
|
+
for (int i = 0; i < hyperVNetwork_.size(); i++) {
|
|
374
|
+
output.writeMessage(8, hyperVNetwork_.get(i));
|
|
375
|
+
}
|
|
376
|
+
getUnknownFields().writeTo(output);
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
@java.lang.Override
|
|
380
|
+
public int getSerializedSize() {
|
|
381
|
+
int size = memoizedSize;
|
|
382
|
+
if (size != -1) return size;
|
|
383
|
+
|
|
384
|
+
size = 0;
|
|
385
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
386
|
+
size += com.google.protobuf.CodedOutputStream
|
|
387
|
+
.computeMessageSize(1, getHost());
|
|
388
|
+
}
|
|
389
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) {
|
|
390
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceId_);
|
|
391
|
+
}
|
|
392
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(elementName_)) {
|
|
393
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, elementName_);
|
|
394
|
+
}
|
|
395
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
396
|
+
size += com.google.protobuf.CodedOutputStream
|
|
397
|
+
.computeMessageSize(4, getEnabledState());
|
|
398
|
+
}
|
|
399
|
+
if (((bitField0_ & 0x00000004) != 0)) {
|
|
400
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, healthState_);
|
|
401
|
+
}
|
|
402
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
|
|
403
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_);
|
|
404
|
+
}
|
|
405
|
+
if (((bitField0_ & 0x00000008) != 0)) {
|
|
406
|
+
size += com.google.protobuf.CodedOutputStream
|
|
407
|
+
.computeInt64Size(7, virtualQuantity_);
|
|
408
|
+
}
|
|
409
|
+
for (int i = 0; i < hyperVNetwork_.size(); i++) {
|
|
410
|
+
size += com.google.protobuf.CodedOutputStream
|
|
411
|
+
.computeMessageSize(8, hyperVNetwork_.get(i));
|
|
412
|
+
}
|
|
413
|
+
size += getUnknownFields().getSerializedSize();
|
|
414
|
+
memoizedSize = size;
|
|
415
|
+
return size;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
@java.lang.Override
|
|
419
|
+
public boolean equals(final java.lang.Object obj) {
|
|
420
|
+
if (obj == this) {
|
|
421
|
+
return true;
|
|
422
|
+
}
|
|
423
|
+
if (!(obj instanceof com.lansweeper.dp.outbound.v1.HyperV)) {
|
|
424
|
+
return super.equals(obj);
|
|
425
|
+
}
|
|
426
|
+
com.lansweeper.dp.outbound.v1.HyperV other = (com.lansweeper.dp.outbound.v1.HyperV) obj;
|
|
427
|
+
|
|
428
|
+
if (hasHost() != other.hasHost()) return false;
|
|
429
|
+
if (hasHost()) {
|
|
430
|
+
if (!getHost()
|
|
431
|
+
.equals(other.getHost())) return false;
|
|
432
|
+
}
|
|
433
|
+
if (!getInstanceId()
|
|
434
|
+
.equals(other.getInstanceId())) return false;
|
|
435
|
+
if (!getElementName()
|
|
436
|
+
.equals(other.getElementName())) return false;
|
|
437
|
+
if (hasEnabledState() != other.hasEnabledState()) return false;
|
|
438
|
+
if (hasEnabledState()) {
|
|
439
|
+
if (!getEnabledState()
|
|
440
|
+
.equals(other.getEnabledState())) return false;
|
|
441
|
+
}
|
|
442
|
+
if (hasHealthState() != other.hasHealthState()) return false;
|
|
443
|
+
if (hasHealthState()) {
|
|
444
|
+
if (!getHealthState()
|
|
445
|
+
.equals(other.getHealthState())) return false;
|
|
446
|
+
}
|
|
447
|
+
if (!getName()
|
|
448
|
+
.equals(other.getName())) return false;
|
|
449
|
+
if (hasVirtualQuantity() != other.hasVirtualQuantity()) return false;
|
|
450
|
+
if (hasVirtualQuantity()) {
|
|
451
|
+
if (getVirtualQuantity()
|
|
452
|
+
!= other.getVirtualQuantity()) return false;
|
|
453
|
+
}
|
|
454
|
+
if (!getHyperVNetworkList()
|
|
455
|
+
.equals(other.getHyperVNetworkList())) return false;
|
|
456
|
+
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
|
457
|
+
return true;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
@java.lang.Override
|
|
461
|
+
public int hashCode() {
|
|
462
|
+
if (memoizedHashCode != 0) {
|
|
463
|
+
return memoizedHashCode;
|
|
464
|
+
}
|
|
465
|
+
int hash = 41;
|
|
466
|
+
hash = (19 * hash) + getDescriptor().hashCode();
|
|
467
|
+
if (hasHost()) {
|
|
468
|
+
hash = (37 * hash) + HOST_FIELD_NUMBER;
|
|
469
|
+
hash = (53 * hash) + getHost().hashCode();
|
|
470
|
+
}
|
|
471
|
+
hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER;
|
|
472
|
+
hash = (53 * hash) + getInstanceId().hashCode();
|
|
473
|
+
hash = (37 * hash) + ELEMENT_NAME_FIELD_NUMBER;
|
|
474
|
+
hash = (53 * hash) + getElementName().hashCode();
|
|
475
|
+
if (hasEnabledState()) {
|
|
476
|
+
hash = (37 * hash) + ENABLED_STATE_FIELD_NUMBER;
|
|
477
|
+
hash = (53 * hash) + getEnabledState().hashCode();
|
|
478
|
+
}
|
|
479
|
+
if (hasHealthState()) {
|
|
480
|
+
hash = (37 * hash) + HEALTH_STATE_FIELD_NUMBER;
|
|
481
|
+
hash = (53 * hash) + getHealthState().hashCode();
|
|
482
|
+
}
|
|
483
|
+
hash = (37 * hash) + NAME_FIELD_NUMBER;
|
|
484
|
+
hash = (53 * hash) + getName().hashCode();
|
|
485
|
+
if (hasVirtualQuantity()) {
|
|
486
|
+
hash = (37 * hash) + VIRTUAL_QUANTITY_FIELD_NUMBER;
|
|
487
|
+
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
488
|
+
getVirtualQuantity());
|
|
489
|
+
}
|
|
490
|
+
if (getHyperVNetworkCount() > 0) {
|
|
491
|
+
hash = (37 * hash) + HYPER_V_NETWORK_FIELD_NUMBER;
|
|
492
|
+
hash = (53 * hash) + getHyperVNetworkList().hashCode();
|
|
493
|
+
}
|
|
494
|
+
hash = (29 * hash) + getUnknownFields().hashCode();
|
|
495
|
+
memoizedHashCode = hash;
|
|
496
|
+
return hash;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
public static com.lansweeper.dp.outbound.v1.HyperV parseFrom(
|
|
500
|
+
java.nio.ByteBuffer data)
|
|
501
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
502
|
+
return PARSER.parseFrom(data);
|
|
503
|
+
}
|
|
504
|
+
public static com.lansweeper.dp.outbound.v1.HyperV parseFrom(
|
|
505
|
+
java.nio.ByteBuffer data,
|
|
506
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
507
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
508
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
509
|
+
}
|
|
510
|
+
public static com.lansweeper.dp.outbound.v1.HyperV parseFrom(
|
|
511
|
+
com.google.protobuf.ByteString data)
|
|
512
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
513
|
+
return PARSER.parseFrom(data);
|
|
514
|
+
}
|
|
515
|
+
public static com.lansweeper.dp.outbound.v1.HyperV parseFrom(
|
|
516
|
+
com.google.protobuf.ByteString data,
|
|
517
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
518
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
519
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
520
|
+
}
|
|
521
|
+
public static com.lansweeper.dp.outbound.v1.HyperV parseFrom(byte[] data)
|
|
522
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
523
|
+
return PARSER.parseFrom(data);
|
|
524
|
+
}
|
|
525
|
+
public static com.lansweeper.dp.outbound.v1.HyperV parseFrom(
|
|
526
|
+
byte[] data,
|
|
527
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
528
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
529
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
530
|
+
}
|
|
531
|
+
public static com.lansweeper.dp.outbound.v1.HyperV parseFrom(java.io.InputStream input)
|
|
532
|
+
throws java.io.IOException {
|
|
533
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
534
|
+
.parseWithIOException(PARSER, input);
|
|
535
|
+
}
|
|
536
|
+
public static com.lansweeper.dp.outbound.v1.HyperV parseFrom(
|
|
537
|
+
java.io.InputStream input,
|
|
538
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
539
|
+
throws java.io.IOException {
|
|
540
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
541
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
public static com.lansweeper.dp.outbound.v1.HyperV parseDelimitedFrom(java.io.InputStream input)
|
|
545
|
+
throws java.io.IOException {
|
|
546
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
547
|
+
.parseDelimitedWithIOException(PARSER, input);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
public static com.lansweeper.dp.outbound.v1.HyperV parseDelimitedFrom(
|
|
551
|
+
java.io.InputStream input,
|
|
552
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
553
|
+
throws java.io.IOException {
|
|
554
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
555
|
+
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
556
|
+
}
|
|
557
|
+
public static com.lansweeper.dp.outbound.v1.HyperV parseFrom(
|
|
558
|
+
com.google.protobuf.CodedInputStream input)
|
|
559
|
+
throws java.io.IOException {
|
|
560
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
561
|
+
.parseWithIOException(PARSER, input);
|
|
562
|
+
}
|
|
563
|
+
public static com.lansweeper.dp.outbound.v1.HyperV parseFrom(
|
|
564
|
+
com.google.protobuf.CodedInputStream input,
|
|
565
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
566
|
+
throws java.io.IOException {
|
|
567
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
568
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
@java.lang.Override
|
|
572
|
+
public Builder newBuilderForType() { return newBuilder(); }
|
|
573
|
+
public static Builder newBuilder() {
|
|
574
|
+
return DEFAULT_INSTANCE.toBuilder();
|
|
575
|
+
}
|
|
576
|
+
public static Builder newBuilder(com.lansweeper.dp.outbound.v1.HyperV prototype) {
|
|
577
|
+
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
578
|
+
}
|
|
579
|
+
@java.lang.Override
|
|
580
|
+
public Builder toBuilder() {
|
|
581
|
+
return this == DEFAULT_INSTANCE
|
|
582
|
+
? new Builder() : new Builder().mergeFrom(this);
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
@java.lang.Override
|
|
586
|
+
protected Builder newBuilderForType(
|
|
587
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
588
|
+
Builder builder = new Builder(parent);
|
|
589
|
+
return builder;
|
|
590
|
+
}
|
|
591
|
+
/**
|
|
592
|
+
* <pre>
|
|
593
|
+
*
|
|
594
|
+
* HyperV Host/Guest only Windows
|
|
595
|
+
* WMI mappings at: https://learn.microsoft.com/en-us/windows/win32/hyperv_v2/msvm-computersystem
|
|
596
|
+
* </pre>
|
|
597
|
+
*
|
|
598
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.HyperV}
|
|
599
|
+
*/
|
|
600
|
+
public static final class Builder extends
|
|
601
|
+
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
602
|
+
// @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.HyperV)
|
|
603
|
+
com.lansweeper.dp.outbound.v1.HyperVOrBuilder {
|
|
604
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
605
|
+
getDescriptor() {
|
|
606
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_HyperV_descriptor;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
@java.lang.Override
|
|
610
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
611
|
+
internalGetFieldAccessorTable() {
|
|
612
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_HyperV_fieldAccessorTable
|
|
613
|
+
.ensureFieldAccessorsInitialized(
|
|
614
|
+
com.lansweeper.dp.outbound.v1.HyperV.class, com.lansweeper.dp.outbound.v1.HyperV.Builder.class);
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
// Construct using com.lansweeper.dp.outbound.v1.HyperV.newBuilder()
|
|
618
|
+
private Builder() {
|
|
619
|
+
maybeForceBuilderInitialization();
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
private Builder(
|
|
623
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
624
|
+
super(parent);
|
|
625
|
+
maybeForceBuilderInitialization();
|
|
626
|
+
}
|
|
627
|
+
private void maybeForceBuilderInitialization() {
|
|
628
|
+
if (com.google.protobuf.GeneratedMessageV3
|
|
629
|
+
.alwaysUseFieldBuilders) {
|
|
630
|
+
getHostFieldBuilder();
|
|
631
|
+
getEnabledStateFieldBuilder();
|
|
632
|
+
getHyperVNetworkFieldBuilder();
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
@java.lang.Override
|
|
636
|
+
public Builder clear() {
|
|
637
|
+
super.clear();
|
|
638
|
+
bitField0_ = 0;
|
|
639
|
+
host_ = null;
|
|
640
|
+
if (hostBuilder_ != null) {
|
|
641
|
+
hostBuilder_.dispose();
|
|
642
|
+
hostBuilder_ = null;
|
|
643
|
+
}
|
|
644
|
+
instanceId_ = "";
|
|
645
|
+
elementName_ = "";
|
|
646
|
+
enabledState_ = null;
|
|
647
|
+
if (enabledStateBuilder_ != null) {
|
|
648
|
+
enabledStateBuilder_.dispose();
|
|
649
|
+
enabledStateBuilder_ = null;
|
|
650
|
+
}
|
|
651
|
+
healthState_ = "";
|
|
652
|
+
name_ = "";
|
|
653
|
+
virtualQuantity_ = 0L;
|
|
654
|
+
if (hyperVNetworkBuilder_ == null) {
|
|
655
|
+
hyperVNetwork_ = java.util.Collections.emptyList();
|
|
656
|
+
} else {
|
|
657
|
+
hyperVNetwork_ = null;
|
|
658
|
+
hyperVNetworkBuilder_.clear();
|
|
659
|
+
}
|
|
660
|
+
bitField0_ = (bitField0_ & ~0x00000080);
|
|
661
|
+
return this;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
@java.lang.Override
|
|
665
|
+
public com.google.protobuf.Descriptors.Descriptor
|
|
666
|
+
getDescriptorForType() {
|
|
667
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_HyperV_descriptor;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
@java.lang.Override
|
|
671
|
+
public com.lansweeper.dp.outbound.v1.HyperV getDefaultInstanceForType() {
|
|
672
|
+
return com.lansweeper.dp.outbound.v1.HyperV.getDefaultInstance();
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
@java.lang.Override
|
|
676
|
+
public com.lansweeper.dp.outbound.v1.HyperV build() {
|
|
677
|
+
com.lansweeper.dp.outbound.v1.HyperV result = buildPartial();
|
|
678
|
+
if (!result.isInitialized()) {
|
|
679
|
+
throw newUninitializedMessageException(result);
|
|
680
|
+
}
|
|
681
|
+
return result;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
@java.lang.Override
|
|
685
|
+
public com.lansweeper.dp.outbound.v1.HyperV buildPartial() {
|
|
686
|
+
com.lansweeper.dp.outbound.v1.HyperV result = new com.lansweeper.dp.outbound.v1.HyperV(this);
|
|
687
|
+
buildPartialRepeatedFields(result);
|
|
688
|
+
if (bitField0_ != 0) { buildPartial0(result); }
|
|
689
|
+
onBuilt();
|
|
690
|
+
return result;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
private void buildPartialRepeatedFields(com.lansweeper.dp.outbound.v1.HyperV result) {
|
|
694
|
+
if (hyperVNetworkBuilder_ == null) {
|
|
695
|
+
if (((bitField0_ & 0x00000080) != 0)) {
|
|
696
|
+
hyperVNetwork_ = java.util.Collections.unmodifiableList(hyperVNetwork_);
|
|
697
|
+
bitField0_ = (bitField0_ & ~0x00000080);
|
|
698
|
+
}
|
|
699
|
+
result.hyperVNetwork_ = hyperVNetwork_;
|
|
700
|
+
} else {
|
|
701
|
+
result.hyperVNetwork_ = hyperVNetworkBuilder_.build();
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
private void buildPartial0(com.lansweeper.dp.outbound.v1.HyperV result) {
|
|
706
|
+
int from_bitField0_ = bitField0_;
|
|
707
|
+
int to_bitField0_ = 0;
|
|
708
|
+
if (((from_bitField0_ & 0x00000001) != 0)) {
|
|
709
|
+
result.host_ = hostBuilder_ == null
|
|
710
|
+
? host_
|
|
711
|
+
: hostBuilder_.build();
|
|
712
|
+
to_bitField0_ |= 0x00000001;
|
|
713
|
+
}
|
|
714
|
+
if (((from_bitField0_ & 0x00000002) != 0)) {
|
|
715
|
+
result.instanceId_ = instanceId_;
|
|
716
|
+
}
|
|
717
|
+
if (((from_bitField0_ & 0x00000004) != 0)) {
|
|
718
|
+
result.elementName_ = elementName_;
|
|
719
|
+
}
|
|
720
|
+
if (((from_bitField0_ & 0x00000008) != 0)) {
|
|
721
|
+
result.enabledState_ = enabledStateBuilder_ == null
|
|
722
|
+
? enabledState_
|
|
723
|
+
: enabledStateBuilder_.build();
|
|
724
|
+
to_bitField0_ |= 0x00000002;
|
|
725
|
+
}
|
|
726
|
+
if (((from_bitField0_ & 0x00000010) != 0)) {
|
|
727
|
+
result.healthState_ = healthState_;
|
|
728
|
+
to_bitField0_ |= 0x00000004;
|
|
729
|
+
}
|
|
730
|
+
if (((from_bitField0_ & 0x00000020) != 0)) {
|
|
731
|
+
result.name_ = name_;
|
|
732
|
+
}
|
|
733
|
+
if (((from_bitField0_ & 0x00000040) != 0)) {
|
|
734
|
+
result.virtualQuantity_ = virtualQuantity_;
|
|
735
|
+
to_bitField0_ |= 0x00000008;
|
|
736
|
+
}
|
|
737
|
+
result.bitField0_ |= to_bitField0_;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
@java.lang.Override
|
|
741
|
+
public Builder clone() {
|
|
742
|
+
return super.clone();
|
|
743
|
+
}
|
|
744
|
+
@java.lang.Override
|
|
745
|
+
public Builder setField(
|
|
746
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
747
|
+
java.lang.Object value) {
|
|
748
|
+
return super.setField(field, value);
|
|
749
|
+
}
|
|
750
|
+
@java.lang.Override
|
|
751
|
+
public Builder clearField(
|
|
752
|
+
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
753
|
+
return super.clearField(field);
|
|
754
|
+
}
|
|
755
|
+
@java.lang.Override
|
|
756
|
+
public Builder clearOneof(
|
|
757
|
+
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
758
|
+
return super.clearOneof(oneof);
|
|
759
|
+
}
|
|
760
|
+
@java.lang.Override
|
|
761
|
+
public Builder setRepeatedField(
|
|
762
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
763
|
+
int index, java.lang.Object value) {
|
|
764
|
+
return super.setRepeatedField(field, index, value);
|
|
765
|
+
}
|
|
766
|
+
@java.lang.Override
|
|
767
|
+
public Builder addRepeatedField(
|
|
768
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
769
|
+
java.lang.Object value) {
|
|
770
|
+
return super.addRepeatedField(field, value);
|
|
771
|
+
}
|
|
772
|
+
@java.lang.Override
|
|
773
|
+
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
774
|
+
if (other instanceof com.lansweeper.dp.outbound.v1.HyperV) {
|
|
775
|
+
return mergeFrom((com.lansweeper.dp.outbound.v1.HyperV)other);
|
|
776
|
+
} else {
|
|
777
|
+
super.mergeFrom(other);
|
|
778
|
+
return this;
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
public Builder mergeFrom(com.lansweeper.dp.outbound.v1.HyperV other) {
|
|
783
|
+
if (other == com.lansweeper.dp.outbound.v1.HyperV.getDefaultInstance()) return this;
|
|
784
|
+
if (other.hasHost()) {
|
|
785
|
+
mergeHost(other.getHost());
|
|
786
|
+
}
|
|
787
|
+
if (!other.getInstanceId().isEmpty()) {
|
|
788
|
+
instanceId_ = other.instanceId_;
|
|
789
|
+
bitField0_ |= 0x00000002;
|
|
790
|
+
onChanged();
|
|
791
|
+
}
|
|
792
|
+
if (!other.getElementName().isEmpty()) {
|
|
793
|
+
elementName_ = other.elementName_;
|
|
794
|
+
bitField0_ |= 0x00000004;
|
|
795
|
+
onChanged();
|
|
796
|
+
}
|
|
797
|
+
if (other.hasEnabledState()) {
|
|
798
|
+
mergeEnabledState(other.getEnabledState());
|
|
799
|
+
}
|
|
800
|
+
if (other.hasHealthState()) {
|
|
801
|
+
healthState_ = other.healthState_;
|
|
802
|
+
bitField0_ |= 0x00000010;
|
|
803
|
+
onChanged();
|
|
804
|
+
}
|
|
805
|
+
if (!other.getName().isEmpty()) {
|
|
806
|
+
name_ = other.name_;
|
|
807
|
+
bitField0_ |= 0x00000020;
|
|
808
|
+
onChanged();
|
|
809
|
+
}
|
|
810
|
+
if (other.hasVirtualQuantity()) {
|
|
811
|
+
setVirtualQuantity(other.getVirtualQuantity());
|
|
812
|
+
}
|
|
813
|
+
if (hyperVNetworkBuilder_ == null) {
|
|
814
|
+
if (!other.hyperVNetwork_.isEmpty()) {
|
|
815
|
+
if (hyperVNetwork_.isEmpty()) {
|
|
816
|
+
hyperVNetwork_ = other.hyperVNetwork_;
|
|
817
|
+
bitField0_ = (bitField0_ & ~0x00000080);
|
|
818
|
+
} else {
|
|
819
|
+
ensureHyperVNetworkIsMutable();
|
|
820
|
+
hyperVNetwork_.addAll(other.hyperVNetwork_);
|
|
821
|
+
}
|
|
822
|
+
onChanged();
|
|
823
|
+
}
|
|
824
|
+
} else {
|
|
825
|
+
if (!other.hyperVNetwork_.isEmpty()) {
|
|
826
|
+
if (hyperVNetworkBuilder_.isEmpty()) {
|
|
827
|
+
hyperVNetworkBuilder_.dispose();
|
|
828
|
+
hyperVNetworkBuilder_ = null;
|
|
829
|
+
hyperVNetwork_ = other.hyperVNetwork_;
|
|
830
|
+
bitField0_ = (bitField0_ & ~0x00000080);
|
|
831
|
+
hyperVNetworkBuilder_ =
|
|
832
|
+
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
|
|
833
|
+
getHyperVNetworkFieldBuilder() : null;
|
|
834
|
+
} else {
|
|
835
|
+
hyperVNetworkBuilder_.addAllMessages(other.hyperVNetwork_);
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
this.mergeUnknownFields(other.getUnknownFields());
|
|
840
|
+
onChanged();
|
|
841
|
+
return this;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
@java.lang.Override
|
|
845
|
+
public final boolean isInitialized() {
|
|
846
|
+
return true;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
@java.lang.Override
|
|
850
|
+
public Builder mergeFrom(
|
|
851
|
+
com.google.protobuf.CodedInputStream input,
|
|
852
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
853
|
+
throws java.io.IOException {
|
|
854
|
+
if (extensionRegistry == null) {
|
|
855
|
+
throw new java.lang.NullPointerException();
|
|
856
|
+
}
|
|
857
|
+
try {
|
|
858
|
+
boolean done = false;
|
|
859
|
+
while (!done) {
|
|
860
|
+
int tag = input.readTag();
|
|
861
|
+
switch (tag) {
|
|
862
|
+
case 0:
|
|
863
|
+
done = true;
|
|
864
|
+
break;
|
|
865
|
+
case 10: {
|
|
866
|
+
input.readMessage(
|
|
867
|
+
getHostFieldBuilder().getBuilder(),
|
|
868
|
+
extensionRegistry);
|
|
869
|
+
bitField0_ |= 0x00000001;
|
|
870
|
+
break;
|
|
871
|
+
} // case 10
|
|
872
|
+
case 18: {
|
|
873
|
+
instanceId_ = input.readStringRequireUtf8();
|
|
874
|
+
bitField0_ |= 0x00000002;
|
|
875
|
+
break;
|
|
876
|
+
} // case 18
|
|
877
|
+
case 26: {
|
|
878
|
+
elementName_ = input.readStringRequireUtf8();
|
|
879
|
+
bitField0_ |= 0x00000004;
|
|
880
|
+
break;
|
|
881
|
+
} // case 26
|
|
882
|
+
case 34: {
|
|
883
|
+
input.readMessage(
|
|
884
|
+
getEnabledStateFieldBuilder().getBuilder(),
|
|
885
|
+
extensionRegistry);
|
|
886
|
+
bitField0_ |= 0x00000008;
|
|
887
|
+
break;
|
|
888
|
+
} // case 34
|
|
889
|
+
case 42: {
|
|
890
|
+
healthState_ = input.readStringRequireUtf8();
|
|
891
|
+
bitField0_ |= 0x00000010;
|
|
892
|
+
break;
|
|
893
|
+
} // case 42
|
|
894
|
+
case 50: {
|
|
895
|
+
name_ = input.readStringRequireUtf8();
|
|
896
|
+
bitField0_ |= 0x00000020;
|
|
897
|
+
break;
|
|
898
|
+
} // case 50
|
|
899
|
+
case 56: {
|
|
900
|
+
virtualQuantity_ = input.readInt64();
|
|
901
|
+
bitField0_ |= 0x00000040;
|
|
902
|
+
break;
|
|
903
|
+
} // case 56
|
|
904
|
+
case 66: {
|
|
905
|
+
com.lansweeper.dp.outbound.v1.HyperVNetwork m =
|
|
906
|
+
input.readMessage(
|
|
907
|
+
com.lansweeper.dp.outbound.v1.HyperVNetwork.parser(),
|
|
908
|
+
extensionRegistry);
|
|
909
|
+
if (hyperVNetworkBuilder_ == null) {
|
|
910
|
+
ensureHyperVNetworkIsMutable();
|
|
911
|
+
hyperVNetwork_.add(m);
|
|
912
|
+
} else {
|
|
913
|
+
hyperVNetworkBuilder_.addMessage(m);
|
|
914
|
+
}
|
|
915
|
+
break;
|
|
916
|
+
} // case 66
|
|
917
|
+
default: {
|
|
918
|
+
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
|
919
|
+
done = true; // was an endgroup tag
|
|
920
|
+
}
|
|
921
|
+
break;
|
|
922
|
+
} // default:
|
|
923
|
+
} // switch (tag)
|
|
924
|
+
} // while (!done)
|
|
925
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
926
|
+
throw e.unwrapIOException();
|
|
927
|
+
} finally {
|
|
928
|
+
onChanged();
|
|
929
|
+
} // finally
|
|
930
|
+
return this;
|
|
931
|
+
}
|
|
932
|
+
private int bitField0_;
|
|
933
|
+
|
|
934
|
+
private com.lansweeper.dp.outbound.v1.EntityPath host_;
|
|
935
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
936
|
+
com.lansweeper.dp.outbound.v1.EntityPath, com.lansweeper.dp.outbound.v1.EntityPath.Builder, com.lansweeper.dp.outbound.v1.EntityPathOrBuilder> hostBuilder_;
|
|
937
|
+
/**
|
|
938
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath host = 1;</code>
|
|
939
|
+
* @return Whether the host field is set.
|
|
940
|
+
*/
|
|
941
|
+
public boolean hasHost() {
|
|
942
|
+
return ((bitField0_ & 0x00000001) != 0);
|
|
943
|
+
}
|
|
944
|
+
/**
|
|
945
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath host = 1;</code>
|
|
946
|
+
* @return The host.
|
|
947
|
+
*/
|
|
948
|
+
public com.lansweeper.dp.outbound.v1.EntityPath getHost() {
|
|
949
|
+
if (hostBuilder_ == null) {
|
|
950
|
+
return host_ == null ? com.lansweeper.dp.outbound.v1.EntityPath.getDefaultInstance() : host_;
|
|
951
|
+
} else {
|
|
952
|
+
return hostBuilder_.getMessage();
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
/**
|
|
956
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath host = 1;</code>
|
|
957
|
+
*/
|
|
958
|
+
public Builder setHost(com.lansweeper.dp.outbound.v1.EntityPath value) {
|
|
959
|
+
if (hostBuilder_ == null) {
|
|
960
|
+
if (value == null) {
|
|
961
|
+
throw new NullPointerException();
|
|
962
|
+
}
|
|
963
|
+
host_ = value;
|
|
964
|
+
} else {
|
|
965
|
+
hostBuilder_.setMessage(value);
|
|
966
|
+
}
|
|
967
|
+
bitField0_ |= 0x00000001;
|
|
968
|
+
onChanged();
|
|
969
|
+
return this;
|
|
970
|
+
}
|
|
971
|
+
/**
|
|
972
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath host = 1;</code>
|
|
973
|
+
*/
|
|
974
|
+
public Builder setHost(
|
|
975
|
+
com.lansweeper.dp.outbound.v1.EntityPath.Builder builderForValue) {
|
|
976
|
+
if (hostBuilder_ == null) {
|
|
977
|
+
host_ = builderForValue.build();
|
|
978
|
+
} else {
|
|
979
|
+
hostBuilder_.setMessage(builderForValue.build());
|
|
980
|
+
}
|
|
981
|
+
bitField0_ |= 0x00000001;
|
|
982
|
+
onChanged();
|
|
983
|
+
return this;
|
|
984
|
+
}
|
|
985
|
+
/**
|
|
986
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath host = 1;</code>
|
|
987
|
+
*/
|
|
988
|
+
public Builder mergeHost(com.lansweeper.dp.outbound.v1.EntityPath value) {
|
|
989
|
+
if (hostBuilder_ == null) {
|
|
990
|
+
if (((bitField0_ & 0x00000001) != 0) &&
|
|
991
|
+
host_ != null &&
|
|
992
|
+
host_ != com.lansweeper.dp.outbound.v1.EntityPath.getDefaultInstance()) {
|
|
993
|
+
getHostBuilder().mergeFrom(value);
|
|
994
|
+
} else {
|
|
995
|
+
host_ = value;
|
|
996
|
+
}
|
|
997
|
+
} else {
|
|
998
|
+
hostBuilder_.mergeFrom(value);
|
|
999
|
+
}
|
|
1000
|
+
if (host_ != null) {
|
|
1001
|
+
bitField0_ |= 0x00000001;
|
|
1002
|
+
onChanged();
|
|
1003
|
+
}
|
|
1004
|
+
return this;
|
|
1005
|
+
}
|
|
1006
|
+
/**
|
|
1007
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath host = 1;</code>
|
|
1008
|
+
*/
|
|
1009
|
+
public Builder clearHost() {
|
|
1010
|
+
bitField0_ = (bitField0_ & ~0x00000001);
|
|
1011
|
+
host_ = null;
|
|
1012
|
+
if (hostBuilder_ != null) {
|
|
1013
|
+
hostBuilder_.dispose();
|
|
1014
|
+
hostBuilder_ = null;
|
|
1015
|
+
}
|
|
1016
|
+
onChanged();
|
|
1017
|
+
return this;
|
|
1018
|
+
}
|
|
1019
|
+
/**
|
|
1020
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath host = 1;</code>
|
|
1021
|
+
*/
|
|
1022
|
+
public com.lansweeper.dp.outbound.v1.EntityPath.Builder getHostBuilder() {
|
|
1023
|
+
bitField0_ |= 0x00000001;
|
|
1024
|
+
onChanged();
|
|
1025
|
+
return getHostFieldBuilder().getBuilder();
|
|
1026
|
+
}
|
|
1027
|
+
/**
|
|
1028
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath host = 1;</code>
|
|
1029
|
+
*/
|
|
1030
|
+
public com.lansweeper.dp.outbound.v1.EntityPathOrBuilder getHostOrBuilder() {
|
|
1031
|
+
if (hostBuilder_ != null) {
|
|
1032
|
+
return hostBuilder_.getMessageOrBuilder();
|
|
1033
|
+
} else {
|
|
1034
|
+
return host_ == null ?
|
|
1035
|
+
com.lansweeper.dp.outbound.v1.EntityPath.getDefaultInstance() : host_;
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
/**
|
|
1039
|
+
* <code>.com.lansweeper.dp.outbound.v1.EntityPath host = 1;</code>
|
|
1040
|
+
*/
|
|
1041
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
1042
|
+
com.lansweeper.dp.outbound.v1.EntityPath, com.lansweeper.dp.outbound.v1.EntityPath.Builder, com.lansweeper.dp.outbound.v1.EntityPathOrBuilder>
|
|
1043
|
+
getHostFieldBuilder() {
|
|
1044
|
+
if (hostBuilder_ == null) {
|
|
1045
|
+
hostBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
1046
|
+
com.lansweeper.dp.outbound.v1.EntityPath, com.lansweeper.dp.outbound.v1.EntityPath.Builder, com.lansweeper.dp.outbound.v1.EntityPathOrBuilder>(
|
|
1047
|
+
getHost(),
|
|
1048
|
+
getParentForChildren(),
|
|
1049
|
+
isClean());
|
|
1050
|
+
host_ = null;
|
|
1051
|
+
}
|
|
1052
|
+
return hostBuilder_;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
private java.lang.Object instanceId_ = "";
|
|
1056
|
+
/**
|
|
1057
|
+
* <code>string instance_id = 2;</code>
|
|
1058
|
+
* @return The instanceId.
|
|
1059
|
+
*/
|
|
1060
|
+
public java.lang.String getInstanceId() {
|
|
1061
|
+
java.lang.Object ref = instanceId_;
|
|
1062
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1063
|
+
com.google.protobuf.ByteString bs =
|
|
1064
|
+
(com.google.protobuf.ByteString) ref;
|
|
1065
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1066
|
+
instanceId_ = s;
|
|
1067
|
+
return s;
|
|
1068
|
+
} else {
|
|
1069
|
+
return (java.lang.String) ref;
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
/**
|
|
1073
|
+
* <code>string instance_id = 2;</code>
|
|
1074
|
+
* @return The bytes for instanceId.
|
|
1075
|
+
*/
|
|
1076
|
+
public com.google.protobuf.ByteString
|
|
1077
|
+
getInstanceIdBytes() {
|
|
1078
|
+
java.lang.Object ref = instanceId_;
|
|
1079
|
+
if (ref instanceof String) {
|
|
1080
|
+
com.google.protobuf.ByteString b =
|
|
1081
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1082
|
+
(java.lang.String) ref);
|
|
1083
|
+
instanceId_ = b;
|
|
1084
|
+
return b;
|
|
1085
|
+
} else {
|
|
1086
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
/**
|
|
1090
|
+
* <code>string instance_id = 2;</code>
|
|
1091
|
+
* @param value The instanceId to set.
|
|
1092
|
+
* @return This builder for chaining.
|
|
1093
|
+
*/
|
|
1094
|
+
public Builder setInstanceId(
|
|
1095
|
+
java.lang.String value) {
|
|
1096
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1097
|
+
instanceId_ = value;
|
|
1098
|
+
bitField0_ |= 0x00000002;
|
|
1099
|
+
onChanged();
|
|
1100
|
+
return this;
|
|
1101
|
+
}
|
|
1102
|
+
/**
|
|
1103
|
+
* <code>string instance_id = 2;</code>
|
|
1104
|
+
* @return This builder for chaining.
|
|
1105
|
+
*/
|
|
1106
|
+
public Builder clearInstanceId() {
|
|
1107
|
+
instanceId_ = getDefaultInstance().getInstanceId();
|
|
1108
|
+
bitField0_ = (bitField0_ & ~0x00000002);
|
|
1109
|
+
onChanged();
|
|
1110
|
+
return this;
|
|
1111
|
+
}
|
|
1112
|
+
/**
|
|
1113
|
+
* <code>string instance_id = 2;</code>
|
|
1114
|
+
* @param value The bytes for instanceId to set.
|
|
1115
|
+
* @return This builder for chaining.
|
|
1116
|
+
*/
|
|
1117
|
+
public Builder setInstanceIdBytes(
|
|
1118
|
+
com.google.protobuf.ByteString value) {
|
|
1119
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1120
|
+
checkByteStringIsUtf8(value);
|
|
1121
|
+
instanceId_ = value;
|
|
1122
|
+
bitField0_ |= 0x00000002;
|
|
1123
|
+
onChanged();
|
|
1124
|
+
return this;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
private java.lang.Object elementName_ = "";
|
|
1128
|
+
/**
|
|
1129
|
+
* <code>string element_name = 3;</code>
|
|
1130
|
+
* @return The elementName.
|
|
1131
|
+
*/
|
|
1132
|
+
public java.lang.String getElementName() {
|
|
1133
|
+
java.lang.Object ref = elementName_;
|
|
1134
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1135
|
+
com.google.protobuf.ByteString bs =
|
|
1136
|
+
(com.google.protobuf.ByteString) ref;
|
|
1137
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1138
|
+
elementName_ = s;
|
|
1139
|
+
return s;
|
|
1140
|
+
} else {
|
|
1141
|
+
return (java.lang.String) ref;
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
/**
|
|
1145
|
+
* <code>string element_name = 3;</code>
|
|
1146
|
+
* @return The bytes for elementName.
|
|
1147
|
+
*/
|
|
1148
|
+
public com.google.protobuf.ByteString
|
|
1149
|
+
getElementNameBytes() {
|
|
1150
|
+
java.lang.Object ref = elementName_;
|
|
1151
|
+
if (ref instanceof String) {
|
|
1152
|
+
com.google.protobuf.ByteString b =
|
|
1153
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1154
|
+
(java.lang.String) ref);
|
|
1155
|
+
elementName_ = b;
|
|
1156
|
+
return b;
|
|
1157
|
+
} else {
|
|
1158
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
/**
|
|
1162
|
+
* <code>string element_name = 3;</code>
|
|
1163
|
+
* @param value The elementName to set.
|
|
1164
|
+
* @return This builder for chaining.
|
|
1165
|
+
*/
|
|
1166
|
+
public Builder setElementName(
|
|
1167
|
+
java.lang.String value) {
|
|
1168
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1169
|
+
elementName_ = value;
|
|
1170
|
+
bitField0_ |= 0x00000004;
|
|
1171
|
+
onChanged();
|
|
1172
|
+
return this;
|
|
1173
|
+
}
|
|
1174
|
+
/**
|
|
1175
|
+
* <code>string element_name = 3;</code>
|
|
1176
|
+
* @return This builder for chaining.
|
|
1177
|
+
*/
|
|
1178
|
+
public Builder clearElementName() {
|
|
1179
|
+
elementName_ = getDefaultInstance().getElementName();
|
|
1180
|
+
bitField0_ = (bitField0_ & ~0x00000004);
|
|
1181
|
+
onChanged();
|
|
1182
|
+
return this;
|
|
1183
|
+
}
|
|
1184
|
+
/**
|
|
1185
|
+
* <code>string element_name = 3;</code>
|
|
1186
|
+
* @param value The bytes for elementName to set.
|
|
1187
|
+
* @return This builder for chaining.
|
|
1188
|
+
*/
|
|
1189
|
+
public Builder setElementNameBytes(
|
|
1190
|
+
com.google.protobuf.ByteString value) {
|
|
1191
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1192
|
+
checkByteStringIsUtf8(value);
|
|
1193
|
+
elementName_ = value;
|
|
1194
|
+
bitField0_ |= 0x00000004;
|
|
1195
|
+
onChanged();
|
|
1196
|
+
return this;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
private com.lansweeper.dp.outbound.v1.MappedValue enabledState_;
|
|
1200
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
1201
|
+
com.lansweeper.dp.outbound.v1.MappedValue, com.lansweeper.dp.outbound.v1.MappedValue.Builder, com.lansweeper.dp.outbound.v1.MappedValueOrBuilder> enabledStateBuilder_;
|
|
1202
|
+
/**
|
|
1203
|
+
* <code>optional .com.lansweeper.dp.outbound.v1.MappedValue enabled_state = 4;</code>
|
|
1204
|
+
* @return Whether the enabledState field is set.
|
|
1205
|
+
*/
|
|
1206
|
+
public boolean hasEnabledState() {
|
|
1207
|
+
return ((bitField0_ & 0x00000008) != 0);
|
|
1208
|
+
}
|
|
1209
|
+
/**
|
|
1210
|
+
* <code>optional .com.lansweeper.dp.outbound.v1.MappedValue enabled_state = 4;</code>
|
|
1211
|
+
* @return The enabledState.
|
|
1212
|
+
*/
|
|
1213
|
+
public com.lansweeper.dp.outbound.v1.MappedValue getEnabledState() {
|
|
1214
|
+
if (enabledStateBuilder_ == null) {
|
|
1215
|
+
return enabledState_ == null ? com.lansweeper.dp.outbound.v1.MappedValue.getDefaultInstance() : enabledState_;
|
|
1216
|
+
} else {
|
|
1217
|
+
return enabledStateBuilder_.getMessage();
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
/**
|
|
1221
|
+
* <code>optional .com.lansweeper.dp.outbound.v1.MappedValue enabled_state = 4;</code>
|
|
1222
|
+
*/
|
|
1223
|
+
public Builder setEnabledState(com.lansweeper.dp.outbound.v1.MappedValue value) {
|
|
1224
|
+
if (enabledStateBuilder_ == null) {
|
|
1225
|
+
if (value == null) {
|
|
1226
|
+
throw new NullPointerException();
|
|
1227
|
+
}
|
|
1228
|
+
enabledState_ = value;
|
|
1229
|
+
} else {
|
|
1230
|
+
enabledStateBuilder_.setMessage(value);
|
|
1231
|
+
}
|
|
1232
|
+
bitField0_ |= 0x00000008;
|
|
1233
|
+
onChanged();
|
|
1234
|
+
return this;
|
|
1235
|
+
}
|
|
1236
|
+
/**
|
|
1237
|
+
* <code>optional .com.lansweeper.dp.outbound.v1.MappedValue enabled_state = 4;</code>
|
|
1238
|
+
*/
|
|
1239
|
+
public Builder setEnabledState(
|
|
1240
|
+
com.lansweeper.dp.outbound.v1.MappedValue.Builder builderForValue) {
|
|
1241
|
+
if (enabledStateBuilder_ == null) {
|
|
1242
|
+
enabledState_ = builderForValue.build();
|
|
1243
|
+
} else {
|
|
1244
|
+
enabledStateBuilder_.setMessage(builderForValue.build());
|
|
1245
|
+
}
|
|
1246
|
+
bitField0_ |= 0x00000008;
|
|
1247
|
+
onChanged();
|
|
1248
|
+
return this;
|
|
1249
|
+
}
|
|
1250
|
+
/**
|
|
1251
|
+
* <code>optional .com.lansweeper.dp.outbound.v1.MappedValue enabled_state = 4;</code>
|
|
1252
|
+
*/
|
|
1253
|
+
public Builder mergeEnabledState(com.lansweeper.dp.outbound.v1.MappedValue value) {
|
|
1254
|
+
if (enabledStateBuilder_ == null) {
|
|
1255
|
+
if (((bitField0_ & 0x00000008) != 0) &&
|
|
1256
|
+
enabledState_ != null &&
|
|
1257
|
+
enabledState_ != com.lansweeper.dp.outbound.v1.MappedValue.getDefaultInstance()) {
|
|
1258
|
+
getEnabledStateBuilder().mergeFrom(value);
|
|
1259
|
+
} else {
|
|
1260
|
+
enabledState_ = value;
|
|
1261
|
+
}
|
|
1262
|
+
} else {
|
|
1263
|
+
enabledStateBuilder_.mergeFrom(value);
|
|
1264
|
+
}
|
|
1265
|
+
if (enabledState_ != null) {
|
|
1266
|
+
bitField0_ |= 0x00000008;
|
|
1267
|
+
onChanged();
|
|
1268
|
+
}
|
|
1269
|
+
return this;
|
|
1270
|
+
}
|
|
1271
|
+
/**
|
|
1272
|
+
* <code>optional .com.lansweeper.dp.outbound.v1.MappedValue enabled_state = 4;</code>
|
|
1273
|
+
*/
|
|
1274
|
+
public Builder clearEnabledState() {
|
|
1275
|
+
bitField0_ = (bitField0_ & ~0x00000008);
|
|
1276
|
+
enabledState_ = null;
|
|
1277
|
+
if (enabledStateBuilder_ != null) {
|
|
1278
|
+
enabledStateBuilder_.dispose();
|
|
1279
|
+
enabledStateBuilder_ = null;
|
|
1280
|
+
}
|
|
1281
|
+
onChanged();
|
|
1282
|
+
return this;
|
|
1283
|
+
}
|
|
1284
|
+
/**
|
|
1285
|
+
* <code>optional .com.lansweeper.dp.outbound.v1.MappedValue enabled_state = 4;</code>
|
|
1286
|
+
*/
|
|
1287
|
+
public com.lansweeper.dp.outbound.v1.MappedValue.Builder getEnabledStateBuilder() {
|
|
1288
|
+
bitField0_ |= 0x00000008;
|
|
1289
|
+
onChanged();
|
|
1290
|
+
return getEnabledStateFieldBuilder().getBuilder();
|
|
1291
|
+
}
|
|
1292
|
+
/**
|
|
1293
|
+
* <code>optional .com.lansweeper.dp.outbound.v1.MappedValue enabled_state = 4;</code>
|
|
1294
|
+
*/
|
|
1295
|
+
public com.lansweeper.dp.outbound.v1.MappedValueOrBuilder getEnabledStateOrBuilder() {
|
|
1296
|
+
if (enabledStateBuilder_ != null) {
|
|
1297
|
+
return enabledStateBuilder_.getMessageOrBuilder();
|
|
1298
|
+
} else {
|
|
1299
|
+
return enabledState_ == null ?
|
|
1300
|
+
com.lansweeper.dp.outbound.v1.MappedValue.getDefaultInstance() : enabledState_;
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
/**
|
|
1304
|
+
* <code>optional .com.lansweeper.dp.outbound.v1.MappedValue enabled_state = 4;</code>
|
|
1305
|
+
*/
|
|
1306
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
1307
|
+
com.lansweeper.dp.outbound.v1.MappedValue, com.lansweeper.dp.outbound.v1.MappedValue.Builder, com.lansweeper.dp.outbound.v1.MappedValueOrBuilder>
|
|
1308
|
+
getEnabledStateFieldBuilder() {
|
|
1309
|
+
if (enabledStateBuilder_ == null) {
|
|
1310
|
+
enabledStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
1311
|
+
com.lansweeper.dp.outbound.v1.MappedValue, com.lansweeper.dp.outbound.v1.MappedValue.Builder, com.lansweeper.dp.outbound.v1.MappedValueOrBuilder>(
|
|
1312
|
+
getEnabledState(),
|
|
1313
|
+
getParentForChildren(),
|
|
1314
|
+
isClean());
|
|
1315
|
+
enabledState_ = null;
|
|
1316
|
+
}
|
|
1317
|
+
return enabledStateBuilder_;
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
private java.lang.Object healthState_ = "";
|
|
1321
|
+
/**
|
|
1322
|
+
* <code>optional string health_state = 5;</code>
|
|
1323
|
+
* @return Whether the healthState field is set.
|
|
1324
|
+
*/
|
|
1325
|
+
public boolean hasHealthState() {
|
|
1326
|
+
return ((bitField0_ & 0x00000010) != 0);
|
|
1327
|
+
}
|
|
1328
|
+
/**
|
|
1329
|
+
* <code>optional string health_state = 5;</code>
|
|
1330
|
+
* @return The healthState.
|
|
1331
|
+
*/
|
|
1332
|
+
public java.lang.String getHealthState() {
|
|
1333
|
+
java.lang.Object ref = healthState_;
|
|
1334
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1335
|
+
com.google.protobuf.ByteString bs =
|
|
1336
|
+
(com.google.protobuf.ByteString) ref;
|
|
1337
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1338
|
+
healthState_ = s;
|
|
1339
|
+
return s;
|
|
1340
|
+
} else {
|
|
1341
|
+
return (java.lang.String) ref;
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
/**
|
|
1345
|
+
* <code>optional string health_state = 5;</code>
|
|
1346
|
+
* @return The bytes for healthState.
|
|
1347
|
+
*/
|
|
1348
|
+
public com.google.protobuf.ByteString
|
|
1349
|
+
getHealthStateBytes() {
|
|
1350
|
+
java.lang.Object ref = healthState_;
|
|
1351
|
+
if (ref instanceof String) {
|
|
1352
|
+
com.google.protobuf.ByteString b =
|
|
1353
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1354
|
+
(java.lang.String) ref);
|
|
1355
|
+
healthState_ = b;
|
|
1356
|
+
return b;
|
|
1357
|
+
} else {
|
|
1358
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
/**
|
|
1362
|
+
* <code>optional string health_state = 5;</code>
|
|
1363
|
+
* @param value The healthState to set.
|
|
1364
|
+
* @return This builder for chaining.
|
|
1365
|
+
*/
|
|
1366
|
+
public Builder setHealthState(
|
|
1367
|
+
java.lang.String value) {
|
|
1368
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1369
|
+
healthState_ = value;
|
|
1370
|
+
bitField0_ |= 0x00000010;
|
|
1371
|
+
onChanged();
|
|
1372
|
+
return this;
|
|
1373
|
+
}
|
|
1374
|
+
/**
|
|
1375
|
+
* <code>optional string health_state = 5;</code>
|
|
1376
|
+
* @return This builder for chaining.
|
|
1377
|
+
*/
|
|
1378
|
+
public Builder clearHealthState() {
|
|
1379
|
+
healthState_ = getDefaultInstance().getHealthState();
|
|
1380
|
+
bitField0_ = (bitField0_ & ~0x00000010);
|
|
1381
|
+
onChanged();
|
|
1382
|
+
return this;
|
|
1383
|
+
}
|
|
1384
|
+
/**
|
|
1385
|
+
* <code>optional string health_state = 5;</code>
|
|
1386
|
+
* @param value The bytes for healthState to set.
|
|
1387
|
+
* @return This builder for chaining.
|
|
1388
|
+
*/
|
|
1389
|
+
public Builder setHealthStateBytes(
|
|
1390
|
+
com.google.protobuf.ByteString value) {
|
|
1391
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1392
|
+
checkByteStringIsUtf8(value);
|
|
1393
|
+
healthState_ = value;
|
|
1394
|
+
bitField0_ |= 0x00000010;
|
|
1395
|
+
onChanged();
|
|
1396
|
+
return this;
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
private java.lang.Object name_ = "";
|
|
1400
|
+
/**
|
|
1401
|
+
* <pre>
|
|
1402
|
+
* GUID
|
|
1403
|
+
* </pre>
|
|
1404
|
+
*
|
|
1405
|
+
* <code>string name = 6;</code>
|
|
1406
|
+
* @return The name.
|
|
1407
|
+
*/
|
|
1408
|
+
public java.lang.String getName() {
|
|
1409
|
+
java.lang.Object ref = name_;
|
|
1410
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1411
|
+
com.google.protobuf.ByteString bs =
|
|
1412
|
+
(com.google.protobuf.ByteString) ref;
|
|
1413
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1414
|
+
name_ = s;
|
|
1415
|
+
return s;
|
|
1416
|
+
} else {
|
|
1417
|
+
return (java.lang.String) ref;
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
/**
|
|
1421
|
+
* <pre>
|
|
1422
|
+
* GUID
|
|
1423
|
+
* </pre>
|
|
1424
|
+
*
|
|
1425
|
+
* <code>string name = 6;</code>
|
|
1426
|
+
* @return The bytes for name.
|
|
1427
|
+
*/
|
|
1428
|
+
public com.google.protobuf.ByteString
|
|
1429
|
+
getNameBytes() {
|
|
1430
|
+
java.lang.Object ref = name_;
|
|
1431
|
+
if (ref instanceof String) {
|
|
1432
|
+
com.google.protobuf.ByteString b =
|
|
1433
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1434
|
+
(java.lang.String) ref);
|
|
1435
|
+
name_ = b;
|
|
1436
|
+
return b;
|
|
1437
|
+
} else {
|
|
1438
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
/**
|
|
1442
|
+
* <pre>
|
|
1443
|
+
* GUID
|
|
1444
|
+
* </pre>
|
|
1445
|
+
*
|
|
1446
|
+
* <code>string name = 6;</code>
|
|
1447
|
+
* @param value The name to set.
|
|
1448
|
+
* @return This builder for chaining.
|
|
1449
|
+
*/
|
|
1450
|
+
public Builder setName(
|
|
1451
|
+
java.lang.String value) {
|
|
1452
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1453
|
+
name_ = value;
|
|
1454
|
+
bitField0_ |= 0x00000020;
|
|
1455
|
+
onChanged();
|
|
1456
|
+
return this;
|
|
1457
|
+
}
|
|
1458
|
+
/**
|
|
1459
|
+
* <pre>
|
|
1460
|
+
* GUID
|
|
1461
|
+
* </pre>
|
|
1462
|
+
*
|
|
1463
|
+
* <code>string name = 6;</code>
|
|
1464
|
+
* @return This builder for chaining.
|
|
1465
|
+
*/
|
|
1466
|
+
public Builder clearName() {
|
|
1467
|
+
name_ = getDefaultInstance().getName();
|
|
1468
|
+
bitField0_ = (bitField0_ & ~0x00000020);
|
|
1469
|
+
onChanged();
|
|
1470
|
+
return this;
|
|
1471
|
+
}
|
|
1472
|
+
/**
|
|
1473
|
+
* <pre>
|
|
1474
|
+
* GUID
|
|
1475
|
+
* </pre>
|
|
1476
|
+
*
|
|
1477
|
+
* <code>string name = 6;</code>
|
|
1478
|
+
* @param value The bytes for name to set.
|
|
1479
|
+
* @return This builder for chaining.
|
|
1480
|
+
*/
|
|
1481
|
+
public Builder setNameBytes(
|
|
1482
|
+
com.google.protobuf.ByteString value) {
|
|
1483
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1484
|
+
checkByteStringIsUtf8(value);
|
|
1485
|
+
name_ = value;
|
|
1486
|
+
bitField0_ |= 0x00000020;
|
|
1487
|
+
onChanged();
|
|
1488
|
+
return this;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
private long virtualQuantity_ ;
|
|
1492
|
+
/**
|
|
1493
|
+
* <code>optional int64 virtual_quantity = 7;</code>
|
|
1494
|
+
* @return Whether the virtualQuantity field is set.
|
|
1495
|
+
*/
|
|
1496
|
+
@java.lang.Override
|
|
1497
|
+
public boolean hasVirtualQuantity() {
|
|
1498
|
+
return ((bitField0_ & 0x00000040) != 0);
|
|
1499
|
+
}
|
|
1500
|
+
/**
|
|
1501
|
+
* <code>optional int64 virtual_quantity = 7;</code>
|
|
1502
|
+
* @return The virtualQuantity.
|
|
1503
|
+
*/
|
|
1504
|
+
@java.lang.Override
|
|
1505
|
+
public long getVirtualQuantity() {
|
|
1506
|
+
return virtualQuantity_;
|
|
1507
|
+
}
|
|
1508
|
+
/**
|
|
1509
|
+
* <code>optional int64 virtual_quantity = 7;</code>
|
|
1510
|
+
* @param value The virtualQuantity to set.
|
|
1511
|
+
* @return This builder for chaining.
|
|
1512
|
+
*/
|
|
1513
|
+
public Builder setVirtualQuantity(long value) {
|
|
1514
|
+
|
|
1515
|
+
virtualQuantity_ = value;
|
|
1516
|
+
bitField0_ |= 0x00000040;
|
|
1517
|
+
onChanged();
|
|
1518
|
+
return this;
|
|
1519
|
+
}
|
|
1520
|
+
/**
|
|
1521
|
+
* <code>optional int64 virtual_quantity = 7;</code>
|
|
1522
|
+
* @return This builder for chaining.
|
|
1523
|
+
*/
|
|
1524
|
+
public Builder clearVirtualQuantity() {
|
|
1525
|
+
bitField0_ = (bitField0_ & ~0x00000040);
|
|
1526
|
+
virtualQuantity_ = 0L;
|
|
1527
|
+
onChanged();
|
|
1528
|
+
return this;
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
private java.util.List<com.lansweeper.dp.outbound.v1.HyperVNetwork> hyperVNetwork_ =
|
|
1532
|
+
java.util.Collections.emptyList();
|
|
1533
|
+
private void ensureHyperVNetworkIsMutable() {
|
|
1534
|
+
if (!((bitField0_ & 0x00000080) != 0)) {
|
|
1535
|
+
hyperVNetwork_ = new java.util.ArrayList<com.lansweeper.dp.outbound.v1.HyperVNetwork>(hyperVNetwork_);
|
|
1536
|
+
bitField0_ |= 0x00000080;
|
|
1537
|
+
}
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
private com.google.protobuf.RepeatedFieldBuilderV3<
|
|
1541
|
+
com.lansweeper.dp.outbound.v1.HyperVNetwork, com.lansweeper.dp.outbound.v1.HyperVNetwork.Builder, com.lansweeper.dp.outbound.v1.HyperVNetworkOrBuilder> hyperVNetworkBuilder_;
|
|
1542
|
+
|
|
1543
|
+
/**
|
|
1544
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
1545
|
+
*/
|
|
1546
|
+
public java.util.List<com.lansweeper.dp.outbound.v1.HyperVNetwork> getHyperVNetworkList() {
|
|
1547
|
+
if (hyperVNetworkBuilder_ == null) {
|
|
1548
|
+
return java.util.Collections.unmodifiableList(hyperVNetwork_);
|
|
1549
|
+
} else {
|
|
1550
|
+
return hyperVNetworkBuilder_.getMessageList();
|
|
1551
|
+
}
|
|
1552
|
+
}
|
|
1553
|
+
/**
|
|
1554
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
1555
|
+
*/
|
|
1556
|
+
public int getHyperVNetworkCount() {
|
|
1557
|
+
if (hyperVNetworkBuilder_ == null) {
|
|
1558
|
+
return hyperVNetwork_.size();
|
|
1559
|
+
} else {
|
|
1560
|
+
return hyperVNetworkBuilder_.getCount();
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
/**
|
|
1564
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
1565
|
+
*/
|
|
1566
|
+
public com.lansweeper.dp.outbound.v1.HyperVNetwork getHyperVNetwork(int index) {
|
|
1567
|
+
if (hyperVNetworkBuilder_ == null) {
|
|
1568
|
+
return hyperVNetwork_.get(index);
|
|
1569
|
+
} else {
|
|
1570
|
+
return hyperVNetworkBuilder_.getMessage(index);
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
/**
|
|
1574
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
1575
|
+
*/
|
|
1576
|
+
public Builder setHyperVNetwork(
|
|
1577
|
+
int index, com.lansweeper.dp.outbound.v1.HyperVNetwork value) {
|
|
1578
|
+
if (hyperVNetworkBuilder_ == null) {
|
|
1579
|
+
if (value == null) {
|
|
1580
|
+
throw new NullPointerException();
|
|
1581
|
+
}
|
|
1582
|
+
ensureHyperVNetworkIsMutable();
|
|
1583
|
+
hyperVNetwork_.set(index, value);
|
|
1584
|
+
onChanged();
|
|
1585
|
+
} else {
|
|
1586
|
+
hyperVNetworkBuilder_.setMessage(index, value);
|
|
1587
|
+
}
|
|
1588
|
+
return this;
|
|
1589
|
+
}
|
|
1590
|
+
/**
|
|
1591
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
1592
|
+
*/
|
|
1593
|
+
public Builder setHyperVNetwork(
|
|
1594
|
+
int index, com.lansweeper.dp.outbound.v1.HyperVNetwork.Builder builderForValue) {
|
|
1595
|
+
if (hyperVNetworkBuilder_ == null) {
|
|
1596
|
+
ensureHyperVNetworkIsMutable();
|
|
1597
|
+
hyperVNetwork_.set(index, builderForValue.build());
|
|
1598
|
+
onChanged();
|
|
1599
|
+
} else {
|
|
1600
|
+
hyperVNetworkBuilder_.setMessage(index, builderForValue.build());
|
|
1601
|
+
}
|
|
1602
|
+
return this;
|
|
1603
|
+
}
|
|
1604
|
+
/**
|
|
1605
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
1606
|
+
*/
|
|
1607
|
+
public Builder addHyperVNetwork(com.lansweeper.dp.outbound.v1.HyperVNetwork value) {
|
|
1608
|
+
if (hyperVNetworkBuilder_ == null) {
|
|
1609
|
+
if (value == null) {
|
|
1610
|
+
throw new NullPointerException();
|
|
1611
|
+
}
|
|
1612
|
+
ensureHyperVNetworkIsMutable();
|
|
1613
|
+
hyperVNetwork_.add(value);
|
|
1614
|
+
onChanged();
|
|
1615
|
+
} else {
|
|
1616
|
+
hyperVNetworkBuilder_.addMessage(value);
|
|
1617
|
+
}
|
|
1618
|
+
return this;
|
|
1619
|
+
}
|
|
1620
|
+
/**
|
|
1621
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
1622
|
+
*/
|
|
1623
|
+
public Builder addHyperVNetwork(
|
|
1624
|
+
int index, com.lansweeper.dp.outbound.v1.HyperVNetwork value) {
|
|
1625
|
+
if (hyperVNetworkBuilder_ == null) {
|
|
1626
|
+
if (value == null) {
|
|
1627
|
+
throw new NullPointerException();
|
|
1628
|
+
}
|
|
1629
|
+
ensureHyperVNetworkIsMutable();
|
|
1630
|
+
hyperVNetwork_.add(index, value);
|
|
1631
|
+
onChanged();
|
|
1632
|
+
} else {
|
|
1633
|
+
hyperVNetworkBuilder_.addMessage(index, value);
|
|
1634
|
+
}
|
|
1635
|
+
return this;
|
|
1636
|
+
}
|
|
1637
|
+
/**
|
|
1638
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
1639
|
+
*/
|
|
1640
|
+
public Builder addHyperVNetwork(
|
|
1641
|
+
com.lansweeper.dp.outbound.v1.HyperVNetwork.Builder builderForValue) {
|
|
1642
|
+
if (hyperVNetworkBuilder_ == null) {
|
|
1643
|
+
ensureHyperVNetworkIsMutable();
|
|
1644
|
+
hyperVNetwork_.add(builderForValue.build());
|
|
1645
|
+
onChanged();
|
|
1646
|
+
} else {
|
|
1647
|
+
hyperVNetworkBuilder_.addMessage(builderForValue.build());
|
|
1648
|
+
}
|
|
1649
|
+
return this;
|
|
1650
|
+
}
|
|
1651
|
+
/**
|
|
1652
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
1653
|
+
*/
|
|
1654
|
+
public Builder addHyperVNetwork(
|
|
1655
|
+
int index, com.lansweeper.dp.outbound.v1.HyperVNetwork.Builder builderForValue) {
|
|
1656
|
+
if (hyperVNetworkBuilder_ == null) {
|
|
1657
|
+
ensureHyperVNetworkIsMutable();
|
|
1658
|
+
hyperVNetwork_.add(index, builderForValue.build());
|
|
1659
|
+
onChanged();
|
|
1660
|
+
} else {
|
|
1661
|
+
hyperVNetworkBuilder_.addMessage(index, builderForValue.build());
|
|
1662
|
+
}
|
|
1663
|
+
return this;
|
|
1664
|
+
}
|
|
1665
|
+
/**
|
|
1666
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
1667
|
+
*/
|
|
1668
|
+
public Builder addAllHyperVNetwork(
|
|
1669
|
+
java.lang.Iterable<? extends com.lansweeper.dp.outbound.v1.HyperVNetwork> values) {
|
|
1670
|
+
if (hyperVNetworkBuilder_ == null) {
|
|
1671
|
+
ensureHyperVNetworkIsMutable();
|
|
1672
|
+
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
1673
|
+
values, hyperVNetwork_);
|
|
1674
|
+
onChanged();
|
|
1675
|
+
} else {
|
|
1676
|
+
hyperVNetworkBuilder_.addAllMessages(values);
|
|
1677
|
+
}
|
|
1678
|
+
return this;
|
|
1679
|
+
}
|
|
1680
|
+
/**
|
|
1681
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
1682
|
+
*/
|
|
1683
|
+
public Builder clearHyperVNetwork() {
|
|
1684
|
+
if (hyperVNetworkBuilder_ == null) {
|
|
1685
|
+
hyperVNetwork_ = java.util.Collections.emptyList();
|
|
1686
|
+
bitField0_ = (bitField0_ & ~0x00000080);
|
|
1687
|
+
onChanged();
|
|
1688
|
+
} else {
|
|
1689
|
+
hyperVNetworkBuilder_.clear();
|
|
1690
|
+
}
|
|
1691
|
+
return this;
|
|
1692
|
+
}
|
|
1693
|
+
/**
|
|
1694
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
1695
|
+
*/
|
|
1696
|
+
public Builder removeHyperVNetwork(int index) {
|
|
1697
|
+
if (hyperVNetworkBuilder_ == null) {
|
|
1698
|
+
ensureHyperVNetworkIsMutable();
|
|
1699
|
+
hyperVNetwork_.remove(index);
|
|
1700
|
+
onChanged();
|
|
1701
|
+
} else {
|
|
1702
|
+
hyperVNetworkBuilder_.remove(index);
|
|
1703
|
+
}
|
|
1704
|
+
return this;
|
|
1705
|
+
}
|
|
1706
|
+
/**
|
|
1707
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
1708
|
+
*/
|
|
1709
|
+
public com.lansweeper.dp.outbound.v1.HyperVNetwork.Builder getHyperVNetworkBuilder(
|
|
1710
|
+
int index) {
|
|
1711
|
+
return getHyperVNetworkFieldBuilder().getBuilder(index);
|
|
1712
|
+
}
|
|
1713
|
+
/**
|
|
1714
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
1715
|
+
*/
|
|
1716
|
+
public com.lansweeper.dp.outbound.v1.HyperVNetworkOrBuilder getHyperVNetworkOrBuilder(
|
|
1717
|
+
int index) {
|
|
1718
|
+
if (hyperVNetworkBuilder_ == null) {
|
|
1719
|
+
return hyperVNetwork_.get(index); } else {
|
|
1720
|
+
return hyperVNetworkBuilder_.getMessageOrBuilder(index);
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
/**
|
|
1724
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
1725
|
+
*/
|
|
1726
|
+
public java.util.List<? extends com.lansweeper.dp.outbound.v1.HyperVNetworkOrBuilder>
|
|
1727
|
+
getHyperVNetworkOrBuilderList() {
|
|
1728
|
+
if (hyperVNetworkBuilder_ != null) {
|
|
1729
|
+
return hyperVNetworkBuilder_.getMessageOrBuilderList();
|
|
1730
|
+
} else {
|
|
1731
|
+
return java.util.Collections.unmodifiableList(hyperVNetwork_);
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
/**
|
|
1735
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
1736
|
+
*/
|
|
1737
|
+
public com.lansweeper.dp.outbound.v1.HyperVNetwork.Builder addHyperVNetworkBuilder() {
|
|
1738
|
+
return getHyperVNetworkFieldBuilder().addBuilder(
|
|
1739
|
+
com.lansweeper.dp.outbound.v1.HyperVNetwork.getDefaultInstance());
|
|
1740
|
+
}
|
|
1741
|
+
/**
|
|
1742
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
1743
|
+
*/
|
|
1744
|
+
public com.lansweeper.dp.outbound.v1.HyperVNetwork.Builder addHyperVNetworkBuilder(
|
|
1745
|
+
int index) {
|
|
1746
|
+
return getHyperVNetworkFieldBuilder().addBuilder(
|
|
1747
|
+
index, com.lansweeper.dp.outbound.v1.HyperVNetwork.getDefaultInstance());
|
|
1748
|
+
}
|
|
1749
|
+
/**
|
|
1750
|
+
* <code>repeated .com.lansweeper.dp.outbound.v1.HyperVNetwork hyper_v_network = 8;</code>
|
|
1751
|
+
*/
|
|
1752
|
+
public java.util.List<com.lansweeper.dp.outbound.v1.HyperVNetwork.Builder>
|
|
1753
|
+
getHyperVNetworkBuilderList() {
|
|
1754
|
+
return getHyperVNetworkFieldBuilder().getBuilderList();
|
|
1755
|
+
}
|
|
1756
|
+
private com.google.protobuf.RepeatedFieldBuilderV3<
|
|
1757
|
+
com.lansweeper.dp.outbound.v1.HyperVNetwork, com.lansweeper.dp.outbound.v1.HyperVNetwork.Builder, com.lansweeper.dp.outbound.v1.HyperVNetworkOrBuilder>
|
|
1758
|
+
getHyperVNetworkFieldBuilder() {
|
|
1759
|
+
if (hyperVNetworkBuilder_ == null) {
|
|
1760
|
+
hyperVNetworkBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
|
1761
|
+
com.lansweeper.dp.outbound.v1.HyperVNetwork, com.lansweeper.dp.outbound.v1.HyperVNetwork.Builder, com.lansweeper.dp.outbound.v1.HyperVNetworkOrBuilder>(
|
|
1762
|
+
hyperVNetwork_,
|
|
1763
|
+
((bitField0_ & 0x00000080) != 0),
|
|
1764
|
+
getParentForChildren(),
|
|
1765
|
+
isClean());
|
|
1766
|
+
hyperVNetwork_ = null;
|
|
1767
|
+
}
|
|
1768
|
+
return hyperVNetworkBuilder_;
|
|
1769
|
+
}
|
|
1770
|
+
@java.lang.Override
|
|
1771
|
+
public final Builder setUnknownFields(
|
|
1772
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
1773
|
+
return super.setUnknownFields(unknownFields);
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
@java.lang.Override
|
|
1777
|
+
public final Builder mergeUnknownFields(
|
|
1778
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
1779
|
+
return super.mergeUnknownFields(unknownFields);
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
|
|
1783
|
+
// @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.HyperV)
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
// @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.HyperV)
|
|
1787
|
+
private static final com.lansweeper.dp.outbound.v1.HyperV DEFAULT_INSTANCE;
|
|
1788
|
+
static {
|
|
1789
|
+
DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.HyperV();
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
public static com.lansweeper.dp.outbound.v1.HyperV getDefaultInstance() {
|
|
1793
|
+
return DEFAULT_INSTANCE;
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
private static final com.google.protobuf.Parser<HyperV>
|
|
1797
|
+
PARSER = new com.google.protobuf.AbstractParser<HyperV>() {
|
|
1798
|
+
@java.lang.Override
|
|
1799
|
+
public HyperV parsePartialFrom(
|
|
1800
|
+
com.google.protobuf.CodedInputStream input,
|
|
1801
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
1802
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
1803
|
+
Builder builder = newBuilder();
|
|
1804
|
+
try {
|
|
1805
|
+
builder.mergeFrom(input, extensionRegistry);
|
|
1806
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
1807
|
+
throw e.setUnfinishedMessage(builder.buildPartial());
|
|
1808
|
+
} catch (com.google.protobuf.UninitializedMessageException e) {
|
|
1809
|
+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
|
1810
|
+
} catch (java.io.IOException e) {
|
|
1811
|
+
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
|
1812
|
+
.setUnfinishedMessage(builder.buildPartial());
|
|
1813
|
+
}
|
|
1814
|
+
return builder.buildPartial();
|
|
1815
|
+
}
|
|
1816
|
+
};
|
|
1817
|
+
|
|
1818
|
+
public static com.google.protobuf.Parser<HyperV> parser() {
|
|
1819
|
+
return PARSER;
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
@java.lang.Override
|
|
1823
|
+
public com.google.protobuf.Parser<HyperV> getParserForType() {
|
|
1824
|
+
return PARSER;
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
@java.lang.Override
|
|
1828
|
+
public com.lansweeper.dp.outbound.v1.HyperV getDefaultInstanceForType() {
|
|
1829
|
+
return DEFAULT_INSTANCE;
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
}
|
|
1833
|
+
|