# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: pymarketstore/proto/marketstore.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
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_pool.Default().AddSerializedFile(b'\n%pymarketstore/proto/marketstore.proto\x12\x05proto\"\'\n\tDataShape\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\"\x90\x02\n\x11NumpyMultiDataset\x12!\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x13.proto.NumpyDataset\x12=\n\x0bstart_index\x18\x02 \x03(\x0b\x32(.proto.NumpyMultiDataset.StartIndexEntry\x12\x36\n\x07lengths\x18\x03 \x03(\x0b\x32%.proto.NumpyMultiDataset.LengthsEntry\x1a\x31\n\x0fStartIndexEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a.\n\x0cLengthsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\"\x86\x01\n\x0cNumpyDataset\x12\x14\n\x0c\x63olumn_types\x18\x01 \x03(\t\x12\x14\n\x0c\x63olumn_names\x18\x02 \x03(\t\x12\x13\n\x0b\x63olumn_data\x18\x03 \x03(\x0c\x12\x0e\n\x06length\x18\x04 \x01(\x05\x12%\n\x0b\x64\x61ta_shapes\x18\x05 \x03(\x0b\x32\x10.proto.DataShape\"U\n\rCreateRequest\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x0b\x64\x61ta_shapes\x18\x02 \x03(\x0b\x32\x10.proto.DataShape\x12\x10\n\x08row_type\x18\x03 \x01(\t\"<\n\x12MultiCreateRequest\x12&\n\x08requests\x18\x01 \x03(\x0b\x32\x14.proto.CreateRequest\":\n\x11MultiQueryRequest\x12%\n\x08requests\x18\x01 \x03(\x0b\x32\x13.proto.QueryRequest\"\xa0\x02\n\x0cQueryRequest\x12\x18\n\x10is_sql_statement\x18\x01 \x01(\x08\x12\x15\n\rsql_statement\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65stination\x18\x03 \x01(\t\x12\x14\n\x0ckey_category\x18\x04 \x01(\t\x12\x13\n\x0b\x65poch_start\x18\x05 \x01(\x03\x12\x19\n\x11\x65poch_start_nanos\x18\x06 \x01(\x03\x12\x11\n\tepoch_end\x18\x07 \x01(\x03\x12\x17\n\x0f\x65poch_end_nanos\x18\x08 \x01(\x03\x12\x1a\n\x12limit_record_count\x18\t \x01(\x05\x12\x18\n\x10limit_from_start\x18\n \x01(\x08\x12\x0f\n\x07\x63olumns\x18\x0b \x03(\t\x12\x11\n\tfunctions\x18\x0c \x03(\t\"`\n\x12MultiQueryResponse\x12\'\n\tresponses\x18\x01 \x03(\x0b\x32\x14.proto.QueryResponse\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x10\n\x08timezone\x18\x03 \x01(\t\"9\n\rQueryResponse\x12(\n\x06result\x18\x01 \x01(\x0b\x32\x18.proto.NumpyMultiDataset\":\n\x11MultiWriteRequest\x12%\n\x08requests\x18\x01 \x03(\x0b\x32\x13.proto.WriteRequest\"R\n\x0cWriteRequest\x12&\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x18.proto.NumpyMultiDataset\x12\x1a\n\x12is_variable_length\x18\x02 \x01(\x08\"?\n\x13MultiServerResponse\x12(\n\tresponses\x18\x01 \x03(\x0b\x32\x15.proto.ServerResponse\"0\n\x0eServerResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\"6\n\x0fMultiKeyRequest\x12#\n\x08requests\x18\x01 \x03(\x0b\x32\x11.proto.KeyRequest\"\x19\n\nKeyRequest\x12\x0b\n\x03key\x18\x01 \x01(\t\"q\n\x12ListSymbolsRequest\x12\x30\n\x06\x66ormat\x18\x01 \x01(\x0e\x32 .proto.ListSymbolsRequest.Format\")\n\x06\x46ormat\x12\n\n\x06SYMBOL\x10\x00\x12\x13\n\x0fTIME_BUCKET_KEY\x10\x01\"&\n\x13ListSymbolsResponse\x12\x0f\n\x07results\x18\x01 \x03(\t\"\x16\n\x14ServerVersionRequest\"(\n\x15ServerVersionResponse\x12\x0f\n\x07version\x18\x01 \x01(\t*\xc4\x01\n\x08\x44\x61taType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07\x46LOAT32\x10\x01\x12\t\n\x05INT32\x10\x02\x12\x0b\n\x07\x46LOAT64\x10\x03\x12\t\n\x05INT64\x10\x04\x12\t\n\x05\x45POCH\x10\x05\x12\x08\n\x04\x42YTE\x10\x06\x12\x08\n\x04\x42OOL\x10\x07\x12\x08\n\x04NONE\x10\x08\x12\n\n\x06STRING\x10\t\x12\t\n\x05INT16\x10\n\x12\t\n\x05UINT8\x10\x0b\x12\n\n\x06UINT16\x10\x0c\x12\n\n\x06UINT32\x10\r\x12\n\n\x06UINT64\x10\x0e\x12\x0c\n\x08STRING16\x10\x0f\x32\x9c\x03\n\x0bMarketstore\x12<\n\x05Query\x12\x18.proto.MultiQueryRequest\x1a\x19.proto.MultiQueryResponse\x12?\n\x06\x43reate\x12\x19.proto.MultiCreateRequest\x1a\x1a.proto.MultiServerResponse\x12=\n\x05Write\x12\x18.proto.MultiWriteRequest\x1a\x1a.proto.MultiServerResponse\x12=\n\x07\x44\x65stroy\x12\x16.proto.MultiKeyRequest\x1a\x1a.proto.MultiServerResponse\x12\x44\n\x0bListSymbols\x12\x19.proto.ListSymbolsRequest\x1a\x1a.proto.ListSymbolsResponse\x12J\n\rServerVersion\x12\x1b.proto.ServerVersionRequest\x1a\x1c.proto.ServerVersionResponseB\'Z%github.com/alpacahq/marketstore/protob\x06proto3')

