# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: stock.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
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='stock.proto',
  package='',
  syntax='proto3',
  serialized_options=None,
  serialized_pb=_b('\n\x0bstock.proto\"l\n\tStockCode\x12\x12\n\nstock_code\x18\x01 \x01(\t\x12\x14\n\x0c\x63ompany_code\x18\x02 \x01(\t\x12\x12\n\nstart_date\x18\x03 \x01(\t\x12\x10\n\x08\x65nd_date\x18\x04 \x01(\t\x12\x0f\n\x07var_num\x18\x05 \x01(\x05\"\x1a\n\x0b\x43ompanyInfo\x12\x0b\n\x03msg\x18\x01 \x01(\t\"\x1b\n\x0cIndustryInfo\x12\x0b\n\x03msg\x18\x01 \x01(\t\"\x17\n\x08NameInfo\x12\x0b\n\x03msg\x18\x01 \x01(\t\"\x1b\n\x0c\x44ongjianInfo\x12\x0b\n\x03msg\x18\x01 \x01(\t\"\x1e\n\x0fStockholderInfo\x12\x0b\n\x03msg\x18\x01 \x01(\t\"\x1d\n\x0eSubsidiaryInfo\x12\x0b\n\x03msg\x18\x01 \x01(\t\"\x1a\n\x0b\x46inanceInfo\x12\x0b\n\x03msg\x18\x01 \x01(\t2\xa0\x03\n\x08StockInf\x12\x32\n\x14get_stock_price_tick\x12\n.StockCode\x1a\x0c.FinanceInfo\"\x00\x12\x31\n\x13get_stock_price_day\x12\n.StockCode\x1a\x0c.FinanceInfo\"\x00\x12.\n\x10get_company_info\x12\n.StockCode\x1a\x0c.CompanyInfo\"\x00\x12\x33\n\x14get_industry_concept\x12\n.StockCode\x1a\r.IndustryInfo\"\x00\x12,\n\x11get_company_alias\x12\n.StockCode\x1a\t.NameInfo\"\x00\x12\x36\n\x17get_chairman_supervisor\x12\n.StockCode\x1a\r.DongjianInfo\"\x00\x12\x31\n\x0fget_stockholder\x12\n.StockCode\x1a\x10.StockholderInfo\"\x00\x12/\n\x0eget_subcompany\x12\n.StockCode\x1a\x0f.SubsidiaryInfo\"\x00\x62\x06proto3')
)




_STOCKCODE = _descriptor.Descriptor(
  name='StockCode',
  full_name='StockCode',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='stock_code', full_name='StockCode.stock_code', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='company_code', full_name='StockCode.company_code', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='start_date', full_name='StockCode.start_date', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='end_date', full_name='StockCode.end_date', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='var_num', full_name='StockCode.var_num', index=4,
      number=5, type=5, cpp_type=1, label=1,
      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='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=15,
  serialized_end=123,
)


_COMPANYINFO = _descriptor.Descriptor(
  name='CompanyInfo',
  full_name='CompanyInfo',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='msg', full_name='CompanyInfo.msg', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      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='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=125,
  serialized_end=151,
)


_INDUSTRYINFO = _descriptor.Descriptor(
  name='IndustryInfo',
  full_name='IndustryInfo',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='msg', full_name='IndustryInfo.msg', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      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='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=153,
  serialized_end=180,
)


_NAMEINFO = _descriptor.Descriptor(
  name='NameInfo',
  full_name='NameInfo',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='msg', full_name='NameInfo.msg', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      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='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=182,
  serialized_end=205,
)


_DONGJIANINFO = _descriptor.Descriptor(
  name='DongjianInfo',
  full_name='DongjianInfo',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='msg', full_name='DongjianInfo.msg', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      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='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=207,
  serialized_end=234,
)


_STOCKHOLDERINFO = _descriptor.Descriptor(
  name='StockholderInfo',
  full_name='StockholderInfo',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='msg', full_name='StockholderInfo.msg', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      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='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=236,
  serialized_end=266,
)


_SUBSIDIARYINFO = _descriptor.Descriptor(
  name='SubsidiaryInfo',
  full_name='SubsidiaryInfo',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='msg', full_name='SubsidiaryInfo.msg', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      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='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=268,
  serialized_end=297,
)


_FINANCEINFO = _descriptor.Descriptor(
  name='FinanceInfo',
  full_name='FinanceInfo',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='msg', full_name='FinanceInfo.msg', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      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='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=299,
  serialized_end=325,
)

DESCRIPTOR.message_types_by_name['StockCode'] = _STOCKCODE
DESCRIPTOR.message_types_by_name['CompanyInfo'] = _COMPANYINFO
DESCRIPTOR.message_types_by_name['IndustryInfo'] = _INDUSTRYINFO
DESCRIPTOR.message_types_by_name['NameInfo'] = _NAMEINFO
DESCRIPTOR.message_types_by_name['DongjianInfo'] = _DONGJIANINFO
DESCRIPTOR.message_types_by_name['StockholderInfo'] = _STOCKHOLDERINFO
DESCRIPTOR.message_types_by_name['SubsidiaryInfo'] = _SUBSIDIARYINFO
DESCRIPTOR.message_types_by_name['FinanceInfo'] = _FINANCEINFO
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

