@lansweeper/data-platform-outbound-grpc 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +33 -0
- package/gen-proto/outbound_pb.js +240 -1
- package/generated-go/outbound.pb.go +13232 -13122
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/outbound.proto +6 -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/HyperVHost$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/HyperVHost$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/HyperVHost$HyperVGuestKeysDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/HyperVHost.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/HyperVHostOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/SccmServer$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/SccmServer$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/SccmServer$SccmChildSitesDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/SccmServer.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/SccmServerOrBuilder.class +0 -0
- package/model/target/classes/outbound.proto +6 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Asset.java +376 -140
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +27 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/HyperVHost.java +725 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/HyperVHostOrBuilder.java +62 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +3942 -3899
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SccmServer.java +319 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SccmServerOrBuilder.java +52 -0
- package/model/target/maven-archiver/pom.properties +2 -2
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +6 -0
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +2 -0
- package/model/target/{outbound-model-0.6.1-sources.jar → outbound-model-0.7.0-sources.jar} +0 -0
- package/model/target/{outbound-model-0.6.1.jar → outbound-model-0.7.0.jar} +0 -0
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +6 -0
- package/service/pom.xml +1 -1
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/{outbound-service-0.6.1-sources.jar → outbound-service-0.7.0-sources.jar} +0 -0
- package/service/target/{outbound-service-0.6.1.jar → outbound-service-0.7.0.jar} +0 -0
package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/HyperVHost.java
ADDED
|
@@ -0,0 +1,725 @@
|
|
|
1
|
+
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
// source: outbound.proto
|
|
3
|
+
|
|
4
|
+
// Protobuf Java Version: 3.25.1
|
|
5
|
+
package com.lansweeper.dp.outbound.v1;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.HyperVHost}
|
|
9
|
+
*/
|
|
10
|
+
public final class HyperVHost extends
|
|
11
|
+
com.google.protobuf.GeneratedMessageV3 implements
|
|
12
|
+
// @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.HyperVHost)
|
|
13
|
+
HyperVHostOrBuilder {
|
|
14
|
+
private static final long serialVersionUID = 0L;
|
|
15
|
+
// Use HyperVHost.newBuilder() to construct.
|
|
16
|
+
private HyperVHost(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
17
|
+
super(builder);
|
|
18
|
+
}
|
|
19
|
+
private HyperVHost() {
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@java.lang.Override
|
|
23
|
+
@SuppressWarnings({"unused"})
|
|
24
|
+
protected java.lang.Object newInstance(
|
|
25
|
+
UnusedPrivateParameter unused) {
|
|
26
|
+
return new HyperVHost();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
30
|
+
getDescriptor() {
|
|
31
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_HyperVHost_descriptor;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@SuppressWarnings({"rawtypes"})
|
|
35
|
+
@java.lang.Override
|
|
36
|
+
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
|
|
37
|
+
int number) {
|
|
38
|
+
switch (number) {
|
|
39
|
+
case 1:
|
|
40
|
+
return internalGetHyperVGuestKeys();
|
|
41
|
+
default:
|
|
42
|
+
throw new RuntimeException(
|
|
43
|
+
"Invalid map field number: " + number);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
@java.lang.Override
|
|
47
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
48
|
+
internalGetFieldAccessorTable() {
|
|
49
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_HyperVHost_fieldAccessorTable
|
|
50
|
+
.ensureFieldAccessorsInitialized(
|
|
51
|
+
com.lansweeper.dp.outbound.v1.HyperVHost.class, com.lansweeper.dp.outbound.v1.HyperVHost.Builder.class);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
public static final int HYPER_V_GUEST_KEYS_FIELD_NUMBER = 1;
|
|
55
|
+
private static final class HyperVGuestKeysDefaultEntryHolder {
|
|
56
|
+
static final com.google.protobuf.MapEntry<
|
|
57
|
+
java.lang.String, java.lang.Boolean> defaultEntry =
|
|
58
|
+
com.google.protobuf.MapEntry
|
|
59
|
+
.<java.lang.String, java.lang.Boolean>newDefaultInstance(
|
|
60
|
+
com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_HyperVHost_HyperVGuestKeysEntry_descriptor,
|
|
61
|
+
com.google.protobuf.WireFormat.FieldType.STRING,
|
|
62
|
+
"",
|
|
63
|
+
com.google.protobuf.WireFormat.FieldType.BOOL,
|
|
64
|
+
false);
|
|
65
|
+
}
|
|
66
|
+
@SuppressWarnings("serial")
|
|
67
|
+
private com.google.protobuf.MapField<
|
|
68
|
+
java.lang.String, java.lang.Boolean> hyperVGuestKeys_;
|
|
69
|
+
private com.google.protobuf.MapField<java.lang.String, java.lang.Boolean>
|
|
70
|
+
internalGetHyperVGuestKeys() {
|
|
71
|
+
if (hyperVGuestKeys_ == null) {
|
|
72
|
+
return com.google.protobuf.MapField.emptyMapField(
|
|
73
|
+
HyperVGuestKeysDefaultEntryHolder.defaultEntry);
|
|
74
|
+
}
|
|
75
|
+
return hyperVGuestKeys_;
|
|
76
|
+
}
|
|
77
|
+
public int getHyperVGuestKeysCount() {
|
|
78
|
+
return internalGetHyperVGuestKeys().getMap().size();
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* <pre>
|
|
82
|
+
* map of hyper-v guest keys, where key is the entity_id of the guest asset
|
|
83
|
+
* </pre>
|
|
84
|
+
*
|
|
85
|
+
* <code>map<string, bool> hyper_v_guest_keys = 1;</code>
|
|
86
|
+
*/
|
|
87
|
+
@java.lang.Override
|
|
88
|
+
public boolean containsHyperVGuestKeys(
|
|
89
|
+
java.lang.String key) {
|
|
90
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
91
|
+
return internalGetHyperVGuestKeys().getMap().containsKey(key);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Use {@link #getHyperVGuestKeysMap()} instead.
|
|
95
|
+
*/
|
|
96
|
+
@java.lang.Override
|
|
97
|
+
@java.lang.Deprecated
|
|
98
|
+
public java.util.Map<java.lang.String, java.lang.Boolean> getHyperVGuestKeys() {
|
|
99
|
+
return getHyperVGuestKeysMap();
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* <pre>
|
|
103
|
+
* map of hyper-v guest keys, where key is the entity_id of the guest asset
|
|
104
|
+
* </pre>
|
|
105
|
+
*
|
|
106
|
+
* <code>map<string, bool> hyper_v_guest_keys = 1;</code>
|
|
107
|
+
*/
|
|
108
|
+
@java.lang.Override
|
|
109
|
+
public java.util.Map<java.lang.String, java.lang.Boolean> getHyperVGuestKeysMap() {
|
|
110
|
+
return internalGetHyperVGuestKeys().getMap();
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* <pre>
|
|
114
|
+
* map of hyper-v guest keys, where key is the entity_id of the guest asset
|
|
115
|
+
* </pre>
|
|
116
|
+
*
|
|
117
|
+
* <code>map<string, bool> hyper_v_guest_keys = 1;</code>
|
|
118
|
+
*/
|
|
119
|
+
@java.lang.Override
|
|
120
|
+
public boolean getHyperVGuestKeysOrDefault(
|
|
121
|
+
java.lang.String key,
|
|
122
|
+
boolean defaultValue) {
|
|
123
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
124
|
+
java.util.Map<java.lang.String, java.lang.Boolean> map =
|
|
125
|
+
internalGetHyperVGuestKeys().getMap();
|
|
126
|
+
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* <pre>
|
|
130
|
+
* map of hyper-v guest keys, where key is the entity_id of the guest asset
|
|
131
|
+
* </pre>
|
|
132
|
+
*
|
|
133
|
+
* <code>map<string, bool> hyper_v_guest_keys = 1;</code>
|
|
134
|
+
*/
|
|
135
|
+
@java.lang.Override
|
|
136
|
+
public boolean getHyperVGuestKeysOrThrow(
|
|
137
|
+
java.lang.String key) {
|
|
138
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
139
|
+
java.util.Map<java.lang.String, java.lang.Boolean> map =
|
|
140
|
+
internalGetHyperVGuestKeys().getMap();
|
|
141
|
+
if (!map.containsKey(key)) {
|
|
142
|
+
throw new java.lang.IllegalArgumentException();
|
|
143
|
+
}
|
|
144
|
+
return map.get(key);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
private byte memoizedIsInitialized = -1;
|
|
148
|
+
@java.lang.Override
|
|
149
|
+
public final boolean isInitialized() {
|
|
150
|
+
byte isInitialized = memoizedIsInitialized;
|
|
151
|
+
if (isInitialized == 1) return true;
|
|
152
|
+
if (isInitialized == 0) return false;
|
|
153
|
+
|
|
154
|
+
memoizedIsInitialized = 1;
|
|
155
|
+
return true;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
@java.lang.Override
|
|
159
|
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
160
|
+
throws java.io.IOException {
|
|
161
|
+
com.google.protobuf.GeneratedMessageV3
|
|
162
|
+
.serializeStringMapTo(
|
|
163
|
+
output,
|
|
164
|
+
internalGetHyperVGuestKeys(),
|
|
165
|
+
HyperVGuestKeysDefaultEntryHolder.defaultEntry,
|
|
166
|
+
1);
|
|
167
|
+
getUnknownFields().writeTo(output);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@java.lang.Override
|
|
171
|
+
public int getSerializedSize() {
|
|
172
|
+
int size = memoizedSize;
|
|
173
|
+
if (size != -1) return size;
|
|
174
|
+
|
|
175
|
+
size = 0;
|
|
176
|
+
for (java.util.Map.Entry<java.lang.String, java.lang.Boolean> entry
|
|
177
|
+
: internalGetHyperVGuestKeys().getMap().entrySet()) {
|
|
178
|
+
com.google.protobuf.MapEntry<java.lang.String, java.lang.Boolean>
|
|
179
|
+
hyperVGuestKeys__ = HyperVGuestKeysDefaultEntryHolder.defaultEntry.newBuilderForType()
|
|
180
|
+
.setKey(entry.getKey())
|
|
181
|
+
.setValue(entry.getValue())
|
|
182
|
+
.build();
|
|
183
|
+
size += com.google.protobuf.CodedOutputStream
|
|
184
|
+
.computeMessageSize(1, hyperVGuestKeys__);
|
|
185
|
+
}
|
|
186
|
+
size += getUnknownFields().getSerializedSize();
|
|
187
|
+
memoizedSize = size;
|
|
188
|
+
return size;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
@java.lang.Override
|
|
192
|
+
public boolean equals(final java.lang.Object obj) {
|
|
193
|
+
if (obj == this) {
|
|
194
|
+
return true;
|
|
195
|
+
}
|
|
196
|
+
if (!(obj instanceof com.lansweeper.dp.outbound.v1.HyperVHost)) {
|
|
197
|
+
return super.equals(obj);
|
|
198
|
+
}
|
|
199
|
+
com.lansweeper.dp.outbound.v1.HyperVHost other = (com.lansweeper.dp.outbound.v1.HyperVHost) obj;
|
|
200
|
+
|
|
201
|
+
if (!internalGetHyperVGuestKeys().equals(
|
|
202
|
+
other.internalGetHyperVGuestKeys())) return false;
|
|
203
|
+
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
|
204
|
+
return true;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
@java.lang.Override
|
|
208
|
+
public int hashCode() {
|
|
209
|
+
if (memoizedHashCode != 0) {
|
|
210
|
+
return memoizedHashCode;
|
|
211
|
+
}
|
|
212
|
+
int hash = 41;
|
|
213
|
+
hash = (19 * hash) + getDescriptor().hashCode();
|
|
214
|
+
if (!internalGetHyperVGuestKeys().getMap().isEmpty()) {
|
|
215
|
+
hash = (37 * hash) + HYPER_V_GUEST_KEYS_FIELD_NUMBER;
|
|
216
|
+
hash = (53 * hash) + internalGetHyperVGuestKeys().hashCode();
|
|
217
|
+
}
|
|
218
|
+
hash = (29 * hash) + getUnknownFields().hashCode();
|
|
219
|
+
memoizedHashCode = hash;
|
|
220
|
+
return hash;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
public static com.lansweeper.dp.outbound.v1.HyperVHost parseFrom(
|
|
224
|
+
java.nio.ByteBuffer data)
|
|
225
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
226
|
+
return PARSER.parseFrom(data);
|
|
227
|
+
}
|
|
228
|
+
public static com.lansweeper.dp.outbound.v1.HyperVHost parseFrom(
|
|
229
|
+
java.nio.ByteBuffer data,
|
|
230
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
231
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
232
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
233
|
+
}
|
|
234
|
+
public static com.lansweeper.dp.outbound.v1.HyperVHost parseFrom(
|
|
235
|
+
com.google.protobuf.ByteString data)
|
|
236
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
237
|
+
return PARSER.parseFrom(data);
|
|
238
|
+
}
|
|
239
|
+
public static com.lansweeper.dp.outbound.v1.HyperVHost parseFrom(
|
|
240
|
+
com.google.protobuf.ByteString data,
|
|
241
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
242
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
243
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
244
|
+
}
|
|
245
|
+
public static com.lansweeper.dp.outbound.v1.HyperVHost parseFrom(byte[] data)
|
|
246
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
247
|
+
return PARSER.parseFrom(data);
|
|
248
|
+
}
|
|
249
|
+
public static com.lansweeper.dp.outbound.v1.HyperVHost parseFrom(
|
|
250
|
+
byte[] data,
|
|
251
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
252
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
253
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
254
|
+
}
|
|
255
|
+
public static com.lansweeper.dp.outbound.v1.HyperVHost parseFrom(java.io.InputStream input)
|
|
256
|
+
throws java.io.IOException {
|
|
257
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
258
|
+
.parseWithIOException(PARSER, input);
|
|
259
|
+
}
|
|
260
|
+
public static com.lansweeper.dp.outbound.v1.HyperVHost parseFrom(
|
|
261
|
+
java.io.InputStream input,
|
|
262
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
263
|
+
throws java.io.IOException {
|
|
264
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
265
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
public static com.lansweeper.dp.outbound.v1.HyperVHost parseDelimitedFrom(java.io.InputStream input)
|
|
269
|
+
throws java.io.IOException {
|
|
270
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
271
|
+
.parseDelimitedWithIOException(PARSER, input);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
public static com.lansweeper.dp.outbound.v1.HyperVHost parseDelimitedFrom(
|
|
275
|
+
java.io.InputStream input,
|
|
276
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
277
|
+
throws java.io.IOException {
|
|
278
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
279
|
+
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
280
|
+
}
|
|
281
|
+
public static com.lansweeper.dp.outbound.v1.HyperVHost parseFrom(
|
|
282
|
+
com.google.protobuf.CodedInputStream input)
|
|
283
|
+
throws java.io.IOException {
|
|
284
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
285
|
+
.parseWithIOException(PARSER, input);
|
|
286
|
+
}
|
|
287
|
+
public static com.lansweeper.dp.outbound.v1.HyperVHost parseFrom(
|
|
288
|
+
com.google.protobuf.CodedInputStream input,
|
|
289
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
290
|
+
throws java.io.IOException {
|
|
291
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
292
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
@java.lang.Override
|
|
296
|
+
public Builder newBuilderForType() { return newBuilder(); }
|
|
297
|
+
public static Builder newBuilder() {
|
|
298
|
+
return DEFAULT_INSTANCE.toBuilder();
|
|
299
|
+
}
|
|
300
|
+
public static Builder newBuilder(com.lansweeper.dp.outbound.v1.HyperVHost prototype) {
|
|
301
|
+
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
302
|
+
}
|
|
303
|
+
@java.lang.Override
|
|
304
|
+
public Builder toBuilder() {
|
|
305
|
+
return this == DEFAULT_INSTANCE
|
|
306
|
+
? new Builder() : new Builder().mergeFrom(this);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
@java.lang.Override
|
|
310
|
+
protected Builder newBuilderForType(
|
|
311
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
312
|
+
Builder builder = new Builder(parent);
|
|
313
|
+
return builder;
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.HyperVHost}
|
|
317
|
+
*/
|
|
318
|
+
public static final class Builder extends
|
|
319
|
+
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
320
|
+
// @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.HyperVHost)
|
|
321
|
+
com.lansweeper.dp.outbound.v1.HyperVHostOrBuilder {
|
|
322
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
323
|
+
getDescriptor() {
|
|
324
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_HyperVHost_descriptor;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
@SuppressWarnings({"rawtypes"})
|
|
328
|
+
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
|
|
329
|
+
int number) {
|
|
330
|
+
switch (number) {
|
|
331
|
+
case 1:
|
|
332
|
+
return internalGetHyperVGuestKeys();
|
|
333
|
+
default:
|
|
334
|
+
throw new RuntimeException(
|
|
335
|
+
"Invalid map field number: " + number);
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
@SuppressWarnings({"rawtypes"})
|
|
339
|
+
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
|
|
340
|
+
int number) {
|
|
341
|
+
switch (number) {
|
|
342
|
+
case 1:
|
|
343
|
+
return internalGetMutableHyperVGuestKeys();
|
|
344
|
+
default:
|
|
345
|
+
throw new RuntimeException(
|
|
346
|
+
"Invalid map field number: " + number);
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
@java.lang.Override
|
|
350
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
351
|
+
internalGetFieldAccessorTable() {
|
|
352
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_HyperVHost_fieldAccessorTable
|
|
353
|
+
.ensureFieldAccessorsInitialized(
|
|
354
|
+
com.lansweeper.dp.outbound.v1.HyperVHost.class, com.lansweeper.dp.outbound.v1.HyperVHost.Builder.class);
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
// Construct using com.lansweeper.dp.outbound.v1.HyperVHost.newBuilder()
|
|
358
|
+
private Builder() {
|
|
359
|
+
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
private Builder(
|
|
363
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
364
|
+
super(parent);
|
|
365
|
+
|
|
366
|
+
}
|
|
367
|
+
@java.lang.Override
|
|
368
|
+
public Builder clear() {
|
|
369
|
+
super.clear();
|
|
370
|
+
bitField0_ = 0;
|
|
371
|
+
internalGetMutableHyperVGuestKeys().clear();
|
|
372
|
+
return this;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
@java.lang.Override
|
|
376
|
+
public com.google.protobuf.Descriptors.Descriptor
|
|
377
|
+
getDescriptorForType() {
|
|
378
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_HyperVHost_descriptor;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
@java.lang.Override
|
|
382
|
+
public com.lansweeper.dp.outbound.v1.HyperVHost getDefaultInstanceForType() {
|
|
383
|
+
return com.lansweeper.dp.outbound.v1.HyperVHost.getDefaultInstance();
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
@java.lang.Override
|
|
387
|
+
public com.lansweeper.dp.outbound.v1.HyperVHost build() {
|
|
388
|
+
com.lansweeper.dp.outbound.v1.HyperVHost result = buildPartial();
|
|
389
|
+
if (!result.isInitialized()) {
|
|
390
|
+
throw newUninitializedMessageException(result);
|
|
391
|
+
}
|
|
392
|
+
return result;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
@java.lang.Override
|
|
396
|
+
public com.lansweeper.dp.outbound.v1.HyperVHost buildPartial() {
|
|
397
|
+
com.lansweeper.dp.outbound.v1.HyperVHost result = new com.lansweeper.dp.outbound.v1.HyperVHost(this);
|
|
398
|
+
if (bitField0_ != 0) { buildPartial0(result); }
|
|
399
|
+
onBuilt();
|
|
400
|
+
return result;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
private void buildPartial0(com.lansweeper.dp.outbound.v1.HyperVHost result) {
|
|
404
|
+
int from_bitField0_ = bitField0_;
|
|
405
|
+
if (((from_bitField0_ & 0x00000001) != 0)) {
|
|
406
|
+
result.hyperVGuestKeys_ = internalGetHyperVGuestKeys();
|
|
407
|
+
result.hyperVGuestKeys_.makeImmutable();
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
@java.lang.Override
|
|
412
|
+
public Builder clone() {
|
|
413
|
+
return super.clone();
|
|
414
|
+
}
|
|
415
|
+
@java.lang.Override
|
|
416
|
+
public Builder setField(
|
|
417
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
418
|
+
java.lang.Object value) {
|
|
419
|
+
return super.setField(field, value);
|
|
420
|
+
}
|
|
421
|
+
@java.lang.Override
|
|
422
|
+
public Builder clearField(
|
|
423
|
+
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
424
|
+
return super.clearField(field);
|
|
425
|
+
}
|
|
426
|
+
@java.lang.Override
|
|
427
|
+
public Builder clearOneof(
|
|
428
|
+
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
429
|
+
return super.clearOneof(oneof);
|
|
430
|
+
}
|
|
431
|
+
@java.lang.Override
|
|
432
|
+
public Builder setRepeatedField(
|
|
433
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
434
|
+
int index, java.lang.Object value) {
|
|
435
|
+
return super.setRepeatedField(field, index, value);
|
|
436
|
+
}
|
|
437
|
+
@java.lang.Override
|
|
438
|
+
public Builder addRepeatedField(
|
|
439
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
440
|
+
java.lang.Object value) {
|
|
441
|
+
return super.addRepeatedField(field, value);
|
|
442
|
+
}
|
|
443
|
+
@java.lang.Override
|
|
444
|
+
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
445
|
+
if (other instanceof com.lansweeper.dp.outbound.v1.HyperVHost) {
|
|
446
|
+
return mergeFrom((com.lansweeper.dp.outbound.v1.HyperVHost)other);
|
|
447
|
+
} else {
|
|
448
|
+
super.mergeFrom(other);
|
|
449
|
+
return this;
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
public Builder mergeFrom(com.lansweeper.dp.outbound.v1.HyperVHost other) {
|
|
454
|
+
if (other == com.lansweeper.dp.outbound.v1.HyperVHost.getDefaultInstance()) return this;
|
|
455
|
+
internalGetMutableHyperVGuestKeys().mergeFrom(
|
|
456
|
+
other.internalGetHyperVGuestKeys());
|
|
457
|
+
bitField0_ |= 0x00000001;
|
|
458
|
+
this.mergeUnknownFields(other.getUnknownFields());
|
|
459
|
+
onChanged();
|
|
460
|
+
return this;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
@java.lang.Override
|
|
464
|
+
public final boolean isInitialized() {
|
|
465
|
+
return true;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
@java.lang.Override
|
|
469
|
+
public Builder mergeFrom(
|
|
470
|
+
com.google.protobuf.CodedInputStream input,
|
|
471
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
472
|
+
throws java.io.IOException {
|
|
473
|
+
if (extensionRegistry == null) {
|
|
474
|
+
throw new java.lang.NullPointerException();
|
|
475
|
+
}
|
|
476
|
+
try {
|
|
477
|
+
boolean done = false;
|
|
478
|
+
while (!done) {
|
|
479
|
+
int tag = input.readTag();
|
|
480
|
+
switch (tag) {
|
|
481
|
+
case 0:
|
|
482
|
+
done = true;
|
|
483
|
+
break;
|
|
484
|
+
case 10: {
|
|
485
|
+
com.google.protobuf.MapEntry<java.lang.String, java.lang.Boolean>
|
|
486
|
+
hyperVGuestKeys__ = input.readMessage(
|
|
487
|
+
HyperVGuestKeysDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
|
|
488
|
+
internalGetMutableHyperVGuestKeys().getMutableMap().put(
|
|
489
|
+
hyperVGuestKeys__.getKey(), hyperVGuestKeys__.getValue());
|
|
490
|
+
bitField0_ |= 0x00000001;
|
|
491
|
+
break;
|
|
492
|
+
} // case 10
|
|
493
|
+
default: {
|
|
494
|
+
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
|
495
|
+
done = true; // was an endgroup tag
|
|
496
|
+
}
|
|
497
|
+
break;
|
|
498
|
+
} // default:
|
|
499
|
+
} // switch (tag)
|
|
500
|
+
} // while (!done)
|
|
501
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
502
|
+
throw e.unwrapIOException();
|
|
503
|
+
} finally {
|
|
504
|
+
onChanged();
|
|
505
|
+
} // finally
|
|
506
|
+
return this;
|
|
507
|
+
}
|
|
508
|
+
private int bitField0_;
|
|
509
|
+
|
|
510
|
+
private com.google.protobuf.MapField<
|
|
511
|
+
java.lang.String, java.lang.Boolean> hyperVGuestKeys_;
|
|
512
|
+
private com.google.protobuf.MapField<java.lang.String, java.lang.Boolean>
|
|
513
|
+
internalGetHyperVGuestKeys() {
|
|
514
|
+
if (hyperVGuestKeys_ == null) {
|
|
515
|
+
return com.google.protobuf.MapField.emptyMapField(
|
|
516
|
+
HyperVGuestKeysDefaultEntryHolder.defaultEntry);
|
|
517
|
+
}
|
|
518
|
+
return hyperVGuestKeys_;
|
|
519
|
+
}
|
|
520
|
+
private com.google.protobuf.MapField<java.lang.String, java.lang.Boolean>
|
|
521
|
+
internalGetMutableHyperVGuestKeys() {
|
|
522
|
+
if (hyperVGuestKeys_ == null) {
|
|
523
|
+
hyperVGuestKeys_ = com.google.protobuf.MapField.newMapField(
|
|
524
|
+
HyperVGuestKeysDefaultEntryHolder.defaultEntry);
|
|
525
|
+
}
|
|
526
|
+
if (!hyperVGuestKeys_.isMutable()) {
|
|
527
|
+
hyperVGuestKeys_ = hyperVGuestKeys_.copy();
|
|
528
|
+
}
|
|
529
|
+
bitField0_ |= 0x00000001;
|
|
530
|
+
onChanged();
|
|
531
|
+
return hyperVGuestKeys_;
|
|
532
|
+
}
|
|
533
|
+
public int getHyperVGuestKeysCount() {
|
|
534
|
+
return internalGetHyperVGuestKeys().getMap().size();
|
|
535
|
+
}
|
|
536
|
+
/**
|
|
537
|
+
* <pre>
|
|
538
|
+
* map of hyper-v guest keys, where key is the entity_id of the guest asset
|
|
539
|
+
* </pre>
|
|
540
|
+
*
|
|
541
|
+
* <code>map<string, bool> hyper_v_guest_keys = 1;</code>
|
|
542
|
+
*/
|
|
543
|
+
@java.lang.Override
|
|
544
|
+
public boolean containsHyperVGuestKeys(
|
|
545
|
+
java.lang.String key) {
|
|
546
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
547
|
+
return internalGetHyperVGuestKeys().getMap().containsKey(key);
|
|
548
|
+
}
|
|
549
|
+
/**
|
|
550
|
+
* Use {@link #getHyperVGuestKeysMap()} instead.
|
|
551
|
+
*/
|
|
552
|
+
@java.lang.Override
|
|
553
|
+
@java.lang.Deprecated
|
|
554
|
+
public java.util.Map<java.lang.String, java.lang.Boolean> getHyperVGuestKeys() {
|
|
555
|
+
return getHyperVGuestKeysMap();
|
|
556
|
+
}
|
|
557
|
+
/**
|
|
558
|
+
* <pre>
|
|
559
|
+
* map of hyper-v guest keys, where key is the entity_id of the guest asset
|
|
560
|
+
* </pre>
|
|
561
|
+
*
|
|
562
|
+
* <code>map<string, bool> hyper_v_guest_keys = 1;</code>
|
|
563
|
+
*/
|
|
564
|
+
@java.lang.Override
|
|
565
|
+
public java.util.Map<java.lang.String, java.lang.Boolean> getHyperVGuestKeysMap() {
|
|
566
|
+
return internalGetHyperVGuestKeys().getMap();
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* <pre>
|
|
570
|
+
* map of hyper-v guest keys, where key is the entity_id of the guest asset
|
|
571
|
+
* </pre>
|
|
572
|
+
*
|
|
573
|
+
* <code>map<string, bool> hyper_v_guest_keys = 1;</code>
|
|
574
|
+
*/
|
|
575
|
+
@java.lang.Override
|
|
576
|
+
public boolean getHyperVGuestKeysOrDefault(
|
|
577
|
+
java.lang.String key,
|
|
578
|
+
boolean defaultValue) {
|
|
579
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
580
|
+
java.util.Map<java.lang.String, java.lang.Boolean> map =
|
|
581
|
+
internalGetHyperVGuestKeys().getMap();
|
|
582
|
+
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
583
|
+
}
|
|
584
|
+
/**
|
|
585
|
+
* <pre>
|
|
586
|
+
* map of hyper-v guest keys, where key is the entity_id of the guest asset
|
|
587
|
+
* </pre>
|
|
588
|
+
*
|
|
589
|
+
* <code>map<string, bool> hyper_v_guest_keys = 1;</code>
|
|
590
|
+
*/
|
|
591
|
+
@java.lang.Override
|
|
592
|
+
public boolean getHyperVGuestKeysOrThrow(
|
|
593
|
+
java.lang.String key) {
|
|
594
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
595
|
+
java.util.Map<java.lang.String, java.lang.Boolean> map =
|
|
596
|
+
internalGetHyperVGuestKeys().getMap();
|
|
597
|
+
if (!map.containsKey(key)) {
|
|
598
|
+
throw new java.lang.IllegalArgumentException();
|
|
599
|
+
}
|
|
600
|
+
return map.get(key);
|
|
601
|
+
}
|
|
602
|
+
public Builder clearHyperVGuestKeys() {
|
|
603
|
+
bitField0_ = (bitField0_ & ~0x00000001);
|
|
604
|
+
internalGetMutableHyperVGuestKeys().getMutableMap()
|
|
605
|
+
.clear();
|
|
606
|
+
return this;
|
|
607
|
+
}
|
|
608
|
+
/**
|
|
609
|
+
* <pre>
|
|
610
|
+
* map of hyper-v guest keys, where key is the entity_id of the guest asset
|
|
611
|
+
* </pre>
|
|
612
|
+
*
|
|
613
|
+
* <code>map<string, bool> hyper_v_guest_keys = 1;</code>
|
|
614
|
+
*/
|
|
615
|
+
public Builder removeHyperVGuestKeys(
|
|
616
|
+
java.lang.String key) {
|
|
617
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
618
|
+
internalGetMutableHyperVGuestKeys().getMutableMap()
|
|
619
|
+
.remove(key);
|
|
620
|
+
return this;
|
|
621
|
+
}
|
|
622
|
+
/**
|
|
623
|
+
* Use alternate mutation accessors instead.
|
|
624
|
+
*/
|
|
625
|
+
@java.lang.Deprecated
|
|
626
|
+
public java.util.Map<java.lang.String, java.lang.Boolean>
|
|
627
|
+
getMutableHyperVGuestKeys() {
|
|
628
|
+
bitField0_ |= 0x00000001;
|
|
629
|
+
return internalGetMutableHyperVGuestKeys().getMutableMap();
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* <pre>
|
|
633
|
+
* map of hyper-v guest keys, where key is the entity_id of the guest asset
|
|
634
|
+
* </pre>
|
|
635
|
+
*
|
|
636
|
+
* <code>map<string, bool> hyper_v_guest_keys = 1;</code>
|
|
637
|
+
*/
|
|
638
|
+
public Builder putHyperVGuestKeys(
|
|
639
|
+
java.lang.String key,
|
|
640
|
+
boolean value) {
|
|
641
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
642
|
+
|
|
643
|
+
internalGetMutableHyperVGuestKeys().getMutableMap()
|
|
644
|
+
.put(key, value);
|
|
645
|
+
bitField0_ |= 0x00000001;
|
|
646
|
+
return this;
|
|
647
|
+
}
|
|
648
|
+
/**
|
|
649
|
+
* <pre>
|
|
650
|
+
* map of hyper-v guest keys, where key is the entity_id of the guest asset
|
|
651
|
+
* </pre>
|
|
652
|
+
*
|
|
653
|
+
* <code>map<string, bool> hyper_v_guest_keys = 1;</code>
|
|
654
|
+
*/
|
|
655
|
+
public Builder putAllHyperVGuestKeys(
|
|
656
|
+
java.util.Map<java.lang.String, java.lang.Boolean> values) {
|
|
657
|
+
internalGetMutableHyperVGuestKeys().getMutableMap()
|
|
658
|
+
.putAll(values);
|
|
659
|
+
bitField0_ |= 0x00000001;
|
|
660
|
+
return this;
|
|
661
|
+
}
|
|
662
|
+
@java.lang.Override
|
|
663
|
+
public final Builder setUnknownFields(
|
|
664
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
665
|
+
return super.setUnknownFields(unknownFields);
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
@java.lang.Override
|
|
669
|
+
public final Builder mergeUnknownFields(
|
|
670
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
671
|
+
return super.mergeUnknownFields(unknownFields);
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
// @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.HyperVHost)
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
// @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.HyperVHost)
|
|
679
|
+
private static final com.lansweeper.dp.outbound.v1.HyperVHost DEFAULT_INSTANCE;
|
|
680
|
+
static {
|
|
681
|
+
DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.HyperVHost();
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
public static com.lansweeper.dp.outbound.v1.HyperVHost getDefaultInstance() {
|
|
685
|
+
return DEFAULT_INSTANCE;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
private static final com.google.protobuf.Parser<HyperVHost>
|
|
689
|
+
PARSER = new com.google.protobuf.AbstractParser<HyperVHost>() {
|
|
690
|
+
@java.lang.Override
|
|
691
|
+
public HyperVHost parsePartialFrom(
|
|
692
|
+
com.google.protobuf.CodedInputStream input,
|
|
693
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
694
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
695
|
+
Builder builder = newBuilder();
|
|
696
|
+
try {
|
|
697
|
+
builder.mergeFrom(input, extensionRegistry);
|
|
698
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
699
|
+
throw e.setUnfinishedMessage(builder.buildPartial());
|
|
700
|
+
} catch (com.google.protobuf.UninitializedMessageException e) {
|
|
701
|
+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
|
702
|
+
} catch (java.io.IOException e) {
|
|
703
|
+
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
|
704
|
+
.setUnfinishedMessage(builder.buildPartial());
|
|
705
|
+
}
|
|
706
|
+
return builder.buildPartial();
|
|
707
|
+
}
|
|
708
|
+
};
|
|
709
|
+
|
|
710
|
+
public static com.google.protobuf.Parser<HyperVHost> parser() {
|
|
711
|
+
return PARSER;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
@java.lang.Override
|
|
715
|
+
public com.google.protobuf.Parser<HyperVHost> getParserForType() {
|
|
716
|
+
return PARSER;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
@java.lang.Override
|
|
720
|
+
public com.lansweeper.dp.outbound.v1.HyperVHost getDefaultInstanceForType() {
|
|
721
|
+
return DEFAULT_INSTANCE;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
}
|
|
725
|
+
|