_DATATYPE = DESCRIPTOR.enum_types_by_name['DataType']
DataType = enum_type_wrapper.EnumTypeWrapper(_DATATYPE)
UNKNOWN = 0
FLOAT32 = 1
INT32 = 2
FLOAT64 = 3
INT64 = 4
EPOCH = 5
BYTE = 6
BOOL = 7
NONE = 8
STRING = 9
INT16 = 10
UINT8 = 11
UINT16 = 12
UINT32 = 13
UINT64 = 14
STRING16 = 15


_DATASHAPE = DESCRIPTOR.message_types_by_name['DataShape']
_NUMPYMULTIDATASET = DESCRIPTOR.message_types_by_name['NumpyMultiDataset']
_NUMPYMULTIDATASET_STARTINDEXENTRY = _NUMPYMULTIDATASET.nested_types_by_name['StartIndexEntry']
_NUMPYMULTIDATASET_LENGTHSENTRY = _NUMPYMULTIDATASET.nested_types_by_name['LengthsEntry']
_NUMPYDATASET = DESCRIPTOR.message_types_by_name['NumpyDataset']
_CREATEREQUEST = DESCRIPTOR.message_types_by_name['CreateRequest']
_MULTICREATEREQUEST = DESCRIPTOR.message_types_by_name['MultiCreateRequest']
_MULTIQUERYREQUEST = DESCRIPTOR.message_types_by_name['MultiQueryRequest']
_QUERYREQUEST = DESCRIPTOR.message_types_by_name['QueryRequest']
_MULTIQUERYRESPONSE = DESCRIPTOR.message_types_by_name['MultiQueryResponse']
_QUERYRESPONSE = DESCRIPTOR.message_types_by_name['QueryResponse']
_MULTIWRITEREQUEST = DESCRIPTOR.message_types_by_name['MultiWriteRequest']
_WRITEREQUEST = DESCRIPTOR.message_types_by_name['WriteRequest']
_MULTISERVERRESPONSE = DESCRIPTOR.message_types_by_name['MultiServerResponse']
_SERVERRESPONSE = DESCRIPTOR.message_types_by_name['ServerResponse']
_MULTIKEYREQUEST = DESCRIPTOR.message_types_by_name['MultiKeyRequest']
_KEYREQUEST = DESCRIPTOR.message_types_by_name['KeyRequest']
_LISTSYMBOLSREQUEST = DESCRIPTOR.message_types_by_name['ListSymbolsRequest']
_LISTSYMBOLSRESPONSE = DESCRIPTOR.message_types_by_name['ListSymbolsResponse']
_SERVERVERSIONREQUEST = DESCRIPTOR.message_types_by_name['ServerVersionRequest']
_SERVERVERSIONRESPONSE = DESCRIPTOR.message_types_by_name['ServerVersionResponse']
_LISTSYMBOLSREQUEST_FORMAT = _LISTSYMBOLSREQUEST.enum_types_by_name['Format']
DataShape = _reflection.GeneratedProtocolMessageType('DataShape', (_message.Message,), {
  'DESCRIPTOR' : _DATASHAPE,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.DataShape)
  })
_sym_db.RegisterMessage(DataShape)

