nucliadb-protos 6.3.6.post4063__py3-none-any.whl → 6.10.0.post5705__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.

Potentially problematic release.


This version of nucliadb-protos might be problematic. Click here for more details.

Files changed (44) hide show
  1. .gitignore +1 -0
  2. build.py +56 -0
  3. nucliadb_protos/audit_pb2.py +43 -46
  4. nucliadb_protos/audit_pb2.pyi +64 -13
  5. nucliadb_protos/backups_pb2.py +13 -3
  6. nucliadb_protos/backups_pb2_grpc.py +20 -0
  7. nucliadb_protos/dataset_pb2.py +13 -3
  8. nucliadb_protos/dataset_pb2.pyi +3 -0
  9. nucliadb_protos/kb_usage_pb2.py +20 -10
  10. nucliadb_protos/kb_usage_pb2.pyi +2 -0
  11. nucliadb_protos/knowledgebox_pb2.py +116 -114
  12. nucliadb_protos/knowledgebox_pb2.pyi +49 -28
  13. nucliadb_protos/migrations_pb2.py +13 -3
  14. nucliadb_protos/resources_pb2.py +239 -219
  15. nucliadb_protos/resources_pb2.pyi +100 -15
  16. nucliadb_protos/standalone_pb2.py +13 -3
  17. nucliadb_protos/standalone_pb2_grpc.py +49 -8
  18. nucliadb_protos/train_pb2.py +18 -40
  19. nucliadb_protos/train_pb2.pyi +6 -8
  20. nucliadb_protos/train_pb2_grpc.py +133 -32
  21. nucliadb_protos/train_pb2_grpc.pyi +6 -8
  22. nucliadb_protos/utils_pb2.py +18 -10
  23. nucliadb_protos/utils_pb2.pyi +0 -15
  24. nucliadb_protos/writer_pb2.py +140 -176
  25. nucliadb_protos/writer_pb2.pyi +40 -311
  26. nucliadb_protos/writer_pb2_grpc.py +204 -185
  27. nucliadb_protos/writer_pb2_grpc.pyi +11 -99
  28. {nucliadb_protos-6.3.6.post4063.dist-info → nucliadb_protos-6.10.0.post5705.dist-info}/METADATA +10 -10
  29. nucliadb_protos-6.10.0.post5705.dist-info/RECORD +37 -0
  30. {nucliadb_protos-6.3.6.post4063.dist-info → nucliadb_protos-6.10.0.post5705.dist-info}/WHEEL +1 -2
  31. nucliadb_protos-6.10.0.post5705.dist-info/entry_points.txt +4 -0
  32. nucliadb_protos/__init__.py +0 -0
  33. nucliadb_protos/nodereader_pb2.py +0 -187
  34. nucliadb_protos/nodereader_pb2.pyi +0 -1715
  35. nucliadb_protos/nodereader_pb2_grpc.py +0 -438
  36. nucliadb_protos/nodereader_pb2_grpc.pyi +0 -288
  37. nucliadb_protos/noderesources_pb2.py +0 -145
  38. nucliadb_protos/noderesources_pb2.pyi +0 -993
  39. nucliadb_protos/nodewriter_pb2.py +0 -80
  40. nucliadb_protos/nodewriter_pb2.pyi +0 -348
  41. nucliadb_protos/nodewriter_pb2_grpc.py +0 -430
  42. nucliadb_protos/nodewriter_pb2_grpc.pyi +0 -256
  43. nucliadb_protos-6.3.6.post4063.dist-info/RECORD +0 -46
  44. nucliadb_protos-6.3.6.post4063.dist-info/top_level.txt +0 -1
