github.com/matrixorigin/matrixone@v1.2.0/pkg/udf/pythonservice/pyserver/udf_pb2.py (about) 1 # -*- coding: utf-8 -*- 2 # Generated by the protocol buffer compiler. DO NOT EDIT! 3 # source: udf.proto 4 """Generated protocol buffer code.""" 5 from google.protobuf import descriptor as _descriptor 6 from google.protobuf import descriptor_pool as _descriptor_pool 7 from google.protobuf import symbol_database as _symbol_database 8 from google.protobuf.internal import builder as _builder 9 # @@protoc_insertion_point(imports) 10 11 _sym_db = _symbol_database.Default() 12 13 14 15 16 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\tudf.proto\x12\x03udf\"\xce\x01\n\x07Request\x12\x15\n\x03udf\x18\x01 \x01(\x0b\x32\x08.udf.Udf\x12 \n\x07vectors\x18\x02 \x03(\x0b\x32\x0f.udf.DataVector\x12\x0e\n\x06length\x18\x03 \x01(\x03\x12\x1e\n\x04type\x18\x04 \x01(\x0e\x32\x10.udf.RequestType\x12*\n\x07\x63ontext\x18\x05 \x03(\x0b\x32\x19.udf.Request.ContextEntry\x1a.\n\x0c\x43ontextEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"L\n\x08Response\x12\x1f\n\x06vector\x18\x01 \x01(\x0b\x32\x0f.udf.DataVector\x12\x1f\n\x04type\x18\x02 \x01(\x0e\x32\x11.udf.ResponseType\"\xab\x01\n\x03Udf\x12\x0f\n\x07handler\x18\x01 \x01(\t\x12\x10\n\x08isImport\x18\x02 \x01(\x08\x12\x0c\n\x04\x62ody\x18\x03 \x01(\t\x12\x1f\n\timportPkg\x18\x04 \x01(\x0b\x32\x0c.udf.Package\x12\x1e\n\x07retType\x18\x05 \x01(\x0e\x32\r.udf.DataType\x12\x10\n\x08language\x18\x06 \x01(\t\x12\x14\n\x0cmodifiedTime\x18\x07 \x01(\t\x12\n\n\x02\x64\x62\x18\x08 \x01(\t\"%\n\x07Package\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x0c\n\x04last\x18\x02 \x01(\x08\"p\n\nDataVector\x12\x17\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\t.udf.Data\x12\r\n\x05\x63onst\x18\x02 \x01(\x08\x12\x0e\n\x06length\x18\x03 \x01(\x03\x12\x1b\n\x04type\x18\x04 \x01(\x0e\x32\r.udf.DataType\x12\r\n\x05scale\x18\x05 \x01(\x05\"\xc0\x01\n\x04\x44\x61ta\x12\x11\n\x07\x62oolVal\x18\x01 \x01(\x08H\x00\x12\x10\n\x06intVal\x18\x02 \x01(\x11H\x00\x12\x12\n\x08int64Val\x18\x03 \x01(\x12H\x00\x12\x11\n\x07uintVal\x18\x04 \x01(\rH\x00\x12\x13\n\tuint64Val\x18\x05 \x01(\x04H\x00\x12\x12\n\x08\x66loatVal\x18\x06 \x01(\x02H\x00\x12\x13\n\tdoubleVal\x18\x07 \x01(\x01H\x00\x12\x13\n\tstringVal\x18\x08 \x01(\tH\x00\x12\x12\n\x08\x62ytesVal\x18\t \x01(\x0cH\x00\x42\x05\n\x03val*C\n\x0bRequestType\x12\x12\n\x0eUnknownRequest\x10\x00\x12\x0f\n\x0b\x44\x61taRequest\x10\x01\x12\x0f\n\x0bPkgResponse\x10\x02*E\n\x0cResponseType\x12\x13\n\x0fUnknownResponse\x10\x00\x12\x10\n\x0c\x44\x61taResponse\x10\x01\x12\x0e\n\nPkgRequest\x10\x02*\xbf\x02\n\x08\x44\x61taType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x08\n\x04\x42OOL\x10\n\x12\x08\n\x04INT8\x10\x14\x12\t\n\x05INT16\x10\x15\x12\t\n\x05INT32\x10\x16\x12\t\n\x05INT64\x10\x17\x12\t\n\x05UINT8\x10\x1e\x12\n\n\x06UINT16\x10\x1f\x12\n\n\x06UINT32\x10 \x12\n\n\x06UINT64\x10!\x12\x0b\n\x07\x46LOAT32\x10(\x12\x0b\n\x07\x46LOAT64\x10)\x12\x08\n\x04\x43HAR\x10\x32\x12\x0b\n\x07VARCHAR\x10\x33\x12\x08\n\x04TEXT\x10\x34\x12\x08\n\x04JSON\x10\x35\x12\x08\n\x04UUID\x10\x36\x12\x08\n\x04TIME\x10<\x12\x08\n\x04\x44\x41TE\x10=\x12\x0c\n\x08\x44\x41TETIME\x10>\x12\r\n\tTIMESTAMP\x10?\x12\r\n\tDECIMAL64\x10\x46\x12\x0e\n\nDECIMAL128\x10G\x12\n\n\x06\x42INARY\x10P\x12\r\n\tVARBINARY\x10Q\x12\x08\n\x04\x42LOB\x10R23\n\x07Service\x12(\n\x03run\x12\x0c.udf.Request\x1a\r.udf.Response\"\x00(\x01\x30\x01\x42+Z)github.com/matrixorigin/matrixone/pkg/udfb\x06proto3') 17 18 _globals = globals() 19 _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) 20 _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'udf_pb2', _globals) 21 if _descriptor._USE_C_DESCRIPTORS == False: 22 23 DESCRIPTOR._options = None 24 DESCRIPTOR._serialized_options = b'Z)github.com/matrixorigin/matrixone/pkg/udf' 25 _REQUEST_CONTEXTENTRY._options = None 26 _REQUEST_CONTEXTENTRY._serialized_options = b'8\001' 27 _globals['_REQUESTTYPE']._serialized_start=827 28 _globals['_REQUESTTYPE']._serialized_end=894 29 _globals['_RESPONSETYPE']._serialized_start=896 30 _globals['_RESPONSETYPE']._serialized_end=965 31 _globals['_DATATYPE']._serialized_start=968 32 _globals['_DATATYPE']._serialized_end=1287 33 _globals['_REQUEST']._serialized_start=19 34 _globals['_REQUEST']._serialized_end=225 35 _globals['_REQUEST_CONTEXTENTRY']._serialized_start=179 36 _globals['_REQUEST_CONTEXTENTRY']._serialized_end=225 37 _globals['_RESPONSE']._serialized_start=227 38 _globals['_RESPONSE']._serialized_end=303 39 _globals['_UDF']._serialized_start=306 40 _globals['_UDF']._serialized_end=477 41 _globals['_PACKAGE']._serialized_start=479 42 _globals['_PACKAGE']._serialized_end=516 43 _globals['_DATAVECTOR']._serialized_start=518 44 _globals['_DATAVECTOR']._serialized_end=630 45 _globals['_DATA']._serialized_start=633 46 _globals['_DATA']._serialized_end=825 47 _globals['_SERVICE']._serialized_start=1289 48 _globals['_SERVICE']._serialized_end=1340 49 # @@protoc_insertion_point(module_scope)