@lansweeper/data-platform-outbound-grpc 0.1.6 → 0.1.8
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 +30 -0
- package/gen-proto/outbound_pb.js +242 -2
- package/generated-go/outbound.pb.go +483 -426
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +9 -1
- package/src/main/java/com/lansweeper/dp/outbound/v1/Outbound.java +141 -136
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftware.java +97 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftwareOrBuilder.java +11 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/Software.java +753 -25
- package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventory.java +8 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareOrBuilder.java +92 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/data-platform-outbound-grpc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Data Platform Outbound gRPC",
|
|
5
5
|
"main": "gen-proto/index.js",
|
|
6
6
|
"types": "gen-proto/index.d.ts",
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
"@grpc/grpc-js": "^1.5.1",
|
|
10
10
|
"google-protobuf": "^3.17.0"
|
|
11
11
|
},
|
|
12
|
-
"gitHead": "
|
|
12
|
+
"gitHead": "bda778ce15c7ef9f75e738010d7f36d9dd37b9c6"
|
|
13
13
|
}
|
package/pom.xml
CHANGED
package/proto/outbound.proto
CHANGED
|
@@ -185,11 +185,13 @@ message WindowsRawOperatingSystemInfo {
|
|
|
185
185
|
optional string os_code = 10; // "OsCode": "10.0.19045" - with S if server
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
+
/* Software Inventory with list of installed SW */
|
|
188
189
|
message SoftwareInventory {
|
|
189
190
|
google.protobuf.Timestamp timestamp = 1;
|
|
190
191
|
repeated Software software = 2;
|
|
191
192
|
}
|
|
192
193
|
|
|
194
|
+
/* Software definition: normalized and with link to raw */
|
|
193
195
|
message Software {
|
|
194
196
|
|
|
195
197
|
optional int32 rank = 1;
|
|
@@ -207,14 +209,19 @@ message Software {
|
|
|
207
209
|
optional string market_ver = 12;
|
|
208
210
|
optional string edition = 13;
|
|
209
211
|
optional string build = 14;
|
|
212
|
+
optional string arch = 20;
|
|
213
|
+
optional string lang = 21;
|
|
210
214
|
|
|
211
215
|
optional string cpe = 15;
|
|
212
216
|
|
|
213
217
|
optional CatalogSoftware catalog_software = 16;
|
|
214
218
|
|
|
215
219
|
RawSoftware raw = 17;
|
|
220
|
+
optional string raw_hash = 18; // optional raw hash of SW
|
|
221
|
+
optional string nre_hash = 19; // optional NRE hash of SW
|
|
216
222
|
}
|
|
217
223
|
|
|
224
|
+
/* Raw Software definition */
|
|
218
225
|
message RawSoftware {
|
|
219
226
|
string name = 1;
|
|
220
227
|
|
|
@@ -227,6 +234,8 @@ message RawSoftware {
|
|
|
227
234
|
optional string source_type = 8; // Registry | System | MsStore | Package | Custom | etc
|
|
228
235
|
|
|
229
236
|
optional string sw_id = 9; // optional SW id on the client side
|
|
237
|
+
|
|
238
|
+
optional bool is_current_user = 10;
|
|
230
239
|
}
|
|
231
240
|
|
|
232
241
|
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< CATALOG ENTITIES >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
@@ -377,4 +386,3 @@ message CatalogMonitor {
|
|
|
377
386
|
int64 id = 1;
|
|
378
387
|
|
|
379
388
|
}
|
|
380
|
-
|
|
@@ -227,7 +227,7 @@ public final class Outbound {
|
|
|
227
227
|
"os_code\"}\n\021SoftwareInventory\022-\n\ttimestam" +
|
|
228
228
|
"p\030\001 \001(\0132\032.google.protobuf.Timestamp\0229\n\010s" +
|
|
229
229
|
"oftware\030\002 \003(\0132\'.com.lansweeper.dp.outbou" +
|
|
230
|
-
"nd.v1.Software\"\233\
|
|
230
|
+
"nd.v1.Software\"\233\006\n\010Software\022\021\n\004rank\030\001 \001(" +
|
|
231
231
|
"\005H\000\210\001\001\022\024\n\007type_id\030\002 \001(\003H\001\210\001\001\022\023\n\006cat_id\030\003" +
|
|
232
232
|
" \001(\003H\002\210\001\001\022\024\n\007make_id\030\004 \001(\003H\003\210\001\001\022\022\n\005sw_id" +
|
|
233
233
|
"\030\005 \001(\003H\004\210\001\001\022\026\n\tparent_id\030\006 \001(\003H\005\210\001\001\022\026\n\tt" +
|
|
@@ -235,139 +235,144 @@ public final class Outbound {
|
|
|
235
235
|
"\001\001\022\026\n\tmake_name\030\t \001(\tH\010\210\001\001\022\021\n\004name\030\n \001(\t" +
|
|
236
236
|
"H\t\210\001\001\022\024\n\007version\030\013 \001(\tH\n\210\001\001\022\027\n\nmarket_ve" +
|
|
237
237
|
"r\030\014 \001(\tH\013\210\001\001\022\024\n\007edition\030\r \001(\tH\014\210\001\001\022\022\n\005bu" +
|
|
238
|
-
"ild\030\016 \001(\tH\r\210\001\001\022\
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
" \001
|
|
242
|
-
"
|
|
243
|
-
"
|
|
244
|
-
"
|
|
245
|
-
"\
|
|
246
|
-
"
|
|
247
|
-
"
|
|
248
|
-
"
|
|
249
|
-
"\
|
|
250
|
-
"\
|
|
251
|
-
"
|
|
252
|
-
"\030\
|
|
253
|
-
"
|
|
254
|
-
"
|
|
255
|
-
"
|
|
256
|
-
"
|
|
257
|
-
"\
|
|
258
|
-
"\n\
|
|
259
|
-
"
|
|
260
|
-
"
|
|
261
|
-
"\
|
|
262
|
-
"\030\
|
|
263
|
-
"\035\n\
|
|
264
|
-
"
|
|
265
|
-
"(\tH\
|
|
266
|
-
"\001\022\
|
|
267
|
-
"
|
|
268
|
-
"
|
|
269
|
-
"\
|
|
270
|
-
"
|
|
271
|
-
"
|
|
272
|
-
"\
|
|
273
|
-
"
|
|
274
|
-
"
|
|
275
|
-
"
|
|
276
|
-
"
|
|
277
|
-
"
|
|
278
|
-
"
|
|
279
|
-
"
|
|
280
|
-
"
|
|
281
|
-
"
|
|
282
|
-
"
|
|
283
|
-
"
|
|
284
|
-
"
|
|
285
|
-
"
|
|
286
|
-
"
|
|
287
|
-
"
|
|
288
|
-
"
|
|
289
|
-
"
|
|
290
|
-
"\
|
|
291
|
-
"
|
|
292
|
-
"
|
|
293
|
-
"\
|
|
294
|
-
"
|
|
295
|
-
"\
|
|
296
|
-
"
|
|
297
|
-
"
|
|
298
|
-
"
|
|
299
|
-
"
|
|
300
|
-
"\
|
|
301
|
-
"
|
|
302
|
-
"
|
|
303
|
-
"
|
|
304
|
-
"(\
|
|
305
|
-
"
|
|
306
|
-
"
|
|
307
|
-
"
|
|
308
|
-
"
|
|
309
|
-
"
|
|
310
|
-
"
|
|
311
|
-
"
|
|
312
|
-
"
|
|
313
|
-
"\
|
|
314
|
-
"\
|
|
315
|
-
"
|
|
316
|
-
"\
|
|
317
|
-
"
|
|
318
|
-
"
|
|
319
|
-
"\n\
|
|
320
|
-
"
|
|
321
|
-
"
|
|
322
|
-
"
|
|
323
|
-
"
|
|
324
|
-
"\
|
|
325
|
-
"
|
|
326
|
-
"\001(\tH\
|
|
327
|
-
"\n\
|
|
328
|
-
"
|
|
329
|
-
"\
|
|
330
|
-
"
|
|
331
|
-
"
|
|
332
|
-
"\n\
|
|
333
|
-
"
|
|
334
|
-
"
|
|
335
|
-
"
|
|
336
|
-
"
|
|
337
|
-
"
|
|
338
|
-
"
|
|
339
|
-
"
|
|
340
|
-
"\
|
|
341
|
-
"\
|
|
342
|
-
"
|
|
343
|
-
"
|
|
344
|
-
"
|
|
345
|
-
"\030\
|
|
346
|
-
"
|
|
347
|
-
"\030\
|
|
348
|
-
"\
|
|
349
|
-
"\
|
|
350
|
-
"
|
|
351
|
-
"
|
|
352
|
-
"\
|
|
353
|
-
"
|
|
354
|
-
"
|
|
355
|
-
"\
|
|
356
|
-
"\
|
|
357
|
-
"
|
|
358
|
-
"
|
|
359
|
-
"
|
|
360
|
-
"
|
|
361
|
-
"
|
|
362
|
-
"
|
|
363
|
-
"
|
|
364
|
-
"
|
|
365
|
-
"
|
|
366
|
-
"
|
|
367
|
-
"
|
|
368
|
-
"
|
|
369
|
-
"dp.outbound.v1.
|
|
370
|
-
"\
|
|
238
|
+
"ild\030\016 \001(\tH\r\210\001\001\022\021\n\004arch\030\024 \001(\tH\016\210\001\001\022\021\n\004lan" +
|
|
239
|
+
"g\030\025 \001(\tH\017\210\001\001\022\020\n\003cpe\030\017 \001(\tH\020\210\001\001\022M\n\020catalo" +
|
|
240
|
+
"g_software\030\020 \001(\0132..com.lansweeper.dp.out" +
|
|
241
|
+
"bound.v1.CatalogSoftwareH\021\210\001\001\0227\n\003raw\030\021 \001" +
|
|
242
|
+
"(\0132*.com.lansweeper.dp.outbound.v1.RawSo" +
|
|
243
|
+
"ftware\022\025\n\010raw_hash\030\022 \001(\tH\022\210\001\001\022\025\n\010nre_has" +
|
|
244
|
+
"h\030\023 \001(\tH\023\210\001\001B\007\n\005_rankB\n\n\010_type_idB\t\n\007_ca" +
|
|
245
|
+
"t_idB\n\n\010_make_idB\010\n\006_sw_idB\014\n\n_parent_id" +
|
|
246
|
+
"B\014\n\n_type_nameB\013\n\t_cat_nameB\014\n\n_make_nam" +
|
|
247
|
+
"eB\007\n\005_nameB\n\n\010_versionB\r\n\013_market_verB\n\n" +
|
|
248
|
+
"\010_editionB\010\n\006_buildB\007\n\005_archB\007\n\005_langB\006\n" +
|
|
249
|
+
"\004_cpeB\023\n\021_catalog_softwareB\013\n\t_raw_hashB" +
|
|
250
|
+
"\013\n\t_nre_hash\"\337\002\n\013RawSoftware\022\014\n\004name\030\001 \001" +
|
|
251
|
+
"(\t\022\023\n\006vendor\030\002 \001(\tH\000\210\001\001\022\024\n\007version\030\003 \001(\t" +
|
|
252
|
+
"H\001\210\001\001\022\021\n\004info\030\004 \001(\tH\002\210\001\001\022\025\n\010exe_path\030\005 \001" +
|
|
253
|
+
"(\tH\003\210\001\001\022\021\n\004arch\030\006 \001(\tH\004\210\001\001\022\031\n\014install_da" +
|
|
254
|
+
"te\030\007 \001(\003H\005\210\001\001\022\030\n\013source_type\030\010 \001(\tH\006\210\001\001\022" +
|
|
255
|
+
"\022\n\005sw_id\030\t \001(\tH\007\210\001\001\022\034\n\017is_current_user\030\n" +
|
|
256
|
+
" \001(\010H\010\210\001\001B\t\n\007_vendorB\n\n\010_versionB\007\n\005_inf" +
|
|
257
|
+
"oB\013\n\t_exe_pathB\007\n\005_archB\017\n\r_install_date" +
|
|
258
|
+
"B\016\n\014_source_typeB\010\n\006_sw_idB\022\n\020_is_curren" +
|
|
259
|
+
"t_user\"\241\n\n\014CatalogBrand\022\n\n\002id\030\001 \001(\003\022\021\n\tm" +
|
|
260
|
+
"ake_name\030\003 \001(\t\022\026\n\tparent_id\030\022 \001(\003H\000\210\001\001\022\035" +
|
|
261
|
+
"\n\020last_update_time\030\005 \001(\003H\001\210\001\001\022\031\n\014country" +
|
|
262
|
+
"_code\030\006 \001(\tH\002\210\001\001\022\033\n\016logo_image_url\030\007 \001(\t" +
|
|
263
|
+
"H\003\210\001\001\022\035\n\020banner_image_url\030\010 \001(\tH\004\210\001\001\022\031\n\014" +
|
|
264
|
+
"wikipedia_id\030\t \001(\tH\005\210\001\001\022 \n\023wikipedia_lan" +
|
|
265
|
+
"g_code\030\n \001(\tH\006\210\001\001\022\030\n\013website_url\030\013 \001(\tH\007" +
|
|
266
|
+
"\210\001\001\022\030\n\013support_url\030\014 \001(\tH\010\210\001\001\022\032\n\rsupport" +
|
|
267
|
+
"_phone\030\r \001(\tH\t\210\001\001\022\035\n\020facebook_account\030\016 " +
|
|
268
|
+
"\001(\tH\n\210\001\001\022\034\n\017twitter_account\030\017 \001(\tH\013\210\001\001\022\031" +
|
|
269
|
+
"\n\014warranty_url\030\020 \001(\tH\014\210\001\001\022 \n\023warranty_di" +
|
|
270
|
+
"rect_url\030\021 \001(\tH\r\210\001\001\022\032\n\rcommunity_url\030\024 \001" +
|
|
271
|
+
"(\tH\016\210\001\001\022\035\n\020linkedin_account\030\025 \001(\tH\017\210\001\001\022\036" +
|
|
272
|
+
"\n\021instagram_account\030\026 \001(\tH\020\210\001\001\022\034\n\017youtub" +
|
|
273
|
+
"e_account\030\027 \001(\tH\021\210\001\001\022\036\n\021pinterest_accoun" +
|
|
274
|
+
"t\030\030 \001(\tH\022\210\001\001\022\033\n\016class_hardware\030\031 \001(\010H\023\210\001" +
|
|
275
|
+
"\001\022\033\n\016class_software\030\032 \001(\010H\024\210\001\001\022\033\n\016class_" +
|
|
276
|
+
"consumer\030\033 \001(\010H\025\210\001\001\022\035\n\020class_enterprise\030" +
|
|
277
|
+
"\034 \001(\010H\026\210\001\001\022\035\n\020class_industrial\030\035 \001(\010H\027\210\001" +
|
|
278
|
+
"\001\022\035\n\020class_individual\030\036 \001(\010H\030\210\001\001\022\030\n\013matc" +
|
|
279
|
+
"h_score\030\023 \001(\005H\031\210\001\001B\014\n\n_parent_idB\023\n\021_las" +
|
|
280
|
+
"t_update_timeB\017\n\r_country_codeB\021\n\017_logo_" +
|
|
281
|
+
"image_urlB\023\n\021_banner_image_urlB\017\n\r_wikip" +
|
|
282
|
+
"edia_idB\026\n\024_wikipedia_lang_codeB\016\n\014_webs" +
|
|
283
|
+
"ite_urlB\016\n\014_support_urlB\020\n\016_support_phon" +
|
|
284
|
+
"eB\023\n\021_facebook_accountB\022\n\020_twitter_accou" +
|
|
285
|
+
"ntB\017\n\r_warranty_urlB\026\n\024_warranty_direct_" +
|
|
286
|
+
"urlB\020\n\016_community_urlB\023\n\021_linkedin_accou" +
|
|
287
|
+
"ntB\024\n\022_instagram_accountB\022\n\020_youtube_acc" +
|
|
288
|
+
"ountB\024\n\022_pinterest_accountB\021\n\017_class_har" +
|
|
289
|
+
"dwareB\021\n\017_class_softwareB\021\n\017_class_consu" +
|
|
290
|
+
"merB\023\n\021_class_enterpriseB\023\n\021_class_indus" +
|
|
291
|
+
"trialB\023\n\021_class_individualB\016\n\014_match_sco" +
|
|
292
|
+
"re\"\331\007\n\014CatalogModel\022\n\n\002id\030\001 \001(\003\022\017\n\007make_" +
|
|
293
|
+
"id\030\003 \001(\003\022\024\n\014device_model\030\004 \001(\t\022\033\n\016device" +
|
|
294
|
+
"_type_id\030\005 \001(\003H\000\210\001\001\022\031\n\021device_model_code" +
|
|
295
|
+
"\030\006 \003(\t\022\026\n\tfamily_id\030\n \001(\003H\001\210\001\001\022\026\n\tis_fam" +
|
|
296
|
+
"ily\030\013 \001(\010H\002\210\001\001\022\027\n\nmanual_url\030\014 \001(\tH\003\210\001\001\022" +
|
|
297
|
+
"\024\n\007faq_url\030\r \001(\tH\004\210\001\001\022\031\n\014release_date\030\016 " +
|
|
298
|
+
"\001(\003H\005\210\001\001\022\026\n\tdisc_date\030\017 \001(\003H\006\210\001\001\022\025\n\010eos_" +
|
|
299
|
+
"date\030\032 \001(\003H\007\210\001\001\022 \n\023lifecyle_confidence\030\035" +
|
|
300
|
+
" \001(\tH\010\210\001\001\022\030\n\013price_class\030\030 \001(\tH\t\210\001\001\022\032\n\rp" +
|
|
301
|
+
"roduct_class\030\031 \001(\tH\n\210\001\001\022\034\n\017sh_ifttt_hand" +
|
|
302
|
+
"le\030\021 \001(\tH\013\210\001\001\022\033\n\023sh_google_ass_langs\030\022 \003" +
|
|
303
|
+
"(\t\022\026\n\016sh_alexa_langs\030\023 \003(\t\022\033\n\016sh_hass_ha" +
|
|
304
|
+
"ndle\030\024 \001(\tH\014\210\001\001\022\036\n\021sh_apple_home_kit\030\025 \001" +
|
|
305
|
+
"(\010H\r\210\001\001\022\037\n\022sh_open_hab_handle\030\026 \001(\tH\016\210\001\001" +
|
|
306
|
+
"\022\025\n\010nist_cpe\030\034 \001(\tH\017\210\001\001\022\027\n\npopularity\030\027 " +
|
|
307
|
+
"\001(\005H\020\210\001\001\022\035\n\020last_update_time\030\020 \001(\003H\021\210\001\001\022" +
|
|
308
|
+
"\030\n\013match_score\030\033 \001(\005H\022\210\001\001B\021\n\017_device_typ" +
|
|
309
|
+
"e_idB\014\n\n_family_idB\014\n\n_is_familyB\r\n\013_man" +
|
|
310
|
+
"ual_urlB\n\n\010_faq_urlB\017\n\r_release_dateB\014\n\n" +
|
|
311
|
+
"_disc_dateB\013\n\t_eos_dateB\026\n\024_lifecyle_con" +
|
|
312
|
+
"fidenceB\016\n\014_price_classB\020\n\016_product_clas" +
|
|
313
|
+
"sB\022\n\020_sh_ifttt_handleB\021\n\017_sh_hass_handle" +
|
|
314
|
+
"B\024\n\022_sh_apple_home_kitB\025\n\023_sh_open_hab_h" +
|
|
315
|
+
"andleB\013\n\t_nist_cpeB\r\n\013_popularityB\023\n\021_la" +
|
|
316
|
+
"st_update_timeB\016\n\014_match_score\"\240\010\n\tCatal" +
|
|
317
|
+
"ogOs\022\n\n\002id\030\001 \001(\003\022\017\n\007os_name\030\003 \001(\t\022\027\n\nos_" +
|
|
318
|
+
"version\030\004 \001(\tH\000\210\001\001\022\025\n\010os_build\030\014 \001(\tH\001\210\001" +
|
|
319
|
+
"\001\022\034\n\017os_version_name\030\005 \001(\tH\002\210\001\001\022\030\n\013overr" +
|
|
320
|
+
"ide_id\030\006 \001(\003H\003\210\001\001\022\024\n\007make_id\030\007 \001(\003H\004\210\001\001\022" +
|
|
321
|
+
"\026\n\tparent_id\030\010 \001(\003H\005\210\001\001\022\031\n\014release_date\030" +
|
|
322
|
+
"\t \001(\003H\006\210\001\001\022\025\n\010eol_date\030\n \001(\003H\007\210\001\001\022\025\n\010eos" +
|
|
323
|
+
"_date\030\026 \001(\003H\010\210\001\001\022\026\n\teosx_date\030\031 \001(\003H\t\210\001\001" +
|
|
324
|
+
"\022 \n\023lifecyle_confidence\030\032 \001(\tH\n\210\001\001\022\033\n\016lo" +
|
|
325
|
+
"go_image_url\030\r \001(\tH\013\210\001\001\022\035\n\020banner_image_" +
|
|
326
|
+
"url\030\016 \001(\tH\014\210\001\001\022\031\n\014wikipedia_id\030\017 \001(\tH\r\210\001" +
|
|
327
|
+
"\001\022 \n\023wikipedia_lang_code\030\020 \001(\tH\016\210\001\001\022\030\n\013w" +
|
|
328
|
+
"ebsite_url\030\021 \001(\tH\017\210\001\001\022\030\n\013support_url\030\022 \001" +
|
|
329
|
+
"(\tH\020\210\001\001\022\032\n\rsupport_phone\030\023 \001(\tH\021\210\001\001\022\035\n\020f" +
|
|
330
|
+
"acebook_account\030\024 \001(\tH\022\210\001\001\022\034\n\017twitter_ac" +
|
|
331
|
+
"count\030\025 \001(\tH\023\210\001\001\022\025\n\010nist_cpe\030\027 \001(\tH\024\210\001\001\022" +
|
|
332
|
+
"\035\n\020last_update_time\030\013 \001(\003H\025\210\001\001\022\030\n\013match_" +
|
|
333
|
+
"score\030\030 \001(\005H\026\210\001\001B\r\n\013_os_versionB\013\n\t_os_b" +
|
|
334
|
+
"uildB\022\n\020_os_version_nameB\016\n\014_override_id" +
|
|
335
|
+
"B\n\n\010_make_idB\014\n\n_parent_idB\017\n\r_release_d" +
|
|
336
|
+
"ateB\013\n\t_eol_dateB\013\n\t_eos_dateB\014\n\n_eosx_d" +
|
|
337
|
+
"ateB\026\n\024_lifecyle_confidenceB\021\n\017_logo_ima" +
|
|
338
|
+
"ge_urlB\023\n\021_banner_image_urlB\017\n\r_wikipedi" +
|
|
339
|
+
"a_idB\026\n\024_wikipedia_lang_codeB\016\n\014_website" +
|
|
340
|
+
"_urlB\016\n\014_support_urlB\020\n\016_support_phoneB\023" +
|
|
341
|
+
"\n\021_facebook_accountB\022\n\020_twitter_accountB" +
|
|
342
|
+
"\013\n\t_nist_cpeB\023\n\021_last_update_timeB\016\n\014_ma" +
|
|
343
|
+
"tch_score\"\266\007\n\017CatalogSoftware\022\n\n\002id\030\001 \001(" +
|
|
344
|
+
"\003\022\016\n\006sw_key\030\002 \001(\t\022\017\n\007sw_name\030\003 \001(\t\022\027\n\nsw" +
|
|
345
|
+
"_version\030\004 \001(\tH\000\210\001\001\022\032\n\rsw_market_ver\030\005 \001" +
|
|
346
|
+
"(\tH\001\210\001\001\022\027\n\nsw_edition\030\006 \001(\tH\002\210\001\001\022\024\n\007sw_l" +
|
|
347
|
+
"ang\030\027 \001(\tH\003\210\001\001\022\025\n\010sw_build\030\007 \001(\tH\004\210\001\001\022\030\n" +
|
|
348
|
+
"\013override_id\030\010 \001(\003H\005\210\001\001\022\024\n\007make_id\030\t \001(\003" +
|
|
349
|
+
"H\006\210\001\001\022\026\n\tparent_id\030\n \001(\003H\007\210\001\001\022\024\n\007sw_type" +
|
|
350
|
+
"\030\013 \001(\tH\010\210\001\001\022\030\n\013sw_category\030\014 \001(\tH\t\210\001\001\022\036\n" +
|
|
351
|
+
"\021nist_cpe_template\030\r \001(\tH\n\210\001\001\022\031\n\014release" +
|
|
352
|
+
"_date\030\016 \001(\003H\013\210\001\001\022\025\n\010eol_date\030\017 \001(\003H\014\210\001\001\022" +
|
|
353
|
+
"\025\n\010eos_date\030\020 \001(\003H\r\210\001\001\022\026\n\teosx_date\030\022 \001(" +
|
|
354
|
+
"\003H\016\210\001\001\022 \n\023lifecyle_confidence\030\023 \001(\tH\017\210\001\001" +
|
|
355
|
+
"\022\035\n\020last_update_time\030\021 \001(\003H\020\210\001\001\022\030\n\013flag_" +
|
|
356
|
+
"latest\030\024 \001(\010H\021\210\001\001\022\034\n\017flag_widespread\030\025 \001" +
|
|
357
|
+
"(\010H\022\210\001\001\022\034\n\017flag_deprecated\030\026 \001(\010H\023\210\001\001\022\030\n" +
|
|
358
|
+
"\013match_score\030d \001(\005H\024\210\001\001B\r\n\013_sw_versionB\020" +
|
|
359
|
+
"\n\016_sw_market_verB\r\n\013_sw_editionB\n\n\010_sw_l" +
|
|
360
|
+
"angB\013\n\t_sw_buildB\016\n\014_override_idB\n\n\010_mak" +
|
|
361
|
+
"e_idB\014\n\n_parent_idB\n\n\010_sw_typeB\016\n\014_sw_ca" +
|
|
362
|
+
"tegoryB\024\n\022_nist_cpe_templateB\017\n\r_release" +
|
|
363
|
+
"_dateB\013\n\t_eol_dateB\013\n\t_eos_dateB\014\n\n_eosx" +
|
|
364
|
+
"_dateB\026\n\024_lifecyle_confidenceB\023\n\021_last_u" +
|
|
365
|
+
"pdate_timeB\016\n\014_flag_latestB\022\n\020_flag_wide" +
|
|
366
|
+
"spreadB\022\n\020_flag_deprecatedB\016\n\014_match_sco" +
|
|
367
|
+
"re\"\034\n\016CatalogMonitor\022\n\n\002id\030\001 \001(\0032\204\002\n\027Dat" +
|
|
368
|
+
"aCoreOutboundService\022p\n\tGetEntity\022/.com." +
|
|
369
|
+
"lansweeper.dp.outbound.v1.GetEntityReque" +
|
|
370
|
+
"st\0320.com.lansweeper.dp.outbound.v1.GetEn" +
|
|
371
|
+
"tityResponse\"\000\022w\n\014ListEntities\0220.com.lan" +
|
|
372
|
+
"sweeper.dp.outbound.v1.ListEntityRequest" +
|
|
373
|
+
"\0321.com.lansweeper.dp.outbound.v1.ListEnt" +
|
|
374
|
+
"ityResponse\"\0000\001B\022P\001Z\016./generated-gob\006pro" +
|
|
375
|
+
"to3"
|
|
371
376
|
};
|
|
372
377
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
|
373
378
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
@@ -463,13 +468,13 @@ public final class Outbound {
|
|
|
463
468
|
internal_static_com_lansweeper_dp_outbound_v1_Software_fieldAccessorTable = new
|
|
464
469
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
465
470
|
internal_static_com_lansweeper_dp_outbound_v1_Software_descriptor,
|
|
466
|
-
new java.lang.String[] { "Rank", "TypeId", "CatId", "MakeId", "SwId", "ParentId", "TypeName", "CatName", "MakeName", "Name", "Version", "MarketVer", "Edition", "Build", "Cpe", "CatalogSoftware", "Raw", "Rank", "TypeId", "CatId", "MakeId", "SwId", "ParentId", "TypeName", "CatName", "MakeName", "Name", "Version", "MarketVer", "Edition", "Build", "Cpe", "CatalogSoftware", });
|
|
471
|
+
new java.lang.String[] { "Rank", "TypeId", "CatId", "MakeId", "SwId", "ParentId", "TypeName", "CatName", "MakeName", "Name", "Version", "MarketVer", "Edition", "Build", "Arch", "Lang", "Cpe", "CatalogSoftware", "Raw", "RawHash", "NreHash", "Rank", "TypeId", "CatId", "MakeId", "SwId", "ParentId", "TypeName", "CatName", "MakeName", "Name", "Version", "MarketVer", "Edition", "Build", "Arch", "Lang", "Cpe", "CatalogSoftware", "RawHash", "NreHash", });
|
|
467
472
|
internal_static_com_lansweeper_dp_outbound_v1_RawSoftware_descriptor =
|
|
468
473
|
getDescriptor().getMessageTypes().get(15);
|
|
469
474
|
internal_static_com_lansweeper_dp_outbound_v1_RawSoftware_fieldAccessorTable = new
|
|
470
475
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
471
476
|
internal_static_com_lansweeper_dp_outbound_v1_RawSoftware_descriptor,
|
|
472
|
-
new java.lang.String[] { "Name", "Vendor", "Version", "Info", "ExePath", "Arch", "InstallDate", "SourceType", "SwId", "Vendor", "Version", "Info", "ExePath", "Arch", "InstallDate", "SourceType", "SwId", });
|
|
477
|
+
new java.lang.String[] { "Name", "Vendor", "Version", "Info", "ExePath", "Arch", "InstallDate", "SourceType", "SwId", "IsCurrentUser", "Vendor", "Version", "Info", "ExePath", "Arch", "InstallDate", "SourceType", "SwId", "IsCurrentUser", });
|
|
473
478
|
internal_static_com_lansweeper_dp_outbound_v1_CatalogBrand_descriptor =
|
|
474
479
|
getDescriptor().getMessageTypes().get(16);
|
|
475
480
|
internal_static_com_lansweeper_dp_outbound_v1_CatalogBrand_fieldAccessorTable = new
|
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
package com.lansweeper.dp.outbound.v1;
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
+
* <pre>
|
|
8
|
+
* Raw Software definition
|
|
9
|
+
* </pre>
|
|
10
|
+
*
|
|
7
11
|
* Protobuf type {@code com.lansweeper.dp.outbound.v1.RawSoftware}
|
|
8
12
|
*/
|
|
9
13
|
public final class RawSoftware extends
|
|
@@ -110,6 +114,11 @@ private static final long serialVersionUID = 0L;
|
|
|
110
114
|
swId_ = s;
|
|
111
115
|
break;
|
|
112
116
|
}
|
|
117
|
+
case 80: {
|
|
118
|
+
bitField0_ |= 0x00000100;
|
|
119
|
+
isCurrentUser_ = input.readBool();
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
113
122
|
default: {
|
|
114
123
|
if (!parseUnknownField(
|
|
115
124
|
input, unknownFields, extensionRegistry, tag)) {
|
|
@@ -558,6 +567,25 @@ private static final long serialVersionUID = 0L;
|
|
|
558
567
|
}
|
|
559
568
|
}
|
|
560
569
|
|
|
570
|
+
public static final int IS_CURRENT_USER_FIELD_NUMBER = 10;
|
|
571
|
+
private boolean isCurrentUser_;
|
|
572
|
+
/**
|
|
573
|
+
* <code>bool is_current_user = 10;</code>
|
|
574
|
+
* @return Whether the isCurrentUser field is set.
|
|
575
|
+
*/
|
|
576
|
+
@java.lang.Override
|
|
577
|
+
public boolean hasIsCurrentUser() {
|
|
578
|
+
return ((bitField0_ & 0x00000100) != 0);
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* <code>bool is_current_user = 10;</code>
|
|
582
|
+
* @return The isCurrentUser.
|
|
583
|
+
*/
|
|
584
|
+
@java.lang.Override
|
|
585
|
+
public boolean getIsCurrentUser() {
|
|
586
|
+
return isCurrentUser_;
|
|
587
|
+
}
|
|
588
|
+
|
|
561
589
|
private byte memoizedIsInitialized = -1;
|
|
562
590
|
@java.lang.Override
|
|
563
591
|
public final boolean isInitialized() {
|
|
@@ -599,6 +627,9 @@ private static final long serialVersionUID = 0L;
|
|
|
599
627
|
if (((bitField0_ & 0x00000080) != 0)) {
|
|
600
628
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, swId_);
|
|
601
629
|
}
|
|
630
|
+
if (((bitField0_ & 0x00000100) != 0)) {
|
|
631
|
+
output.writeBool(10, isCurrentUser_);
|
|
632
|
+
}
|
|
602
633
|
unknownFields.writeTo(output);
|
|
603
634
|
}
|
|
604
635
|
|
|
@@ -636,6 +667,10 @@ private static final long serialVersionUID = 0L;
|
|
|
636
667
|
if (((bitField0_ & 0x00000080) != 0)) {
|
|
637
668
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, swId_);
|
|
638
669
|
}
|
|
670
|
+
if (((bitField0_ & 0x00000100) != 0)) {
|
|
671
|
+
size += com.google.protobuf.CodedOutputStream
|
|
672
|
+
.computeBoolSize(10, isCurrentUser_);
|
|
673
|
+
}
|
|
639
674
|
size += unknownFields.getSerializedSize();
|
|
640
675
|
memoizedSize = size;
|
|
641
676
|
return size;
|
|
@@ -693,6 +728,11 @@ private static final long serialVersionUID = 0L;
|
|
|
693
728
|
if (!getSwId()
|
|
694
729
|
.equals(other.getSwId())) return false;
|
|
695
730
|
}
|
|
731
|
+
if (hasIsCurrentUser() != other.hasIsCurrentUser()) return false;
|
|
732
|
+
if (hasIsCurrentUser()) {
|
|
733
|
+
if (getIsCurrentUser()
|
|
734
|
+
!= other.getIsCurrentUser()) return false;
|
|
735
|
+
}
|
|
696
736
|
if (!unknownFields.equals(other.unknownFields)) return false;
|
|
697
737
|
return true;
|
|
698
738
|
}
|
|
@@ -739,6 +779,11 @@ private static final long serialVersionUID = 0L;
|
|
|
739
779
|
hash = (37 * hash) + SW_ID_FIELD_NUMBER;
|
|
740
780
|
hash = (53 * hash) + getSwId().hashCode();
|
|
741
781
|
}
|
|
782
|
+
if (hasIsCurrentUser()) {
|
|
783
|
+
hash = (37 * hash) + IS_CURRENT_USER_FIELD_NUMBER;
|
|
784
|
+
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
785
|
+
getIsCurrentUser());
|
|
786
|
+
}
|
|
742
787
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
743
788
|
memoizedHashCode = hash;
|
|
744
789
|
return hash;
|
|
@@ -835,6 +880,10 @@ private static final long serialVersionUID = 0L;
|
|
|
835
880
|
return builder;
|
|
836
881
|
}
|
|
837
882
|
/**
|
|
883
|
+
* <pre>
|
|
884
|
+
* Raw Software definition
|
|
885
|
+
* </pre>
|
|
886
|
+
*
|
|
838
887
|
* Protobuf type {@code com.lansweeper.dp.outbound.v1.RawSoftware}
|
|
839
888
|
*/
|
|
840
889
|
public static final class Builder extends
|
|
@@ -890,6 +939,8 @@ private static final long serialVersionUID = 0L;
|
|
|
890
939
|
bitField0_ = (bitField0_ & ~0x00000040);
|
|
891
940
|
swId_ = "";
|
|
892
941
|
bitField0_ = (bitField0_ & ~0x00000080);
|
|
942
|
+
isCurrentUser_ = false;
|
|
943
|
+
bitField0_ = (bitField0_ & ~0x00000100);
|
|
893
944
|
return this;
|
|
894
945
|
}
|
|
895
946
|
|
|
@@ -951,6 +1002,10 @@ private static final long serialVersionUID = 0L;
|
|
|
951
1002
|
to_bitField0_ |= 0x00000080;
|
|
952
1003
|
}
|
|
953
1004
|
result.swId_ = swId_;
|
|
1005
|
+
if (((from_bitField0_ & 0x00000100) != 0)) {
|
|
1006
|
+
result.isCurrentUser_ = isCurrentUser_;
|
|
1007
|
+
to_bitField0_ |= 0x00000100;
|
|
1008
|
+
}
|
|
954
1009
|
result.bitField0_ = to_bitField0_;
|
|
955
1010
|
onBuilt();
|
|
956
1011
|
return result;
|
|
@@ -1042,6 +1097,9 @@ private static final long serialVersionUID = 0L;
|
|
|
1042
1097
|
swId_ = other.swId_;
|
|
1043
1098
|
onChanged();
|
|
1044
1099
|
}
|
|
1100
|
+
if (other.hasIsCurrentUser()) {
|
|
1101
|
+
setIsCurrentUser(other.getIsCurrentUser());
|
|
1102
|
+
}
|
|
1045
1103
|
this.mergeUnknownFields(other.unknownFields);
|
|
1046
1104
|
onChanged();
|
|
1047
1105
|
return this;
|
|
@@ -1839,6 +1897,45 @@ private static final long serialVersionUID = 0L;
|
|
|
1839
1897
|
onChanged();
|
|
1840
1898
|
return this;
|
|
1841
1899
|
}
|
|
1900
|
+
|
|
1901
|
+
private boolean isCurrentUser_ ;
|
|
1902
|
+
/**
|
|
1903
|
+
* <code>bool is_current_user = 10;</code>
|
|
1904
|
+
* @return Whether the isCurrentUser field is set.
|
|
1905
|
+
*/
|
|
1906
|
+
@java.lang.Override
|
|
1907
|
+
public boolean hasIsCurrentUser() {
|
|
1908
|
+
return ((bitField0_ & 0x00000100) != 0);
|
|
1909
|
+
}
|
|
1910
|
+
/**
|
|
1911
|
+
* <code>bool is_current_user = 10;</code>
|
|
1912
|
+
* @return The isCurrentUser.
|
|
1913
|
+
*/
|
|
1914
|
+
@java.lang.Override
|
|
1915
|
+
public boolean getIsCurrentUser() {
|
|
1916
|
+
return isCurrentUser_;
|
|
1917
|
+
}
|
|
1918
|
+
/**
|
|
1919
|
+
* <code>bool is_current_user = 10;</code>
|
|
1920
|
+
* @param value The isCurrentUser to set.
|
|
1921
|
+
* @return This builder for chaining.
|
|
1922
|
+
*/
|
|
1923
|
+
public Builder setIsCurrentUser(boolean value) {
|
|
1924
|
+
bitField0_ |= 0x00000100;
|
|
1925
|
+
isCurrentUser_ = value;
|
|
1926
|
+
onChanged();
|
|
1927
|
+
return this;
|
|
1928
|
+
}
|
|
1929
|
+
/**
|
|
1930
|
+
* <code>bool is_current_user = 10;</code>
|
|
1931
|
+
* @return This builder for chaining.
|
|
1932
|
+
*/
|
|
1933
|
+
public Builder clearIsCurrentUser() {
|
|
1934
|
+
bitField0_ = (bitField0_ & ~0x00000100);
|
|
1935
|
+
isCurrentUser_ = false;
|
|
1936
|
+
onChanged();
|
|
1937
|
+
return this;
|
|
1938
|
+
}
|
|
1842
1939
|
@java.lang.Override
|
|
1843
1940
|
public final Builder setUnknownFields(
|
|
1844
1941
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
@@ -184,4 +184,15 @@ public interface RawSoftwareOrBuilder extends
|
|
|
184
184
|
*/
|
|
185
185
|
com.google.protobuf.ByteString
|
|
186
186
|
getSwIdBytes();
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* <code>bool is_current_user = 10;</code>
|
|
190
|
+
* @return Whether the isCurrentUser field is set.
|
|
191
|
+
*/
|
|
192
|
+
boolean hasIsCurrentUser();
|
|
193
|
+
/**
|
|
194
|
+
* <code>bool is_current_user = 10;</code>
|
|
195
|
+
* @return The isCurrentUser.
|
|
196
|
+
*/
|
|
197
|
+
boolean getIsCurrentUser();
|
|
187
198
|
}
|