nucliadb-protos 6.3.7.post4116__py3-none-any.whl → 6.3.7.post4120__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.
@@ -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,155 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: nucliadb_protos/noderesources.proto
5
- # Protobuf Python Version: 5.29.0
6
- """Generated protocol buffer code."""
7
- from google.protobuf import descriptor as _descriptor
8
- from google.protobuf import descriptor_pool as _descriptor_pool
9
- from google.protobuf import runtime_version as _runtime_version
10
- from google.protobuf import symbol_database as _symbol_database
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
- )
20
- # @@protoc_insertion_point(imports)
21
-
22
- _sym_db = _symbol_database.Default()
23
-
24
-
25
- from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
- from nucliadb_protos import utils_pb2 as nucliadb__protos_dot_utils__pb2
27
-
28
- from nucliadb_protos.utils_pb2 import *
29
-
30
- 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')
31
-
32
- _globals = globals()
33
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nucliadb_protos.noderesources_pb2', _globals)
35
- if not _descriptor._USE_C_DESCRIPTORS:
36
- DESCRIPTOR._loaded_options = None
37
- _globals['_VECTORSETSENTENCES_SENTENCESENTRY']._loaded_options = None
38
- _globals['_VECTORSETSENTENCES_SENTENCESENTRY']._serialized_options = b'8\001'
39
- _globals['_INDEXPARAGRAPH_SENTENCESENTRY']._loaded_options = None
40
- _globals['_INDEXPARAGRAPH_SENTENCESENTRY']._serialized_options = b'8\001'
41
- _globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._loaded_options = None
42
- _globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._serialized_options = b'8\001'
43
- _globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._loaded_options = None
44
- _globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._serialized_options = b'8\001'
45
- _globals['_RESOURCE_TEXTSENTRY']._loaded_options = None
46
- _globals['_RESOURCE_TEXTSENTRY']._serialized_options = b'8\001'
47
- _globals['_RESOURCE_PARAGRAPHSENTRY']._loaded_options = None
48
- _globals['_RESOURCE_PARAGRAPHSENTRY']._serialized_options = b'8\001'
49
- _globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._loaded_options = None
50
- _globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_options = b'8\001'
51
- _globals['_RESOURCE_FIELDRELATIONSENTRY']._loaded_options = None
52
- _globals['_RESOURCE_FIELDRELATIONSENTRY']._serialized_options = b'8\001'
53
- _globals['_RESOURCE_VECTORSENTRY']._loaded_options = None
54
- _globals['_RESOURCE_VECTORSENTRY']._serialized_options = b'8\001'
55
- _globals['_RESOURCE_VECTORSTODELETEENTRY']._loaded_options = None
56
- _globals['_RESOURCE_VECTORSTODELETEENTRY']._serialized_options = b'8\001'
57
- _globals['_RESOURCE'].fields_by_name['sentences_to_delete']._loaded_options = None
58
- _globals['_RESOURCE'].fields_by_name['sentences_to_delete']._serialized_options = b'\030\001'
59
- _globals['_RESOURCE'].fields_by_name['vectors']._loaded_options = None
60
- _globals['_RESOURCE'].fields_by_name['vectors']._serialized_options = b'\030\001'
61
- _globals['_RESOURCE'].fields_by_name['vectors_to_delete']._loaded_options = None
62
- _globals['_RESOURCE'].fields_by_name['vectors_to_delete']._serialized_options = b'\030\001'
63
- _globals['_NODEMETADATA_SHARDMETADATA'].fields_by_name['load_score']._loaded_options = None
64
- _globals['_NODEMETADATA_SHARDMETADATA'].fields_by_name['load_score']._serialized_options = b'\030\001'
65
- _globals['_NODEMETADATA_SHARDSENTRY']._loaded_options = None
66
- _globals['_NODEMETADATA_SHARDSENTRY']._serialized_options = b'8\001'
67
- _globals['_NODEMETADATA'].fields_by_name['load_score']._loaded_options = None
68
- _globals['_NODEMETADATA'].fields_by_name['load_score']._serialized_options = b'\030\001'
69
- _globals['_NODEMETADATA'].fields_by_name['shards']._loaded_options = None
70
- _globals['_NODEMETADATA'].fields_by_name['shards']._serialized_options = b'\030\001'
71
- _globals['_TEXTINFORMATION']._serialized_start=116
72
- _globals['_TEXTINFORMATION']._serialized_end=163
73
- _globals['_INDEXMETADATA']._serialized_start=165
74
- _globals['_INDEXMETADATA']._serialized_end=271
75
- _globals['_SHARDID']._serialized_start=273
76
- _globals['_SHARDID']._serialized_end=294
77
- _globals['_SHARDIDS']._serialized_start=296
78
- _globals['_SHARDIDS']._serialized_end=343
79
- _globals['_SHARDCREATED']._serialized_start=346
80
- _globals['_SHARDCREATED']._serialized_end=950
81
- _globals['_SHARDCREATED_DOCUMENTSERVICE']._serialized_start=656
82
- _globals['_SHARDCREATED_DOCUMENTSERVICE']._serialized_end=741
83
- _globals['_SHARDCREATED_PARAGRAPHSERVICE']._serialized_start=743
84
- _globals['_SHARDCREATED_PARAGRAPHSERVICE']._serialized_end=833
85
- _globals['_SHARDCREATED_VECTORSERVICE']._serialized_start=835
86
- _globals['_SHARDCREATED_VECTORSERVICE']._serialized_end=880
87
- _globals['_SHARDCREATED_RELATIONSERVICE']._serialized_start=882
88
- _globals['_SHARDCREATED_RELATIONSERVICE']._serialized_end=950
89
- _globals['_RESOURCEID']._serialized_start=952
90
- _globals['_RESOURCEID']._serialized_end=996
91
- _globals['_SHARD']._serialized_start=999
92
- _globals['_SHARD']._serialized_end=1147
93
- _globals['_EMPTYRESPONSE']._serialized_start=1149
94
- _globals['_EMPTYRESPONSE']._serialized_end=1164
95
- _globals['_EMPTYQUERY']._serialized_start=1166
96
- _globals['_EMPTYQUERY']._serialized_end=1178
97
- _globals['_POSITION']._serialized_start=1181
98
- _globals['_POSITION']._serialized_end=1316
99
- _globals['_REPRESENTATION']._serialized_start=1318
100
- _globals['_REPRESENTATION']._serialized_end=1368
101
- _globals['_SENTENCEMETADATA']._serialized_start=1371
102
- _globals['_SENTENCEMETADATA']._serialized_end=1513
103
- _globals['_VECTORSENTENCE']._serialized_start=1515
104
- _globals['_VECTORSENTENCE']._serialized_end=1598
105
- _globals['_VECTORSETSENTENCES']._serialized_start=1601
106
- _globals['_VECTORSETSENTENCES']._serialized_end=1771
107
- _globals['_VECTORSETSENTENCES_SENTENCESENTRY']._serialized_start=1692
108
- _globals['_VECTORSETSENTENCES_SENTENCESENTRY']._serialized_end=1771
109
- _globals['_PARAGRAPHMETADATA']._serialized_start=1774
110
- _globals['_PARAGRAPHMETADATA']._serialized_end=1917
111
- _globals['_INDEXPARAGRAPH']._serialized_start=1920
112
- _globals['_INDEXPARAGRAPH']._serialized_end=2431
113
- _globals['_INDEXPARAGRAPH_SENTENCESENTRY']._serialized_start=1692
114
- _globals['_INDEXPARAGRAPH_SENTENCESENTRY']._serialized_end=1771
115
- _globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._serialized_start=2338
116
- _globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._serialized_end=2431
117
- _globals['_VECTORSETID']._serialized_start=2433
118
- _globals['_VECTORSETID']._serialized_end=2504
119
- _globals['_VECTORSETLIST']._serialized_start=2506
120
- _globals['_VECTORSETLIST']._serialized_end=2580
121
- _globals['_INDEXPARAGRAPHS']._serialized_start=2583
122
- _globals['_INDEXPARAGRAPHS']._serialized_end=2750
123
- _globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._serialized_start=2670
124
- _globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._serialized_end=2750
125
- _globals['_RESOURCE']._serialized_start=2753
126
- _globals['_RESOURCE']._serialized_end=4164
127
- _globals['_RESOURCE_TEXTSENTRY']._serialized_start=3562
128
- _globals['_RESOURCE_TEXTSENTRY']._serialized_end=3638
129
- _globals['_RESOURCE_PARAGRAPHSENTRY']._serialized_start=3640
130
- _globals['_RESOURCE_PARAGRAPHSENTRY']._serialized_end=3721
131
- _globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_start=3723
132
- _globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_end=3811
133
- _globals['_RESOURCE_FIELDRELATIONSENTRY']._serialized_start=3813
134
- _globals['_RESOURCE_FIELDRELATIONSENTRY']._serialized_end=3897
135
- _globals['_RESOURCE_VECTORSENTRY']._serialized_start=3899
136
- _globals['_RESOURCE_VECTORSENTRY']._serialized_end=3965
137
- _globals['_RESOURCE_VECTORSTODELETEENTRY']._serialized_start=3967
138
- _globals['_RESOURCE_VECTORSTODELETEENTRY']._serialized_end=4045
139
- _globals['_RESOURCE_RESOURCESTATUS']._serialized_start=4047
140
- _globals['_RESOURCE_RESOURCESTATUS']._serialized_end=4151
141
- _globals['_SHARDMETADATA']._serialized_start=4166
142
- _globals['_SHARDMETADATA']._serialized_end=4243
143
- _globals['_NODEMETADATA']._serialized_start=4246
144
- _globals['_NODEMETADATA']._serialized_end=4622
145
- _globals['_NODEMETADATA_SHARDMETADATA']._serialized_start=4459
146
- _globals['_NODEMETADATA_SHARDMETADATA']._serialized_end=4512
147
- _globals['_NODEMETADATA_SHARDSENTRY']._serialized_start=4514
148
- _globals['_NODEMETADATA_SHARDSENTRY']._serialized_end=4602
149
- _globals['_STRINGLIST']._serialized_start=4624
150
- _globals['_STRINGLIST']._serialized_end=4651
151
- _globals['_INDEXRELATION']._serialized_start=4653
152
- _globals['_INDEXRELATION']._serialized_end=4773
153
- _globals['_INDEXRELATIONS']._serialized_start=4775
154
- _globals['_INDEXRELATIONS']._serialized_end=4840
155
- # @@protoc_insertion_point(module_scope)