NumpyMultiDataset = _reflection.GeneratedProtocolMessageType('NumpyMultiDataset', (_message.Message,), {

  'StartIndexEntry' : _reflection.GeneratedProtocolMessageType('StartIndexEntry', (_message.Message,), {
    'DESCRIPTOR' : _NUMPYMULTIDATASET_STARTINDEXENTRY,
    '__module__' : 'pymarketstore.proto.marketstore_pb2'
    # @@protoc_insertion_point(class_scope:proto.NumpyMultiDataset.StartIndexEntry)
    })
  ,

  'LengthsEntry' : _reflection.GeneratedProtocolMessageType('LengthsEntry', (_message.Message,), {
    'DESCRIPTOR' : _NUMPYMULTIDATASET_LENGTHSENTRY,
    '__module__' : 'pymarketstore.proto.marketstore_pb2'
    # @@protoc_insertion_point(class_scope:proto.NumpyMultiDataset.LengthsEntry)
    })
  ,
  'DESCRIPTOR' : _NUMPYMULTIDATASET,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.NumpyMultiDataset)
  })
_sym_db.RegisterMessage(NumpyMultiDataset)
_sym_db.RegisterMessage(NumpyMultiDataset.StartIndexEntry)
_sym_db.RegisterMessage(NumpyMultiDataset.LengthsEntry)

NumpyDataset = _reflection.GeneratedProtocolMessageType('NumpyDataset', (_message.Message,), {
  'DESCRIPTOR' : _NUMPYDATASET,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.NumpyDataset)
  })
_sym_db.RegisterMessage(NumpyDataset)

CreateRequest = _reflection.GeneratedProtocolMessageType('CreateRequest', (_message.Message,), {
  'DESCRIPTOR' : _CREATEREQUEST,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.CreateRequest)
  })
_sym_db.RegisterMessage(CreateRequest)

MultiCreateRequest = _reflection.GeneratedProtocolMessageType('MultiCreateRequest', (_message.Message,), {
  'DESCRIPTOR' : _MULTICREATEREQUEST,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.MultiCreateRequest)
  })
_sym_db.RegisterMessage(MultiCreateRequest)

MultiQueryRequest = _reflection.GeneratedProtocolMessageType('MultiQueryRequest', (_message.Message,), {
  'DESCRIPTOR' : _MULTIQUERYREQUEST,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.MultiQueryRequest)
  })
_sym_db.RegisterMessage(MultiQueryRequest)

QueryRequest = _reflection.GeneratedProtocolMessageType('QueryRequest', (_message.Message,), {
  'DESCRIPTOR' : _QUERYREQUEST,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.QueryRequest)
  })
_sym_db.RegisterMessage(QueryRequest)

MultiQueryResponse = _reflection.GeneratedProtocolMessageType('MultiQueryResponse', (_message.Message,), {
  'DESCRIPTOR' : _MULTIQUERYRESPONSE,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.MultiQueryResponse)
  })
_sym_db.RegisterMessage(MultiQueryResponse)

QueryResponse = _reflection.GeneratedProtocolMessageType('QueryResponse', (_message.Message,), {
  'DESCRIPTOR' : _QUERYRESPONSE,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.QueryResponse)
  })
_sym_db.RegisterMessage(QueryResponse)

MultiWriteRequest = _reflection.GeneratedProtocolMessageType('MultiWriteRequest', (_message.Message,), {
  'DESCRIPTOR' : _MULTIWRITEREQUEST,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.MultiWriteRequest)
  })
_sym_db.RegisterMessage(MultiWriteRequest)

WriteRequest = _reflection.GeneratedProtocolMessageType('WriteRequest', (_message.Message,), {
  'DESCRIPTOR' : _WRITEREQUEST,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.WriteRequest)
  })
_sym_db.RegisterMessage(WriteRequest)

MultiServerResponse = _reflection.GeneratedProtocolMessageType('MultiServerResponse', (_message.Message,), {
  'DESCRIPTOR' : _MULTISERVERRESPONSE,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.MultiServerResponse)
  })
_sym_db.RegisterMessage(MultiServerResponse)

ServerResponse = _reflection.GeneratedProtocolMessageType('ServerResponse', (_message.Message,), {
  'DESCRIPTOR' : _SERVERRESPONSE,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.ServerResponse)
  })
_sym_db.RegisterMessage(ServerResponse)

MultiKeyRequest = _reflection.GeneratedProtocolMessageType('MultiKeyRequest', (_message.Message,), {
  'DESCRIPTOR' : _MULTIKEYREQUEST,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.MultiKeyRequest)
  })
_sym_db.RegisterMessage(MultiKeyRequest)

KeyRequest = _reflection.GeneratedProtocolMessageType('KeyRequest', (_message.Message,), {
  'DESCRIPTOR' : _KEYREQUEST,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.KeyRequest)
  })
_sym_db.RegisterMessage(KeyRequest)

