# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: TranseMessage.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor.FileDescriptor( name='TranseMessage.proto', package='', syntax='proto2', serialized_options=None, serialized_pb=b'\n\x13TranseMessage.proto\"\xa8\x02\n\x0bTranseArray\x12*\n\tdataArray\x18\x01 \x03(\x0b\x32\x17.TranseArray.TranseData\x1a\xec\x01\n\nTranseData\x12\x0c\n\x04\x63ode\x18\x01 \x02(\x05\x12\x0f\n\x07m_nDate\x18\x02 \x02(\x05\x12\x0f\n\x07m_nTime\x18\x03 \x02(\x05\x12\x10\n\x08m_nIndex\x18\x04 \x02(\x05\x12\x18\n\x10m_chFunctionCode\x18\x05 \x02(\r\x12\x15\n\rm_chOrderKind\x18\x06 \x02(\r\x12\x12\n\nm_chBSFlag\x18\x07 \x02(\r\x12\x15\n\rm_nTradePrice\x18\x08 \x02(\x01\x12\x16\n\x0em_nTradeVolume\x18\t \x02(\x05\x12\x13\n\x0bm_nAskOrder\x18\n \x02(\x05\x12\x13\n\x0bm_nBidOrder\x18\x0b \x02(\x05' ) _TRANSEARRAY_TRANSEDATA = _descriptor.Descriptor( name='TranseData', full_name='TranseArray.TranseData', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='code', full_name='TranseArray.TranseData.code', index=0, number=1, type=5, cpp_type=1, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='m_nDate', full_name='TranseArray.TranseData.m_nDate', index=1, number=2, type=5, cpp_type=1, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='m_nTime', full_name='TranseArray.TranseData.m_nTime', index=2, number=3, type=5, cpp_type=1, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='m_nIndex', full_name='TranseArray.TranseData.m_nIndex', index=3, number=4, type=5, cpp_type=1, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='m_chFunctionCode', full_name='TranseArray.TranseData.m_chFunctionCode', index=4, number=5, type=13, cpp_type=3, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='m_chOrderKind', full_name='TranseArray.TranseData.m_chOrderKind', index=5, number=6, type=13, cpp_type=3, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='m_chBSFlag', full_name='TranseArray.TranseData.m_chBSFlag', index=6, number=7, type=13, cpp_type=3, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='m_nTradePrice', full_name='TranseArray.TranseData.m_nTradePrice', index=7, number=8, type=1, cpp_type=5, label=2, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='m_nTradeVolume', full_name='TranseArray.TranseData.m_nTradeVolume', index=8, number=9, type=5, cpp_type=1, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='m_nAskOrder', full_name='TranseArray.TranseData.m_nAskOrder', index=9, number=10, type=5, cpp_type=1, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='m_nBidOrder', full_name='TranseArray.TranseData.m_nBidOrder', index=10, number=11, type=5, cpp_type=1, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto2', extension_ranges=[], oneofs=[ ], serialized_start=84, serialized_end=320, ) _TRANSEARRAY = _descriptor.Descriptor( name='TranseArray', full_name='TranseArray', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='dataArray', full_name='TranseArray.dataArray', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[_TRANSEARRAY_TRANSEDATA, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto2', extension_ranges=[], oneofs=[ ], serialized_start=24, serialized_end=320, ) _TRANSEARRAY_TRANSEDATA.containing_type = _TRANSEARRAY _TRANSEARRAY.fields_by_name['dataArray'].message_type = _TRANSEARRAY_TRANSEDATA DESCRIPTOR.message_types_by_name['TranseArray'] = _TRANSEARRAY _sym_db.RegisterFileDescriptor(DESCRIPTOR) TranseArray = _reflection.GeneratedProtocolMessageType('TranseArray', (_message.Message,), { 'TranseData' : _reflection.GeneratedProtocolMessageType('TranseData', (_message.Message,), { 'DESCRIPTOR' : _TRANSEARRAY_TRANSEDATA, '__module__' : 'TranseMessage_pb2' # @@protoc_insertion_point(class_scope:TranseArray.TranseData) }) , 'DESCRIPTOR' : _TRANSEARRAY, '__module__' : 'TranseMessage_pb2' # @@protoc_insertion_point(class_scope:TranseArray) }) _sym_db.RegisterMessage(TranseArray) _sym_db.RegisterMessage(TranseArray.TranseData) # @@protoc_insertion_point(module_scope)