langchain-chat-with-milvus/document_ai/documents_pb2.py

43 lines
3.2 KiB
Python
Raw Normal View History

2023-11-15 08:20:30 +00:00
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: documents.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0f\x64ocuments.proto\x12\x05utils\"\x83\x01\n\x08\x44ocument\x12\n\n\x02id\x18\x01 \x01(\x04\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x04 \x01(\t\x12\x11\n\tvector_id\x18\x05 \x01(\x04\x12\x12\n\nlibrary_id\x18\x06 \x01(\x04\x12\x0f\n\x07user_id\x18\x07 \x01(\x04\"4\n\x13GetDocumentsRequest\x12\x0f\n\x07library\x18\x01 \x01(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\":\n\x14GetDocumentsResponse\x12\"\n\tdocuments\x18\x01 \x03(\x0b\x32\x0f.utils.Document\"@\n\x1bGetNoVectorDocumentsRequest\x12!\n\x08\x64ocument\x18\x01 \x01(\x0b\x32\x0f.utils.Document\"B\n\x1cGetNoVectorDocumentsResponse\x12\"\n\tdocuments\x18\x01 \x03(\x0b\x32\x0f.utils.Document\"6\n\x15UpdateDocumentRequest\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x11\n\tvector_id\x18\x02 \x01(\x04\";\n\x16UpdateDocumentResponse\x12!\n\x08\x64ocument\x18\x01 \x01(\x0b\x32\x0f.utils.Document\"$\n\x16GetDocumentByIdRequest\x12\n\n\x02id\x18\x01 \x01(\x04\x32\x8a\x02\n\x15\x44ocumentSearchService\x12_\n\x14GetNoVectorDocuments\x12\".utils.GetNoVectorDocumentsRequest\x1a#.utils.GetNoVectorDocumentsResponse\x12M\n\x0eUpdateDocument\x12\x1c.utils.UpdateDocumentRequest\x1a\x1d.utils.UpdateDocumentResponse\x12\x41\n\x0fGetDocumentById\x12\x1d.utils.GetDocumentByIdRequest\x1a\x0f.utils.DocumentB\tZ\x07./utilsb\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'documents_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b'Z\007./utils'
_globals['_DOCUMENT']._serialized_start=27
_globals['_DOCUMENT']._serialized_end=158
_globals['_GETDOCUMENTSREQUEST']._serialized_start=160
_globals['_GETDOCUMENTSREQUEST']._serialized_end=212
_globals['_GETDOCUMENTSRESPONSE']._serialized_start=214
_globals['_GETDOCUMENTSRESPONSE']._serialized_end=272
_globals['_GETNOVECTORDOCUMENTSREQUEST']._serialized_start=274
_globals['_GETNOVECTORDOCUMENTSREQUEST']._serialized_end=338
_globals['_GETNOVECTORDOCUMENTSRESPONSE']._serialized_start=340
_globals['_GETNOVECTORDOCUMENTSRESPONSE']._serialized_end=406
_globals['_UPDATEDOCUMENTREQUEST']._serialized_start=408
_globals['_UPDATEDOCUMENTREQUEST']._serialized_end=462
_globals['_UPDATEDOCUMENTRESPONSE']._serialized_start=464
_globals['_UPDATEDOCUMENTRESPONSE']._serialized_end=523
_globals['_GETDOCUMENTBYIDREQUEST']._serialized_start=525
_globals['_GETDOCUMENTBYIDREQUEST']._serialized_end=561
_globals['_DOCUMENTSEARCHSERVICE']._serialized_start=564
_globals['_DOCUMENTSEARCHSERVICE']._serialized_end=830
# @@protoc_insertion_point(module_scope)