nucliadb-protos 6.3.5.post4044__py3-none-any.whl → 6.9.3.post5290__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.
- .gitignore +1 -0
- build.py +56 -0
- nucliadb_protos/audit_pb2.py +43 -46
- nucliadb_protos/audit_pb2.pyi +64 -13
- nucliadb_protos/backups_pb2.py +13 -3
- nucliadb_protos/backups_pb2_grpc.py +20 -0
- nucliadb_protos/dataset_pb2.py +13 -3
- nucliadb_protos/dataset_pb2.pyi +2 -0
- nucliadb_protos/kb_usage_pb2.py +14 -4
- nucliadb_protos/knowledgebox_pb2.py +117 -113
- nucliadb_protos/knowledgebox_pb2.pyi +49 -21
- nucliadb_protos/migrations_pb2.py +13 -3
- nucliadb_protos/resources_pb2.py +237 -219
- nucliadb_protos/resources_pb2.pyi +76 -10
- nucliadb_protos/standalone_pb2.py +13 -3
- nucliadb_protos/standalone_pb2_grpc.py +49 -8
- nucliadb_protos/train_pb2.py +18 -40
- nucliadb_protos/train_pb2.pyi +5 -1
- nucliadb_protos/train_pb2_grpc.py +133 -32
- nucliadb_protos/train_pb2_grpc.pyi +5 -1
- nucliadb_protos/utils_pb2.py +17 -7
- nucliadb_protos/writer_pb2.py +166 -174
- nucliadb_protos/writer_pb2.pyi +38 -57
- nucliadb_protos/writer_pb2_grpc.py +259 -68
- nucliadb_protos/writer_pb2_grpc.pyi +6 -27
- {nucliadb_protos-6.3.5.post4044.dist-info → nucliadb_protos-6.9.3.post5290.dist-info}/METADATA +9 -9
- nucliadb_protos-6.9.3.post5290.dist-info/RECORD +37 -0
- {nucliadb_protos-6.3.5.post4044.dist-info → nucliadb_protos-6.9.3.post5290.dist-info}/WHEEL +1 -2
- nucliadb_protos-6.9.3.post5290.dist-info/entry_points.txt +4 -0
- nucliadb_protos/__init__.py +0 -0
- nucliadb_protos/nodereader_pb2.py +0 -187
- nucliadb_protos/nodereader_pb2.pyi +0 -1715
- nucliadb_protos/nodereader_pb2_grpc.py +0 -438
- nucliadb_protos/nodereader_pb2_grpc.pyi +0 -288
- nucliadb_protos/noderesources_pb2.py +0 -145
- nucliadb_protos/noderesources_pb2.pyi +0 -993
- nucliadb_protos/nodewriter_pb2.py +0 -80
- nucliadb_protos/nodewriter_pb2.pyi +0 -348
- nucliadb_protos/nodewriter_pb2_grpc.py +0 -430
- nucliadb_protos/nodewriter_pb2_grpc.pyi +0 -256
- nucliadb_protos-6.3.5.post4044.dist-info/RECORD +0 -46
- nucliadb_protos-6.3.5.post4044.dist-info/top_level.txt +0 -1
|
@@ -1,148 +1,152 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
3
4
|
# source: nucliadb_protos/knowledgebox.proto
|
|
4
|
-
# Protobuf Python Version:
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
5
6
|
"""Generated protocol buffer code."""
|
|
6
7
|
from google.protobuf import descriptor as _descriptor
|
|
7
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
8
10
|
from google.protobuf import symbol_database as _symbol_database
|
|
9
11
|
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'nucliadb_protos/knowledgebox.proto'
|
|
19
|
+
)
|
|
10
20
|
# @@protoc_insertion_point(imports)
|
|
11
21
|
|
|
12
22
|
_sym_db = _symbol_database.Default()
|
|
13
23
|
|
|
14
24
|
|
|
15
25
|
from nucliadb_protos import utils_pb2 as nucliadb__protos_dot_utils__pb2
|
|
16
|
-
from nucliadb_protos import nodewriter_pb2 as nucliadb__protos_dot_nodewriter__pb2
|
|
17
|
-
try:
|
|
18
|
-
nucliadb__protos_dot_noderesources__pb2 = nucliadb__protos_dot_nodewriter__pb2.nucliadb__protos_dot_noderesources__pb2
|
|
19
|
-
except AttributeError:
|
|
20
|
-
nucliadb__protos_dot_noderesources__pb2 = nucliadb__protos_dot_nodewriter__pb2.nucliadb_protos.noderesources_pb2
|
|
21
|
-
try:
|
|
22
|
-
nucliadb__protos_dot_utils__pb2 = nucliadb__protos_dot_nodewriter__pb2.nucliadb__protos_dot_utils__pb2
|
|
23
|
-
except AttributeError:
|
|
24
|
-
nucliadb__protos_dot_utils__pb2 = nucliadb__protos_dot_nodewriter__pb2.nucliadb_protos.utils_pb2
|
|
25
26
|
|
|
26
27
|
from nucliadb_protos.utils_pb2 import *
|
|
27
|
-
from nucliadb_protos.nodewriter_pb2 import *
|
|
28
28
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"nucliadb_protos/knowledgebox.proto\x12\x0cknowledgebox\x1a\x1bnucliadb_protos/utils.proto\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"nucliadb_protos/knowledgebox.proto\x12\x0cknowledgebox\x1a\x1bnucliadb_protos/utils.proto\",\n\x0eKnowledgeBoxID\x12\x0c\n\x04slug\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\"h\n\x14\x43reatePineconeConfig\x12\x0f\n\x07\x61pi_key\x18\x01 \x01(\t\x12?\n\x10serverless_cloud\x18\x02 \x01(\x0e\x32%.knowledgebox.PineconeServerlessCloud\"\x86\x01\n\x15PineconeIndexMetadata\x12\x12\n\nindex_name\x18\x01 \x01(\t\x12\x12\n\nindex_host\x18\x02 \x01(\t\x12\x18\n\x10vector_dimension\x18\x03 \x01(\x05\x12+\n\nsimilarity\x18\x04 \x01(\x0e\x32\x17.utils.VectorSimilarity\"\x89\x02\n\x14StoredPineconeConfig\x12\x19\n\x11\x65ncrypted_api_key\x18\x01 \x01(\t\x12@\n\x07indexes\x18\x02 \x03(\x0b\x32/.knowledgebox.StoredPineconeConfig.IndexesEntry\x12?\n\x10serverless_cloud\x18\x03 \x01(\x0e\x32%.knowledgebox.PineconeServerlessCloud\x1aS\n\x0cIndexesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.knowledgebox.PineconeIndexMetadata:\x02\x38\x01\"\xa5\x01\n#CreateExternalIndexProviderMetadata\x12\x35\n\x04type\x18\x01 \x01(\x0e\x32\'.knowledgebox.ExternalIndexProviderType\x12=\n\x0fpinecone_config\x18\x02 \x01(\x0b\x32\".knowledgebox.CreatePineconeConfigH\x00\x42\x08\n\x06\x63onfig\"\xa5\x01\n#StoredExternalIndexProviderMetadata\x12\x35\n\x04type\x18\x01 \x01(\x0e\x32\'.knowledgebox.ExternalIndexProviderType\x12=\n\x0fpinecone_config\x18\x02 \x01(\x0b\x32\".knowledgebox.StoredPineconeConfigH\x00\x42\x08\n\x06\x63onfig\"\xa7\x03\n\x12KnowledgeBoxConfig\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04slug\x18\x05 \x01(\t\x12\x19\n\x11migration_version\x18\x07 \x01(\x03\x12R\n\x17\x65xternal_index_provider\x18\t \x01(\x0b\x32\x31.knowledgebox.StoredExternalIndexProviderMetadata\x12\x1b\n\x0f\x65nabled_filters\x18\x03 \x03(\tB\x02\x18\x01\x12\x1c\n\x10\x65nabled_insights\x18\x04 \x03(\tB\x02\x18\x01\x12\x1b\n\x0f\x64isable_vectors\x18\x06 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x0frelease_channel\x18\x08 \x01(\x0e\x32\x15.utils.ReleaseChannelB\x02\x18\x01\x12 \n\x18hidden_resources_enabled\x18\n \x01(\x08\x12)\n!hidden_resources_hide_on_creation\x18\x0b \x01(\x08\x12\x17\n\x0fprewarm_enabled\x18\x0c \x01(\x08\"b\n\x12KnowledgeBoxUpdate\x12\x0c\n\x04slug\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x30\n\x06\x63onfig\x18\x03 \x01(\x0b\x32 .knowledgebox.KnowledgeBoxConfig\"d\n\x1aUpdateKnowledgeBoxResponse\x12\x38\n\x06status\x18\x01 \x01(\x0e\x32(.knowledgebox.KnowledgeBoxResponseStatus\x12\x0c\n\x04uuid\x18\x02 \x01(\t\"V\n\x1a\x44\x65leteKnowledgeBoxResponse\x12\x38\n\x06status\x18\x01 \x01(\x0e\x32(.knowledgebox.KnowledgeBoxResponseStatus\"B\n\x05Label\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0f\n\x07related\x18\x03 \x01(\t\x12\x0c\n\x04text\x18\x04 \x01(\t\x12\x0b\n\x03uri\x18\x05 \x01(\t\"\xe0\x01\n\x08LabelSet\x12\r\n\x05title\x18\x01 \x01(\t\x12\r\n\x05\x63olor\x18\x02 \x01(\t\x12#\n\x06labels\x18\x03 \x03(\x0b\x32\x13.knowledgebox.Label\x12\x10\n\x08multiple\x18\x04 \x01(\x08\x12\x31\n\x04kind\x18\x05 \x03(\x0e\x32#.knowledgebox.LabelSet.LabelSetKind\"L\n\x0cLabelSetKind\x12\r\n\tRESOURCES\x10\x00\x12\x0e\n\nPARAGRAPHS\x10\x01\x12\r\n\tSENTENCES\x10\x02\x12\x0e\n\nSELECTIONS\x10\x03\"\x87\x01\n\x06Labels\x12\x34\n\x08labelset\x18\x01 \x03(\x0b\x32\".knowledgebox.Labels.LabelsetEntry\x1aG\n\rLabelsetEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.knowledgebox.LabelSet:\x02\x38\x01\"L\n\x06\x45ntity\x12\r\n\x05value\x18\x02 \x01(\t\x12\x12\n\nrepresents\x18\x04 \x03(\t\x12\x0e\n\x06merged\x18\x03 \x01(\x08\x12\x0f\n\x07\x64\x65leted\x18\x05 \x01(\x08\"D\n\x14\x45ntitiesGroupSummary\x12\r\n\x05title\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x03 \x01(\t\x12\x0e\n\x06\x63ustom\x18\x04 \x01(\x08\"\xc1\x01\n\rEntitiesGroup\x12;\n\x08\x65ntities\x18\x01 \x03(\x0b\x32).knowledgebox.EntitiesGroup.EntitiesEntry\x12\r\n\x05title\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x03 \x01(\t\x12\x0e\n\x06\x63ustom\x18\x04 \x01(\x08\x1a\x45\n\rEntitiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.knowledgebox.Entity:\x02\x38\x01\"0\n\x15\x44\x65letedEntitiesGroups\x12\x17\n\x0f\x65ntities_groups\x18\x01 \x03(\t\"\xaf\x01\n\x0e\x45ntitiesGroups\x12I\n\x0f\x65ntities_groups\x18\x01 \x03(\x0b\x32\x30.knowledgebox.EntitiesGroups.EntitiesGroupsEntry\x1aR\n\x13\x45ntitiesGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12*\n\x05value\x18\x02 \x01(\x0b\x32\x1b.knowledgebox.EntitiesGroup:\x02\x38\x01\"\xf3\x03\n\x19\x45ntityGroupDuplicateIndex\x12T\n\x0f\x65ntities_groups\x18\x01 \x03(\x0b\x32;.knowledgebox.EntityGroupDuplicateIndex.EntitiesGroupsEntry\x1a&\n\x10\x45ntityDuplicates\x12\x12\n\nduplicates\x18\x01 \x03(\t\x1a\xe1\x01\n\x15\x45ntityGroupDuplicates\x12]\n\x08\x65ntities\x18\x01 \x03(\x0b\x32K.knowledgebox.EntityGroupDuplicateIndex.EntityGroupDuplicates.EntitiesEntry\x1ai\n\rEntitiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.knowledgebox.EntityGroupDuplicateIndex.EntityDuplicates:\x02\x38\x01\x1at\n\x13\x45ntitiesGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12L\n\x05value\x18\x02 \x01(\x0b\x32=.knowledgebox.EntityGroupDuplicateIndex.EntityGroupDuplicates:\x02\x38\x01\"K\n\tVectorSet\x12\x11\n\tdimension\x18\x01 \x01(\x05\x12+\n\nsimilarity\x18\x02 \x01(\x0e\x32\x17.utils.VectorSimilarity\"\x96\x01\n\nVectorSets\x12<\n\nvectorsets\x18\x01 \x03(\x0b\x32(.knowledgebox.VectorSets.VectorsetsEntry\x1aJ\n\x0fVectorsetsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.knowledgebox.VectorSet:\x02\x38\x01\"\xbe\x01\n\x11VectorIndexConfig\x12+\n\nsimilarity\x18\x01 \x01(\x0e\x32\x17.utils.VectorSimilarity\x12\x19\n\x11normalize_vectors\x18\x02 \x01(\x08\x12-\n\x0bvector_type\x18\x03 \x01(\x0e\x32\x18.knowledgebox.VectorType\x12\x1d\n\x10vector_dimension\x18\x04 \x01(\rH\x00\x88\x01\x01\x42\x13\n\x11_vector_dimension\"\x8e\x02\n\x0fVectorSetConfig\x12\x14\n\x0cvectorset_id\x18\x01 \x01(\t\x12?\n\x16vectorset_index_config\x18\x02 \x01(\x0b\x32\x1f.knowledgebox.VectorIndexConfig\x12\x1d\n\x15matryoshka_dimensions\x18\x03 \x03(\r\x12\x46\n\x10storage_key_kind\x18\x04 \x01(\x0e\x32,.knowledgebox.VectorSetConfig.StorageKeyKind\"=\n\x0eStorageKeyKind\x12\t\n\x05UNSET\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x14\n\x10VECTORSET_PREFIX\x10\x02\"Q\n\x1cKnowledgeBoxVectorSetsConfig\x12\x31\n\nvectorsets\x18\x01 \x03(\x0b\x32\x1d.knowledgebox.VectorSetConfig\"X\n\x0eVectorSetPurge\x12\x46\n\x10storage_key_kind\x18\x01 \x01(\x0e\x32,.knowledgebox.VectorSetConfig.StorageKeyKind\" \n\x0cTermSynonyms\x12\x10\n\x08synonyms\x18\x01 \x03(\t\"\x86\x01\n\x08Synonyms\x12\x30\n\x05terms\x18\x01 \x03(\x0b\x32!.knowledgebox.Synonyms.TermsEntry\x1aH\n\nTermsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.knowledgebox.TermSynonyms:\x02\x38\x01\"\xda\x01\n\x15SemanticModelMetadata\x12\x34\n\x13similarity_function\x18\x01 \x01(\x0e\x32\x17.utils.VectorSimilarity\x12\x1d\n\x10vector_dimension\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12\"\n\x11\x64\x65\x66\x61ult_min_score\x18\x03 \x01(\x02\x42\x02\x18\x01H\x01\x88\x01\x01\x12\x1d\n\x15matryoshka_dimensions\x18\x04 \x03(\rB\x13\n\x11_vector_dimensionB\x14\n\x12_default_min_score\"\x8c\x01\n\x0fKBConfiguration\x12\x16\n\x0esemantic_model\x18\x02 \x01(\t\x12\x18\n\x10generative_model\x18\x03 \x01(\t\x12\x11\n\tner_model\x18\x04 \x01(\t\x12\x1b\n\x13\x61nonymization_model\x18\x05 \x01(\t\x12\x17\n\x0fvisual_labeling\x18\x06 \x01(\t*n\n\x1aKnowledgeBoxResponseStatus\x12\x06\n\x02OK\x10\x00\x12\x0c\n\x08\x43ONFLICT\x10\x01\x12\x0c\n\x08NOTFOUND\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12!\n\x1d\x45XTERNAL_INDEX_PROVIDER_ERROR\x10\x04*4\n\x19\x45xternalIndexProviderType\x12\t\n\x05UNSET\x10\x00\x12\x0c\n\x08PINECONE\x10\x01*\x8e\x01\n\x17PineconeServerlessCloud\x12\x12\n\x0ePINECONE_UNSET\x10\x00\x12\x11\n\rAWS_US_EAST_1\x10\x01\x12\x11\n\rAWS_US_WEST_2\x10\x02\x12\x11\n\rAWS_EU_WEST_1\x10\x03\x12\x13\n\x0fGCP_US_CENTRAL1\x10\x04\x12\x11\n\rAZURE_EASTUS2\x10\x05*\x1b\n\nVectorType\x12\r\n\tDENSE_F32\x10\x00P\x00\x62\x06proto3')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
33
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nucliadb_protos.knowledgebox_pb2', _globals)
|
|
34
|
-
if _descriptor._USE_C_DESCRIPTORS
|
|
35
|
-
DESCRIPTOR.
|
|
36
|
-
_globals['_STOREDPINECONECONFIG_INDEXESENTRY'].
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
DESCRIPTOR._loaded_options = None
|
|
36
|
+
_globals['_STOREDPINECONECONFIG_INDEXESENTRY']._loaded_options = None
|
|
37
37
|
_globals['_STOREDPINECONECONFIG_INDEXESENTRY']._serialized_options = b'8\001'
|
|
38
|
-
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_filters'].
|
|
38
|
+
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_filters']._loaded_options = None
|
|
39
39
|
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_filters']._serialized_options = b'\030\001'
|
|
40
|
-
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_insights'].
|
|
40
|
+
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_insights']._loaded_options = None
|
|
41
41
|
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_insights']._serialized_options = b'\030\001'
|
|
42
|
-
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['disable_vectors'].
|
|
42
|
+
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['disable_vectors']._loaded_options = None
|
|
43
43
|
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['disable_vectors']._serialized_options = b'\030\001'
|
|
44
|
-
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['release_channel'].
|
|
44
|
+
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['release_channel']._loaded_options = None
|
|
45
45
|
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['release_channel']._serialized_options = b'\030\001'
|
|
46
|
-
_globals['_LABELS_LABELSETENTRY'].
|
|
46
|
+
_globals['_LABELS_LABELSETENTRY']._loaded_options = None
|
|
47
47
|
_globals['_LABELS_LABELSETENTRY']._serialized_options = b'8\001'
|
|
48
|
-
_globals['_ENTITIESGROUP_ENTITIESENTRY'].
|
|
48
|
+
_globals['_ENTITIESGROUP_ENTITIESENTRY']._loaded_options = None
|
|
49
49
|
_globals['_ENTITIESGROUP_ENTITIESENTRY']._serialized_options = b'8\001'
|
|
50
|
-
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY'].
|
|
50
|
+
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._loaded_options = None
|
|
51
51
|
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._serialized_options = b'8\001'
|
|
52
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY'].
|
|
52
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._loaded_options = None
|
|
53
53
|
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._serialized_options = b'8\001'
|
|
54
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY'].
|
|
54
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._loaded_options = None
|
|
55
55
|
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._serialized_options = b'8\001'
|
|
56
|
-
_globals['_VECTORSETS_VECTORSETSENTRY'].
|
|
56
|
+
_globals['_VECTORSETS_VECTORSETSENTRY']._loaded_options = None
|
|
57
57
|
_globals['_VECTORSETS_VECTORSETSENTRY']._serialized_options = b'8\001'
|
|
58
|
-
_globals['_SYNONYMS_TERMSENTRY'].
|
|
58
|
+
_globals['_SYNONYMS_TERMSENTRY']._loaded_options = None
|
|
59
59
|
_globals['_SYNONYMS_TERMSENTRY']._serialized_options = b'8\001'
|
|
60
|
-
_globals['_SEMANTICMODELMETADATA'].fields_by_name['default_min_score'].
|
|
60
|
+
_globals['_SEMANTICMODELMETADATA'].fields_by_name['default_min_score']._loaded_options = None
|
|
61
61
|
_globals['_SEMANTICMODELMETADATA'].fields_by_name['default_min_score']._serialized_options = b'\030\001'
|
|
62
|
-
_globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_start=
|
|
63
|
-
_globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_end=
|
|
64
|
-
_globals['_EXTERNALINDEXPROVIDERTYPE']._serialized_start=
|
|
65
|
-
_globals['_EXTERNALINDEXPROVIDERTYPE']._serialized_end=
|
|
66
|
-
_globals['_PINECONESERVERLESSCLOUD']._serialized_start=
|
|
67
|
-
_globals['_PINECONESERVERLESSCLOUD']._serialized_end=
|
|
68
|
-
_globals['
|
|
69
|
-
_globals['
|
|
70
|
-
_globals['
|
|
71
|
-
_globals['
|
|
72
|
-
_globals['
|
|
73
|
-
_globals['
|
|
74
|
-
_globals['
|
|
75
|
-
_globals['
|
|
76
|
-
_globals['
|
|
77
|
-
_globals['
|
|
78
|
-
_globals['
|
|
79
|
-
_globals['
|
|
80
|
-
_globals['
|
|
81
|
-
_globals['
|
|
82
|
-
_globals['
|
|
83
|
-
_globals['
|
|
84
|
-
_globals['
|
|
85
|
-
_globals['
|
|
86
|
-
_globals['
|
|
87
|
-
_globals['
|
|
88
|
-
_globals['
|
|
89
|
-
_globals['
|
|
90
|
-
_globals['
|
|
91
|
-
_globals['
|
|
92
|
-
_globals['
|
|
93
|
-
_globals['
|
|
94
|
-
_globals['
|
|
95
|
-
_globals['
|
|
96
|
-
_globals['
|
|
97
|
-
_globals['
|
|
98
|
-
_globals['
|
|
99
|
-
_globals['
|
|
100
|
-
_globals['
|
|
101
|
-
_globals['
|
|
102
|
-
_globals['
|
|
103
|
-
_globals['
|
|
104
|
-
_globals['
|
|
105
|
-
_globals['
|
|
106
|
-
_globals['
|
|
107
|
-
_globals['
|
|
108
|
-
_globals['
|
|
109
|
-
_globals['
|
|
110
|
-
_globals['
|
|
111
|
-
_globals['
|
|
112
|
-
_globals['
|
|
113
|
-
_globals['
|
|
114
|
-
_globals['
|
|
115
|
-
_globals['
|
|
116
|
-
_globals['
|
|
117
|
-
_globals['
|
|
118
|
-
_globals['
|
|
119
|
-
_globals['
|
|
120
|
-
_globals['
|
|
121
|
-
_globals['
|
|
122
|
-
_globals['
|
|
123
|
-
_globals['
|
|
124
|
-
_globals['
|
|
125
|
-
_globals['
|
|
126
|
-
_globals['
|
|
127
|
-
_globals['
|
|
128
|
-
_globals['
|
|
129
|
-
_globals['
|
|
130
|
-
_globals['
|
|
131
|
-
_globals['
|
|
132
|
-
_globals['
|
|
133
|
-
_globals['
|
|
134
|
-
_globals['
|
|
135
|
-
_globals['
|
|
136
|
-
_globals['
|
|
137
|
-
_globals['
|
|
138
|
-
_globals['
|
|
139
|
-
_globals['
|
|
140
|
-
_globals['
|
|
141
|
-
_globals['
|
|
142
|
-
_globals['
|
|
143
|
-
_globals['
|
|
144
|
-
_globals['
|
|
145
|
-
_globals['
|
|
146
|
-
_globals['
|
|
147
|
-
_globals['
|
|
62
|
+
_globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_start=4601
|
|
63
|
+
_globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_end=4711
|
|
64
|
+
_globals['_EXTERNALINDEXPROVIDERTYPE']._serialized_start=4713
|
|
65
|
+
_globals['_EXTERNALINDEXPROVIDERTYPE']._serialized_end=4765
|
|
66
|
+
_globals['_PINECONESERVERLESSCLOUD']._serialized_start=4768
|
|
67
|
+
_globals['_PINECONESERVERLESSCLOUD']._serialized_end=4910
|
|
68
|
+
_globals['_VECTORTYPE']._serialized_start=4912
|
|
69
|
+
_globals['_VECTORTYPE']._serialized_end=4939
|
|
70
|
+
_globals['_KNOWLEDGEBOXID']._serialized_start=81
|
|
71
|
+
_globals['_KNOWLEDGEBOXID']._serialized_end=125
|
|
72
|
+
_globals['_CREATEPINECONECONFIG']._serialized_start=127
|
|
73
|
+
_globals['_CREATEPINECONECONFIG']._serialized_end=231
|
|
74
|
+
_globals['_PINECONEINDEXMETADATA']._serialized_start=234
|
|
75
|
+
_globals['_PINECONEINDEXMETADATA']._serialized_end=368
|
|
76
|
+
_globals['_STOREDPINECONECONFIG']._serialized_start=371
|
|
77
|
+
_globals['_STOREDPINECONECONFIG']._serialized_end=636
|
|
78
|
+
_globals['_STOREDPINECONECONFIG_INDEXESENTRY']._serialized_start=553
|
|
79
|
+
_globals['_STOREDPINECONECONFIG_INDEXESENTRY']._serialized_end=636
|
|
80
|
+
_globals['_CREATEEXTERNALINDEXPROVIDERMETADATA']._serialized_start=639
|
|
81
|
+
_globals['_CREATEEXTERNALINDEXPROVIDERMETADATA']._serialized_end=804
|
|
82
|
+
_globals['_STOREDEXTERNALINDEXPROVIDERMETADATA']._serialized_start=807
|
|
83
|
+
_globals['_STOREDEXTERNALINDEXPROVIDERMETADATA']._serialized_end=972
|
|
84
|
+
_globals['_KNOWLEDGEBOXCONFIG']._serialized_start=975
|
|
85
|
+
_globals['_KNOWLEDGEBOXCONFIG']._serialized_end=1398
|
|
86
|
+
_globals['_KNOWLEDGEBOXUPDATE']._serialized_start=1400
|
|
87
|
+
_globals['_KNOWLEDGEBOXUPDATE']._serialized_end=1498
|
|
88
|
+
_globals['_UPDATEKNOWLEDGEBOXRESPONSE']._serialized_start=1500
|
|
89
|
+
_globals['_UPDATEKNOWLEDGEBOXRESPONSE']._serialized_end=1600
|
|
90
|
+
_globals['_DELETEKNOWLEDGEBOXRESPONSE']._serialized_start=1602
|
|
91
|
+
_globals['_DELETEKNOWLEDGEBOXRESPONSE']._serialized_end=1688
|
|
92
|
+
_globals['_LABEL']._serialized_start=1690
|
|
93
|
+
_globals['_LABEL']._serialized_end=1756
|
|
94
|
+
_globals['_LABELSET']._serialized_start=1759
|
|
95
|
+
_globals['_LABELSET']._serialized_end=1983
|
|
96
|
+
_globals['_LABELSET_LABELSETKIND']._serialized_start=1907
|
|
97
|
+
_globals['_LABELSET_LABELSETKIND']._serialized_end=1983
|
|
98
|
+
_globals['_LABELS']._serialized_start=1986
|
|
99
|
+
_globals['_LABELS']._serialized_end=2121
|
|
100
|
+
_globals['_LABELS_LABELSETENTRY']._serialized_start=2050
|
|
101
|
+
_globals['_LABELS_LABELSETENTRY']._serialized_end=2121
|
|
102
|
+
_globals['_ENTITY']._serialized_start=2123
|
|
103
|
+
_globals['_ENTITY']._serialized_end=2199
|
|
104
|
+
_globals['_ENTITIESGROUPSUMMARY']._serialized_start=2201
|
|
105
|
+
_globals['_ENTITIESGROUPSUMMARY']._serialized_end=2269
|
|
106
|
+
_globals['_ENTITIESGROUP']._serialized_start=2272
|
|
107
|
+
_globals['_ENTITIESGROUP']._serialized_end=2465
|
|
108
|
+
_globals['_ENTITIESGROUP_ENTITIESENTRY']._serialized_start=2396
|
|
109
|
+
_globals['_ENTITIESGROUP_ENTITIESENTRY']._serialized_end=2465
|
|
110
|
+
_globals['_DELETEDENTITIESGROUPS']._serialized_start=2467
|
|
111
|
+
_globals['_DELETEDENTITIESGROUPS']._serialized_end=2515
|
|
112
|
+
_globals['_ENTITIESGROUPS']._serialized_start=2518
|
|
113
|
+
_globals['_ENTITIESGROUPS']._serialized_end=2693
|
|
114
|
+
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._serialized_start=2611
|
|
115
|
+
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._serialized_end=2693
|
|
116
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX']._serialized_start=2696
|
|
117
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX']._serialized_end=3195
|
|
118
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYDUPLICATES']._serialized_start=2811
|
|
119
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYDUPLICATES']._serialized_end=2849
|
|
120
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES']._serialized_start=2852
|
|
121
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES']._serialized_end=3077
|
|
122
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._serialized_start=2972
|
|
123
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._serialized_end=3077
|
|
124
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._serialized_start=3079
|
|
125
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._serialized_end=3195
|
|
126
|
+
_globals['_VECTORSET']._serialized_start=3197
|
|
127
|
+
_globals['_VECTORSET']._serialized_end=3272
|
|
128
|
+
_globals['_VECTORSETS']._serialized_start=3275
|
|
129
|
+
_globals['_VECTORSETS']._serialized_end=3425
|
|
130
|
+
_globals['_VECTORSETS_VECTORSETSENTRY']._serialized_start=3351
|
|
131
|
+
_globals['_VECTORSETS_VECTORSETSENTRY']._serialized_end=3425
|
|
132
|
+
_globals['_VECTORINDEXCONFIG']._serialized_start=3428
|
|
133
|
+
_globals['_VECTORINDEXCONFIG']._serialized_end=3618
|
|
134
|
+
_globals['_VECTORSETCONFIG']._serialized_start=3621
|
|
135
|
+
_globals['_VECTORSETCONFIG']._serialized_end=3891
|
|
136
|
+
_globals['_VECTORSETCONFIG_STORAGEKEYKIND']._serialized_start=3830
|
|
137
|
+
_globals['_VECTORSETCONFIG_STORAGEKEYKIND']._serialized_end=3891
|
|
138
|
+
_globals['_KNOWLEDGEBOXVECTORSETSCONFIG']._serialized_start=3893
|
|
139
|
+
_globals['_KNOWLEDGEBOXVECTORSETSCONFIG']._serialized_end=3974
|
|
140
|
+
_globals['_VECTORSETPURGE']._serialized_start=3976
|
|
141
|
+
_globals['_VECTORSETPURGE']._serialized_end=4064
|
|
142
|
+
_globals['_TERMSYNONYMS']._serialized_start=4066
|
|
143
|
+
_globals['_TERMSYNONYMS']._serialized_end=4098
|
|
144
|
+
_globals['_SYNONYMS']._serialized_start=4101
|
|
145
|
+
_globals['_SYNONYMS']._serialized_end=4235
|
|
146
|
+
_globals['_SYNONYMS_TERMSENTRY']._serialized_start=4163
|
|
147
|
+
_globals['_SYNONYMS_TERMSENTRY']._serialized_end=4235
|
|
148
|
+
_globals['_SEMANTICMODELMETADATA']._serialized_start=4238
|
|
149
|
+
_globals['_SEMANTICMODELMETADATA']._serialized_end=4456
|
|
150
|
+
_globals['_KBCONFIGURATION']._serialized_start=4459
|
|
151
|
+
_globals['_KBCONFIGURATION']._serialized_end=4599
|
|
148
152
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -9,7 +9,6 @@ import google.protobuf.descriptor
|
|
|
9
9
|
import google.protobuf.internal.containers
|
|
10
10
|
import google.protobuf.internal.enum_type_wrapper
|
|
11
11
|
import google.protobuf.message
|
|
12
|
-
import nucliadb_protos.nodewriter_pb2
|
|
13
12
|
import nucliadb_protos.utils_pb2
|
|
14
13
|
import sys
|
|
15
14
|
import typing
|
|
@@ -18,23 +17,6 @@ if sys.version_info >= (3, 10):
|
|
|
18
17
|
import typing as typing_extensions
|
|
19
18
|
else:
|
|
20
19
|
import typing_extensions
|
|
21
|
-
from nucliadb_protos.nodewriter_pb2 import (
|
|
22
|
-
CREATION as CREATION,
|
|
23
|
-
DELETION as DELETION,
|
|
24
|
-
DENSE_F32 as DENSE_F32,
|
|
25
|
-
GarbageCollectorResponse as GarbageCollectorResponse,
|
|
26
|
-
IndexMessage as IndexMessage,
|
|
27
|
-
IndexMessageSource as IndexMessageSource,
|
|
28
|
-
MergeResponse as MergeResponse,
|
|
29
|
-
NewShardRequest as NewShardRequest,
|
|
30
|
-
NewVectorSetRequest as NewVectorSetRequest,
|
|
31
|
-
OpStatus as OpStatus,
|
|
32
|
-
PROCESSOR as PROCESSOR,
|
|
33
|
-
TypeMessage as TypeMessage,
|
|
34
|
-
VectorIndexConfig as VectorIndexConfig,
|
|
35
|
-
VectorType as VectorType,
|
|
36
|
-
WRITER as WRITER,
|
|
37
|
-
)
|
|
38
20
|
from nucliadb_protos.utils_pb2 import (
|
|
39
21
|
COSINE as COSINE,
|
|
40
22
|
DOT as DOT,
|
|
@@ -119,6 +101,19 @@ GCP_US_CENTRAL1: PineconeServerlessCloud.ValueType # 4
|
|
|
119
101
|
AZURE_EASTUS2: PineconeServerlessCloud.ValueType # 5
|
|
120
102
|
global___PineconeServerlessCloud = PineconeServerlessCloud
|
|
121
103
|
|
|
104
|
+
class _VectorType:
|
|
105
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
106
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
107
|
+
|
|
108
|
+
class _VectorTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_VectorType.ValueType], builtins.type):
|
|
109
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
110
|
+
DENSE_F32: _VectorType.ValueType # 0
|
|
111
|
+
|
|
112
|
+
class VectorType(_VectorType, metaclass=_VectorTypeEnumTypeWrapper): ...
|
|
113
|
+
|
|
114
|
+
DENSE_F32: VectorType.ValueType # 0
|
|
115
|
+
global___VectorType = VectorType
|
|
116
|
+
|
|
122
117
|
@typing.final
|
|
123
118
|
class KnowledgeBoxID(google.protobuf.message.Message):
|
|
124
119
|
"""ID"""
|
|
@@ -284,6 +279,7 @@ class KnowledgeBoxConfig(google.protobuf.message.Message):
|
|
|
284
279
|
RELEASE_CHANNEL_FIELD_NUMBER: builtins.int
|
|
285
280
|
HIDDEN_RESOURCES_ENABLED_FIELD_NUMBER: builtins.int
|
|
286
281
|
HIDDEN_RESOURCES_HIDE_ON_CREATION_FIELD_NUMBER: builtins.int
|
|
282
|
+
PREWARM_ENABLED_FIELD_NUMBER: builtins.int
|
|
287
283
|
title: builtins.str
|
|
288
284
|
description: builtins.str
|
|
289
285
|
slug: builtins.str
|
|
@@ -293,6 +289,11 @@ class KnowledgeBoxConfig(google.protobuf.message.Message):
|
|
|
293
289
|
"""DEPRECATED: duplicated field also stored in `writer.proto Shards`"""
|
|
294
290
|
hidden_resources_enabled: builtins.bool
|
|
295
291
|
hidden_resources_hide_on_creation: builtins.bool
|
|
292
|
+
prewarm_enabled: builtins.bool
|
|
293
|
+
"""whether to enable prewarm of data for faster search or not. Activating
|
|
294
|
+
this flag allow faster searches (with less cold start) but it is
|
|
295
|
+
expensive on the infrastructure
|
|
296
|
+
"""
|
|
296
297
|
@property
|
|
297
298
|
def external_index_provider(self) -> global___StoredExternalIndexProviderMetadata: ...
|
|
298
299
|
@property
|
|
@@ -313,9 +314,10 @@ class KnowledgeBoxConfig(google.protobuf.message.Message):
|
|
|
313
314
|
release_channel: nucliadb_protos.utils_pb2.ReleaseChannel.ValueType = ...,
|
|
314
315
|
hidden_resources_enabled: builtins.bool = ...,
|
|
315
316
|
hidden_resources_hide_on_creation: builtins.bool = ...,
|
|
317
|
+
prewarm_enabled: builtins.bool = ...,
|
|
316
318
|
) -> None: ...
|
|
317
319
|
def HasField(self, field_name: typing.Literal["external_index_provider", b"external_index_provider"]) -> builtins.bool: ...
|
|
318
|
-
def ClearField(self, field_name: typing.Literal["description", b"description", "disable_vectors", b"disable_vectors", "enabled_filters", b"enabled_filters", "enabled_insights", b"enabled_insights", "external_index_provider", b"external_index_provider", "hidden_resources_enabled", b"hidden_resources_enabled", "hidden_resources_hide_on_creation", b"hidden_resources_hide_on_creation", "migration_version", b"migration_version", "release_channel", b"release_channel", "slug", b"slug", "title", b"title"]) -> None: ...
|
|
320
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "disable_vectors", b"disable_vectors", "enabled_filters", b"enabled_filters", "enabled_insights", b"enabled_insights", "external_index_provider", b"external_index_provider", "hidden_resources_enabled", b"hidden_resources_enabled", "hidden_resources_hide_on_creation", b"hidden_resources_hide_on_creation", "migration_version", b"migration_version", "prewarm_enabled", b"prewarm_enabled", "release_channel", b"release_channel", "slug", b"slug", "title", b"title"]) -> None: ...
|
|
319
321
|
|
|
320
322
|
global___KnowledgeBoxConfig = KnowledgeBoxConfig
|
|
321
323
|
|
|
@@ -766,6 +768,32 @@ class VectorSets(google.protobuf.message.Message):
|
|
|
766
768
|
|
|
767
769
|
global___VectorSets = VectorSets
|
|
768
770
|
|
|
771
|
+
@typing.final
|
|
772
|
+
class VectorIndexConfig(google.protobuf.message.Message):
|
|
773
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
774
|
+
|
|
775
|
+
SIMILARITY_FIELD_NUMBER: builtins.int
|
|
776
|
+
NORMALIZE_VECTORS_FIELD_NUMBER: builtins.int
|
|
777
|
+
VECTOR_TYPE_FIELD_NUMBER: builtins.int
|
|
778
|
+
VECTOR_DIMENSION_FIELD_NUMBER: builtins.int
|
|
779
|
+
similarity: nucliadb_protos.utils_pb2.VectorSimilarity.ValueType
|
|
780
|
+
normalize_vectors: builtins.bool
|
|
781
|
+
vector_type: global___VectorType.ValueType
|
|
782
|
+
vector_dimension: builtins.int
|
|
783
|
+
def __init__(
|
|
784
|
+
self,
|
|
785
|
+
*,
|
|
786
|
+
similarity: nucliadb_protos.utils_pb2.VectorSimilarity.ValueType = ...,
|
|
787
|
+
normalize_vectors: builtins.bool = ...,
|
|
788
|
+
vector_type: global___VectorType.ValueType = ...,
|
|
789
|
+
vector_dimension: builtins.int | None = ...,
|
|
790
|
+
) -> None: ...
|
|
791
|
+
def HasField(self, field_name: typing.Literal["_vector_dimension", b"_vector_dimension", "vector_dimension", b"vector_dimension"]) -> builtins.bool: ...
|
|
792
|
+
def ClearField(self, field_name: typing.Literal["_vector_dimension", b"_vector_dimension", "normalize_vectors", b"normalize_vectors", "similarity", b"similarity", "vector_dimension", b"vector_dimension", "vector_type", b"vector_type"]) -> None: ...
|
|
793
|
+
def WhichOneof(self, oneof_group: typing.Literal["_vector_dimension", b"_vector_dimension"]) -> typing.Literal["vector_dimension"] | None: ...
|
|
794
|
+
|
|
795
|
+
global___VectorIndexConfig = VectorIndexConfig
|
|
796
|
+
|
|
769
797
|
@typing.final
|
|
770
798
|
class VectorSetConfig(google.protobuf.message.Message):
|
|
771
799
|
"""Configuration values for a vectorset"""
|
|
@@ -800,7 +828,7 @@ class VectorSetConfig(google.protobuf.message.Message):
|
|
|
800
828
|
vectorset_id: builtins.str
|
|
801
829
|
storage_key_kind: global___VectorSetConfig.StorageKeyKind.ValueType
|
|
802
830
|
@property
|
|
803
|
-
def vectorset_index_config(self) ->
|
|
831
|
+
def vectorset_index_config(self) -> global___VectorIndexConfig: ...
|
|
804
832
|
@property
|
|
805
833
|
def matryoshka_dimensions(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]:
|
|
806
834
|
"""list of possible subdivisions of the matryoshka embeddings (if the model
|
|
@@ -811,7 +839,7 @@ class VectorSetConfig(google.protobuf.message.Message):
|
|
|
811
839
|
self,
|
|
812
840
|
*,
|
|
813
841
|
vectorset_id: builtins.str = ...,
|
|
814
|
-
vectorset_index_config:
|
|
842
|
+
vectorset_index_config: global___VectorIndexConfig | None = ...,
|
|
815
843
|
matryoshka_dimensions: collections.abc.Iterable[builtins.int] | None = ...,
|
|
816
844
|
storage_key_kind: global___VectorSetConfig.StorageKeyKind.ValueType = ...,
|
|
817
845
|
) -> None: ...
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
3
4
|
# source: nucliadb_protos/migrations.proto
|
|
4
|
-
# Protobuf Python Version:
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
5
6
|
"""Generated protocol buffer code."""
|
|
6
7
|
from google.protobuf import descriptor as _descriptor
|
|
7
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
8
10
|
from google.protobuf import symbol_database as _symbol_database
|
|
9
11
|
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'nucliadb_protos/migrations.proto'
|
|
19
|
+
)
|
|
10
20
|
# @@protoc_insertion_point(imports)
|
|
11
21
|
|
|
12
22
|
_sym_db = _symbol_database.Default()
|
|
@@ -19,8 +29,8 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n nucliadb_protos/m
|
|
|
19
29
|
_globals = globals()
|
|
20
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
31
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nucliadb_protos.migrations_pb2', _globals)
|
|
22
|
-
if _descriptor._USE_C_DESCRIPTORS
|
|
23
|
-
DESCRIPTOR.
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
DESCRIPTOR._loaded_options = None
|
|
24
34
|
_globals['_MIGRATIONINFO']._serialized_start=48
|
|
25
35
|
_globals['_MIGRATIONINFO']._serialized_end=112
|
|
26
36
|
# @@protoc_insertion_point(module_scope)
|