@lansweeper/data-platform-outbound-grpc 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +21 -0
- package/gen-proto/outbound_pb.js +189 -12
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +9 -2
- package/src/main/java/com/lansweeper/dp/outbound/v1/Asset.java +2132 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +144 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/AssetType.java +801 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/AssetTypeOrBuilder.java +58 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrand.java +4433 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrandOrBuilder.java +446 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModel.java +4089 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModelOrBuilder.java +422 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogMonitor.java +484 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogMonitorOrBuilder.java +15 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOs.java +3858 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOsOrBuilder.java +384 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogSoftware.java +3315 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogSoftwareOrBuilder.java +332 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CoreFields.java +1731 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CoreFieldsOrBuilder.java +138 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/Entity.java +762 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/EntityOrBuilder.java +41 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/EntityPath.java +1283 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/EntityPathOrBuilder.java +113 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityRequest.java +655 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityRequestOrBuilder.java +36 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityResponse.java +1193 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityResponseOrBuilder.java +71 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/HardwareInfo.java +2702 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/HardwareInfoOrBuilder.java +237 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityRequest.java +655 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityRequestOrBuilder.java +36 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityResponse.java +958 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityResponseOrBuilder.java +48 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/OperatingSystemInfo.java +2332 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/OperatingSystemInfoOrBuilder.java +191 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/Outbound.java +286 -42943
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawHardwareInfo.java +1073 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawHardwareInfoOrBuilder.java +77 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftware.java +1894 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftwareOrBuilder.java +187 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/Software.java +2797 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventory.java +958 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventoryOrBuilder.java +48 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareOrBuilder.java +258 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawOperatingSystemInfo.java +1846 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawOperatingSystemInfoOrBuilder.java +205 -0
|
@@ -0,0 +1,1283 @@
|
|
|
1
|
+
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
// source: packages/data.platform/outbound/grpc/proto/outbound.proto
|
|
3
|
+
|
|
4
|
+
package com.lansweeper.dp.outbound.v1;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.EntityPath}
|
|
8
|
+
*/
|
|
9
|
+
public final class EntityPath extends
|
|
10
|
+
com.google.protobuf.GeneratedMessageV3 implements
|
|
11
|
+
// @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.EntityPath)
|
|
12
|
+
EntityPathOrBuilder {
|
|
13
|
+
private static final long serialVersionUID = 0L;
|
|
14
|
+
// Use EntityPath.newBuilder() to construct.
|
|
15
|
+
private EntityPath(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
16
|
+
super(builder);
|
|
17
|
+
}
|
|
18
|
+
private EntityPath() {
|
|
19
|
+
siteId_ = "";
|
|
20
|
+
sourceId_ = "";
|
|
21
|
+
sourceType_ = "";
|
|
22
|
+
entityType_ = "";
|
|
23
|
+
entityId_ = "";
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@java.lang.Override
|
|
27
|
+
@SuppressWarnings({"unused"})
|
|
28
|
+
protected java.lang.Object newInstance(
|
|
29
|
+
UnusedPrivateParameter unused) {
|
|
30
|
+
return new EntityPath();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@java.lang.Override
|
|
34
|
+
public final com.google.protobuf.UnknownFieldSet
|
|
35
|
+
getUnknownFields() {
|
|
36
|
+
return this.unknownFields;
|
|
37
|
+
}
|
|
38
|
+
private EntityPath(
|
|
39
|
+
com.google.protobuf.CodedInputStream input,
|
|
40
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
41
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
42
|
+
this();
|
|
43
|
+
if (extensionRegistry == null) {
|
|
44
|
+
throw new java.lang.NullPointerException();
|
|
45
|
+
}
|
|
46
|
+
int mutable_bitField0_ = 0;
|
|
47
|
+
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
48
|
+
com.google.protobuf.UnknownFieldSet.newBuilder();
|
|
49
|
+
try {
|
|
50
|
+
boolean done = false;
|
|
51
|
+
while (!done) {
|
|
52
|
+
int tag = input.readTag();
|
|
53
|
+
switch (tag) {
|
|
54
|
+
case 0:
|
|
55
|
+
done = true;
|
|
56
|
+
break;
|
|
57
|
+
case 10: {
|
|
58
|
+
java.lang.String s = input.readStringRequireUtf8();
|
|
59
|
+
|
|
60
|
+
siteId_ = s;
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
case 18: {
|
|
64
|
+
java.lang.String s = input.readStringRequireUtf8();
|
|
65
|
+
bitField0_ |= 0x00000001;
|
|
66
|
+
sourceId_ = s;
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
case 26: {
|
|
70
|
+
java.lang.String s = input.readStringRequireUtf8();
|
|
71
|
+
bitField0_ |= 0x00000002;
|
|
72
|
+
sourceType_ = s;
|
|
73
|
+
break;
|
|
74
|
+
}
|
|
75
|
+
case 34: {
|
|
76
|
+
java.lang.String s = input.readStringRequireUtf8();
|
|
77
|
+
bitField0_ |= 0x00000004;
|
|
78
|
+
entityType_ = s;
|
|
79
|
+
break;
|
|
80
|
+
}
|
|
81
|
+
case 42: {
|
|
82
|
+
java.lang.String s = input.readStringRequireUtf8();
|
|
83
|
+
bitField0_ |= 0x00000008;
|
|
84
|
+
entityId_ = s;
|
|
85
|
+
break;
|
|
86
|
+
}
|
|
87
|
+
default: {
|
|
88
|
+
if (!parseUnknownField(
|
|
89
|
+
input, unknownFields, extensionRegistry, tag)) {
|
|
90
|
+
done = true;
|
|
91
|
+
}
|
|
92
|
+
break;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
97
|
+
throw e.setUnfinishedMessage(this);
|
|
98
|
+
} catch (java.io.IOException e) {
|
|
99
|
+
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
100
|
+
e).setUnfinishedMessage(this);
|
|
101
|
+
} finally {
|
|
102
|
+
this.unknownFields = unknownFields.build();
|
|
103
|
+
makeExtensionsImmutable();
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
107
|
+
getDescriptor() {
|
|
108
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_EntityPath_descriptor;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@java.lang.Override
|
|
112
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
113
|
+
internalGetFieldAccessorTable() {
|
|
114
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_EntityPath_fieldAccessorTable
|
|
115
|
+
.ensureFieldAccessorsInitialized(
|
|
116
|
+
com.lansweeper.dp.outbound.v1.EntityPath.class, com.lansweeper.dp.outbound.v1.EntityPath.Builder.class);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
private int bitField0_;
|
|
120
|
+
public static final int SITE_ID_FIELD_NUMBER = 1;
|
|
121
|
+
private volatile java.lang.Object siteId_;
|
|
122
|
+
/**
|
|
123
|
+
* <code>string site_id = 1;</code>
|
|
124
|
+
* @return The siteId.
|
|
125
|
+
*/
|
|
126
|
+
@java.lang.Override
|
|
127
|
+
public java.lang.String getSiteId() {
|
|
128
|
+
java.lang.Object ref = siteId_;
|
|
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
|
+
siteId_ = s;
|
|
136
|
+
return s;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* <code>string site_id = 1;</code>
|
|
141
|
+
* @return The bytes for siteId.
|
|
142
|
+
*/
|
|
143
|
+
@java.lang.Override
|
|
144
|
+
public com.google.protobuf.ByteString
|
|
145
|
+
getSiteIdBytes() {
|
|
146
|
+
java.lang.Object ref = siteId_;
|
|
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
|
+
siteId_ = b;
|
|
152
|
+
return b;
|
|
153
|
+
} else {
|
|
154
|
+
return (com.google.protobuf.ByteString) ref;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
public static final int SOURCE_ID_FIELD_NUMBER = 2;
|
|
159
|
+
private volatile java.lang.Object sourceId_;
|
|
160
|
+
/**
|
|
161
|
+
* <code>string source_id = 2;</code>
|
|
162
|
+
* @return Whether the sourceId field is set.
|
|
163
|
+
*/
|
|
164
|
+
@java.lang.Override
|
|
165
|
+
public boolean hasSourceId() {
|
|
166
|
+
return ((bitField0_ & 0x00000001) != 0);
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* <code>string source_id = 2;</code>
|
|
170
|
+
* @return The sourceId.
|
|
171
|
+
*/
|
|
172
|
+
@java.lang.Override
|
|
173
|
+
public java.lang.String getSourceId() {
|
|
174
|
+
java.lang.Object ref = sourceId_;
|
|
175
|
+
if (ref instanceof java.lang.String) {
|
|
176
|
+
return (java.lang.String) ref;
|
|
177
|
+
} else {
|
|
178
|
+
com.google.protobuf.ByteString bs =
|
|
179
|
+
(com.google.protobuf.ByteString) ref;
|
|
180
|
+
java.lang.String s = bs.toStringUtf8();
|
|
181
|
+
sourceId_ = s;
|
|
182
|
+
return s;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* <code>string source_id = 2;</code>
|
|
187
|
+
* @return The bytes for sourceId.
|
|
188
|
+
*/
|
|
189
|
+
@java.lang.Override
|
|
190
|
+
public com.google.protobuf.ByteString
|
|
191
|
+
getSourceIdBytes() {
|
|
192
|
+
java.lang.Object ref = sourceId_;
|
|
193
|
+
if (ref instanceof java.lang.String) {
|
|
194
|
+
com.google.protobuf.ByteString b =
|
|
195
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
196
|
+
(java.lang.String) ref);
|
|
197
|
+
sourceId_ = b;
|
|
198
|
+
return b;
|
|
199
|
+
} else {
|
|
200
|
+
return (com.google.protobuf.ByteString) ref;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
public static final int SOURCE_TYPE_FIELD_NUMBER = 3;
|
|
205
|
+
private volatile java.lang.Object sourceType_;
|
|
206
|
+
/**
|
|
207
|
+
* <pre>
|
|
208
|
+
* IT, OT, CDK, 3rdParty
|
|
209
|
+
* </pre>
|
|
210
|
+
*
|
|
211
|
+
* <code>string source_type = 3;</code>
|
|
212
|
+
* @return Whether the sourceType field is set.
|
|
213
|
+
*/
|
|
214
|
+
@java.lang.Override
|
|
215
|
+
public boolean hasSourceType() {
|
|
216
|
+
return ((bitField0_ & 0x00000002) != 0);
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* <pre>
|
|
220
|
+
* IT, OT, CDK, 3rdParty
|
|
221
|
+
* </pre>
|
|
222
|
+
*
|
|
223
|
+
* <code>string source_type = 3;</code>
|
|
224
|
+
* @return The sourceType.
|
|
225
|
+
*/
|
|
226
|
+
@java.lang.Override
|
|
227
|
+
public java.lang.String getSourceType() {
|
|
228
|
+
java.lang.Object ref = sourceType_;
|
|
229
|
+
if (ref instanceof java.lang.String) {
|
|
230
|
+
return (java.lang.String) ref;
|
|
231
|
+
} else {
|
|
232
|
+
com.google.protobuf.ByteString bs =
|
|
233
|
+
(com.google.protobuf.ByteString) ref;
|
|
234
|
+
java.lang.String s = bs.toStringUtf8();
|
|
235
|
+
sourceType_ = s;
|
|
236
|
+
return s;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* <pre>
|
|
241
|
+
* IT, OT, CDK, 3rdParty
|
|
242
|
+
* </pre>
|
|
243
|
+
*
|
|
244
|
+
* <code>string source_type = 3;</code>
|
|
245
|
+
* @return The bytes for sourceType.
|
|
246
|
+
*/
|
|
247
|
+
@java.lang.Override
|
|
248
|
+
public com.google.protobuf.ByteString
|
|
249
|
+
getSourceTypeBytes() {
|
|
250
|
+
java.lang.Object ref = sourceType_;
|
|
251
|
+
if (ref instanceof java.lang.String) {
|
|
252
|
+
com.google.protobuf.ByteString b =
|
|
253
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
254
|
+
(java.lang.String) ref);
|
|
255
|
+
sourceType_ = b;
|
|
256
|
+
return b;
|
|
257
|
+
} else {
|
|
258
|
+
return (com.google.protobuf.ByteString) ref;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
public static final int ENTITY_TYPE_FIELD_NUMBER = 4;
|
|
263
|
+
private volatile java.lang.Object entityType_;
|
|
264
|
+
/**
|
|
265
|
+
* <pre>
|
|
266
|
+
* "asset" "user" etc
|
|
267
|
+
* </pre>
|
|
268
|
+
*
|
|
269
|
+
* <code>string entity_type = 4;</code>
|
|
270
|
+
* @return Whether the entityType field is set.
|
|
271
|
+
*/
|
|
272
|
+
@java.lang.Override
|
|
273
|
+
public boolean hasEntityType() {
|
|
274
|
+
return ((bitField0_ & 0x00000004) != 0);
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* <pre>
|
|
278
|
+
* "asset" "user" etc
|
|
279
|
+
* </pre>
|
|
280
|
+
*
|
|
281
|
+
* <code>string entity_type = 4;</code>
|
|
282
|
+
* @return The entityType.
|
|
283
|
+
*/
|
|
284
|
+
@java.lang.Override
|
|
285
|
+
public java.lang.String getEntityType() {
|
|
286
|
+
java.lang.Object ref = entityType_;
|
|
287
|
+
if (ref instanceof java.lang.String) {
|
|
288
|
+
return (java.lang.String) ref;
|
|
289
|
+
} else {
|
|
290
|
+
com.google.protobuf.ByteString bs =
|
|
291
|
+
(com.google.protobuf.ByteString) ref;
|
|
292
|
+
java.lang.String s = bs.toStringUtf8();
|
|
293
|
+
entityType_ = s;
|
|
294
|
+
return s;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* <pre>
|
|
299
|
+
* "asset" "user" etc
|
|
300
|
+
* </pre>
|
|
301
|
+
*
|
|
302
|
+
* <code>string entity_type = 4;</code>
|
|
303
|
+
* @return The bytes for entityType.
|
|
304
|
+
*/
|
|
305
|
+
@java.lang.Override
|
|
306
|
+
public com.google.protobuf.ByteString
|
|
307
|
+
getEntityTypeBytes() {
|
|
308
|
+
java.lang.Object ref = entityType_;
|
|
309
|
+
if (ref instanceof java.lang.String) {
|
|
310
|
+
com.google.protobuf.ByteString b =
|
|
311
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
312
|
+
(java.lang.String) ref);
|
|
313
|
+
entityType_ = b;
|
|
314
|
+
return b;
|
|
315
|
+
} else {
|
|
316
|
+
return (com.google.protobuf.ByteString) ref;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
public static final int ENTITY_ID_FIELD_NUMBER = 5;
|
|
321
|
+
private volatile java.lang.Object entityId_;
|
|
322
|
+
/**
|
|
323
|
+
* <code>string entity_id = 5;</code>
|
|
324
|
+
* @return Whether the entityId field is set.
|
|
325
|
+
*/
|
|
326
|
+
@java.lang.Override
|
|
327
|
+
public boolean hasEntityId() {
|
|
328
|
+
return ((bitField0_ & 0x00000008) != 0);
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* <code>string entity_id = 5;</code>
|
|
332
|
+
* @return The entityId.
|
|
333
|
+
*/
|
|
334
|
+
@java.lang.Override
|
|
335
|
+
public java.lang.String getEntityId() {
|
|
336
|
+
java.lang.Object ref = entityId_;
|
|
337
|
+
if (ref instanceof java.lang.String) {
|
|
338
|
+
return (java.lang.String) ref;
|
|
339
|
+
} else {
|
|
340
|
+
com.google.protobuf.ByteString bs =
|
|
341
|
+
(com.google.protobuf.ByteString) ref;
|
|
342
|
+
java.lang.String s = bs.toStringUtf8();
|
|
343
|
+
entityId_ = s;
|
|
344
|
+
return s;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* <code>string entity_id = 5;</code>
|
|
349
|
+
* @return The bytes for entityId.
|
|
350
|
+
*/
|
|
351
|
+
@java.lang.Override
|
|
352
|
+
public com.google.protobuf.ByteString
|
|
353
|
+
getEntityIdBytes() {
|
|
354
|
+
java.lang.Object ref = entityId_;
|
|
355
|
+
if (ref instanceof java.lang.String) {
|
|
356
|
+
com.google.protobuf.ByteString b =
|
|
357
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
358
|
+
(java.lang.String) ref);
|
|
359
|
+
entityId_ = b;
|
|
360
|
+
return b;
|
|
361
|
+
} else {
|
|
362
|
+
return (com.google.protobuf.ByteString) ref;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
private byte memoizedIsInitialized = -1;
|
|
367
|
+
@java.lang.Override
|
|
368
|
+
public final boolean isInitialized() {
|
|
369
|
+
byte isInitialized = memoizedIsInitialized;
|
|
370
|
+
if (isInitialized == 1) return true;
|
|
371
|
+
if (isInitialized == 0) return false;
|
|
372
|
+
|
|
373
|
+
memoizedIsInitialized = 1;
|
|
374
|
+
return true;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
@java.lang.Override
|
|
378
|
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
379
|
+
throws java.io.IOException {
|
|
380
|
+
if (!getSiteIdBytes().isEmpty()) {
|
|
381
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, siteId_);
|
|
382
|
+
}
|
|
383
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
384
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceId_);
|
|
385
|
+
}
|
|
386
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
387
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sourceType_);
|
|
388
|
+
}
|
|
389
|
+
if (((bitField0_ & 0x00000004) != 0)) {
|
|
390
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, entityType_);
|
|
391
|
+
}
|
|
392
|
+
if (((bitField0_ & 0x00000008) != 0)) {
|
|
393
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, entityId_);
|
|
394
|
+
}
|
|
395
|
+
unknownFields.writeTo(output);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
@java.lang.Override
|
|
399
|
+
public int getSerializedSize() {
|
|
400
|
+
int size = memoizedSize;
|
|
401
|
+
if (size != -1) return size;
|
|
402
|
+
|
|
403
|
+
size = 0;
|
|
404
|
+
if (!getSiteIdBytes().isEmpty()) {
|
|
405
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, siteId_);
|
|
406
|
+
}
|
|
407
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
408
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceId_);
|
|
409
|
+
}
|
|
410
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
411
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sourceType_);
|
|
412
|
+
}
|
|
413
|
+
if (((bitField0_ & 0x00000004) != 0)) {
|
|
414
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, entityType_);
|
|
415
|
+
}
|
|
416
|
+
if (((bitField0_ & 0x00000008) != 0)) {
|
|
417
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, entityId_);
|
|
418
|
+
}
|
|
419
|
+
size += unknownFields.getSerializedSize();
|
|
420
|
+
memoizedSize = size;
|
|
421
|
+
return size;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
@java.lang.Override
|
|
425
|
+
public boolean equals(final java.lang.Object obj) {
|
|
426
|
+
if (obj == this) {
|
|
427
|
+
return true;
|
|
428
|
+
}
|
|
429
|
+
if (!(obj instanceof com.lansweeper.dp.outbound.v1.EntityPath)) {
|
|
430
|
+
return super.equals(obj);
|
|
431
|
+
}
|
|
432
|
+
com.lansweeper.dp.outbound.v1.EntityPath other = (com.lansweeper.dp.outbound.v1.EntityPath) obj;
|
|
433
|
+
|
|
434
|
+
if (!getSiteId()
|
|
435
|
+
.equals(other.getSiteId())) return false;
|
|
436
|
+
if (hasSourceId() != other.hasSourceId()) return false;
|
|
437
|
+
if (hasSourceId()) {
|
|
438
|
+
if (!getSourceId()
|
|
439
|
+
.equals(other.getSourceId())) return false;
|
|
440
|
+
}
|
|
441
|
+
if (hasSourceType() != other.hasSourceType()) return false;
|
|
442
|
+
if (hasSourceType()) {
|
|
443
|
+
if (!getSourceType()
|
|
444
|
+
.equals(other.getSourceType())) return false;
|
|
445
|
+
}
|
|
446
|
+
if (hasEntityType() != other.hasEntityType()) return false;
|
|
447
|
+
if (hasEntityType()) {
|
|
448
|
+
if (!getEntityType()
|
|
449
|
+
.equals(other.getEntityType())) return false;
|
|
450
|
+
}
|
|
451
|
+
if (hasEntityId() != other.hasEntityId()) return false;
|
|
452
|
+
if (hasEntityId()) {
|
|
453
|
+
if (!getEntityId()
|
|
454
|
+
.equals(other.getEntityId())) return false;
|
|
455
|
+
}
|
|
456
|
+
if (!unknownFields.equals(other.unknownFields)) 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
|
+
hash = (37 * hash) + SITE_ID_FIELD_NUMBER;
|
|
468
|
+
hash = (53 * hash) + getSiteId().hashCode();
|
|
469
|
+
if (hasSourceId()) {
|
|
470
|
+
hash = (37 * hash) + SOURCE_ID_FIELD_NUMBER;
|
|
471
|
+
hash = (53 * hash) + getSourceId().hashCode();
|
|
472
|
+
}
|
|
473
|
+
if (hasSourceType()) {
|
|
474
|
+
hash = (37 * hash) + SOURCE_TYPE_FIELD_NUMBER;
|
|
475
|
+
hash = (53 * hash) + getSourceType().hashCode();
|
|
476
|
+
}
|
|
477
|
+
if (hasEntityType()) {
|
|
478
|
+
hash = (37 * hash) + ENTITY_TYPE_FIELD_NUMBER;
|
|
479
|
+
hash = (53 * hash) + getEntityType().hashCode();
|
|
480
|
+
}
|
|
481
|
+
if (hasEntityId()) {
|
|
482
|
+
hash = (37 * hash) + ENTITY_ID_FIELD_NUMBER;
|
|
483
|
+
hash = (53 * hash) + getEntityId().hashCode();
|
|
484
|
+
}
|
|
485
|
+
hash = (29 * hash) + unknownFields.hashCode();
|
|
486
|
+
memoizedHashCode = hash;
|
|
487
|
+
return hash;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
public static com.lansweeper.dp.outbound.v1.EntityPath parseFrom(
|
|
491
|
+
java.nio.ByteBuffer data)
|
|
492
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
493
|
+
return PARSER.parseFrom(data);
|
|
494
|
+
}
|
|
495
|
+
public static com.lansweeper.dp.outbound.v1.EntityPath parseFrom(
|
|
496
|
+
java.nio.ByteBuffer data,
|
|
497
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
498
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
499
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
500
|
+
}
|
|
501
|
+
public static com.lansweeper.dp.outbound.v1.EntityPath parseFrom(
|
|
502
|
+
com.google.protobuf.ByteString data)
|
|
503
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
504
|
+
return PARSER.parseFrom(data);
|
|
505
|
+
}
|
|
506
|
+
public static com.lansweeper.dp.outbound.v1.EntityPath parseFrom(
|
|
507
|
+
com.google.protobuf.ByteString data,
|
|
508
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
509
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
510
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
511
|
+
}
|
|
512
|
+
public static com.lansweeper.dp.outbound.v1.EntityPath parseFrom(byte[] data)
|
|
513
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
514
|
+
return PARSER.parseFrom(data);
|
|
515
|
+
}
|
|
516
|
+
public static com.lansweeper.dp.outbound.v1.EntityPath parseFrom(
|
|
517
|
+
byte[] data,
|
|
518
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
519
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
520
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
521
|
+
}
|
|
522
|
+
public static com.lansweeper.dp.outbound.v1.EntityPath parseFrom(java.io.InputStream input)
|
|
523
|
+
throws java.io.IOException {
|
|
524
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
525
|
+
.parseWithIOException(PARSER, input);
|
|
526
|
+
}
|
|
527
|
+
public static com.lansweeper.dp.outbound.v1.EntityPath parseFrom(
|
|
528
|
+
java.io.InputStream input,
|
|
529
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
530
|
+
throws java.io.IOException {
|
|
531
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
532
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
533
|
+
}
|
|
534
|
+
public static com.lansweeper.dp.outbound.v1.EntityPath parseDelimitedFrom(java.io.InputStream input)
|
|
535
|
+
throws java.io.IOException {
|
|
536
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
537
|
+
.parseDelimitedWithIOException(PARSER, input);
|
|
538
|
+
}
|
|
539
|
+
public static com.lansweeper.dp.outbound.v1.EntityPath parseDelimitedFrom(
|
|
540
|
+
java.io.InputStream input,
|
|
541
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
542
|
+
throws java.io.IOException {
|
|
543
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
544
|
+
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
545
|
+
}
|
|
546
|
+
public static com.lansweeper.dp.outbound.v1.EntityPath parseFrom(
|
|
547
|
+
com.google.protobuf.CodedInputStream input)
|
|
548
|
+
throws java.io.IOException {
|
|
549
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
550
|
+
.parseWithIOException(PARSER, input);
|
|
551
|
+
}
|
|
552
|
+
public static com.lansweeper.dp.outbound.v1.EntityPath parseFrom(
|
|
553
|
+
com.google.protobuf.CodedInputStream input,
|
|
554
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
555
|
+
throws java.io.IOException {
|
|
556
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
557
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
@java.lang.Override
|
|
561
|
+
public Builder newBuilderForType() { return newBuilder(); }
|
|
562
|
+
public static Builder newBuilder() {
|
|
563
|
+
return DEFAULT_INSTANCE.toBuilder();
|
|
564
|
+
}
|
|
565
|
+
public static Builder newBuilder(com.lansweeper.dp.outbound.v1.EntityPath prototype) {
|
|
566
|
+
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
567
|
+
}
|
|
568
|
+
@java.lang.Override
|
|
569
|
+
public Builder toBuilder() {
|
|
570
|
+
return this == DEFAULT_INSTANCE
|
|
571
|
+
? new Builder() : new Builder().mergeFrom(this);
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
@java.lang.Override
|
|
575
|
+
protected Builder newBuilderForType(
|
|
576
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
577
|
+
Builder builder = new Builder(parent);
|
|
578
|
+
return builder;
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.EntityPath}
|
|
582
|
+
*/
|
|
583
|
+
public static final class Builder extends
|
|
584
|
+
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
585
|
+
// @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.EntityPath)
|
|
586
|
+
com.lansweeper.dp.outbound.v1.EntityPathOrBuilder {
|
|
587
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
588
|
+
getDescriptor() {
|
|
589
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_EntityPath_descriptor;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
@java.lang.Override
|
|
593
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
594
|
+
internalGetFieldAccessorTable() {
|
|
595
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_EntityPath_fieldAccessorTable
|
|
596
|
+
.ensureFieldAccessorsInitialized(
|
|
597
|
+
com.lansweeper.dp.outbound.v1.EntityPath.class, com.lansweeper.dp.outbound.v1.EntityPath.Builder.class);
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
// Construct using com.lansweeper.dp.outbound.v1.EntityPath.newBuilder()
|
|
601
|
+
private Builder() {
|
|
602
|
+
maybeForceBuilderInitialization();
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
private Builder(
|
|
606
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
607
|
+
super(parent);
|
|
608
|
+
maybeForceBuilderInitialization();
|
|
609
|
+
}
|
|
610
|
+
private void maybeForceBuilderInitialization() {
|
|
611
|
+
if (com.google.protobuf.GeneratedMessageV3
|
|
612
|
+
.alwaysUseFieldBuilders) {
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
@java.lang.Override
|
|
616
|
+
public Builder clear() {
|
|
617
|
+
super.clear();
|
|
618
|
+
siteId_ = "";
|
|
619
|
+
|
|
620
|
+
sourceId_ = "";
|
|
621
|
+
bitField0_ = (bitField0_ & ~0x00000001);
|
|
622
|
+
sourceType_ = "";
|
|
623
|
+
bitField0_ = (bitField0_ & ~0x00000002);
|
|
624
|
+
entityType_ = "";
|
|
625
|
+
bitField0_ = (bitField0_ & ~0x00000004);
|
|
626
|
+
entityId_ = "";
|
|
627
|
+
bitField0_ = (bitField0_ & ~0x00000008);
|
|
628
|
+
return this;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
@java.lang.Override
|
|
632
|
+
public com.google.protobuf.Descriptors.Descriptor
|
|
633
|
+
getDescriptorForType() {
|
|
634
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_EntityPath_descriptor;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
@java.lang.Override
|
|
638
|
+
public com.lansweeper.dp.outbound.v1.EntityPath getDefaultInstanceForType() {
|
|
639
|
+
return com.lansweeper.dp.outbound.v1.EntityPath.getDefaultInstance();
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
@java.lang.Override
|
|
643
|
+
public com.lansweeper.dp.outbound.v1.EntityPath build() {
|
|
644
|
+
com.lansweeper.dp.outbound.v1.EntityPath result = buildPartial();
|
|
645
|
+
if (!result.isInitialized()) {
|
|
646
|
+
throw newUninitializedMessageException(result);
|
|
647
|
+
}
|
|
648
|
+
return result;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
@java.lang.Override
|
|
652
|
+
public com.lansweeper.dp.outbound.v1.EntityPath buildPartial() {
|
|
653
|
+
com.lansweeper.dp.outbound.v1.EntityPath result = new com.lansweeper.dp.outbound.v1.EntityPath(this);
|
|
654
|
+
int from_bitField0_ = bitField0_;
|
|
655
|
+
int to_bitField0_ = 0;
|
|
656
|
+
result.siteId_ = siteId_;
|
|
657
|
+
if (((from_bitField0_ & 0x00000001) != 0)) {
|
|
658
|
+
to_bitField0_ |= 0x00000001;
|
|
659
|
+
}
|
|
660
|
+
result.sourceId_ = sourceId_;
|
|
661
|
+
if (((from_bitField0_ & 0x00000002) != 0)) {
|
|
662
|
+
to_bitField0_ |= 0x00000002;
|
|
663
|
+
}
|
|
664
|
+
result.sourceType_ = sourceType_;
|
|
665
|
+
if (((from_bitField0_ & 0x00000004) != 0)) {
|
|
666
|
+
to_bitField0_ |= 0x00000004;
|
|
667
|
+
}
|
|
668
|
+
result.entityType_ = entityType_;
|
|
669
|
+
if (((from_bitField0_ & 0x00000008) != 0)) {
|
|
670
|
+
to_bitField0_ |= 0x00000008;
|
|
671
|
+
}
|
|
672
|
+
result.entityId_ = entityId_;
|
|
673
|
+
result.bitField0_ = to_bitField0_;
|
|
674
|
+
onBuilt();
|
|
675
|
+
return result;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
@java.lang.Override
|
|
679
|
+
public Builder clone() {
|
|
680
|
+
return super.clone();
|
|
681
|
+
}
|
|
682
|
+
@java.lang.Override
|
|
683
|
+
public Builder setField(
|
|
684
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
685
|
+
java.lang.Object value) {
|
|
686
|
+
return super.setField(field, value);
|
|
687
|
+
}
|
|
688
|
+
@java.lang.Override
|
|
689
|
+
public Builder clearField(
|
|
690
|
+
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
691
|
+
return super.clearField(field);
|
|
692
|
+
}
|
|
693
|
+
@java.lang.Override
|
|
694
|
+
public Builder clearOneof(
|
|
695
|
+
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
696
|
+
return super.clearOneof(oneof);
|
|
697
|
+
}
|
|
698
|
+
@java.lang.Override
|
|
699
|
+
public Builder setRepeatedField(
|
|
700
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
701
|
+
int index, java.lang.Object value) {
|
|
702
|
+
return super.setRepeatedField(field, index, value);
|
|
703
|
+
}
|
|
704
|
+
@java.lang.Override
|
|
705
|
+
public Builder addRepeatedField(
|
|
706
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
707
|
+
java.lang.Object value) {
|
|
708
|
+
return super.addRepeatedField(field, value);
|
|
709
|
+
}
|
|
710
|
+
@java.lang.Override
|
|
711
|
+
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
712
|
+
if (other instanceof com.lansweeper.dp.outbound.v1.EntityPath) {
|
|
713
|
+
return mergeFrom((com.lansweeper.dp.outbound.v1.EntityPath)other);
|
|
714
|
+
} else {
|
|
715
|
+
super.mergeFrom(other);
|
|
716
|
+
return this;
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
public Builder mergeFrom(com.lansweeper.dp.outbound.v1.EntityPath other) {
|
|
721
|
+
if (other == com.lansweeper.dp.outbound.v1.EntityPath.getDefaultInstance()) return this;
|
|
722
|
+
if (!other.getSiteId().isEmpty()) {
|
|
723
|
+
siteId_ = other.siteId_;
|
|
724
|
+
onChanged();
|
|
725
|
+
}
|
|
726
|
+
if (other.hasSourceId()) {
|
|
727
|
+
bitField0_ |= 0x00000001;
|
|
728
|
+
sourceId_ = other.sourceId_;
|
|
729
|
+
onChanged();
|
|
730
|
+
}
|
|
731
|
+
if (other.hasSourceType()) {
|
|
732
|
+
bitField0_ |= 0x00000002;
|
|
733
|
+
sourceType_ = other.sourceType_;
|
|
734
|
+
onChanged();
|
|
735
|
+
}
|
|
736
|
+
if (other.hasEntityType()) {
|
|
737
|
+
bitField0_ |= 0x00000004;
|
|
738
|
+
entityType_ = other.entityType_;
|
|
739
|
+
onChanged();
|
|
740
|
+
}
|
|
741
|
+
if (other.hasEntityId()) {
|
|
742
|
+
bitField0_ |= 0x00000008;
|
|
743
|
+
entityId_ = other.entityId_;
|
|
744
|
+
onChanged();
|
|
745
|
+
}
|
|
746
|
+
this.mergeUnknownFields(other.unknownFields);
|
|
747
|
+
onChanged();
|
|
748
|
+
return this;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
@java.lang.Override
|
|
752
|
+
public final boolean isInitialized() {
|
|
753
|
+
return true;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
@java.lang.Override
|
|
757
|
+
public Builder mergeFrom(
|
|
758
|
+
com.google.protobuf.CodedInputStream input,
|
|
759
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
760
|
+
throws java.io.IOException {
|
|
761
|
+
com.lansweeper.dp.outbound.v1.EntityPath parsedMessage = null;
|
|
762
|
+
try {
|
|
763
|
+
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
764
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
765
|
+
parsedMessage = (com.lansweeper.dp.outbound.v1.EntityPath) e.getUnfinishedMessage();
|
|
766
|
+
throw e.unwrapIOException();
|
|
767
|
+
} finally {
|
|
768
|
+
if (parsedMessage != null) {
|
|
769
|
+
mergeFrom(parsedMessage);
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
return this;
|
|
773
|
+
}
|
|
774
|
+
private int bitField0_;
|
|
775
|
+
|
|
776
|
+
private java.lang.Object siteId_ = "";
|
|
777
|
+
/**
|
|
778
|
+
* <code>string site_id = 1;</code>
|
|
779
|
+
* @return The siteId.
|
|
780
|
+
*/
|
|
781
|
+
public java.lang.String getSiteId() {
|
|
782
|
+
java.lang.Object ref = siteId_;
|
|
783
|
+
if (!(ref instanceof java.lang.String)) {
|
|
784
|
+
com.google.protobuf.ByteString bs =
|
|
785
|
+
(com.google.protobuf.ByteString) ref;
|
|
786
|
+
java.lang.String s = bs.toStringUtf8();
|
|
787
|
+
siteId_ = s;
|
|
788
|
+
return s;
|
|
789
|
+
} else {
|
|
790
|
+
return (java.lang.String) ref;
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
/**
|
|
794
|
+
* <code>string site_id = 1;</code>
|
|
795
|
+
* @return The bytes for siteId.
|
|
796
|
+
*/
|
|
797
|
+
public com.google.protobuf.ByteString
|
|
798
|
+
getSiteIdBytes() {
|
|
799
|
+
java.lang.Object ref = siteId_;
|
|
800
|
+
if (ref instanceof String) {
|
|
801
|
+
com.google.protobuf.ByteString b =
|
|
802
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
803
|
+
(java.lang.String) ref);
|
|
804
|
+
siteId_ = b;
|
|
805
|
+
return b;
|
|
806
|
+
} else {
|
|
807
|
+
return (com.google.protobuf.ByteString) ref;
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* <code>string site_id = 1;</code>
|
|
812
|
+
* @param value The siteId to set.
|
|
813
|
+
* @return This builder for chaining.
|
|
814
|
+
*/
|
|
815
|
+
public Builder setSiteId(
|
|
816
|
+
java.lang.String value) {
|
|
817
|
+
if (value == null) {
|
|
818
|
+
throw new NullPointerException();
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
siteId_ = value;
|
|
822
|
+
onChanged();
|
|
823
|
+
return this;
|
|
824
|
+
}
|
|
825
|
+
/**
|
|
826
|
+
* <code>string site_id = 1;</code>
|
|
827
|
+
* @return This builder for chaining.
|
|
828
|
+
*/
|
|
829
|
+
public Builder clearSiteId() {
|
|
830
|
+
|
|
831
|
+
siteId_ = getDefaultInstance().getSiteId();
|
|
832
|
+
onChanged();
|
|
833
|
+
return this;
|
|
834
|
+
}
|
|
835
|
+
/**
|
|
836
|
+
* <code>string site_id = 1;</code>
|
|
837
|
+
* @param value The bytes for siteId to set.
|
|
838
|
+
* @return This builder for chaining.
|
|
839
|
+
*/
|
|
840
|
+
public Builder setSiteIdBytes(
|
|
841
|
+
com.google.protobuf.ByteString value) {
|
|
842
|
+
if (value == null) {
|
|
843
|
+
throw new NullPointerException();
|
|
844
|
+
}
|
|
845
|
+
checkByteStringIsUtf8(value);
|
|
846
|
+
|
|
847
|
+
siteId_ = value;
|
|
848
|
+
onChanged();
|
|
849
|
+
return this;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
private java.lang.Object sourceId_ = "";
|
|
853
|
+
/**
|
|
854
|
+
* <code>string source_id = 2;</code>
|
|
855
|
+
* @return Whether the sourceId field is set.
|
|
856
|
+
*/
|
|
857
|
+
public boolean hasSourceId() {
|
|
858
|
+
return ((bitField0_ & 0x00000001) != 0);
|
|
859
|
+
}
|
|
860
|
+
/**
|
|
861
|
+
* <code>string source_id = 2;</code>
|
|
862
|
+
* @return The sourceId.
|
|
863
|
+
*/
|
|
864
|
+
public java.lang.String getSourceId() {
|
|
865
|
+
java.lang.Object ref = sourceId_;
|
|
866
|
+
if (!(ref instanceof java.lang.String)) {
|
|
867
|
+
com.google.protobuf.ByteString bs =
|
|
868
|
+
(com.google.protobuf.ByteString) ref;
|
|
869
|
+
java.lang.String s = bs.toStringUtf8();
|
|
870
|
+
sourceId_ = s;
|
|
871
|
+
return s;
|
|
872
|
+
} else {
|
|
873
|
+
return (java.lang.String) ref;
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
/**
|
|
877
|
+
* <code>string source_id = 2;</code>
|
|
878
|
+
* @return The bytes for sourceId.
|
|
879
|
+
*/
|
|
880
|
+
public com.google.protobuf.ByteString
|
|
881
|
+
getSourceIdBytes() {
|
|
882
|
+
java.lang.Object ref = sourceId_;
|
|
883
|
+
if (ref instanceof String) {
|
|
884
|
+
com.google.protobuf.ByteString b =
|
|
885
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
886
|
+
(java.lang.String) ref);
|
|
887
|
+
sourceId_ = b;
|
|
888
|
+
return b;
|
|
889
|
+
} else {
|
|
890
|
+
return (com.google.protobuf.ByteString) ref;
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
/**
|
|
894
|
+
* <code>string source_id = 2;</code>
|
|
895
|
+
* @param value The sourceId to set.
|
|
896
|
+
* @return This builder for chaining.
|
|
897
|
+
*/
|
|
898
|
+
public Builder setSourceId(
|
|
899
|
+
java.lang.String value) {
|
|
900
|
+
if (value == null) {
|
|
901
|
+
throw new NullPointerException();
|
|
902
|
+
}
|
|
903
|
+
bitField0_ |= 0x00000001;
|
|
904
|
+
sourceId_ = value;
|
|
905
|
+
onChanged();
|
|
906
|
+
return this;
|
|
907
|
+
}
|
|
908
|
+
/**
|
|
909
|
+
* <code>string source_id = 2;</code>
|
|
910
|
+
* @return This builder for chaining.
|
|
911
|
+
*/
|
|
912
|
+
public Builder clearSourceId() {
|
|
913
|
+
bitField0_ = (bitField0_ & ~0x00000001);
|
|
914
|
+
sourceId_ = getDefaultInstance().getSourceId();
|
|
915
|
+
onChanged();
|
|
916
|
+
return this;
|
|
917
|
+
}
|
|
918
|
+
/**
|
|
919
|
+
* <code>string source_id = 2;</code>
|
|
920
|
+
* @param value The bytes for sourceId to set.
|
|
921
|
+
* @return This builder for chaining.
|
|
922
|
+
*/
|
|
923
|
+
public Builder setSourceIdBytes(
|
|
924
|
+
com.google.protobuf.ByteString value) {
|
|
925
|
+
if (value == null) {
|
|
926
|
+
throw new NullPointerException();
|
|
927
|
+
}
|
|
928
|
+
checkByteStringIsUtf8(value);
|
|
929
|
+
bitField0_ |= 0x00000001;
|
|
930
|
+
sourceId_ = value;
|
|
931
|
+
onChanged();
|
|
932
|
+
return this;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
private java.lang.Object sourceType_ = "";
|
|
936
|
+
/**
|
|
937
|
+
* <pre>
|
|
938
|
+
* IT, OT, CDK, 3rdParty
|
|
939
|
+
* </pre>
|
|
940
|
+
*
|
|
941
|
+
* <code>string source_type = 3;</code>
|
|
942
|
+
* @return Whether the sourceType field is set.
|
|
943
|
+
*/
|
|
944
|
+
public boolean hasSourceType() {
|
|
945
|
+
return ((bitField0_ & 0x00000002) != 0);
|
|
946
|
+
}
|
|
947
|
+
/**
|
|
948
|
+
* <pre>
|
|
949
|
+
* IT, OT, CDK, 3rdParty
|
|
950
|
+
* </pre>
|
|
951
|
+
*
|
|
952
|
+
* <code>string source_type = 3;</code>
|
|
953
|
+
* @return The sourceType.
|
|
954
|
+
*/
|
|
955
|
+
public java.lang.String getSourceType() {
|
|
956
|
+
java.lang.Object ref = sourceType_;
|
|
957
|
+
if (!(ref instanceof java.lang.String)) {
|
|
958
|
+
com.google.protobuf.ByteString bs =
|
|
959
|
+
(com.google.protobuf.ByteString) ref;
|
|
960
|
+
java.lang.String s = bs.toStringUtf8();
|
|
961
|
+
sourceType_ = s;
|
|
962
|
+
return s;
|
|
963
|
+
} else {
|
|
964
|
+
return (java.lang.String) ref;
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
/**
|
|
968
|
+
* <pre>
|
|
969
|
+
* IT, OT, CDK, 3rdParty
|
|
970
|
+
* </pre>
|
|
971
|
+
*
|
|
972
|
+
* <code>string source_type = 3;</code>
|
|
973
|
+
* @return The bytes for sourceType.
|
|
974
|
+
*/
|
|
975
|
+
public com.google.protobuf.ByteString
|
|
976
|
+
getSourceTypeBytes() {
|
|
977
|
+
java.lang.Object ref = sourceType_;
|
|
978
|
+
if (ref instanceof String) {
|
|
979
|
+
com.google.protobuf.ByteString b =
|
|
980
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
981
|
+
(java.lang.String) ref);
|
|
982
|
+
sourceType_ = b;
|
|
983
|
+
return b;
|
|
984
|
+
} else {
|
|
985
|
+
return (com.google.protobuf.ByteString) ref;
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
/**
|
|
989
|
+
* <pre>
|
|
990
|
+
* IT, OT, CDK, 3rdParty
|
|
991
|
+
* </pre>
|
|
992
|
+
*
|
|
993
|
+
* <code>string source_type = 3;</code>
|
|
994
|
+
* @param value The sourceType to set.
|
|
995
|
+
* @return This builder for chaining.
|
|
996
|
+
*/
|
|
997
|
+
public Builder setSourceType(
|
|
998
|
+
java.lang.String value) {
|
|
999
|
+
if (value == null) {
|
|
1000
|
+
throw new NullPointerException();
|
|
1001
|
+
}
|
|
1002
|
+
bitField0_ |= 0x00000002;
|
|
1003
|
+
sourceType_ = value;
|
|
1004
|
+
onChanged();
|
|
1005
|
+
return this;
|
|
1006
|
+
}
|
|
1007
|
+
/**
|
|
1008
|
+
* <pre>
|
|
1009
|
+
* IT, OT, CDK, 3rdParty
|
|
1010
|
+
* </pre>
|
|
1011
|
+
*
|
|
1012
|
+
* <code>string source_type = 3;</code>
|
|
1013
|
+
* @return This builder for chaining.
|
|
1014
|
+
*/
|
|
1015
|
+
public Builder clearSourceType() {
|
|
1016
|
+
bitField0_ = (bitField0_ & ~0x00000002);
|
|
1017
|
+
sourceType_ = getDefaultInstance().getSourceType();
|
|
1018
|
+
onChanged();
|
|
1019
|
+
return this;
|
|
1020
|
+
}
|
|
1021
|
+
/**
|
|
1022
|
+
* <pre>
|
|
1023
|
+
* IT, OT, CDK, 3rdParty
|
|
1024
|
+
* </pre>
|
|
1025
|
+
*
|
|
1026
|
+
* <code>string source_type = 3;</code>
|
|
1027
|
+
* @param value The bytes for sourceType to set.
|
|
1028
|
+
* @return This builder for chaining.
|
|
1029
|
+
*/
|
|
1030
|
+
public Builder setSourceTypeBytes(
|
|
1031
|
+
com.google.protobuf.ByteString value) {
|
|
1032
|
+
if (value == null) {
|
|
1033
|
+
throw new NullPointerException();
|
|
1034
|
+
}
|
|
1035
|
+
checkByteStringIsUtf8(value);
|
|
1036
|
+
bitField0_ |= 0x00000002;
|
|
1037
|
+
sourceType_ = value;
|
|
1038
|
+
onChanged();
|
|
1039
|
+
return this;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
private java.lang.Object entityType_ = "";
|
|
1043
|
+
/**
|
|
1044
|
+
* <pre>
|
|
1045
|
+
* "asset" "user" etc
|
|
1046
|
+
* </pre>
|
|
1047
|
+
*
|
|
1048
|
+
* <code>string entity_type = 4;</code>
|
|
1049
|
+
* @return Whether the entityType field is set.
|
|
1050
|
+
*/
|
|
1051
|
+
public boolean hasEntityType() {
|
|
1052
|
+
return ((bitField0_ & 0x00000004) != 0);
|
|
1053
|
+
}
|
|
1054
|
+
/**
|
|
1055
|
+
* <pre>
|
|
1056
|
+
* "asset" "user" etc
|
|
1057
|
+
* </pre>
|
|
1058
|
+
*
|
|
1059
|
+
* <code>string entity_type = 4;</code>
|
|
1060
|
+
* @return The entityType.
|
|
1061
|
+
*/
|
|
1062
|
+
public java.lang.String getEntityType() {
|
|
1063
|
+
java.lang.Object ref = entityType_;
|
|
1064
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1065
|
+
com.google.protobuf.ByteString bs =
|
|
1066
|
+
(com.google.protobuf.ByteString) ref;
|
|
1067
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1068
|
+
entityType_ = s;
|
|
1069
|
+
return s;
|
|
1070
|
+
} else {
|
|
1071
|
+
return (java.lang.String) ref;
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
/**
|
|
1075
|
+
* <pre>
|
|
1076
|
+
* "asset" "user" etc
|
|
1077
|
+
* </pre>
|
|
1078
|
+
*
|
|
1079
|
+
* <code>string entity_type = 4;</code>
|
|
1080
|
+
* @return The bytes for entityType.
|
|
1081
|
+
*/
|
|
1082
|
+
public com.google.protobuf.ByteString
|
|
1083
|
+
getEntityTypeBytes() {
|
|
1084
|
+
java.lang.Object ref = entityType_;
|
|
1085
|
+
if (ref instanceof String) {
|
|
1086
|
+
com.google.protobuf.ByteString b =
|
|
1087
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1088
|
+
(java.lang.String) ref);
|
|
1089
|
+
entityType_ = b;
|
|
1090
|
+
return b;
|
|
1091
|
+
} else {
|
|
1092
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
/**
|
|
1096
|
+
* <pre>
|
|
1097
|
+
* "asset" "user" etc
|
|
1098
|
+
* </pre>
|
|
1099
|
+
*
|
|
1100
|
+
* <code>string entity_type = 4;</code>
|
|
1101
|
+
* @param value The entityType to set.
|
|
1102
|
+
* @return This builder for chaining.
|
|
1103
|
+
*/
|
|
1104
|
+
public Builder setEntityType(
|
|
1105
|
+
java.lang.String value) {
|
|
1106
|
+
if (value == null) {
|
|
1107
|
+
throw new NullPointerException();
|
|
1108
|
+
}
|
|
1109
|
+
bitField0_ |= 0x00000004;
|
|
1110
|
+
entityType_ = value;
|
|
1111
|
+
onChanged();
|
|
1112
|
+
return this;
|
|
1113
|
+
}
|
|
1114
|
+
/**
|
|
1115
|
+
* <pre>
|
|
1116
|
+
* "asset" "user" etc
|
|
1117
|
+
* </pre>
|
|
1118
|
+
*
|
|
1119
|
+
* <code>string entity_type = 4;</code>
|
|
1120
|
+
* @return This builder for chaining.
|
|
1121
|
+
*/
|
|
1122
|
+
public Builder clearEntityType() {
|
|
1123
|
+
bitField0_ = (bitField0_ & ~0x00000004);
|
|
1124
|
+
entityType_ = getDefaultInstance().getEntityType();
|
|
1125
|
+
onChanged();
|
|
1126
|
+
return this;
|
|
1127
|
+
}
|
|
1128
|
+
/**
|
|
1129
|
+
* <pre>
|
|
1130
|
+
* "asset" "user" etc
|
|
1131
|
+
* </pre>
|
|
1132
|
+
*
|
|
1133
|
+
* <code>string entity_type = 4;</code>
|
|
1134
|
+
* @param value The bytes for entityType to set.
|
|
1135
|
+
* @return This builder for chaining.
|
|
1136
|
+
*/
|
|
1137
|
+
public Builder setEntityTypeBytes(
|
|
1138
|
+
com.google.protobuf.ByteString value) {
|
|
1139
|
+
if (value == null) {
|
|
1140
|
+
throw new NullPointerException();
|
|
1141
|
+
}
|
|
1142
|
+
checkByteStringIsUtf8(value);
|
|
1143
|
+
bitField0_ |= 0x00000004;
|
|
1144
|
+
entityType_ = value;
|
|
1145
|
+
onChanged();
|
|
1146
|
+
return this;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
private java.lang.Object entityId_ = "";
|
|
1150
|
+
/**
|
|
1151
|
+
* <code>string entity_id = 5;</code>
|
|
1152
|
+
* @return Whether the entityId field is set.
|
|
1153
|
+
*/
|
|
1154
|
+
public boolean hasEntityId() {
|
|
1155
|
+
return ((bitField0_ & 0x00000008) != 0);
|
|
1156
|
+
}
|
|
1157
|
+
/**
|
|
1158
|
+
* <code>string entity_id = 5;</code>
|
|
1159
|
+
* @return The entityId.
|
|
1160
|
+
*/
|
|
1161
|
+
public java.lang.String getEntityId() {
|
|
1162
|
+
java.lang.Object ref = entityId_;
|
|
1163
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1164
|
+
com.google.protobuf.ByteString bs =
|
|
1165
|
+
(com.google.protobuf.ByteString) ref;
|
|
1166
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1167
|
+
entityId_ = s;
|
|
1168
|
+
return s;
|
|
1169
|
+
} else {
|
|
1170
|
+
return (java.lang.String) ref;
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
/**
|
|
1174
|
+
* <code>string entity_id = 5;</code>
|
|
1175
|
+
* @return The bytes for entityId.
|
|
1176
|
+
*/
|
|
1177
|
+
public com.google.protobuf.ByteString
|
|
1178
|
+
getEntityIdBytes() {
|
|
1179
|
+
java.lang.Object ref = entityId_;
|
|
1180
|
+
if (ref instanceof String) {
|
|
1181
|
+
com.google.protobuf.ByteString b =
|
|
1182
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1183
|
+
(java.lang.String) ref);
|
|
1184
|
+
entityId_ = b;
|
|
1185
|
+
return b;
|
|
1186
|
+
} else {
|
|
1187
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
/**
|
|
1191
|
+
* <code>string entity_id = 5;</code>
|
|
1192
|
+
* @param value The entityId to set.
|
|
1193
|
+
* @return This builder for chaining.
|
|
1194
|
+
*/
|
|
1195
|
+
public Builder setEntityId(
|
|
1196
|
+
java.lang.String value) {
|
|
1197
|
+
if (value == null) {
|
|
1198
|
+
throw new NullPointerException();
|
|
1199
|
+
}
|
|
1200
|
+
bitField0_ |= 0x00000008;
|
|
1201
|
+
entityId_ = value;
|
|
1202
|
+
onChanged();
|
|
1203
|
+
return this;
|
|
1204
|
+
}
|
|
1205
|
+
/**
|
|
1206
|
+
* <code>string entity_id = 5;</code>
|
|
1207
|
+
* @return This builder for chaining.
|
|
1208
|
+
*/
|
|
1209
|
+
public Builder clearEntityId() {
|
|
1210
|
+
bitField0_ = (bitField0_ & ~0x00000008);
|
|
1211
|
+
entityId_ = getDefaultInstance().getEntityId();
|
|
1212
|
+
onChanged();
|
|
1213
|
+
return this;
|
|
1214
|
+
}
|
|
1215
|
+
/**
|
|
1216
|
+
* <code>string entity_id = 5;</code>
|
|
1217
|
+
* @param value The bytes for entityId to set.
|
|
1218
|
+
* @return This builder for chaining.
|
|
1219
|
+
*/
|
|
1220
|
+
public Builder setEntityIdBytes(
|
|
1221
|
+
com.google.protobuf.ByteString value) {
|
|
1222
|
+
if (value == null) {
|
|
1223
|
+
throw new NullPointerException();
|
|
1224
|
+
}
|
|
1225
|
+
checkByteStringIsUtf8(value);
|
|
1226
|
+
bitField0_ |= 0x00000008;
|
|
1227
|
+
entityId_ = value;
|
|
1228
|
+
onChanged();
|
|
1229
|
+
return this;
|
|
1230
|
+
}
|
|
1231
|
+
@java.lang.Override
|
|
1232
|
+
public final Builder setUnknownFields(
|
|
1233
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
1234
|
+
return super.setUnknownFields(unknownFields);
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
@java.lang.Override
|
|
1238
|
+
public final Builder mergeUnknownFields(
|
|
1239
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
1240
|
+
return super.mergeUnknownFields(unknownFields);
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
// @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.EntityPath)
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
// @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.EntityPath)
|
|
1248
|
+
private static final com.lansweeper.dp.outbound.v1.EntityPath DEFAULT_INSTANCE;
|
|
1249
|
+
static {
|
|
1250
|
+
DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.EntityPath();
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
public static com.lansweeper.dp.outbound.v1.EntityPath getDefaultInstance() {
|
|
1254
|
+
return DEFAULT_INSTANCE;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
private static final com.google.protobuf.Parser<EntityPath>
|
|
1258
|
+
PARSER = new com.google.protobuf.AbstractParser<EntityPath>() {
|
|
1259
|
+
@java.lang.Override
|
|
1260
|
+
public EntityPath parsePartialFrom(
|
|
1261
|
+
com.google.protobuf.CodedInputStream input,
|
|
1262
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
1263
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
1264
|
+
return new EntityPath(input, extensionRegistry);
|
|
1265
|
+
}
|
|
1266
|
+
};
|
|
1267
|
+
|
|
1268
|
+
public static com.google.protobuf.Parser<EntityPath> parser() {
|
|
1269
|
+
return PARSER;
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
@java.lang.Override
|
|
1273
|
+
public com.google.protobuf.Parser<EntityPath> getParserForType() {
|
|
1274
|
+
return PARSER;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
@java.lang.Override
|
|
1278
|
+
public com.lansweeper.dp.outbound.v1.EntityPath getDefaultInstanceForType() {
|
|
1279
|
+
return DEFAULT_INSTANCE;
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
}
|
|
1283
|
+
|