StockCode = _reflection.GeneratedProtocolMessageType('StockCode', (_message.Message,), dict(
  DESCRIPTOR = _STOCKCODE,
  __module__ = 'stock_pb2'
  # @@protoc_insertion_point(class_scope:StockCode)
  ))
_sym_db.RegisterMessage(StockCode)

CompanyInfo = _reflection.GeneratedProtocolMessageType('CompanyInfo', (_message.Message,), dict(
  DESCRIPTOR = _COMPANYINFO,
  __module__ = 'stock_pb2'
  # @@protoc_insertion_point(class_scope:CompanyInfo)
  ))
_sym_db.RegisterMessage(CompanyInfo)

IndustryInfo = _reflection.GeneratedProtocolMessageType('IndustryInfo', (_message.Message,), dict(
  DESCRIPTOR = _INDUSTRYINFO,
  __module__ = 'stock_pb2'
  # @@protoc_insertion_point(class_scope:IndustryInfo)
  ))
_sym_db.RegisterMessage(IndustryInfo)

NameInfo = _reflection.GeneratedProtocolMessageType('NameInfo', (_message.Message,), dict(
  DESCRIPTOR = _NAMEINFO,
  __module__ = 'stock_pb2'
  # @@protoc_insertion_point(class_scope:NameInfo)
  ))
_sym_db.RegisterMessage(NameInfo)

DongjianInfo = _reflection.GeneratedProtocolMessageType('DongjianInfo', (_message.Message,), dict(
  DESCRIPTOR = _DONGJIANINFO,
  __module__ = 'stock_pb2'
  # @@protoc_insertion_point(class_scope:DongjianInfo)
  ))
_sym_db.RegisterMessage(DongjianInfo)

StockholderInfo = _reflection.GeneratedProtocolMessageType('StockholderInfo', (_message.Message,), dict(
  DESCRIPTOR = _STOCKHOLDERINFO,
  __module__ = 'stock_pb2'
  # @@protoc_insertion_point(class_scope:StockholderInfo)
  ))
_sym_db.RegisterMessage(StockholderInfo)

SubsidiaryInfo = _reflection.GeneratedProtocolMessageType('SubsidiaryInfo', (_message.Message,), dict(
  DESCRIPTOR = _SUBSIDIARYINFO,
  __module__ = 'stock_pb2'
  # @@protoc_insertion_point(class_scope:SubsidiaryInfo)
  ))
_sym_db.RegisterMessage(SubsidiaryInfo)

FinanceInfo = _reflection.GeneratedProtocolMessageType('FinanceInfo', (_message.Message,), dict(
  DESCRIPTOR = _FINANCEINFO,
  __module__ = 'stock_pb2'
  # @@protoc_insertion_point(class_scope:FinanceInfo)
  ))
_sym_db.RegisterMessage(FinanceInfo)



_STOCKINF = _descriptor.ServiceDescriptor(
  name='StockInf',
  full_name='StockInf',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  serialized_start=328,
  serialized_end=744,
  methods=[
  _descriptor.MethodDescriptor(
    name='get_stock_price_tick',
    full_name='StockInf.get_stock_price_tick',
    index=0,
    containing_service=None,
    input_type=_STOCKCODE,
    output_type=_FINANCEINFO,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='get_stock_price_day',
    full_name='StockInf.get_stock_price_day',
    index=1,
    containing_service=None,
    input_type=_STOCKCODE,
    output_type=_FINANCEINFO,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='get_company_info',
    full_name='StockInf.get_company_info',
    index=2,
    containing_service=None,
    input_type=_STOCKCODE,
    output_type=_COMPANYINFO,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='get_industry_concept',
    full_name='StockInf.get_industry_concept',
    index=3,
    containing_service=None,
    input_type=_STOCKCODE,
    output_type=_INDUSTRYINFO,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='get_company_alias',
    full_name='StockInf.get_company_alias',
    index=4,
    containing_service=None,
    input_type=_STOCKCODE,
    output_type=_NAMEINFO,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='get_chairman_supervisor',
    full_name='StockInf.get_chairman_supervisor',
    index=5,
    containing_service=None,
    input_type=_STOCKCODE,
    output_type=_DONGJIANINFO,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='get_stockholder',
    full_name='StockInf.get_stockholder',
    index=6,
    containing_service=None,
    input_type=_STOCKCODE,
    output_type=_STOCKHOLDERINFO,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='get_subcompany',
    full_name='StockInf.get_subcompany',
    index=7,
    containing_service=None,
    input_type=_STOCKCODE,
    output_type=_SUBSIDIARYINFO,
    serialized_options=None,
  ),
])
_sym_db.RegisterServiceDescriptor(_STOCKINF)

DESCRIPTOR.services_by_name['StockInf'] = _STOCKINF

# @@protoc_insertion_point(module_scope)
