# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: data_warehouse.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='data_warehouse.proto',
    package='data_warehouse',
    syntax='proto3',
    serialized_options=None,
    serialized_pb=_b(
        '\n\x14\x64\x61ta_warehouse.proto\x12\x0e\x64\x61ta_warehouse\"]\n\x05\x44OHLC\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61te\x18\x02 \x01(\t\x12\x0c\n\x04open\x18\x03 \x01(\x01\x12\x0c\n\x04high\x18\x04 \x01(\x01\x12\x0b\n\x03low\x18\x05 \x01(\x01\x12\r\n\x05\x63lose\x18\x06 \x01(\x01\",\n\x0cPriceRequest\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61te\x18\x02 \x01(\t2N\n\nStockPrice\x12@\n\tget_price\x12\x1c.data_warehouse.PriceRequest\x1a\x15.data_warehouse.DOHLCb\x06proto3'
    ))

_DOHLC = _descriptor.Descriptor(
    name='DOHLC',
    full_name='data_warehouse.DOHLC',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='symbol',
            full_name='data_warehouse.DOHLC.symbol',
            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='date',
            full_name='data_warehouse.DOHLC.date',
            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='open',
            full_name='data_warehouse.DOHLC.open',
            index=2,
            number=3,
            type=1,
            cpp_type=5,
            label=1,
            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='high',
            full_name='data_warehouse.DOHLC.high',
            index=3,
            number=4,
            type=1,
            cpp_type=5,
            label=1,
            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='low',
            full_name='data_warehouse.DOHLC.low',
            index=4,
            number=5,
            type=1,
            cpp_type=5,
            label=1,
            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='close',
            full_name='data_warehouse.DOHLC.close',
            index=5,
            number=6,
            type=1,
            cpp_type=5,
            label=1,
            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='proto3',
    extension_ranges=[],
    oneofs=[],
    serialized_start=40,
    serialized_end=133,
)

_PRICEREQUEST = _descriptor.Descriptor(
    name='PriceRequest',
    full_name='data_warehouse.PriceRequest',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='symbol',
            full_name='data_warehouse.PriceRequest.symbol',
            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='date',
            full_name='data_warehouse.PriceRequest.date',
            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),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[],
    serialized_start=135,
    serialized_end=179,
)

DESCRIPTOR.message_types_by_name['DOHLC'] = _DOHLC
DESCRIPTOR.message_types_by_name['PriceRequest'] = _PRICEREQUEST
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

DOHLC = _reflection.GeneratedProtocolMessageType(
    'DOHLC',
    (_message.Message,),
    dict(
        DESCRIPTOR=_DOHLC,
        __module__='data_warehouse_pb2'
        # @@protoc_insertion_point(class_scope:data_warehouse.DOHLC)
    ))
_sym_db.RegisterMessage(DOHLC)

PriceRequest = _reflection.GeneratedProtocolMessageType(
    'PriceRequest',
    (_message.Message,),
    dict(
        DESCRIPTOR=_PRICEREQUEST,
        __module__='data_warehouse_pb2'
        # @@protoc_insertion_point(class_scope:data_warehouse.PriceRequest)
    ))
_sym_db.RegisterMessage(PriceRequest)

_STOCKPRICE = _descriptor.ServiceDescriptor(
    name='StockPrice',
    full_name='data_warehouse.StockPrice',
    file=DESCRIPTOR,
    index=0,
    serialized_options=None,
    serialized_start=181,
    serialized_end=259,
    methods=[
        _descriptor.MethodDescriptor(
            name='get_price',
            full_name='data_warehouse.StockPrice.get_price',
            index=0,
            containing_service=None,
            input_type=_PRICEREQUEST,
            output_type=_DOHLC,
            serialized_options=None,
        ),
    ])
_sym_db.RegisterServiceDescriptor(_STOCKPRICE)

DESCRIPTOR.services_by_name['StockPrice'] = _STOCKPRICE

# @@protoc_insertion_point(module_scope)
