nucliadb-protos 6.3.7.post4078__py3-none-any.whl → 6.3.7.post4079__py3-none-any.whl
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.
- nucliadb_protos/audit_pb2.py +19 -9
- nucliadb_protos/backups_pb2.py +13 -3
- nucliadb_protos/backups_pb2_grpc.py +20 -0
- nucliadb_protos/dataset_pb2.py +13 -3
- nucliadb_protos/kb_usage_pb2.py +14 -4
- nucliadb_protos/knowledgebox_pb2.py +26 -16
- nucliadb_protos/migrations_pb2.py +13 -3
- nucliadb_protos/nodereader_pb2.py +18 -8
- nucliadb_protos/nodereader_pb2_grpc.py +189 -48
- nucliadb_protos/noderesources_pb2.py +30 -20
- nucliadb_protos/nodewriter_pb2.py +23 -13
- nucliadb_protos/nodewriter_pb2_grpc.py +189 -48
- nucliadb_protos/resources_pb2.py +39 -29
- nucliadb_protos/standalone_pb2.py +13 -3
- nucliadb_protos/standalone_pb2_grpc.py +49 -8
- nucliadb_protos/train_pb2.py +18 -8
- nucliadb_protos/train_pb2_grpc.py +133 -32
- nucliadb_protos/utils_pb2.py +17 -7
- nucliadb_protos/writer_pb2.py +29 -19
- nucliadb_protos/writer_pb2_grpc.py +259 -68
- {nucliadb_protos-6.3.7.post4078.dist-info → nucliadb_protos-6.3.7.post4079.dist-info}/METADATA +1 -1
- nucliadb_protos-6.3.7.post4079.dist-info/RECORD +46 -0
- nucliadb_protos-6.3.7.post4078.dist-info/RECORD +0 -46
- {nucliadb_protos-6.3.7.post4078.dist-info → nucliadb_protos-6.3.7.post4079.dist-info}/WHEEL +0 -0
- {nucliadb_protos-6.3.7.post4078.dist-info → nucliadb_protos-6.3.7.post4079.dist-info}/top_level.txt +0 -0
@@ -1,10 +1,30 @@
|
|
1
1
|
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
2
2
|
"""Client and server classes corresponding to protobuf-defined services."""
|
3
3
|
import grpc
|
4
|
+
import warnings
|
4
5
|
|
5
6
|
from nucliadb_protos import nodereader_pb2 as nucliadb__protos_dot_nodereader__pb2
|
6
7
|
from nucliadb_protos import noderesources_pb2 as nucliadb__protos_dot_noderesources__pb2
|
7
8
|
|
9
|
+
GRPC_GENERATED_VERSION = '1.71.0'
|
10
|
+
GRPC_VERSION = grpc.__version__
|
11
|
+
_version_not_supported = False
|
12
|
+
|
13
|
+
try:
|
14
|
+
from grpc._utilities import first_version_is_lower
|
15
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
16
|
+
except ImportError:
|
17
|
+
_version_not_supported = True
|
18
|
+
|
19
|
+
if _version_not_supported:
|
20
|
+
raise RuntimeError(
|
21
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
22
|
+
+ f' but the generated code in nucliadb_protos/nodereader_pb2_grpc.py depends on'
|
23
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
24
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
25
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
26
|
+
)
|
27
|
+
|
8
28
|
|
9
29
|
class NodeReaderStub(object):
|
10
30
|
"""Implemented at nucliadb_object_storage
|
@@ -21,62 +41,62 @@ class NodeReaderStub(object):
|
|
21
41
|
'/nodereader.NodeReader/GetShard',
|
22
42
|
request_serializer=nucliadb__protos_dot_nodereader__pb2.GetShardRequest.SerializeToString,
|
23
43
|
response_deserializer=nucliadb__protos_dot_noderesources__pb2.Shard.FromString,
|
24
|
-
)
|
44
|
+
_registered_method=True)
|
25
45
|
self.DocumentIds = channel.unary_unary(
|
26
46
|
'/nodereader.NodeReader/DocumentIds',
|
27
47
|
request_serializer=nucliadb__protos_dot_noderesources__pb2.ShardId.SerializeToString,
|
28
48
|
response_deserializer=nucliadb__protos_dot_nodereader__pb2.IdCollection.FromString,
|
29
|
-
)
|
49
|
+
_registered_method=True)
|
30
50
|
self.ParagraphIds = channel.unary_unary(
|
31
51
|
'/nodereader.NodeReader/ParagraphIds',
|
32
52
|
request_serializer=nucliadb__protos_dot_noderesources__pb2.ShardId.SerializeToString,
|
33
53
|
response_deserializer=nucliadb__protos_dot_nodereader__pb2.IdCollection.FromString,
|
34
|
-
)
|
54
|
+
_registered_method=True)
|
35
55
|
self.VectorIds = channel.unary_unary(
|
36
56
|
'/nodereader.NodeReader/VectorIds',
|
37
57
|
request_serializer=nucliadb__protos_dot_noderesources__pb2.VectorSetID.SerializeToString,
|
38
58
|
response_deserializer=nucliadb__protos_dot_nodereader__pb2.IdCollection.FromString,
|
39
|
-
)
|
59
|
+
_registered_method=True)
|
40
60
|
self.RelationIds = channel.unary_unary(
|
41
61
|
'/nodereader.NodeReader/RelationIds',
|
42
62
|
request_serializer=nucliadb__protos_dot_noderesources__pb2.ShardId.SerializeToString,
|
43
63
|
response_deserializer=nucliadb__protos_dot_nodereader__pb2.IdCollection.FromString,
|
44
|
-
)
|
64
|
+
_registered_method=True)
|
45
65
|
self.RelationEdges = channel.unary_unary(
|
46
66
|
'/nodereader.NodeReader/RelationEdges',
|
47
67
|
request_serializer=nucliadb__protos_dot_noderesources__pb2.ShardId.SerializeToString,
|
48
68
|
response_deserializer=nucliadb__protos_dot_nodereader__pb2.EdgeList.FromString,
|
49
|
-
)
|
69
|
+
_registered_method=True)
|
50
70
|
self.Search = channel.unary_unary(
|
51
71
|
'/nodereader.NodeReader/Search',
|
52
72
|
request_serializer=nucliadb__protos_dot_nodereader__pb2.SearchRequest.SerializeToString,
|
53
73
|
response_deserializer=nucliadb__protos_dot_nodereader__pb2.SearchResponse.FromString,
|
54
|
-
)
|
74
|
+
_registered_method=True)
|
55
75
|
self.Suggest = channel.unary_unary(
|
56
76
|
'/nodereader.NodeReader/Suggest',
|
57
77
|
request_serializer=nucliadb__protos_dot_nodereader__pb2.SuggestRequest.SerializeToString,
|
58
78
|
response_deserializer=nucliadb__protos_dot_nodereader__pb2.SuggestResponse.FromString,
|
59
|
-
)
|
79
|
+
_registered_method=True)
|
60
80
|
self.Paragraphs = channel.unary_stream(
|
61
81
|
'/nodereader.NodeReader/Paragraphs',
|
62
82
|
request_serializer=nucliadb__protos_dot_nodereader__pb2.StreamRequest.SerializeToString,
|
63
83
|
response_deserializer=nucliadb__protos_dot_nodereader__pb2.ParagraphItem.FromString,
|
64
|
-
)
|
84
|
+
_registered_method=True)
|
65
85
|
self.Documents = channel.unary_stream(
|
66
86
|
'/nodereader.NodeReader/Documents',
|
67
87
|
request_serializer=nucliadb__protos_dot_nodereader__pb2.StreamRequest.SerializeToString,
|
68
88
|
response_deserializer=nucliadb__protos_dot_nodereader__pb2.DocumentItem.FromString,
|
69
|
-
)
|
89
|
+
_registered_method=True)
|
70
90
|
self.GetShardFiles = channel.unary_unary(
|
71
91
|
'/nodereader.NodeReader/GetShardFiles',
|
72
92
|
request_serializer=nucliadb__protos_dot_nodereader__pb2.GetShardFilesRequest.SerializeToString,
|
73
93
|
response_deserializer=nucliadb__protos_dot_nodereader__pb2.ShardFileList.FromString,
|
74
|
-
)
|
94
|
+
_registered_method=True)
|
75
95
|
self.DownloadShardFile = channel.unary_stream(
|
76
96
|
'/nodereader.NodeReader/DownloadShardFile',
|
77
97
|
request_serializer=nucliadb__protos_dot_nodereader__pb2.DownloadShardFileRequest.SerializeToString,
|
78
98
|
response_deserializer=nucliadb__protos_dot_nodereader__pb2.ShardFileChunk.FromString,
|
79
|
-
)
|
99
|
+
_registered_method=True)
|
80
100
|
|
81
101
|
|
82
102
|
class NodeReaderServicer(object):
|
@@ -225,6 +245,7 @@ def add_NodeReaderServicer_to_server(servicer, server):
|
|
225
245
|
generic_handler = grpc.method_handlers_generic_handler(
|
226
246
|
'nodereader.NodeReader', rpc_method_handlers)
|
227
247
|
server.add_generic_rpc_handlers((generic_handler,))
|
248
|
+
server.add_registered_method_handlers('nodereader.NodeReader', rpc_method_handlers)
|
228
249
|
|
229
250
|
|
230
251
|
# This class is part of an EXPERIMENTAL API.
|
@@ -244,11 +265,21 @@ class NodeReader(object):
|
|
244
265
|
wait_for_ready=None,
|
245
266
|
timeout=None,
|
246
267
|
metadata=None):
|
247
|
-
return grpc.experimental.unary_unary(
|
268
|
+
return grpc.experimental.unary_unary(
|
269
|
+
request,
|
270
|
+
target,
|
271
|
+
'/nodereader.NodeReader/GetShard',
|
248
272
|
nucliadb__protos_dot_nodereader__pb2.GetShardRequest.SerializeToString,
|
249
273
|
nucliadb__protos_dot_noderesources__pb2.Shard.FromString,
|
250
|
-
options,
|
251
|
-
|
274
|
+
options,
|
275
|
+
channel_credentials,
|
276
|
+
insecure,
|
277
|
+
call_credentials,
|
278
|
+
compression,
|
279
|
+
wait_for_ready,
|
280
|
+
timeout,
|
281
|
+
metadata,
|
282
|
+
_registered_method=True)
|
252
283
|
|
253
284
|
@staticmethod
|
254
285
|
def DocumentIds(request,
|
@@ -261,11 +292,21 @@ class NodeReader(object):
|
|
261
292
|
wait_for_ready=None,
|
262
293
|
timeout=None,
|
263
294
|
metadata=None):
|
264
|
-
return grpc.experimental.unary_unary(
|
295
|
+
return grpc.experimental.unary_unary(
|
296
|
+
request,
|
297
|
+
target,
|
298
|
+
'/nodereader.NodeReader/DocumentIds',
|
265
299
|
nucliadb__protos_dot_noderesources__pb2.ShardId.SerializeToString,
|
266
300
|
nucliadb__protos_dot_nodereader__pb2.IdCollection.FromString,
|
267
|
-
options,
|
268
|
-
|
301
|
+
options,
|
302
|
+
channel_credentials,
|
303
|
+
insecure,
|
304
|
+
call_credentials,
|
305
|
+
compression,
|
306
|
+
wait_for_ready,
|
307
|
+
timeout,
|
308
|
+
metadata,
|
309
|
+
_registered_method=True)
|
269
310
|
|
270
311
|
@staticmethod
|
271
312
|
def ParagraphIds(request,
|
@@ -278,11 +319,21 @@ class NodeReader(object):
|
|
278
319
|
wait_for_ready=None,
|
279
320
|
timeout=None,
|
280
321
|
metadata=None):
|
281
|
-
return grpc.experimental.unary_unary(
|
322
|
+
return grpc.experimental.unary_unary(
|
323
|
+
request,
|
324
|
+
target,
|
325
|
+
'/nodereader.NodeReader/ParagraphIds',
|
282
326
|
nucliadb__protos_dot_noderesources__pb2.ShardId.SerializeToString,
|
283
327
|
nucliadb__protos_dot_nodereader__pb2.IdCollection.FromString,
|
284
|
-
options,
|
285
|
-
|
328
|
+
options,
|
329
|
+
channel_credentials,
|
330
|
+
insecure,
|
331
|
+
call_credentials,
|
332
|
+
compression,
|
333
|
+
wait_for_ready,
|
334
|
+
timeout,
|
335
|
+
metadata,
|
336
|
+
_registered_method=True)
|
286
337
|
|
287
338
|
@staticmethod
|
288
339
|
def VectorIds(request,
|
@@ -295,11 +346,21 @@ class NodeReader(object):
|
|
295
346
|
wait_for_ready=None,
|
296
347
|
timeout=None,
|
297
348
|
metadata=None):
|
298
|
-
return grpc.experimental.unary_unary(
|
349
|
+
return grpc.experimental.unary_unary(
|
350
|
+
request,
|
351
|
+
target,
|
352
|
+
'/nodereader.NodeReader/VectorIds',
|
299
353
|
nucliadb__protos_dot_noderesources__pb2.VectorSetID.SerializeToString,
|
300
354
|
nucliadb__protos_dot_nodereader__pb2.IdCollection.FromString,
|
301
|
-
options,
|
302
|
-
|
355
|
+
options,
|
356
|
+
channel_credentials,
|
357
|
+
insecure,
|
358
|
+
call_credentials,
|
359
|
+
compression,
|
360
|
+
wait_for_ready,
|
361
|
+
timeout,
|
362
|
+
metadata,
|
363
|
+
_registered_method=True)
|
303
364
|
|
304
365
|
@staticmethod
|
305
366
|
def RelationIds(request,
|
@@ -312,11 +373,21 @@ class NodeReader(object):
|
|
312
373
|
wait_for_ready=None,
|
313
374
|
timeout=None,
|
314
375
|
metadata=None):
|
315
|
-
return grpc.experimental.unary_unary(
|
376
|
+
return grpc.experimental.unary_unary(
|
377
|
+
request,
|
378
|
+
target,
|
379
|
+
'/nodereader.NodeReader/RelationIds',
|
316
380
|
nucliadb__protos_dot_noderesources__pb2.ShardId.SerializeToString,
|
317
381
|
nucliadb__protos_dot_nodereader__pb2.IdCollection.FromString,
|
318
|
-
options,
|
319
|
-
|
382
|
+
options,
|
383
|
+
channel_credentials,
|
384
|
+
insecure,
|
385
|
+
call_credentials,
|
386
|
+
compression,
|
387
|
+
wait_for_ready,
|
388
|
+
timeout,
|
389
|
+
metadata,
|
390
|
+
_registered_method=True)
|
320
391
|
|
321
392
|
@staticmethod
|
322
393
|
def RelationEdges(request,
|
@@ -329,11 +400,21 @@ class NodeReader(object):
|
|
329
400
|
wait_for_ready=None,
|
330
401
|
timeout=None,
|
331
402
|
metadata=None):
|
332
|
-
return grpc.experimental.unary_unary(
|
403
|
+
return grpc.experimental.unary_unary(
|
404
|
+
request,
|
405
|
+
target,
|
406
|
+
'/nodereader.NodeReader/RelationEdges',
|
333
407
|
nucliadb__protos_dot_noderesources__pb2.ShardId.SerializeToString,
|
334
408
|
nucliadb__protos_dot_nodereader__pb2.EdgeList.FromString,
|
335
|
-
options,
|
336
|
-
|
409
|
+
options,
|
410
|
+
channel_credentials,
|
411
|
+
insecure,
|
412
|
+
call_credentials,
|
413
|
+
compression,
|
414
|
+
wait_for_ready,
|
415
|
+
timeout,
|
416
|
+
metadata,
|
417
|
+
_registered_method=True)
|
337
418
|
|
338
419
|
@staticmethod
|
339
420
|
def Search(request,
|
@@ -346,11 +427,21 @@ class NodeReader(object):
|
|
346
427
|
wait_for_ready=None,
|
347
428
|
timeout=None,
|
348
429
|
metadata=None):
|
349
|
-
return grpc.experimental.unary_unary(
|
430
|
+
return grpc.experimental.unary_unary(
|
431
|
+
request,
|
432
|
+
target,
|
433
|
+
'/nodereader.NodeReader/Search',
|
350
434
|
nucliadb__protos_dot_nodereader__pb2.SearchRequest.SerializeToString,
|
351
435
|
nucliadb__protos_dot_nodereader__pb2.SearchResponse.FromString,
|
352
|
-
options,
|
353
|
-
|
436
|
+
options,
|
437
|
+
channel_credentials,
|
438
|
+
insecure,
|
439
|
+
call_credentials,
|
440
|
+
compression,
|
441
|
+
wait_for_ready,
|
442
|
+
timeout,
|
443
|
+
metadata,
|
444
|
+
_registered_method=True)
|
354
445
|
|
355
446
|
@staticmethod
|
356
447
|
def Suggest(request,
|
@@ -363,11 +454,21 @@ class NodeReader(object):
|
|
363
454
|
wait_for_ready=None,
|
364
455
|
timeout=None,
|
365
456
|
metadata=None):
|
366
|
-
return grpc.experimental.unary_unary(
|
457
|
+
return grpc.experimental.unary_unary(
|
458
|
+
request,
|
459
|
+
target,
|
460
|
+
'/nodereader.NodeReader/Suggest',
|
367
461
|
nucliadb__protos_dot_nodereader__pb2.SuggestRequest.SerializeToString,
|
368
462
|
nucliadb__protos_dot_nodereader__pb2.SuggestResponse.FromString,
|
369
|
-
options,
|
370
|
-
|
463
|
+
options,
|
464
|
+
channel_credentials,
|
465
|
+
insecure,
|
466
|
+
call_credentials,
|
467
|
+
compression,
|
468
|
+
wait_for_ready,
|
469
|
+
timeout,
|
470
|
+
metadata,
|
471
|
+
_registered_method=True)
|
371
472
|
|
372
473
|
@staticmethod
|
373
474
|
def Paragraphs(request,
|
@@ -380,11 +481,21 @@ class NodeReader(object):
|
|
380
481
|
wait_for_ready=None,
|
381
482
|
timeout=None,
|
382
483
|
metadata=None):
|
383
|
-
return grpc.experimental.unary_stream(
|
484
|
+
return grpc.experimental.unary_stream(
|
485
|
+
request,
|
486
|
+
target,
|
487
|
+
'/nodereader.NodeReader/Paragraphs',
|
384
488
|
nucliadb__protos_dot_nodereader__pb2.StreamRequest.SerializeToString,
|
385
489
|
nucliadb__protos_dot_nodereader__pb2.ParagraphItem.FromString,
|
386
|
-
options,
|
387
|
-
|
490
|
+
options,
|
491
|
+
channel_credentials,
|
492
|
+
insecure,
|
493
|
+
call_credentials,
|
494
|
+
compression,
|
495
|
+
wait_for_ready,
|
496
|
+
timeout,
|
497
|
+
metadata,
|
498
|
+
_registered_method=True)
|
388
499
|
|
389
500
|
@staticmethod
|
390
501
|
def Documents(request,
|
@@ -397,11 +508,21 @@ class NodeReader(object):
|
|
397
508
|
wait_for_ready=None,
|
398
509
|
timeout=None,
|
399
510
|
metadata=None):
|
400
|
-
return grpc.experimental.unary_stream(
|
511
|
+
return grpc.experimental.unary_stream(
|
512
|
+
request,
|
513
|
+
target,
|
514
|
+
'/nodereader.NodeReader/Documents',
|
401
515
|
nucliadb__protos_dot_nodereader__pb2.StreamRequest.SerializeToString,
|
402
516
|
nucliadb__protos_dot_nodereader__pb2.DocumentItem.FromString,
|
403
|
-
options,
|
404
|
-
|
517
|
+
options,
|
518
|
+
channel_credentials,
|
519
|
+
insecure,
|
520
|
+
call_credentials,
|
521
|
+
compression,
|
522
|
+
wait_for_ready,
|
523
|
+
timeout,
|
524
|
+
metadata,
|
525
|
+
_registered_method=True)
|
405
526
|
|
406
527
|
@staticmethod
|
407
528
|
def GetShardFiles(request,
|
@@ -414,11 +535,21 @@ class NodeReader(object):
|
|
414
535
|
wait_for_ready=None,
|
415
536
|
timeout=None,
|
416
537
|
metadata=None):
|
417
|
-
return grpc.experimental.unary_unary(
|
538
|
+
return grpc.experimental.unary_unary(
|
539
|
+
request,
|
540
|
+
target,
|
541
|
+
'/nodereader.NodeReader/GetShardFiles',
|
418
542
|
nucliadb__protos_dot_nodereader__pb2.GetShardFilesRequest.SerializeToString,
|
419
543
|
nucliadb__protos_dot_nodereader__pb2.ShardFileList.FromString,
|
420
|
-
options,
|
421
|
-
|
544
|
+
options,
|
545
|
+
channel_credentials,
|
546
|
+
insecure,
|
547
|
+
call_credentials,
|
548
|
+
compression,
|
549
|
+
wait_for_ready,
|
550
|
+
timeout,
|
551
|
+
metadata,
|
552
|
+
_registered_method=True)
|
422
553
|
|
423
554
|
@staticmethod
|
424
555
|
def DownloadShardFile(request,
|
@@ -431,8 +562,18 @@ class NodeReader(object):
|
|
431
562
|
wait_for_ready=None,
|
432
563
|
timeout=None,
|
433
564
|
metadata=None):
|
434
|
-
return grpc.experimental.unary_stream(
|
565
|
+
return grpc.experimental.unary_stream(
|
566
|
+
request,
|
567
|
+
target,
|
568
|
+
'/nodereader.NodeReader/DownloadShardFile',
|
435
569
|
nucliadb__protos_dot_nodereader__pb2.DownloadShardFileRequest.SerializeToString,
|
436
570
|
nucliadb__protos_dot_nodereader__pb2.ShardFileChunk.FromString,
|
437
|
-
options,
|
438
|
-
|
571
|
+
options,
|
572
|
+
channel_credentials,
|
573
|
+
insecure,
|
574
|
+
call_credentials,
|
575
|
+
compression,
|
576
|
+
wait_for_ready,
|
577
|
+
timeout,
|
578
|
+
metadata,
|
579
|
+
_registered_method=True)
|
@@ -1,12 +1,22 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
3
4
|
# source: nucliadb_protos/noderesources.proto
|
4
|
-
# Protobuf Python Version:
|
5
|
+
# Protobuf Python Version: 5.29.0
|
5
6
|
"""Generated protocol buffer code."""
|
6
7
|
from google.protobuf import descriptor as _descriptor
|
7
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
8
10
|
from google.protobuf import symbol_database as _symbol_database
|
9
11
|
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
5,
|
15
|
+
29,
|
16
|
+
0,
|
17
|
+
'',
|
18
|
+
'nucliadb_protos/noderesources.proto'
|
19
|
+
)
|
10
20
|
# @@protoc_insertion_point(imports)
|
11
21
|
|
12
22
|
_sym_db = _symbol_database.Default()
|
@@ -22,41 +32,41 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#nucliadb_protos/n
|
|
22
32
|
_globals = globals()
|
23
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
24
34
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nucliadb_protos.noderesources_pb2', _globals)
|
25
|
-
if _descriptor._USE_C_DESCRIPTORS
|
26
|
-
DESCRIPTOR.
|
27
|
-
_globals['_VECTORSETSENTENCES_SENTENCESENTRY'].
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
36
|
+
DESCRIPTOR._loaded_options = None
|
37
|
+
_globals['_VECTORSETSENTENCES_SENTENCESENTRY']._loaded_options = None
|
28
38
|
_globals['_VECTORSETSENTENCES_SENTENCESENTRY']._serialized_options = b'8\001'
|
29
|
-
_globals['_INDEXPARAGRAPH_SENTENCESENTRY'].
|
39
|
+
_globals['_INDEXPARAGRAPH_SENTENCESENTRY']._loaded_options = None
|
30
40
|
_globals['_INDEXPARAGRAPH_SENTENCESENTRY']._serialized_options = b'8\001'
|
31
|
-
_globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY'].
|
41
|
+
_globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._loaded_options = None
|
32
42
|
_globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._serialized_options = b'8\001'
|
33
|
-
_globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY'].
|
43
|
+
_globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._loaded_options = None
|
34
44
|
_globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._serialized_options = b'8\001'
|
35
|
-
_globals['_RESOURCE_TEXTSENTRY'].
|
45
|
+
_globals['_RESOURCE_TEXTSENTRY']._loaded_options = None
|
36
46
|
_globals['_RESOURCE_TEXTSENTRY']._serialized_options = b'8\001'
|
37
|
-
_globals['_RESOURCE_PARAGRAPHSENTRY'].
|
47
|
+
_globals['_RESOURCE_PARAGRAPHSENTRY']._loaded_options = None
|
38
48
|
_globals['_RESOURCE_PARAGRAPHSENTRY']._serialized_options = b'8\001'
|
39
|
-
_globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY'].
|
49
|
+
_globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._loaded_options = None
|
40
50
|
_globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_options = b'8\001'
|
41
|
-
_globals['_RESOURCE_FIELDRELATIONSENTRY'].
|
51
|
+
_globals['_RESOURCE_FIELDRELATIONSENTRY']._loaded_options = None
|
42
52
|
_globals['_RESOURCE_FIELDRELATIONSENTRY']._serialized_options = b'8\001'
|
43
|
-
_globals['_RESOURCE_VECTORSENTRY'].
|
53
|
+
_globals['_RESOURCE_VECTORSENTRY']._loaded_options = None
|
44
54
|
_globals['_RESOURCE_VECTORSENTRY']._serialized_options = b'8\001'
|
45
|
-
_globals['_RESOURCE_VECTORSTODELETEENTRY'].
|
55
|
+
_globals['_RESOURCE_VECTORSTODELETEENTRY']._loaded_options = None
|
46
56
|
_globals['_RESOURCE_VECTORSTODELETEENTRY']._serialized_options = b'8\001'
|
47
|
-
_globals['_RESOURCE'].fields_by_name['sentences_to_delete'].
|
57
|
+
_globals['_RESOURCE'].fields_by_name['sentences_to_delete']._loaded_options = None
|
48
58
|
_globals['_RESOURCE'].fields_by_name['sentences_to_delete']._serialized_options = b'\030\001'
|
49
|
-
_globals['_RESOURCE'].fields_by_name['vectors'].
|
59
|
+
_globals['_RESOURCE'].fields_by_name['vectors']._loaded_options = None
|
50
60
|
_globals['_RESOURCE'].fields_by_name['vectors']._serialized_options = b'\030\001'
|
51
|
-
_globals['_RESOURCE'].fields_by_name['vectors_to_delete'].
|
61
|
+
_globals['_RESOURCE'].fields_by_name['vectors_to_delete']._loaded_options = None
|
52
62
|
_globals['_RESOURCE'].fields_by_name['vectors_to_delete']._serialized_options = b'\030\001'
|
53
|
-
_globals['_NODEMETADATA_SHARDMETADATA'].fields_by_name['load_score'].
|
63
|
+
_globals['_NODEMETADATA_SHARDMETADATA'].fields_by_name['load_score']._loaded_options = None
|
54
64
|
_globals['_NODEMETADATA_SHARDMETADATA'].fields_by_name['load_score']._serialized_options = b'\030\001'
|
55
|
-
_globals['_NODEMETADATA_SHARDSENTRY'].
|
65
|
+
_globals['_NODEMETADATA_SHARDSENTRY']._loaded_options = None
|
56
66
|
_globals['_NODEMETADATA_SHARDSENTRY']._serialized_options = b'8\001'
|
57
|
-
_globals['_NODEMETADATA'].fields_by_name['load_score'].
|
67
|
+
_globals['_NODEMETADATA'].fields_by_name['load_score']._loaded_options = None
|
58
68
|
_globals['_NODEMETADATA'].fields_by_name['load_score']._serialized_options = b'\030\001'
|
59
|
-
_globals['_NODEMETADATA'].fields_by_name['shards'].
|
69
|
+
_globals['_NODEMETADATA'].fields_by_name['shards']._loaded_options = None
|
60
70
|
_globals['_NODEMETADATA'].fields_by_name['shards']._serialized_options = b'\030\001'
|
61
71
|
_globals['_TEXTINFORMATION']._serialized_start=116
|
62
72
|
_globals['_TEXTINFORMATION']._serialized_end=163
|
@@ -1,12 +1,22 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
3
4
|
# source: nucliadb_protos/nodewriter.proto
|
4
|
-
# Protobuf Python Version:
|
5
|
+
# Protobuf Python Version: 5.29.0
|
5
6
|
"""Generated protocol buffer code."""
|
6
7
|
from google.protobuf import descriptor as _descriptor
|
7
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
8
10
|
from google.protobuf import symbol_database as _symbol_database
|
9
11
|
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
5,
|
15
|
+
29,
|
16
|
+
0,
|
17
|
+
'',
|
18
|
+
'nucliadb_protos/nodewriter.proto'
|
19
|
+
)
|
10
20
|
# @@protoc_insertion_point(imports)
|
11
21
|
|
12
22
|
_sym_db = _symbol_database.Default()
|
@@ -25,27 +35,27 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n nucliadb_protos/n
|
|
25
35
|
_globals = globals()
|
26
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
27
37
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nucliadb_protos.nodewriter_pb2', _globals)
|
28
|
-
if _descriptor._USE_C_DESCRIPTORS
|
29
|
-
DESCRIPTOR.
|
30
|
-
_globals['_OPSTATUS'].fields_by_name['field_count'].
|
38
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
39
|
+
DESCRIPTOR._loaded_options = None
|
40
|
+
_globals['_OPSTATUS'].fields_by_name['field_count']._loaded_options = None
|
31
41
|
_globals['_OPSTATUS'].fields_by_name['field_count']._serialized_options = b'\030\001'
|
32
|
-
_globals['_OPSTATUS'].fields_by_name['paragraph_count'].
|
42
|
+
_globals['_OPSTATUS'].fields_by_name['paragraph_count']._loaded_options = None
|
33
43
|
_globals['_OPSTATUS'].fields_by_name['paragraph_count']._serialized_options = b'\030\001'
|
34
|
-
_globals['_OPSTATUS'].fields_by_name['sentence_count'].
|
44
|
+
_globals['_OPSTATUS'].fields_by_name['sentence_count']._loaded_options = None
|
35
45
|
_globals['_OPSTATUS'].fields_by_name['sentence_count']._serialized_options = b'\030\001'
|
36
|
-
_globals['_OPSTATUS'].fields_by_name['shard_id'].
|
46
|
+
_globals['_OPSTATUS'].fields_by_name['shard_id']._loaded_options = None
|
37
47
|
_globals['_OPSTATUS'].fields_by_name['shard_id']._serialized_options = b'\030\001'
|
38
|
-
_globals['_NEWSHARDREQUEST_VECTORSETSCONFIGSENTRY'].
|
48
|
+
_globals['_NEWSHARDREQUEST_VECTORSETSCONFIGSENTRY']._loaded_options = None
|
39
49
|
_globals['_NEWSHARDREQUEST_VECTORSETSCONFIGSENTRY']._serialized_options = b'8\001'
|
40
|
-
_globals['_NEWSHARDREQUEST'].fields_by_name['similarity'].
|
50
|
+
_globals['_NEWSHARDREQUEST'].fields_by_name['similarity']._loaded_options = None
|
41
51
|
_globals['_NEWSHARDREQUEST'].fields_by_name['similarity']._serialized_options = b'\030\001'
|
42
|
-
_globals['_NEWSHARDREQUEST'].fields_by_name['normalize_vectors'].
|
52
|
+
_globals['_NEWSHARDREQUEST'].fields_by_name['normalize_vectors']._loaded_options = None
|
43
53
|
_globals['_NEWSHARDREQUEST'].fields_by_name['normalize_vectors']._serialized_options = b'\030\001'
|
44
|
-
_globals['_NEWSHARDREQUEST'].fields_by_name['config'].
|
54
|
+
_globals['_NEWSHARDREQUEST'].fields_by_name['config']._loaded_options = None
|
45
55
|
_globals['_NEWSHARDREQUEST'].fields_by_name['config']._serialized_options = b'\030\001'
|
46
|
-
_globals['_NEWVECTORSETREQUEST'].fields_by_name['similarity'].
|
56
|
+
_globals['_NEWVECTORSETREQUEST'].fields_by_name['similarity']._loaded_options = None
|
47
57
|
_globals['_NEWVECTORSETREQUEST'].fields_by_name['similarity']._serialized_options = b'\030\001'
|
48
|
-
_globals['_NEWVECTORSETREQUEST'].fields_by_name['normalize_vectors'].
|
58
|
+
_globals['_NEWVECTORSETREQUEST'].fields_by_name['normalize_vectors']._loaded_options = None
|
49
59
|
_globals['_NEWVECTORSETREQUEST'].fields_by_name['normalize_vectors']._serialized_options = b'\030\001'
|
50
60
|
_globals['_TYPEMESSAGE']._serialized_start=1605
|
51
61
|
_globals['_TYPEMESSAGE']._serialized_end=1646
|