ListSymbolsRequest = _reflection.GeneratedProtocolMessageType('ListSymbolsRequest', (_message.Message,), {
  'DESCRIPTOR' : _LISTSYMBOLSREQUEST,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.ListSymbolsRequest)
  })
_sym_db.RegisterMessage(ListSymbolsRequest)

ListSymbolsResponse = _reflection.GeneratedProtocolMessageType('ListSymbolsResponse', (_message.Message,), {
  'DESCRIPTOR' : _LISTSYMBOLSRESPONSE,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.ListSymbolsResponse)
  })
_sym_db.RegisterMessage(ListSymbolsResponse)

ServerVersionRequest = _reflection.GeneratedProtocolMessageType('ServerVersionRequest', (_message.Message,), {
  'DESCRIPTOR' : _SERVERVERSIONREQUEST,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.ServerVersionRequest)
  })
_sym_db.RegisterMessage(ServerVersionRequest)

ServerVersionResponse = _reflection.GeneratedProtocolMessageType('ServerVersionResponse', (_message.Message,), {
  'DESCRIPTOR' : _SERVERVERSIONRESPONSE,
  '__module__' : 'pymarketstore.proto.marketstore_pb2'
  # @@protoc_insertion_point(class_scope:proto.ServerVersionResponse)
  })
_sym_db.RegisterMessage(ServerVersionResponse)

_MARKETSTORE = DESCRIPTOR.services_by_name['Marketstore']
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'Z%github.com/alpacahq/marketstore/proto'
  _NUMPYMULTIDATASET_STARTINDEXENTRY._options = None
  _NUMPYMULTIDATASET_STARTINDEXENTRY._serialized_options = b'8\001'
  _NUMPYMULTIDATASET_LENGTHSENTRY._options = None
  _NUMPYMULTIDATASET_LENGTHSENTRY._serialized_options = b'8\001'
  _DATATYPE._serialized_start=1722
  _DATATYPE._serialized_end=1918
  _DATASHAPE._serialized_start=48
  _DATASHAPE._serialized_end=87
  _NUMPYMULTIDATASET._serialized_start=90
  _NUMPYMULTIDATASET._serialized_end=362
  _NUMPYMULTIDATASET_STARTINDEXENTRY._serialized_start=265
  _NUMPYMULTIDATASET_STARTINDEXENTRY._serialized_end=314
  _NUMPYMULTIDATASET_LENGTHSENTRY._serialized_start=316
  _NUMPYMULTIDATASET_LENGTHSENTRY._serialized_end=362
  _NUMPYDATASET._serialized_start=365
  _NUMPYDATASET._serialized_end=499
  _CREATEREQUEST._serialized_start=501
  _CREATEREQUEST._serialized_end=586
  _MULTICREATEREQUEST._serialized_start=588
  _MULTICREATEREQUEST._serialized_end=648
  _MULTIQUERYREQUEST._serialized_start=650
  _MULTIQUERYREQUEST._serialized_end=708
  _QUERYREQUEST._serialized_start=711
  _QUERYREQUEST._serialized_end=999
  _MULTIQUERYRESPONSE._serialized_start=1001
  _MULTIQUERYRESPONSE._serialized_end=1097
  _QUERYRESPONSE._serialized_start=1099
  _QUERYRESPONSE._serialized_end=1156
  _MULTIWRITEREQUEST._serialized_start=1158
  _MULTIWRITEREQUEST._serialized_end=1216
  _WRITEREQUEST._serialized_start=1218
  _WRITEREQUEST._serialized_end=1300
  _MULTISERVERRESPONSE._serialized_start=1302
  _MULTISERVERRESPONSE._serialized_end=1365
  _SERVERRESPONSE._serialized_start=1367
  _SERVERRESPONSE._serialized_end=1415
  _MULTIKEYREQUEST._serialized_start=1417
  _MULTIKEYREQUEST._serialized_end=1471
  _KEYREQUEST._serialized_start=1473
  _KEYREQUEST._serialized_end=1498
  _LISTSYMBOLSREQUEST._serialized_start=1500
  _LISTSYMBOLSREQUEST._serialized_end=1613
  _LISTSYMBOLSREQUEST_FORMAT._serialized_start=1572
  _LISTSYMBOLSREQUEST_FORMAT._serialized_end=1613
  _LISTSYMBOLSRESPONSE._serialized_start=1615
  _LISTSYMBOLSRESPONSE._serialized_end=1653
  _SERVERVERSIONREQUEST._serialized_start=1655
  _SERVERVERSIONREQUEST._serialized_end=1677
  _SERVERVERSIONRESPONSE._serialized_start=1679
  _SERVERVERSIONRESPONSE._serialized_end=1719
  _MARKETSTORE._serialized_start=1921
  _MARKETSTORE._serialized_end=2333
# @@protoc_insertion_point(module_scope)
