You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

186 lines
7.6 KiB

# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: IndexTickMessage.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='IndexTickMessage.proto',
package='',
syntax='proto2',
serialized_options=None,
serialized_pb=b'\n\x16IndexTickMessage.proto\"\xb1\x02\n\x0eIndexTickArray\x12\x30\n\tdataArray\x18\x01 \x03(\x0b\x32\x1d.IndexTickArray.IndexTickData\x1a\xec\x01\n\rIndexTickData\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_nPrice\x18\x04 \x02(\x01\x12\x11\n\tm_iVolume\x18\x05 \x02(\x03\x12\x12\n\nm_iTurover\x18\x06 \x02(\x03\x12\x14\n\x0cm_iAccVolume\x18\x07 \x02(\x03\x12\x15\n\rm_iAccTurover\x18\x08 \x02(\x03\x12\x0f\n\x07m_nHigh\x18\t \x02(\x01\x12\x0e\n\x06m_nLow\x18\n \x02(\x01\x12\x0f\n\x07m_nOpen\x18\x0b \x02(\x01\x12\x13\n\x0bm_nPreClose\x18\x0c \x02(\x01'
)
_INDEXTICKARRAY_INDEXTICKDATA = _descriptor.Descriptor(
name='IndexTickData',
full_name='IndexTickArray.IndexTickData',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='code', full_name='IndexTickArray.IndexTickData.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='IndexTickArray.IndexTickData.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='IndexTickArray.IndexTickData.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_nPrice', full_name='IndexTickArray.IndexTickData.m_nPrice', index=3,
number=4, 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_iVolume', full_name='IndexTickArray.IndexTickData.m_iVolume', index=4,
number=5, type=3, cpp_type=2, 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_iTurover', full_name='IndexTickArray.IndexTickData.m_iTurover', index=5,
number=6, type=3, cpp_type=2, 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_iAccVolume', full_name='IndexTickArray.IndexTickData.m_iAccVolume', index=6,
number=7, type=3, cpp_type=2, 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_iAccTurover', full_name='IndexTickArray.IndexTickData.m_iAccTurover', index=7,
number=8, type=3, cpp_type=2, 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_nHigh', full_name='IndexTickArray.IndexTickData.m_nHigh', index=8,
number=9, 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_nLow', full_name='IndexTickArray.IndexTickData.m_nLow', index=9,
number=10, 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_nOpen', full_name='IndexTickArray.IndexTickData.m_nOpen', index=10,
number=11, 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_nPreClose', full_name='IndexTickArray.IndexTickData.m_nPreClose', index=11,
number=12, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=96,
serialized_end=332,
)
_INDEXTICKARRAY = _descriptor.Descriptor(
name='IndexTickArray',
full_name='IndexTickArray',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='dataArray', full_name='IndexTickArray.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=[_INDEXTICKARRAY_INDEXTICKDATA, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=27,
serialized_end=332,
)
_INDEXTICKARRAY_INDEXTICKDATA.containing_type = _INDEXTICKARRAY
_INDEXTICKARRAY.fields_by_name['dataArray'].message_type = _INDEXTICKARRAY_INDEXTICKDATA
DESCRIPTOR.message_types_by_name['IndexTickArray'] = _INDEXTICKARRAY
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
IndexTickArray = _reflection.GeneratedProtocolMessageType('IndexTickArray', (_message.Message,), {
'IndexTickData' : _reflection.GeneratedProtocolMessageType('IndexTickData', (_message.Message,), {
'DESCRIPTOR' : _INDEXTICKARRAY_INDEXTICKDATA,
'__module__' : 'IndexTickMessage_pb2'
# @@protoc_insertion_point(class_scope:IndexTickArray.IndexTickData)
})
,
'DESCRIPTOR' : _INDEXTICKARRAY,
'__module__' : 'IndexTickMessage_pb2'
# @@protoc_insertion_point(class_scope:IndexTickArray)
})
_sym_db.RegisterMessage(IndexTickArray)
_sym_db.RegisterMessage(IndexTickArray.IndexTickData)
# @@protoc_insertion_point(module_scope)