@@ -1,288 +0,0 @@
1
- """
2
- @generated by mypy-protobuf. Do not edit manually!
3
- isort:skip_file
4
- """
5
-
6
- import abc
7
- import collections.abc
8
- import grpc
9
- import grpc.aio
10
- import nucliadb_protos.nodereader_pb2
11
- import nucliadb_protos.noderesources_pb2
12
- import typing
13
- from nucliadb_protos.noderesources_pb2 import (
14
- EmptyQuery as EmptyQuery,
15
- EmptyResponse as EmptyResponse,
16
- IndexMetadata as IndexMetadata,
17
- IndexParagraph as IndexParagraph,
18
- IndexParagraphs as IndexParagraphs,
19
- IndexRelation as IndexRelation,
20
- IndexRelations as IndexRelations,
21
- NodeMetadata as NodeMetadata,
22
- ParagraphMetadata as ParagraphMetadata,
23
- Position as Position,
24
- Representation as Representation,
25
- Resource as Resource,
26
- ResourceID as ResourceID,
27
- SentenceMetadata as SentenceMetadata,
28
- Shard as Shard,
29
- ShardCreated as ShardCreated,
30
- ShardId as ShardId,
31
- ShardIds as ShardIds,
32
- ShardMetadata as ShardMetadata,
33
- StringList as StringList,
34
- TextInformation as TextInformation,
35
- VectorSentence as VectorSentence,
36
- VectorSetID as VectorSetID,
37
- VectorSetList as VectorSetList,
38
- VectorsetSentences as VectorsetSentences,
39
- )
40
- from nucliadb_protos.utils_pb2 import (
41
- COSINE as COSINE,
42
- DOT as DOT,
43
- EXPERIMENTAL as EXPERIMENTAL,
44
- ExtractedText as ExtractedText,
45
- Relation as Relation,
46
- RelationMetadata as RelationMetadata,
47
- RelationNode as RelationNode,
48
- ReleaseChannel as ReleaseChannel,
49
- STABLE as STABLE,
50
- Security as Security,
51
- UserVector as UserVector,
52
- UserVectorSet as UserVectorSet,
53
- UserVectors as UserVectors,
54
- UserVectorsList as UserVectorsList,
55
- Vector as Vector,
56
- VectorObject as VectorObject,
57
- VectorSimilarity as VectorSimilarity,
58
- Vectors as Vectors,
59
- )
60
-
61
- _T = typing.TypeVar("_T")
62
-
63
- class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
64
-
65
- class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
66
- ...
67
-
68
- class NodeReaderStub:
69
- """Implemented at nucliadb_object_storage"""
70
-
71
- def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
72
- GetShard: grpc.UnaryUnaryMultiCallable[
73
- nucliadb_protos.nodereader_pb2.GetShardRequest,
74
- nucliadb_protos.noderesources_pb2.Shard,
75
- ]
76
-
77
- DocumentIds: grpc.UnaryUnaryMultiCallable[
78
- nucliadb_protos.noderesources_pb2.ShardId,
79
- nucliadb_protos.nodereader_pb2.IdCollection,
80
- ]
81
-
82
- ParagraphIds: grpc.UnaryUnaryMultiCallable[
83
- nucliadb_protos.noderesources_pb2.ShardId,
84
- nucliadb_protos.nodereader_pb2.IdCollection,
85
- ]
86
-
87
- VectorIds: grpc.UnaryUnaryMultiCallable[
88
- nucliadb_protos.noderesources_pb2.VectorSetID,
89
- nucliadb_protos.nodereader_pb2.IdCollection,
90
- ]
91
-
92
- RelationIds: grpc.UnaryUnaryMultiCallable[
93
- nucliadb_protos.noderesources_pb2.ShardId,
94
- nucliadb_protos.nodereader_pb2.IdCollection,
95
- ]
96
-
97
- RelationEdges: grpc.UnaryUnaryMultiCallable[
98
- nucliadb_protos.noderesources_pb2.ShardId,
99
- nucliadb_protos.nodereader_pb2.EdgeList,
100
- ]
101
-
102
- Search: grpc.UnaryUnaryMultiCallable[
103
- nucliadb_protos.nodereader_pb2.SearchRequest,
104
- nucliadb_protos.nodereader_pb2.SearchResponse,
105
- ]
106
-
107
- Suggest: grpc.UnaryUnaryMultiCallable[
108
- nucliadb_protos.nodereader_pb2.SuggestRequest,
109
- nucliadb_protos.nodereader_pb2.SuggestResponse,
110
- ]
111
-
112
- Paragraphs: grpc.UnaryStreamMultiCallable[
113
- nucliadb_protos.nodereader_pb2.StreamRequest,
114
- nucliadb_protos.nodereader_pb2.ParagraphItem,
115
- ]
116
- """Streams"""
117
-
118
- Documents: grpc.UnaryStreamMultiCallable[
119
- nucliadb_protos.nodereader_pb2.StreamRequest,
120
- nucliadb_protos.nodereader_pb2.DocumentItem,
121
- ]
122
-
123
- GetShardFiles: grpc.UnaryUnaryMultiCallable[
124
- nucliadb_protos.nodereader_pb2.GetShardFilesRequest,
125
- nucliadb_protos.nodereader_pb2.ShardFileList,
126
- ]
127
- """Shard Download"""
128
-
129
- DownloadShardFile: grpc.UnaryStreamMultiCallable[
130
- nucliadb_protos.nodereader_pb2.DownloadShardFileRequest,
131
- nucliadb_protos.nodereader_pb2.ShardFileChunk,
132
- ]
133
-
134
- class NodeReaderAsyncStub:
135
- """Implemented at nucliadb_object_storage"""
136
-
137
- GetShard: grpc.aio.UnaryUnaryMultiCallable[
138
- nucliadb_protos.nodereader_pb2.GetShardRequest,
139
- nucliadb_protos.noderesources_pb2.Shard,
140
- ]
141
-
142
- DocumentIds: grpc.aio.UnaryUnaryMultiCallable[
143
- nucliadb_protos.noderesources_pb2.ShardId,
144
- nucliadb_protos.nodereader_pb2.IdCollection,
145
- ]
146
-
147
- ParagraphIds: grpc.aio.UnaryUnaryMultiCallable[
148
- nucliadb_protos.noderesources_pb2.ShardId,
149
- nucliadb_protos.nodereader_pb2.IdCollection,
150
- ]
151
-
152
- VectorIds: grpc.aio.UnaryUnaryMultiCallable[
153
- nucliadb_protos.noderesources_pb2.VectorSetID,
154
- nucliadb_protos.nodereader_pb2.IdCollection,
155
- ]
156
-
157
- RelationIds: grpc.aio.UnaryUnaryMultiCallable[
158
- nucliadb_protos.noderesources_pb2.ShardId,
159
- nucliadb_protos.nodereader_pb2.IdCollection,
160
- ]
161
-
162
- RelationEdges: grpc.aio.UnaryUnaryMultiCallable[
163
- nucliadb_protos.noderesources_pb2.ShardId,
164
- nucliadb_protos.nodereader_pb2.EdgeList,
165
- ]
166
-
167
- Search: grpc.aio.UnaryUnaryMultiCallable[
168
- nucliadb_protos.nodereader_pb2.SearchRequest,
169
- nucliadb_protos.nodereader_pb2.SearchResponse,
170
- ]
171
-
172
- Suggest: grpc.aio.UnaryUnaryMultiCallable[
173
- nucliadb_protos.nodereader_pb2.SuggestRequest,
174
- nucliadb_protos.nodereader_pb2.SuggestResponse,
175
- ]
176
-
177
- Paragraphs: grpc.aio.UnaryStreamMultiCallable[
178
- nucliadb_protos.nodereader_pb2.StreamRequest,
179
- nucliadb_protos.nodereader_pb2.ParagraphItem,
180
- ]
181
- """Streams"""
182
-
183
- Documents: grpc.aio.UnaryStreamMultiCallable[
184
- nucliadb_protos.nodereader_pb2.StreamRequest,
185
- nucliadb_protos.nodereader_pb2.DocumentItem,
186
- ]
187
-
188
- GetShardFiles: grpc.aio.UnaryUnaryMultiCallable[
189
- nucliadb_protos.nodereader_pb2.GetShardFilesRequest,
190
- nucliadb_protos.nodereader_pb2.ShardFileList,
191
- ]
192
- """Shard Download"""
193
-
194
- DownloadShardFile: grpc.aio.UnaryStreamMultiCallable[
195
- nucliadb_protos.nodereader_pb2.DownloadShardFileRequest,
196
- nucliadb_protos.nodereader_pb2.ShardFileChunk,
197
- ]
198
-
199
- class NodeReaderServicer(metaclass=abc.ABCMeta):
200
- """Implemented at nucliadb_object_storage"""
201
-
202
- @abc.abstractmethod
203
- def GetShard(
204
- self,
205
- request: nucliadb_protos.nodereader_pb2.GetShardRequest,
206
- context: _ServicerContext,
207
- ) -> typing.Union[nucliadb_protos.noderesources_pb2.Shard, collections.abc.Awaitable[nucliadb_protos.noderesources_pb2.Shard]]: ...
208
-
209
- @abc.abstractmethod
210
- def DocumentIds(
211
- self,
212
- request: nucliadb_protos.noderesources_pb2.ShardId,
213
- context: _ServicerContext,
214
- ) -> typing.Union[nucliadb_protos.nodereader_pb2.IdCollection, collections.abc.Awaitable[nucliadb_protos.nodereader_pb2.IdCollection]]: ...
215
-
216
- @abc.abstractmethod
217
- def ParagraphIds(
218
- self,
219
- request: nucliadb_protos.noderesources_pb2.ShardId,
220
- context: _ServicerContext,
221
- ) -> typing.Union[nucliadb_protos.nodereader_pb2.IdCollection, collections.abc.Awaitable[nucliadb_protos.nodereader_pb2.IdCollection]]: ...
222
-
223
- @abc.abstractmethod
224
- def VectorIds(
225
- self,
226
- request: nucliadb_protos.noderesources_pb2.VectorSetID,
227
- context: _ServicerContext,
228
- ) -> typing.Union[nucliadb_protos.nodereader_pb2.IdCollection, collections.abc.Awaitable[nucliadb_protos.nodereader_pb2.IdCollection]]: ...
229
-
230
- @abc.abstractmethod
231
- def RelationIds(
232
- self,
233
- request: nucliadb_protos.noderesources_pb2.ShardId,
234
- context: _ServicerContext,
235
- ) -> typing.Union[nucliadb_protos.nodereader_pb2.IdCollection, collections.abc.Awaitable[nucliadb_protos.nodereader_pb2.IdCollection]]: ...
236
-
237
- @abc.abstractmethod
238
- def RelationEdges(
239
- self,
240
- request: nucliadb_protos.noderesources_pb2.ShardId,
241
- context: _ServicerContext,
242
- ) -> typing.Union[nucliadb_protos.nodereader_pb2.EdgeList, collections.abc.Awaitable[nucliadb_protos.nodereader_pb2.EdgeList]]: ...
243
-
244
- @abc.abstractmethod
245
- def Search(
246
- self,
247
- request: nucliadb_protos.nodereader_pb2.SearchRequest,
248
- context: _ServicerContext,
249
- ) -> typing.Union[nucliadb_protos.nodereader_pb2.SearchResponse, collections.abc.Awaitable[nucliadb_protos.nodereader_pb2.SearchResponse]]: ...
250
-
251
- @abc.abstractmethod
252
- def Suggest(
253
- self,
254
- request: nucliadb_protos.nodereader_pb2.SuggestRequest,
255
- context: _ServicerContext,
256
- ) -> typing.Union[nucliadb_protos.nodereader_pb2.SuggestResponse, collections.abc.Awaitable[nucliadb_protos.nodereader_pb2.SuggestResponse]]: ...
257
-
258
- @abc.abstractmethod
259
- def Paragraphs(
260
- self,
261
- request: nucliadb_protos.nodereader_pb2.StreamRequest,
262
- context: _ServicerContext,
263
- ) -> typing.Union[collections.abc.Iterator[nucliadb_protos.nodereader_pb2.ParagraphItem], collections.abc.AsyncIterator[nucliadb_protos.nodereader_pb2.ParagraphItem]]:
264
- """Streams"""
265
-
266
- @abc.abstractmethod
267
- def Documents(
268
- self,
269
- request: nucliadb_protos.nodereader_pb2.StreamRequest,
270
- context: _ServicerContext,
271
- ) -> typing.Union[collections.abc.Iterator[nucliadb_protos.nodereader_pb2.DocumentItem], collections.abc.AsyncIterator[nucliadb_protos.nodereader_pb2.DocumentItem]]: ...
272
-
273
- @abc.abstractmethod
274
- def GetShardFiles(
275
- self,
276
- request: nucliadb_protos.nodereader_pb2.GetShardFilesRequest,
277
- context: _ServicerContext,
278
- ) -> typing.Union[nucliadb_protos.nodereader_pb2.ShardFileList, collections.abc.Awaitable[nucliadb_protos.nodereader_pb2.ShardFileList]]:
279
- """Shard Download"""
280
-
281
- @abc.abstractmethod
282
- def DownloadShardFile(
283
- self,
284
- request: nucliadb_protos.nodereader_pb2.DownloadShardFileRequest,
285
- context: _ServicerContext,
286
- ) -> typing.Union[collections.abc.Iterator[nucliadb_protos.nodereader_pb2.ShardFileChunk], collections.abc.AsyncIterator[nucliadb_protos.nodereader_pb2.ShardFileChunk]]: ...
287
-
288
- def add_NodeReaderServicer_to_server(servicer: NodeReaderServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -1,145 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: nucliadb_protos/noderesources.proto
4
- # Protobuf Python Version: 4.25.1
5
- """Generated protocol buffer code."""
6
- from google.protobuf import descriptor as _descriptor
7
- from google.protobuf import descriptor_pool as _descriptor_pool
8
- from google.protobuf import symbol_database as _symbol_database
9
- from google.protobuf.internal import builder as _builder
10
- # @@protoc_insertion_point(imports)
11
-
12
- _sym_db = _symbol_database.Default()
13
-
14
-
15
- from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
16
- from nucliadb_protos import utils_pb2 as nucliadb__protos_dot_utils__pb2
17
-
18
- from nucliadb_protos.utils_pb2 import *
19
-
20
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#nucliadb_protos/noderesources.proto\x12\rnoderesources\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bnucliadb_protos/utils.proto\"/\n\x0fTextInformation\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x0e\n\x06labels\x18\x02 \x03(\t\"j\n\rIndexMetadata\x12,\n\x08modified\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x07\x63reated\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x15\n\x07ShardId\x12\n\n\x02id\x18\x01 \x01(\t\"/\n\x08ShardIds\x12#\n\x03ids\x18\x01 \x03(\x0b\x32\x16.noderesources.ShardId\"\xdc\x04\n\x0cShardCreated\x12\n\n\x02id\x18\x01 \x01(\t\x12\x45\n\x10\x64ocument_service\x18\x02 \x01(\x0e\x32+.noderesources.ShardCreated.DocumentService\x12G\n\x11paragraph_service\x18\x03 \x01(\x0e\x32,.noderesources.ShardCreated.ParagraphService\x12\x41\n\x0evector_service\x18\x04 \x01(\x0e\x32).noderesources.ShardCreated.VectorService\x12\x45\n\x10relation_service\x18\x05 \x01(\x0e\x32+.noderesources.ShardCreated.RelationService\"U\n\x0f\x44ocumentService\x12\x0f\n\x0b\x44OCUMENT_V0\x10\x00\x12\x0f\n\x0b\x44OCUMENT_V1\x10\x01\x12\x0f\n\x0b\x44OCUMENT_V2\x10\x02\x12\x0f\n\x0b\x44OCUMENT_V3\x10\x03\"Z\n\x10ParagraphService\x12\x10\n\x0cPARAGRAPH_V0\x10\x00\x12\x10\n\x0cPARAGRAPH_V1\x10\x01\x12\x10\n\x0cPARAGRAPH_V2\x10\x02\x12\x10\n\x0cPARAGRAPH_V3\x10\x03\"-\n\rVectorService\x12\r\n\tVECTOR_V0\x10\x00\x12\r\n\tVECTOR_V1\x10\x01\"D\n\x0fRelationService\x12\x0f\n\x0bRELATION_V0\x10\x00\x12\x0f\n\x0bRELATION_V1\x10\x01\x12\x0f\n\x0bRELATION_V2\x10\x02\",\n\nResourceID\x12\x10\n\x08shard_id\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\"\x94\x01\n\x05Shard\x12.\n\x08metadata\x18\x05 \x01(\x0b\x32\x1c.noderesources.ShardMetadata\x12\x10\n\x08shard_id\x18\x01 \x01(\t\x12\x0e\n\x06\x66ields\x18\x02 \x01(\x04\x12\x12\n\nparagraphs\x18\x03 \x01(\x04\x12\x11\n\tsentences\x18\x04 \x01(\x04\x12\x12\n\nsize_bytes\x18\x06 \x01(\x04\"\x0f\n\rEmptyResponse\"\x0c\n\nEmptyQuery\"\x87\x01\n\x08Position\x12\r\n\x05index\x18\x01 \x01(\x04\x12\r\n\x05start\x18\x02 \x01(\x04\x12\x0b\n\x03\x65nd\x18\x03 \x01(\x04\x12\x13\n\x0bpage_number\x18\x04 \x01(\x04\x12\x0f\n\x07in_page\x18\x07 \x01(\x08\x12\x15\n\rstart_seconds\x18\x05 \x03(\r\x12\x13\n\x0b\x65nd_seconds\x18\x06 \x03(\r\"2\n\x0eRepresentation\x12\x12\n\nis_a_table\x18\x01 \x01(\x08\x12\x0c\n\x04\x66ile\x18\x02 \x01(\t\"\x8e\x01\n\x10SentenceMetadata\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.noderesources.Position\x12\x18\n\x10page_with_visual\x18\x02 \x01(\x08\x12\x35\n\x0erepresentation\x18\x03 \x01(\x0b\x32\x1d.noderesources.Representation\"S\n\x0eVectorSentence\x12\x0e\n\x06vector\x18\x01 \x03(\x02\x12\x31\n\x08metadata\x18\t \x01(\x0b\x32\x1f.noderesources.SentenceMetadata\"\xaa\x01\n\x12VectorsetSentences\x12\x43\n\tsentences\x18\x01 \x03(\x0b\x32\x30.noderesources.VectorsetSentences.SentencesEntry\x1aO\n\x0eSentencesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.noderesources.VectorSentence:\x02\x38\x01\"\x8f\x01\n\x11ParagraphMetadata\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.noderesources.Position\x12\x18\n\x10page_with_visual\x18\x02 \x01(\x08\x12\x35\n\x0erepresentation\x18\x03 \x01(\x0b\x32\x1d.noderesources.Representation\"\xff\x03\n\x0eIndexParagraph\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12\x0e\n\x06labels\x18\x03 \x03(\t\x12?\n\tsentences\x18\x04 \x03(\x0b\x32,.noderesources.IndexParagraph.SentencesEntry\x12T\n\x14vectorsets_sentences\x18\n \x03(\x0b\x32\x36.noderesources.IndexParagraph.VectorsetsSentencesEntry\x12\r\n\x05\x66ield\x18\x05 \x01(\t\x12\r\n\x05split\x18\x06 \x01(\t\x12\r\n\x05index\x18\x07 \x01(\x04\x12\x19\n\x11repeated_in_field\x18\x08 \x01(\x08\x12\x32\n\x08metadata\x18\t \x01(\x0b\x32 .noderesources.ParagraphMetadata\x1aO\n\x0eSentencesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.noderesources.VectorSentence:\x02\x38\x01\x1a]\n\x18VectorsetsSentencesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32!.noderesources.VectorsetSentences:\x02\x38\x01\"G\n\x0bVectorSetID\x12%\n\x05shard\x18\x01 \x01(\x0b\x32\x16.noderesources.ShardId\x12\x11\n\tvectorset\x18\x02 \x01(\t\"J\n\rVectorSetList\x12%\n\x05shard\x18\x01 \x01(\x0b\x32\x16.noderesources.ShardId\x12\x12\n\nvectorsets\x18\x02 \x03(\t\"\xa7\x01\n\x0fIndexParagraphs\x12\x42\n\nparagraphs\x18\x01 \x03(\x0b\x32..noderesources.IndexParagraphs.ParagraphsEntry\x1aP\n\x0fParagraphsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.noderesources.IndexParagraph:\x02\x38\x01\"\x83\x0b\n\x08Resource\x12+\n\x08resource\x18\x01 \x01(\x0b\x32\x19.noderesources.ResourceID\x12.\n\x08metadata\x18\x02 \x01(\x0b\x32\x1c.noderesources.IndexMetadata\x12\x31\n\x05texts\x18\x03 \x03(\x0b\x32\".noderesources.Resource.TextsEntry\x12\x0e\n\x06labels\x18\x04 \x03(\t\x12\x36\n\x06status\x18\x05 \x01(\x0e\x32&.noderesources.Resource.ResourceStatus\x12;\n\nparagraphs\x18\x06 \x03(\x0b\x32\'.noderesources.Resource.ParagraphsEntry\x12\x1c\n\x14paragraphs_to_delete\x18\x07 \x03(\t\x12\x1f\n\x13sentences_to_delete\x18\x08 \x03(\tB\x02\x18\x01\x12V\n\x19vector_prefixes_to_delete\x18\x0f \x03(\x0b\x32\x33.noderesources.Resource.VectorPrefixesToDeleteEntry\x12!\n\x19relation_fields_to_delete\x18\x10 \x03(\t\x12\x17\n\x0ftexts_to_delete\x18\x11 \x03(\t\x12\x44\n\x0f\x66ield_relations\x18\n \x03(\x0b\x32+.noderesources.Resource.FieldRelationsEntry\x12\x10\n\x08shard_id\x18\x0b \x01(\t\x12\x39\n\x07vectors\x18\x0c \x03(\x0b\x32$.noderesources.Resource.VectorsEntryB\x02\x18\x01\x12K\n\x11vectors_to_delete\x18\r \x03(\x0b\x32,.noderesources.Resource.VectorsToDeleteEntryB\x02\x18\x01\x12&\n\x08security\x18\x0e \x01(\x0b\x32\x0f.utils.SecurityH\x00\x88\x01\x01\x12\x12\n\nskip_texts\x18\x12 \x01(\x08\x12\x17\n\x0fskip_paragraphs\x18\x13 \x01(\x08\x1aL\n\nTextsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x1e.noderesources.TextInformation:\x02\x38\x01\x1aQ\n\x0fParagraphsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x1e.noderesources.IndexParagraphs:\x02\x38\x01\x1aX\n\x1bVectorPrefixesToDeleteEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x19.noderesources.StringList:\x02\x38\x01\x1aT\n\x13\x46ieldRelationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.noderesources.IndexRelations:\x02\x38\x01\x1a\x42\n\x0cVectorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.utils.UserVectors:\x02\x38\x01\x1aN\n\x14VectorsToDeleteEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.utils.UserVectorsList:\x02\x38\x01\"h\n\x0eResourceStatus\x12\r\n\tPROCESSED\x10\x00\x12\t\n\x05\x45MPTY\x10\x01\x12\t\n\x05\x45RROR\x10\x02\x12\n\n\x06\x44\x45LETE\x10\x03\x12\x0b\n\x07PENDING\x10\x04\x12\x0b\n\x07\x42LOCKED\x10\x05\x12\x0b\n\x07\x45XPIRED\x10\x06\x42\x0b\n\t_security\"M\n\rShardMetadata\x12\x0c\n\x04kbid\x18\x01 \x01(\t\x12.\n\x0frelease_channel\x18\x02 \x01(\x0e\x32\x15.utils.ReleaseChannel\"\xf8\x02\n\x0cNodeMetadata\x12\x16\n\nload_score\x18\x01 \x01(\x02\x42\x02\x18\x01\x12\x13\n\x0bshard_count\x18\x02 \x01(\x04\x12;\n\x06shards\x18\x03 \x03(\x0b\x32\'.noderesources.NodeMetadata.ShardsEntryB\x02\x18\x01\x12\x0f\n\x07node_id\x18\x04 \x01(\t\x12\x1c\n\x0fprimary_node_id\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x16\n\x0e\x61vailable_disk\x18\x06 \x01(\x04\x12\x12\n\ntotal_disk\x18\x07 \x01(\x04\x1a\x35\n\rShardMetadata\x12\x0c\n\x04kbid\x18\x01 \x01(\t\x12\x16\n\nload_score\x18\x02 \x01(\x02\x42\x02\x18\x01\x1aX\n\x0bShardsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).noderesources.NodeMetadata.ShardMetadata:\x02\x38\x01\x42\x12\n\x10_primary_node_id\"\x1b\n\nStringList\x12\r\n\x05items\x18\x01 \x03(\t\"x\n\rIndexRelation\x12!\n\x08relation\x18\x01 \x01(\x0b\x32\x0f.utils.Relation\x12\x1e\n\x11resource_field_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x0e\n\x06\x66\x61\x63\x65ts\x18\x03 \x03(\tB\x14\n\x12_resource_field_id\"A\n\x0eIndexRelations\x12/\n\trelations\x18\x01 \x03(\x0b\x32\x1c.noderesources.IndexRelationP\x01\x62\x06proto3')
21
-
22
- _globals = globals()
23
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
24
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nucliadb_protos.noderesources_pb2', _globals)
25
- if _descriptor._USE_C_DESCRIPTORS == False:
26
- DESCRIPTOR._options = None
27
- _globals['_VECTORSETSENTENCES_SENTENCESENTRY']._options = None
28
- _globals['_VECTORSETSENTENCES_SENTENCESENTRY']._serialized_options = b'8\001'
29
- _globals['_INDEXPARAGRAPH_SENTENCESENTRY']._options = None
30
- _globals['_INDEXPARAGRAPH_SENTENCESENTRY']._serialized_options = b'8\001'
31
- _globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._options = None
32
- _globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._serialized_options = b'8\001'
33
- _globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._options = None
34
- _globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._serialized_options = b'8\001'
35
- _globals['_RESOURCE_TEXTSENTRY']._options = None
36
- _globals['_RESOURCE_TEXTSENTRY']._serialized_options = b'8\001'
37
- _globals['_RESOURCE_PARAGRAPHSENTRY']._options = None
38
- _globals['_RESOURCE_PARAGRAPHSENTRY']._serialized_options = b'8\001'
39
- _globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._options = None
40
- _globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_options = b'8\001'
41
- _globals['_RESOURCE_FIELDRELATIONSENTRY']._options = None
42
- _globals['_RESOURCE_FIELDRELATIONSENTRY']._serialized_options = b'8\001'
43
- _globals['_RESOURCE_VECTORSENTRY']._options = None
44
- _globals['_RESOURCE_VECTORSENTRY']._serialized_options = b'8\001'
45
- _globals['_RESOURCE_VECTORSTODELETEENTRY']._options = None
46
- _globals['_RESOURCE_VECTORSTODELETEENTRY']._serialized_options = b'8\001'
47
- _globals['_RESOURCE'].fields_by_name['sentences_to_delete']._options = None
48
- _globals['_RESOURCE'].fields_by_name['sentences_to_delete']._serialized_options = b'\030\001'
49
- _globals['_RESOURCE'].fields_by_name['vectors']._options = None
50
- _globals['_RESOURCE'].fields_by_name['vectors']._serialized_options = b'\030\001'
51
- _globals['_RESOURCE'].fields_by_name['vectors_to_delete']._options = None
52
- _globals['_RESOURCE'].fields_by_name['vectors_to_delete']._serialized_options = b'\030\001'
53
- _globals['_NODEMETADATA_SHARDMETADATA'].fields_by_name['load_score']._options = None
54
- _globals['_NODEMETADATA_SHARDMETADATA'].fields_by_name['load_score']._serialized_options = b'\030\001'
55
- _globals['_NODEMETADATA_SHARDSENTRY']._options = None
56
- _globals['_NODEMETADATA_SHARDSENTRY']._serialized_options = b'8\001'
57
- _globals['_NODEMETADATA'].fields_by_name['load_score']._options = None
58
- _globals['_NODEMETADATA'].fields_by_name['load_score']._serialized_options = b'\030\001'
59
- _globals['_NODEMETADATA'].fields_by_name['shards']._options = None
60
- _globals['_NODEMETADATA'].fields_by_name['shards']._serialized_options = b'\030\001'
61
- _globals['_TEXTINFORMATION']._serialized_start=116
62
- _globals['_TEXTINFORMATION']._serialized_end=163
63
- _globals['_INDEXMETADATA']._serialized_start=165
64
- _globals['_INDEXMETADATA']._serialized_end=271
65
- _globals['_SHARDID']._serialized_start=273
66
- _globals['_SHARDID']._serialized_end=294
67
- _globals['_SHARDIDS']._serialized_start=296
68
- _globals['_SHARDIDS']._serialized_end=343
69
- _globals['_SHARDCREATED']._serialized_start=346
70
- _globals['_SHARDCREATED']._serialized_end=950
71
- _globals['_SHARDCREATED_DOCUMENTSERVICE']._serialized_start=656
72
- _globals['_SHARDCREATED_DOCUMENTSERVICE']._serialized_end=741
73
- _globals['_SHARDCREATED_PARAGRAPHSERVICE']._serialized_start=743
74
- _globals['_SHARDCREATED_PARAGRAPHSERVICE']._serialized_end=833
75
- _globals['_SHARDCREATED_VECTORSERVICE']._serialized_start=835
76
- _globals['_SHARDCREATED_VECTORSERVICE']._serialized_end=880
77
- _globals['_SHARDCREATED_RELATIONSERVICE']._serialized_start=882
78
- _globals['_SHARDCREATED_RELATIONSERVICE']._serialized_end=950
79
- _globals['_RESOURCEID']._serialized_start=952
80
- _globals['_RESOURCEID']._serialized_end=996
81
- _globals['_SHARD']._serialized_start=999
82
- _globals['_SHARD']._serialized_end=1147
83
- _globals['_EMPTYRESPONSE']._serialized_start=1149
84
- _globals['_EMPTYRESPONSE']._serialized_end=1164
85
- _globals['_EMPTYQUERY']._serialized_start=1166
86
- _globals['_EMPTYQUERY']._serialized_end=1178
87
- _globals['_POSITION']._serialized_start=1181
88
- _globals['_POSITION']._serialized_end=1316
89
- _globals['_REPRESENTATION']._serialized_start=1318
90
- _globals['_REPRESENTATION']._serialized_end=1368
91
- _globals['_SENTENCEMETADATA']._serialized_start=1371
92
- _globals['_SENTENCEMETADATA']._serialized_end=1513
93
- _globals['_VECTORSENTENCE']._serialized_start=1515
94
- _globals['_VECTORSENTENCE']._serialized_end=1598
95
- _globals['_VECTORSETSENTENCES']._serialized_start=1601
96
- _globals['_VECTORSETSENTENCES']._serialized_end=1771
97
- _globals['_VECTORSETSENTENCES_SENTENCESENTRY']._serialized_start=1692
98
- _globals['_VECTORSETSENTENCES_SENTENCESENTRY']._serialized_end=1771
99
- _globals['_PARAGRAPHMETADATA']._serialized_start=1774
100
- _globals['_PARAGRAPHMETADATA']._serialized_end=1917
101
- _globals['_INDEXPARAGRAPH']._serialized_start=1920
102
- _globals['_INDEXPARAGRAPH']._serialized_end=2431
103
- _globals['_INDEXPARAGRAPH_SENTENCESENTRY']._serialized_start=1692
104
- _globals['_INDEXPARAGRAPH_SENTENCESENTRY']._serialized_end=1771
105
- _globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._serialized_start=2338
106
- _globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._serialized_end=2431
107
- _globals['_VECTORSETID']._serialized_start=2433
108
- _globals['_VECTORSETID']._serialized_end=2504
109
- _globals['_VECTORSETLIST']._serialized_start=2506
110
- _globals['_VECTORSETLIST']._serialized_end=2580
111
- _globals['_INDEXPARAGRAPHS']._serialized_start=2583
112
- _globals['_INDEXPARAGRAPHS']._serialized_end=2750
113
- _globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._serialized_start=2670
114
- _globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._serialized_end=2750
115
- _globals['_RESOURCE']._serialized_start=2753
116
- _globals['_RESOURCE']._serialized_end=4164
117
- _globals['_RESOURCE_TEXTSENTRY']._serialized_start=3562
118
- _globals['_RESOURCE_TEXTSENTRY']._serialized_end=3638
119
- _globals['_RESOURCE_PARAGRAPHSENTRY']._serialized_start=3640
120
- _globals['_RESOURCE_PARAGRAPHSENTRY']._serialized_end=3721
121
- _globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_start=3723
122
- _globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_end=3811
123
- _globals['_RESOURCE_FIELDRELATIONSENTRY']._serialized_start=3813
124
- _globals['_RESOURCE_FIELDRELATIONSENTRY']._serialized_end=3897
125
- _globals['_RESOURCE_VECTORSENTRY']._serialized_start=3899
126
- _globals['_RESOURCE_VECTORSENTRY']._serialized_end=3965
127
- _globals['_RESOURCE_VECTORSTODELETEENTRY']._serialized_start=3967
128
- _globals['_RESOURCE_VECTORSTODELETEENTRY']._serialized_end=4045
129
- _globals['_RESOURCE_RESOURCESTATUS']._serialized_start=4047
130
- _globals['_RESOURCE_RESOURCESTATUS']._serialized_end=4151
131
- _globals['_SHARDMETADATA']._serialized_start=4166
132
- _globals['_SHARDMETADATA']._serialized_end=4243
133
- _globals['_NODEMETADATA']._serialized_start=4246
134
- _globals['_NODEMETADATA']._serialized_end=4622
135
- _globals['_NODEMETADATA_SHARDMETADATA']._serialized_start=4459
136
- _globals['_NODEMETADATA_SHARDMETADATA']._serialized_end=4512
137
- _globals['_NODEMETADATA_SHARDSENTRY']._serialized_start=4514
138
- _globals['_NODEMETADATA_SHARDSENTRY']._serialized_end=4602
139
- _globals['_STRINGLIST']._serialized_start=4624
140
- _globals['_STRINGLIST']._serialized_end=4651
141
- _globals['_INDEXRELATION']._serialized_start=4653
142
- _globals['_INDEXRELATION']._serialized_end=4773
143
- _globals['_INDEXRELATIONS']._serialized_start=4775
144
- _globals['_INDEXRELATIONS']._serialized_end=4840
145
- # @@protoc_insertion_point(module_scope)