vector_service_pb2.py 1.8 KB

1234567891011121314151617181920212223242526272829303132
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: grpc_m/vector_service.proto
  4. # Protobuf Python Version: 4.25.0
  5. """Generated protocol buffer code."""
  6. from google.protobuf import descriptor as _descriptor
  7. from google.protobuf import descriptor_pool as _descriptor_pool
  8. from google.protobuf import symbol_database as _symbol_database
  9. from google.protobuf.internal import builder as _builder
  10. # @@protoc_insertion_point(imports)
  11. _sym_db = _symbol_database.Default()
  12. DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bgrpc_m/vector_service.proto\x12\x06grpc_m\"M\n\x16SaveDocToVectorRequest\x12\x13\n\x0b\x63\x61tegory_id\x18\x01 \x01(\t\x12\x1e\n\x16user_doc_relative_path\x18\x02 \x01(\t\"<\n\x17SaveDocToVectorResponse\x12!\n\x06status\x18\x01 \x01(\x0e\x32\x11.grpc_m.ErrorCode*H\n\tErrorCode\x12\x0b\n\x07SUCCESS\x10\x00\x12\x15\n\x11\x44OC_CONVERT_ERROR\x10\x01\x12\x17\n\x13VECTOR_SERVER_ERROR\x10\x02\x32\x65\n\rVectorService\x12T\n\x0fSaveDocToVector\x12\x1e.grpc_m.SaveDocToVectorRequest\x1a\x1f.grpc_m.SaveDocToVectorResponse\"\x00\x62\x06proto3')
  13. _globals = globals()
  14. _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
  15. _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'grpc_m.vector_service_pb2', _globals)
  16. if _descriptor._USE_C_DESCRIPTORS == False:
  17. DESCRIPTOR._options = None
  18. _globals['_ERRORCODE']._serialized_start=180
  19. _globals['_ERRORCODE']._serialized_end=252
  20. _globals['_SAVEDOCTOVECTORREQUEST']._serialized_start=39
  21. _globals['_SAVEDOCTOVECTORREQUEST']._serialized_end=116
  22. _globals['_SAVEDOCTOVECTORRESPONSE']._serialized_start=118
  23. _globals['_SAVEDOCTOVECTORRESPONSE']._serialized_end=178
  24. _globals['_VECTORSERVICE']._serialized_start=254
  25. _globals['_VECTORSERVICE']._serialized_end=355
  26. # @@protoc_insertion_point(module_scope)