nidx-protos 6.9.4.post5356__py3-none-any.whl → 6.10.0.post5792__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 nidx-protos might be problematic. Click here for more details.

@@ -28,6 +28,8 @@ from nidx_protos.noderesources_pb2 import (
28
28
  IndexRelations as IndexRelations,
29
29
  ParagraphMetadata as ParagraphMetadata,
30
30
  Position as Position,
31
+ RelationEdgeVector as RelationEdgeVector,
32
+ RelationNodeVector as RelationNodeVector,
31
33
  Representation as Representation,
32
34
  Resource as Resource,
33
35
  ResourceID as ResourceID,
@@ -47,13 +49,10 @@ from nidx_protos.noderesources_pb2 import (
47
49
  from nucliadb_protos.utils_pb2 import (
48
50
  COSINE as COSINE,
49
51
  DOT as DOT,
50
- EXPERIMENTAL as EXPERIMENTAL,
51
52
  ExtractedText as ExtractedText,
52
53
  Relation as Relation,
53
54
  RelationMetadata as RelationMetadata,
54
55
  RelationNode as RelationNode,
55
- ReleaseChannel as ReleaseChannel,
56
- STABLE as STABLE,
57
56
  Security as Security,
58
57
  UserVector as UserVector,
59
58
  UserVectorSet as UserVectorSet,
@@ -177,20 +176,17 @@ class OrderBy(google.protobuf.message.Message):
177
176
  CREATED: OrderBy.OrderField.ValueType # 0
178
177
  MODIFIED: OrderBy.OrderField.ValueType # 1
179
178
 
180
- FIELD_FIELD_NUMBER: builtins.int
181
179
  TYPE_FIELD_NUMBER: builtins.int
182
180
  SORT_BY_FIELD_NUMBER: builtins.int
183
- field: builtins.str
184
181
  type: global___OrderBy.OrderType.ValueType
185
182
  sort_by: global___OrderBy.OrderField.ValueType
186
183
  def __init__(
187
184
  self,
188
185
  *,
189
- field: builtins.str = ...,
190
186
  type: global___OrderBy.OrderType.ValueType = ...,
191
187
  sort_by: global___OrderBy.OrderField.ValueType = ...,
192
188
  ) -> None: ...
193
- def ClearField(self, field_name: typing.Literal["field", b"field", "sort_by", b"sort_by", "type", b"type"]) -> None: ...
189
+ def ClearField(self, field_name: typing.Literal["sort_by", b"sort_by", "type", b"type"]) -> None: ...
194
190
 
195
191
  global___OrderBy = OrderBy
196
192
 
@@ -255,6 +251,7 @@ class DocumentResult(google.protobuf.message.Message):
255
251
 
256
252
  UUID_FIELD_NUMBER: builtins.int
257
253
  SCORE_FIELD_NUMBER: builtins.int
254
+ DATE_FIELD_NUMBER: builtins.int
258
255
  FIELD_FIELD_NUMBER: builtins.int
259
256
  LABELS_FIELD_NUMBER: builtins.int
260
257
  uuid: builtins.str
@@ -262,17 +259,21 @@ class DocumentResult(google.protobuf.message.Message):
262
259
  @property
263
260
  def score(self) -> global___ResultScore: ...
264
261
  @property
262
+ def date(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
263
+ @property
265
264
  def labels(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
266
265
  def __init__(
267
266
  self,
268
267
  *,
269
268
  uuid: builtins.str = ...,
270
269
  score: global___ResultScore | None = ...,
270
+ date: google.protobuf.timestamp_pb2.Timestamp | None = ...,
271
271
  field: builtins.str = ...,
272
272
  labels: collections.abc.Iterable[builtins.str] | None = ...,
273
273
  ) -> None: ...
274
- def HasField(self, field_name: typing.Literal["score", b"score"]) -> builtins.bool: ...
275
- def ClearField(self, field_name: typing.Literal["field", b"field", "labels", b"labels", "score", b"score", "uuid", b"uuid"]) -> None: ...
274
+ def HasField(self, field_name: typing.Literal["date", b"date", "score", b"score", "sort_value", b"sort_value"]) -> builtins.bool: ...
275
+ def ClearField(self, field_name: typing.Literal["date", b"date", "field", b"field", "labels", b"labels", "score", b"score", "sort_value", b"sort_value", "uuid", b"uuid"]) -> None: ...
276
+ def WhichOneof(self, oneof_group: typing.Literal["sort_value", b"sort_value"]) -> typing.Literal["score", "date"] | None: ...
276
277
 
277
278
  global___DocumentResult = DocumentResult
278
279
 
@@ -343,6 +344,7 @@ class ParagraphResult(google.protobuf.message.Message):
343
344
  SPLIT_FIELD_NUMBER: builtins.int
344
345
  INDEX_FIELD_NUMBER: builtins.int
345
346
  SCORE_FIELD_NUMBER: builtins.int
347
+ DATE_FIELD_NUMBER: builtins.int
346
348
  MATCHES_FIELD_NUMBER: builtins.int
347
349
  METADATA_FIELD_NUMBER: builtins.int
348
350
  LABELS_FIELD_NUMBER: builtins.int
@@ -356,6 +358,8 @@ class ParagraphResult(google.protobuf.message.Message):
356
358
  @property
357
359
  def score(self) -> global___ResultScore: ...
358
360
  @property
361
+ def date(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
362
+ @property
359
363
  def matches(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
360
364
  @property
361
365
  def metadata(self) -> nidx_protos.noderesources_pb2.ParagraphMetadata:
@@ -374,12 +378,14 @@ class ParagraphResult(google.protobuf.message.Message):
374
378
  split: builtins.str = ...,
375
379
  index: builtins.int = ...,
376
380
  score: global___ResultScore | None = ...,
381
+ date: google.protobuf.timestamp_pb2.Timestamp | None = ...,
377
382
  matches: collections.abc.Iterable[builtins.str] | None = ...,
378
383
  metadata: nidx_protos.noderesources_pb2.ParagraphMetadata | None = ...,
379
384
  labels: collections.abc.Iterable[builtins.str] | None = ...,
380
385
  ) -> None: ...
381
- def HasField(self, field_name: typing.Literal["metadata", b"metadata", "score", b"score"]) -> builtins.bool: ...
382
- def ClearField(self, field_name: typing.Literal["end", b"end", "field", b"field", "index", b"index", "labels", b"labels", "matches", b"matches", "metadata", b"metadata", "paragraph", b"paragraph", "score", b"score", "split", b"split", "start", b"start", "uuid", b"uuid"]) -> None: ...
386
+ def HasField(self, field_name: typing.Literal["date", b"date", "metadata", b"metadata", "score", b"score", "sort_value", b"sort_value"]) -> builtins.bool: ...
387
+ def ClearField(self, field_name: typing.Literal["date", b"date", "end", b"end", "field", b"field", "index", b"index", "labels", b"labels", "matches", b"matches", "metadata", b"metadata", "paragraph", b"paragraph", "score", b"score", "sort_value", b"sort_value", "split", b"split", "start", b"start", "uuid", b"uuid"]) -> None: ...
388
+ def WhichOneof(self, oneof_group: typing.Literal["sort_value", b"sort_value"]) -> typing.Literal["score", "date"] | None: ...
383
389
 
384
390
  global___ParagraphResult = ParagraphResult
385
391
 
@@ -537,19 +543,6 @@ class GraphQuery(google.protobuf.message.Message):
537
543
  class Node(google.protobuf.message.Message):
538
544
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
539
545
 
540
- class _MatchKind:
541
- ValueType = typing.NewType("ValueType", builtins.int)
542
- V: typing_extensions.TypeAlias = ValueType
543
-
544
- class _MatchKindEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[GraphQuery.Node._MatchKind.ValueType], builtins.type):
545
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
546
- DEPRECATED_EXACT: GraphQuery.Node._MatchKind.ValueType # 0
547
- DEPRECATED_FUZZY: GraphQuery.Node._MatchKind.ValueType # 1
548
-
549
- class MatchKind(_MatchKind, metaclass=_MatchKindEnumTypeWrapper): ...
550
- DEPRECATED_EXACT: GraphQuery.Node.MatchKind.ValueType # 0
551
- DEPRECATED_FUZZY: GraphQuery.Node.MatchKind.ValueType # 1
552
-
553
546
  class _MatchLocation:
554
547
  ValueType = typing.NewType("ValueType", builtins.int)
555
548
  V: typing_extensions.TypeAlias = ValueType
@@ -604,32 +597,47 @@ class GraphQuery(google.protobuf.message.Message):
604
597
  ) -> None: ...
605
598
  def ClearField(self, field_name: typing.Literal["distance", b"distance", "kind", b"kind"]) -> None: ...
606
599
 
600
+ @typing.final
601
+ class VectorMatch(google.protobuf.message.Message):
602
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
603
+
604
+ VECTOR_FIELD_NUMBER: builtins.int
605
+ @property
606
+ def vector(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ...
607
+ def __init__(
608
+ self,
609
+ *,
610
+ vector: collections.abc.Iterable[builtins.float] | None = ...,
611
+ ) -> None: ...
612
+ def ClearField(self, field_name: typing.Literal["vector", b"vector"]) -> None: ...
613
+
607
614
  VALUE_FIELD_NUMBER: builtins.int
608
615
  NODE_TYPE_FIELD_NUMBER: builtins.int
609
616
  NODE_SUBTYPE_FIELD_NUMBER: builtins.int
610
- MATCH_KIND_FIELD_NUMBER: builtins.int
611
617
  EXACT_FIELD_NUMBER: builtins.int
612
618
  FUZZY_FIELD_NUMBER: builtins.int
619
+ VECTOR_FIELD_NUMBER: builtins.int
613
620
  value: builtins.str
614
621
  node_type: nucliadb_protos.utils_pb2.RelationNode.NodeType.ValueType
615
622
  node_subtype: builtins.str
616
- match_kind: global___GraphQuery.Node.MatchKind.ValueType
617
623
  @property
618
624
  def exact(self) -> global___GraphQuery.Node.ExactMatch: ...
619
625
  @property
620
626
  def fuzzy(self) -> global___GraphQuery.Node.FuzzyMatch: ...
627
+ @property
628
+ def vector(self) -> global___GraphQuery.Node.VectorMatch: ...
621
629
  def __init__(
622
630
  self,
623
631
  *,
624
632
  value: builtins.str | None = ...,
625
633
  node_type: nucliadb_protos.utils_pb2.RelationNode.NodeType.ValueType | None = ...,
626
634
  node_subtype: builtins.str | None = ...,
627
- match_kind: global___GraphQuery.Node.MatchKind.ValueType = ...,
628
635
  exact: global___GraphQuery.Node.ExactMatch | None = ...,
629
636
  fuzzy: global___GraphQuery.Node.FuzzyMatch | None = ...,
637
+ vector: global___GraphQuery.Node.VectorMatch | None = ...,
630
638
  ) -> None: ...
631
- def HasField(self, field_name: typing.Literal["_node_subtype", b"_node_subtype", "_node_type", b"_node_type", "_value", b"_value", "exact", b"exact", "fuzzy", b"fuzzy", "new_match_kind", b"new_match_kind", "node_subtype", b"node_subtype", "node_type", b"node_type", "value", b"value"]) -> builtins.bool: ...
632
- def ClearField(self, field_name: typing.Literal["_node_subtype", b"_node_subtype", "_node_type", b"_node_type", "_value", b"_value", "exact", b"exact", "fuzzy", b"fuzzy", "match_kind", b"match_kind", "new_match_kind", b"new_match_kind", "node_subtype", b"node_subtype", "node_type", b"node_type", "value", b"value"]) -> None: ...
639
+ def HasField(self, field_name: typing.Literal["_node_subtype", b"_node_subtype", "_node_type", b"_node_type", "_value", b"_value", "exact", b"exact", "fuzzy", b"fuzzy", "match_kind", b"match_kind", "node_subtype", b"node_subtype", "node_type", b"node_type", "value", b"value", "vector", b"vector"]) -> builtins.bool: ...
640
+ def ClearField(self, field_name: typing.Literal["_node_subtype", b"_node_subtype", "_node_type", b"_node_type", "_value", b"_value", "exact", b"exact", "fuzzy", b"fuzzy", "match_kind", b"match_kind", "node_subtype", b"node_subtype", "node_type", b"node_type", "value", b"value", "vector", b"vector"]) -> None: ...
633
641
  @typing.overload
634
642
  def WhichOneof(self, oneof_group: typing.Literal["_node_subtype", b"_node_subtype"]) -> typing.Literal["node_subtype"] | None: ...
635
643
  @typing.overload
@@ -637,28 +645,60 @@ class GraphQuery(google.protobuf.message.Message):
637
645
  @typing.overload
638
646
  def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
639
647
  @typing.overload
640
- def WhichOneof(self, oneof_group: typing.Literal["new_match_kind", b"new_match_kind"]) -> typing.Literal["exact", "fuzzy"] | None: ...
648
+ def WhichOneof(self, oneof_group: typing.Literal["match_kind", b"match_kind"]) -> typing.Literal["exact", "fuzzy", "vector"] | None: ...
641
649
 
642
650
  @typing.final
643
651
  class Relation(google.protobuf.message.Message):
644
652
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
645
653
 
654
+ @typing.final
655
+ class ExactMatch(google.protobuf.message.Message):
656
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
657
+
658
+ def __init__(
659
+ self,
660
+ ) -> None: ...
661
+
662
+ @typing.final
663
+ class VectorMatch(google.protobuf.message.Message):
664
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
665
+
666
+ VECTOR_FIELD_NUMBER: builtins.int
667
+ @property
668
+ def vector(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ...
669
+ def __init__(
670
+ self,
671
+ *,
672
+ vector: collections.abc.Iterable[builtins.float] | None = ...,
673
+ ) -> None: ...
674
+ def ClearField(self, field_name: typing.Literal["vector", b"vector"]) -> None: ...
675
+
646
676
  VALUE_FIELD_NUMBER: builtins.int
647
677
  RELATION_TYPE_FIELD_NUMBER: builtins.int
678
+ EXACT_FIELD_NUMBER: builtins.int
679
+ VECTOR_FIELD_NUMBER: builtins.int
648
680
  value: builtins.str
649
681
  relation_type: nucliadb_protos.utils_pb2.Relation.RelationType.ValueType
682
+ @property
683
+ def exact(self) -> global___GraphQuery.Relation.ExactMatch: ...
684
+ @property
685
+ def vector(self) -> global___GraphQuery.Relation.VectorMatch: ...
650
686
  def __init__(
651
687
  self,
652
688
  *,
653
689
  value: builtins.str | None = ...,
654
690
  relation_type: nucliadb_protos.utils_pb2.Relation.RelationType.ValueType | None = ...,
691
+ exact: global___GraphQuery.Relation.ExactMatch | None = ...,
692
+ vector: global___GraphQuery.Relation.VectorMatch | None = ...,
655
693
  ) -> None: ...
656
- def HasField(self, field_name: typing.Literal["_relation_type", b"_relation_type", "_value", b"_value", "relation_type", b"relation_type", "value", b"value"]) -> builtins.bool: ...
657
- def ClearField(self, field_name: typing.Literal["_relation_type", b"_relation_type", "_value", b"_value", "relation_type", b"relation_type", "value", b"value"]) -> None: ...
694
+ def HasField(self, field_name: typing.Literal["_relation_type", b"_relation_type", "_value", b"_value", "exact", b"exact", "match_kind", b"match_kind", "relation_type", b"relation_type", "value", b"value", "vector", b"vector"]) -> builtins.bool: ...
695
+ def ClearField(self, field_name: typing.Literal["_relation_type", b"_relation_type", "_value", b"_value", "exact", b"exact", "match_kind", b"match_kind", "relation_type", b"relation_type", "value", b"value", "vector", b"vector"]) -> None: ...
658
696
  @typing.overload
659
697
  def WhichOneof(self, oneof_group: typing.Literal["_relation_type", b"_relation_type"]) -> typing.Literal["relation_type"] | None: ...
660
698
  @typing.overload
661
699
  def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
700
+ @typing.overload
701
+ def WhichOneof(self, oneof_group: typing.Literal["match_kind", b"match_kind"]) -> typing.Literal["exact", "vector"] | None: ...
662
702
 
663
703
  @typing.final
664
704
  class Path(google.protobuf.message.Message):
@@ -797,9 +837,11 @@ class GraphSearchRequest(google.protobuf.message.Message):
797
837
  TOP_K_FIELD_NUMBER: builtins.int
798
838
  SECURITY_FIELD_NUMBER: builtins.int
799
839
  FIELD_FILTER_FIELD_NUMBER: builtins.int
840
+ GRAPH_VECTORSET_FIELD_NUMBER: builtins.int
800
841
  shard: builtins.str
801
842
  kind: global___GraphSearchRequest.QueryKind.ValueType
802
843
  top_k: builtins.int
844
+ graph_vectorset: builtins.str
803
845
  @property
804
846
  def query(self) -> global___GraphQuery: ...
805
847
  @property
@@ -815,12 +857,15 @@ class GraphSearchRequest(google.protobuf.message.Message):
815
857
  top_k: builtins.int = ...,
816
858
  security: nucliadb_protos.utils_pb2.Security | None = ...,
817
859
  field_filter: global___FilterExpression | None = ...,
860
+ graph_vectorset: builtins.str | None = ...,
818
861
  ) -> None: ...
819
- def HasField(self, field_name: typing.Literal["_field_filter", b"_field_filter", "_security", b"_security", "field_filter", b"field_filter", "query", b"query", "security", b"security"]) -> builtins.bool: ...
820
- def ClearField(self, field_name: typing.Literal["_field_filter", b"_field_filter", "_security", b"_security", "field_filter", b"field_filter", "kind", b"kind", "query", b"query", "security", b"security", "shard", b"shard", "top_k", b"top_k"]) -> None: ...
862
+ def HasField(self, field_name: typing.Literal["_field_filter", b"_field_filter", "_graph_vectorset", b"_graph_vectorset", "_security", b"_security", "field_filter", b"field_filter", "graph_vectorset", b"graph_vectorset", "query", b"query", "security", b"security"]) -> builtins.bool: ...
863
+ def ClearField(self, field_name: typing.Literal["_field_filter", b"_field_filter", "_graph_vectorset", b"_graph_vectorset", "_security", b"_security", "field_filter", b"field_filter", "graph_vectorset", b"graph_vectorset", "kind", b"kind", "query", b"query", "security", b"security", "shard", b"shard", "top_k", b"top_k"]) -> None: ...
821
864
  @typing.overload
822
865
  def WhichOneof(self, oneof_group: typing.Literal["_field_filter", b"_field_filter"]) -> typing.Literal["field_filter"] | None: ...
823
866
  @typing.overload
867
+ def WhichOneof(self, oneof_group: typing.Literal["_graph_vectorset", b"_graph_vectorset"]) -> typing.Literal["graph_vectorset"] | None: ...
868
+ @typing.overload
824
869
  def WhichOneof(self, oneof_group: typing.Literal["_security", b"_security"]) -> typing.Literal["security"] | None: ...
825
870
 
826
871
  global___GraphSearchRequest = GraphSearchRequest
@@ -888,20 +933,24 @@ class GraphSearchResponse(google.protobuf.message.Message):
888
933
  NODES_FIELD_NUMBER: builtins.int
889
934
  RELATIONS_FIELD_NUMBER: builtins.int
890
935
  GRAPH_FIELD_NUMBER: builtins.int
936
+ SCORES_FIELD_NUMBER: builtins.int
891
937
  @property
892
938
  def nodes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[nucliadb_protos.utils_pb2.RelationNode]: ...
893
939
  @property
894
940
  def relations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___GraphSearchResponse.Relation]: ...
895
941
  @property
896
942
  def graph(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___GraphSearchResponse.Path]: ...
943
+ @property
944
+ def scores(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ...
897
945
  def __init__(
898
946
  self,
899
947
  *,
900
948
  nodes: collections.abc.Iterable[nucliadb_protos.utils_pb2.RelationNode] | None = ...,
901
949
  relations: collections.abc.Iterable[global___GraphSearchResponse.Relation] | None = ...,
902
950
  graph: collections.abc.Iterable[global___GraphSearchResponse.Path] | None = ...,
951
+ scores: collections.abc.Iterable[builtins.float] | None = ...,
903
952
  ) -> None: ...
904
- def ClearField(self, field_name: typing.Literal["graph", b"graph", "nodes", b"nodes", "relations", b"relations"]) -> None: ...
953
+ def ClearField(self, field_name: typing.Literal["graph", b"graph", "nodes", b"nodes", "relations", b"relations", "scores", b"scores"]) -> None: ...
905
954
 
906
955
  global___GraphSearchResponse = GraphSearchResponse
907
956
 
@@ -1092,6 +1141,7 @@ class SearchRequest(google.protobuf.message.Message):
1092
1141
  RESULT_PER_PAGE_FIELD_NUMBER: builtins.int
1093
1142
  VECTOR_FIELD_NUMBER: builtins.int
1094
1143
  VECTORSET_FIELD_NUMBER: builtins.int
1144
+ GRAPH_VECTORSET_FIELD_NUMBER: builtins.int
1095
1145
  PARAGRAPH_FIELD_NUMBER: builtins.int
1096
1146
  DOCUMENT_FIELD_NUMBER: builtins.int
1097
1147
  WITH_DUPLICATES_FIELD_NUMBER: builtins.int
@@ -1109,6 +1159,7 @@ class SearchRequest(google.protobuf.message.Message):
1109
1159
  """query this text in all the paragraphs"""
1110
1160
  result_per_page: builtins.int
1111
1161
  vectorset: builtins.str
1162
+ graph_vectorset: builtins.str
1112
1163
  paragraph: builtins.bool
1113
1164
  document: builtins.bool
1114
1165
  with_duplicates: builtins.bool
@@ -1143,6 +1194,7 @@ class SearchRequest(google.protobuf.message.Message):
1143
1194
  result_per_page: builtins.int = ...,
1144
1195
  vector: collections.abc.Iterable[builtins.float] | None = ...,
1145
1196
  vectorset: builtins.str = ...,
1197
+ graph_vectorset: builtins.str | None = ...,
1146
1198
  paragraph: builtins.bool = ...,
1147
1199
  document: builtins.bool = ...,
1148
1200
  with_duplicates: builtins.bool = ...,
@@ -1156,13 +1208,15 @@ class SearchRequest(google.protobuf.message.Message):
1156
1208
  filter_operator: global___FilterOperator.ValueType = ...,
1157
1209
  graph_search: global___SearchRequest.GraphSearch | None = ...,
1158
1210
  ) -> None: ...
1159
- def HasField(self, field_name: typing.Literal["_advanced_query", b"_advanced_query", "_field_filter", b"_field_filter", "_paragraph_filter", b"_paragraph_filter", "_security", b"_security", "advanced_query", b"advanced_query", "faceted", b"faceted", "field_filter", b"field_filter", "graph_search", b"graph_search", "order", b"order", "paragraph_filter", b"paragraph_filter", "security", b"security"]) -> builtins.bool: ...
1160
- def ClearField(self, field_name: typing.Literal["_advanced_query", b"_advanced_query", "_field_filter", b"_field_filter", "_paragraph_filter", b"_paragraph_filter", "_security", b"_security", "advanced_query", b"advanced_query", "body", b"body", "document", b"document", "faceted", b"faceted", "field_filter", b"field_filter", "filter_operator", b"filter_operator", "graph_search", b"graph_search", "min_score_bm25", b"min_score_bm25", "min_score_semantic", b"min_score_semantic", "only_faceted", b"only_faceted", "order", b"order", "paragraph", b"paragraph", "paragraph_filter", b"paragraph_filter", "result_per_page", b"result_per_page", "security", b"security", "shard", b"shard", "vector", b"vector", "vectorset", b"vectorset", "with_duplicates", b"with_duplicates"]) -> None: ...
1211
+ def HasField(self, field_name: typing.Literal["_advanced_query", b"_advanced_query", "_field_filter", b"_field_filter", "_graph_vectorset", b"_graph_vectorset", "_paragraph_filter", b"_paragraph_filter", "_security", b"_security", "advanced_query", b"advanced_query", "faceted", b"faceted", "field_filter", b"field_filter", "graph_search", b"graph_search", "graph_vectorset", b"graph_vectorset", "order", b"order", "paragraph_filter", b"paragraph_filter", "security", b"security"]) -> builtins.bool: ...
1212
+ def ClearField(self, field_name: typing.Literal["_advanced_query", b"_advanced_query", "_field_filter", b"_field_filter", "_graph_vectorset", b"_graph_vectorset", "_paragraph_filter", b"_paragraph_filter", "_security", b"_security", "advanced_query", b"advanced_query", "body", b"body", "document", b"document", "faceted", b"faceted", "field_filter", b"field_filter", "filter_operator", b"filter_operator", "graph_search", b"graph_search", "graph_vectorset", b"graph_vectorset", "min_score_bm25", b"min_score_bm25", "min_score_semantic", b"min_score_semantic", "only_faceted", b"only_faceted", "order", b"order", "paragraph", b"paragraph", "paragraph_filter", b"paragraph_filter", "result_per_page", b"result_per_page", "security", b"security", "shard", b"shard", "vector", b"vector", "vectorset", b"vectorset", "with_duplicates", b"with_duplicates"]) -> None: ...
1161
1213
  @typing.overload
1162
1214
  def WhichOneof(self, oneof_group: typing.Literal["_advanced_query", b"_advanced_query"]) -> typing.Literal["advanced_query"] | None: ...
1163
1215
  @typing.overload
1164
1216
  def WhichOneof(self, oneof_group: typing.Literal["_field_filter", b"_field_filter"]) -> typing.Literal["field_filter"] | None: ...
1165
1217
  @typing.overload
1218
+ def WhichOneof(self, oneof_group: typing.Literal["_graph_vectorset", b"_graph_vectorset"]) -> typing.Literal["graph_vectorset"] | None: ...
1219
+ @typing.overload
1166
1220
  def WhichOneof(self, oneof_group: typing.Literal["_paragraph_filter", b"_paragraph_filter"]) -> typing.Literal["paragraph_filter"] | None: ...
1167
1221
  @typing.overload
1168
1222
  def WhichOneof(self, oneof_group: typing.Literal["_security", b"_security"]) -> typing.Literal["security"] | None: ...
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: nidx_protos/noderesources.proto
5
- # Protobuf Python Version: 5.29.0
5
+ # Protobuf Python Version: 6.31.1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
11
11
  from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 0,
14
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'nidx_protos/noderesources.proto'
19
19
  )
@@ -27,7 +27,7 @@ from nucliadb_protos import utils_pb2 as nucliadb__protos_dot_utils__pb2
27
27
 
28
28
  from nucliadb_protos.utils_pb2 import *
29
29
 
30
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fnidx_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\"\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\"\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')
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fnidx_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\"2\n\x0cShardCreated\x12\n\n\x02id\x18\x01 \x01(\tJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\",\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\"\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\n\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+\n#vectors_to_delete_in_all_vectorsets\x18\x08 \x03(\t\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&\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\x12@\n\x15relation_node_vectors\x18\x14 \x03(\x0b\x32!.noderesources.RelationNodeVector\x12@\n\x15relation_edge_vectors\x18\x15 \x03(\x0b\x32!.noderesources.RelationEdgeVector\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\"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_securityJ\x04\x08\x0c\x10\rJ\x04\x08\r\x10\x0e\"G\n\x12RelationNodeVector\x12!\n\x04node\x18\x01 \x01(\x0b\x32\x13.utils.RelationNode\x12\x0e\n\x06vector\x18\x02 \x03(\x02\"q\n\x12RelationEdgeVector\x12\x33\n\rrelation_type\x18\x01 \x01(\x0e\x32\x1c.utils.Relation.RelationType\x12\x16\n\x0erelation_label\x18\x02 \x01(\t\x12\x0e\n\x06vector\x18\x03 \x03(\x02\"#\n\rShardMetadata\x12\x0c\n\x04kbid\x18\x01 \x01(\tJ\x04\x08\x02\x10\x03\"\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
31
 
32
32
  _globals = globals()
33
33
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -50,16 +50,6 @@ if not _descriptor._USE_C_DESCRIPTORS:
50
50
  _globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_options = b'8\001'
51
51
  _globals['_RESOURCE_FIELDRELATIONSENTRY']._loaded_options = None
52
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
53
  _globals['_TEXTINFORMATION']._serialized_start=112
64
54
  _globals['_TEXTINFORMATION']._serialized_end=159
65
55
  _globals['_INDEXMETADATA']._serialized_start=161
@@ -68,72 +58,64 @@ if not _descriptor._USE_C_DESCRIPTORS:
68
58
  _globals['_SHARDID']._serialized_end=290
69
59
  _globals['_SHARDIDS']._serialized_start=292
70
60
  _globals['_SHARDIDS']._serialized_end=339
71
- _globals['_SHARDCREATED']._serialized_start=342
72
- _globals['_SHARDCREATED']._serialized_end=946
73
- _globals['_SHARDCREATED_DOCUMENTSERVICE']._serialized_start=652
74
- _globals['_SHARDCREATED_DOCUMENTSERVICE']._serialized_end=737
75
- _globals['_SHARDCREATED_PARAGRAPHSERVICE']._serialized_start=739
76
- _globals['_SHARDCREATED_PARAGRAPHSERVICE']._serialized_end=829
77
- _globals['_SHARDCREATED_VECTORSERVICE']._serialized_start=831
78
- _globals['_SHARDCREATED_VECTORSERVICE']._serialized_end=876
79
- _globals['_SHARDCREATED_RELATIONSERVICE']._serialized_start=878
80
- _globals['_SHARDCREATED_RELATIONSERVICE']._serialized_end=946
81
- _globals['_RESOURCEID']._serialized_start=948
82
- _globals['_RESOURCEID']._serialized_end=992
83
- _globals['_SHARD']._serialized_start=995
84
- _globals['_SHARD']._serialized_end=1143
85
- _globals['_EMPTYQUERY']._serialized_start=1145
86
- _globals['_EMPTYQUERY']._serialized_end=1157
87
- _globals['_POSITION']._serialized_start=1160
88
- _globals['_POSITION']._serialized_end=1295
89
- _globals['_REPRESENTATION']._serialized_start=1297
90
- _globals['_REPRESENTATION']._serialized_end=1347
91
- _globals['_SENTENCEMETADATA']._serialized_start=1350
92
- _globals['_SENTENCEMETADATA']._serialized_end=1492
93
- _globals['_VECTORSENTENCE']._serialized_start=1494
94
- _globals['_VECTORSENTENCE']._serialized_end=1577
95
- _globals['_VECTORSETSENTENCES']._serialized_start=1580
96
- _globals['_VECTORSETSENTENCES']._serialized_end=1750
97
- _globals['_VECTORSETSENTENCES_SENTENCESENTRY']._serialized_start=1671
98
- _globals['_VECTORSETSENTENCES_SENTENCESENTRY']._serialized_end=1750
99
- _globals['_PARAGRAPHMETADATA']._serialized_start=1753
100
- _globals['_PARAGRAPHMETADATA']._serialized_end=1896
101
- _globals['_INDEXPARAGRAPH']._serialized_start=1899
102
- _globals['_INDEXPARAGRAPH']._serialized_end=2410
103
- _globals['_INDEXPARAGRAPH_SENTENCESENTRY']._serialized_start=1671
104
- _globals['_INDEXPARAGRAPH_SENTENCESENTRY']._serialized_end=1750
105
- _globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._serialized_start=2317
106
- _globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._serialized_end=2410
107
- _globals['_VECTORSETID']._serialized_start=2412
108
- _globals['_VECTORSETID']._serialized_end=2483
109
- _globals['_VECTORSETLIST']._serialized_start=2485
110
- _globals['_VECTORSETLIST']._serialized_end=2559
111
- _globals['_INDEXPARAGRAPHS']._serialized_start=2562
112
- _globals['_INDEXPARAGRAPHS']._serialized_end=2729
113
- _globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._serialized_start=2649
114
- _globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._serialized_end=2729
115
- _globals['_RESOURCE']._serialized_start=2732
116
- _globals['_RESOURCE']._serialized_end=4143
117
- _globals['_RESOURCE_TEXTSENTRY']._serialized_start=3541
118
- _globals['_RESOURCE_TEXTSENTRY']._serialized_end=3617
119
- _globals['_RESOURCE_PARAGRAPHSENTRY']._serialized_start=3619
120
- _globals['_RESOURCE_PARAGRAPHSENTRY']._serialized_end=3700
121
- _globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_start=3702
122
- _globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_end=3790
123
- _globals['_RESOURCE_FIELDRELATIONSENTRY']._serialized_start=3792
124
- _globals['_RESOURCE_FIELDRELATIONSENTRY']._serialized_end=3876
125
- _globals['_RESOURCE_VECTORSENTRY']._serialized_start=3878
126
- _globals['_RESOURCE_VECTORSENTRY']._serialized_end=3944
127
- _globals['_RESOURCE_VECTORSTODELETEENTRY']._serialized_start=3946
128
- _globals['_RESOURCE_VECTORSTODELETEENTRY']._serialized_end=4024
129
- _globals['_RESOURCE_RESOURCESTATUS']._serialized_start=4026
130
- _globals['_RESOURCE_RESOURCESTATUS']._serialized_end=4130
131
- _globals['_SHARDMETADATA']._serialized_start=4145
132
- _globals['_SHARDMETADATA']._serialized_end=4222
133
- _globals['_STRINGLIST']._serialized_start=4224
134
- _globals['_STRINGLIST']._serialized_end=4251
135
- _globals['_INDEXRELATION']._serialized_start=4253
136
- _globals['_INDEXRELATION']._serialized_end=4373
137
- _globals['_INDEXRELATIONS']._serialized_start=4375
138
- _globals['_INDEXRELATIONS']._serialized_end=4440
61
+ _globals['_SHARDCREATED']._serialized_start=341
62
+ _globals['_SHARDCREATED']._serialized_end=391
63
+ _globals['_RESOURCEID']._serialized_start=393
64
+ _globals['_RESOURCEID']._serialized_end=437
65
+ _globals['_SHARD']._serialized_start=440
66
+ _globals['_SHARD']._serialized_end=588
67
+ _globals['_EMPTYQUERY']._serialized_start=590
68
+ _globals['_EMPTYQUERY']._serialized_end=602
69
+ _globals['_POSITION']._serialized_start=605
70
+ _globals['_POSITION']._serialized_end=740
71
+ _globals['_REPRESENTATION']._serialized_start=742
72
+ _globals['_REPRESENTATION']._serialized_end=792
73
+ _globals['_SENTENCEMETADATA']._serialized_start=795
74
+ _globals['_SENTENCEMETADATA']._serialized_end=937
75
+ _globals['_VECTORSENTENCE']._serialized_start=939
76
+ _globals['_VECTORSENTENCE']._serialized_end=1022
77
+ _globals['_VECTORSETSENTENCES']._serialized_start=1025
78
+ _globals['_VECTORSETSENTENCES']._serialized_end=1195
79
+ _globals['_VECTORSETSENTENCES_SENTENCESENTRY']._serialized_start=1116
80
+ _globals['_VECTORSETSENTENCES_SENTENCESENTRY']._serialized_end=1195
81
+ _globals['_PARAGRAPHMETADATA']._serialized_start=1198
82
+ _globals['_PARAGRAPHMETADATA']._serialized_end=1341
83
+ _globals['_INDEXPARAGRAPH']._serialized_start=1344
84
+ _globals['_INDEXPARAGRAPH']._serialized_end=1855
85
+ _globals['_INDEXPARAGRAPH_SENTENCESENTRY']._serialized_start=1116
86
+ _globals['_INDEXPARAGRAPH_SENTENCESENTRY']._serialized_end=1195
87
+ _globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._serialized_start=1762
88
+ _globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._serialized_end=1855
89
+ _globals['_VECTORSETID']._serialized_start=1857
90
+ _globals['_VECTORSETID']._serialized_end=1928
91
+ _globals['_VECTORSETLIST']._serialized_start=1930
92
+ _globals['_VECTORSETLIST']._serialized_end=2004
93
+ _globals['_INDEXPARAGRAPHS']._serialized_start=2007
94
+ _globals['_INDEXPARAGRAPHS']._serialized_end=2174
95
+ _globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._serialized_start=2094
96
+ _globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._serialized_end=2174
97
+ _globals['_RESOURCE']._serialized_start=2177
98
+ _globals['_RESOURCE']._serialized_end=3460
99
+ _globals['_RESOURCE_TEXTSENTRY']._serialized_start=2994
100
+ _globals['_RESOURCE_TEXTSENTRY']._serialized_end=3070
101
+ _globals['_RESOURCE_PARAGRAPHSENTRY']._serialized_start=3072
102
+ _globals['_RESOURCE_PARAGRAPHSENTRY']._serialized_end=3153
103
+ _globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_start=3155
104
+ _globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_end=3243
105
+ _globals['_RESOURCE_FIELDRELATIONSENTRY']._serialized_start=3245
106
+ _globals['_RESOURCE_FIELDRELATIONSENTRY']._serialized_end=3329
107
+ _globals['_RESOURCE_RESOURCESTATUS']._serialized_start=3331
108
+ _globals['_RESOURCE_RESOURCESTATUS']._serialized_end=3435
109
+ _globals['_RELATIONNODEVECTOR']._serialized_start=3462
110
+ _globals['_RELATIONNODEVECTOR']._serialized_end=3533
111
+ _globals['_RELATIONEDGEVECTOR']._serialized_start=3535
112
+ _globals['_RELATIONEDGEVECTOR']._serialized_end=3648
113
+ _globals['_SHARDMETADATA']._serialized_start=3650
114
+ _globals['_SHARDMETADATA']._serialized_end=3685
115
+ _globals['_STRINGLIST']._serialized_start=3687
116
+ _globals['_STRINGLIST']._serialized_end=3714
117
+ _globals['_INDEXRELATION']._serialized_start=3716
118
+ _globals['_INDEXRELATION']._serialized_end=3836
119
+ _globals['_INDEXRELATIONS']._serialized_start=3838
120
+ _globals['_INDEXRELATIONS']._serialized_end=3903
139
121
  # @@protoc_insertion_point(module_scope)