# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: brymck/securities/v1/securities_api.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()


from brymck.dates.v1 import date_pb2 as brymck_dot_dates_dot_v1_dot_date__pb2
from brymck.securities.v1 import price_pb2 as brymck_dot_securities_dot_v1_dot_price__pb2
from brymck.securities.v1 import security_pb2 as brymck_dot_securities_dot_v1_dot_security__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='brymck/securities/v1/securities_api.proto',
  package='brymck.securities.v1',
  syntax='proto3',
  serialized_options=_b('\n\037com.github.brymck.securities.v1B\022SecuritiesApiProtoP\001Z\014securitiesv1\242\002\003BSX\252\002\024Brymck.Securities.V1\312\002\024Brymck\\Securities\\V1'),
  serialized_pb=_b('\n)brymck/securities/v1/securities_api.proto\x12\x14\x62rymck.securities.v1\x1a\x1a\x62rymck/dates/v1/date.proto\x1a brymck/securities/v1/price.proto\x1a#brymck/securities/v1/security.proto\"0\n\x12GetSecurityRequest\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0e\n\x06symbol\x18\x02 \x01(\t\"G\n\x13GetSecurityResponse\x12\x30\n\x08security\x18\x01 \x01(\x0b\x32\x1e.brymck.securities.v1.Security\"I\n\x15InsertSecurityRequest\x12\x30\n\x08security\x18\x01 \x01(\x0b\x32\x1e.brymck.securities.v1.Security\"$\n\x16InsertSecurityResponse\x12\n\n\x02id\x18\x01 \x01(\x04\"r\n\x10GetPricesRequest\x12\n\n\x02id\x18\x01 \x01(\x04\x12)\n\nstart_date\x18\x02 \x01(\x0b\x32\x15.brymck.dates.v1.Date\x12\'\n\x08\x65nd_date\x18\x03 \x01(\x0b\x32\x15.brymck.dates.v1.Date\"@\n\x11GetPricesResponse\x12+\n\x06prices\x18\x01 \x03(\x0b\x32\x1b.brymck.securities.v1.Price\"?\n\x13UpdatePricesRequest\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0e\n\x06symbol\x18\x02 \x01(\t\x12\x0c\n\x04\x66ull\x18\x03 \x01(\x08\"%\n\x14UpdatePricesResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x04\x32\xa5\x03\n\rSecuritiesAPI\x12\x62\n\x0bGetSecurity\x12(.brymck.securities.v1.GetSecurityRequest\x1a).brymck.securities.v1.GetSecurityResponse\x12k\n\x0eInsertSecurity\x12+.brymck.securities.v1.InsertSecurityRequest\x1a,.brymck.securities.v1.InsertSecurityResponse\x12\\\n\tGetPrices\x12&.brymck.securities.v1.GetPricesRequest\x1a\'.brymck.securities.v1.GetPricesResponse\x12\x65\n\x0cUpdatePrices\x12).brymck.securities.v1.UpdatePricesRequest\x1a*.brymck.securities.v1.UpdatePricesResponseBy\n\x1f\x63om.github.brymck.securities.v1B\x12SecuritiesApiProtoP\x01Z\x0csecuritiesv1\xa2\x02\x03\x42SX\xaa\x02\x14\x42rymck.Securities.V1\xca\x02\x14\x42rymck\\Securities\\V1b\x06proto3')
  ,
  dependencies=[brymck_dot_dates_dot_v1_dot_date__pb2.DESCRIPTOR,brymck_dot_securities_dot_v1_dot_price__pb2.DESCRIPTOR,brymck_dot_securities_dot_v1_dot_security__pb2.DESCRIPTOR,])




_GETSECURITYREQUEST = _descriptor.Descriptor(
  name='GetSecurityRequest',
  full_name='brymck.securities.v1.GetSecurityRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='brymck.securities.v1.GetSecurityRequest.id', index=0,
      number=1, type=4, cpp_type=4, 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),
    _descriptor.FieldDescriptor(
      name='symbol', full_name='brymck.securities.v1.GetSecurityRequest.symbol', 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=166,
  serialized_end=214,
)


_GETSECURITYRESPONSE = _descriptor.Descriptor(
  name='GetSecurityResponse',
  full_name='brymck.securities.v1.GetSecurityResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='security', full_name='brymck.securities.v1.GetSecurityResponse.security', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      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=216,
  serialized_end=287,
)


_INSERTSECURITYREQUEST = _descriptor.Descriptor(
  name='InsertSecurityRequest',
  full_name='brymck.securities.v1.InsertSecurityRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='security', full_name='brymck.securities.v1.InsertSecurityRequest.security', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      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=289,
  serialized_end=362,
)


_INSERTSECURITYRESPONSE = _descriptor.Descriptor(
  name='InsertSecurityResponse',
  full_name='brymck.securities.v1.InsertSecurityResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='brymck.securities.v1.InsertSecurityResponse.id', index=0,
      number=1, type=4, cpp_type=4, 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=364,
  serialized_end=400,
)


_GETPRICESREQUEST = _descriptor.Descriptor(
  name='GetPricesRequest',
  full_name='brymck.securities.v1.GetPricesRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='brymck.securities.v1.GetPricesRequest.id', index=0,
      number=1, type=4, cpp_type=4, 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),
    _descriptor.FieldDescriptor(
      name='start_date', full_name='brymck.securities.v1.GetPricesRequest.start_date', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      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='brymck.securities.v1.GetPricesRequest.end_date', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      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=402,
  serialized_end=516,
)


_GETPRICESRESPONSE = _descriptor.Descriptor(
  name='GetPricesResponse',
  full_name='brymck.securities.v1.GetPricesResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='prices', full_name='brymck.securities.v1.GetPricesResponse.prices', 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=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=518,
  serialized_end=582,
)


_UPDATEPRICESREQUEST = _descriptor.Descriptor(
  name='UpdatePricesRequest',
  full_name='brymck.securities.v1.UpdatePricesRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='brymck.securities.v1.UpdatePricesRequest.id', index=0,
      number=1, type=4, cpp_type=4, 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),
    _descriptor.FieldDescriptor(
      name='symbol', full_name='brymck.securities.v1.UpdatePricesRequest.symbol', 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='full', full_name='brymck.securities.v1.UpdatePricesRequest.full', index=2,
      number=3, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      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=584,
  serialized_end=647,
)


_UPDATEPRICESRESPONSE = _descriptor.Descriptor(
  name='UpdatePricesResponse',
  full_name='brymck.securities.v1.UpdatePricesResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='count', full_name='brymck.securities.v1.UpdatePricesResponse.count', index=0,
      number=1, type=4, cpp_type=4, 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=649,
  serialized_end=686,
)

_GETSECURITYRESPONSE.fields_by_name['security'].message_type = brymck_dot_securities_dot_v1_dot_security__pb2._SECURITY
_INSERTSECURITYREQUEST.fields_by_name['security'].message_type = brymck_dot_securities_dot_v1_dot_security__pb2._SECURITY
_GETPRICESREQUEST.fields_by_name['start_date'].message_type = brymck_dot_dates_dot_v1_dot_date__pb2._DATE
_GETPRICESREQUEST.fields_by_name['end_date'].message_type = brymck_dot_dates_dot_v1_dot_date__pb2._DATE
_GETPRICESRESPONSE.fields_by_name['prices'].message_type = brymck_dot_securities_dot_v1_dot_price__pb2._PRICE
DESCRIPTOR.message_types_by_name['GetSecurityRequest'] = _GETSECURITYREQUEST
DESCRIPTOR.message_types_by_name['GetSecurityResponse'] = _GETSECURITYRESPONSE
DESCRIPTOR.message_types_by_name['InsertSecurityRequest'] = _INSERTSECURITYREQUEST
DESCRIPTOR.message_types_by_name['InsertSecurityResponse'] = _INSERTSECURITYRESPONSE
DESCRIPTOR.message_types_by_name['GetPricesRequest'] = _GETPRICESREQUEST
DESCRIPTOR.message_types_by_name['GetPricesResponse'] = _GETPRICESRESPONSE
DESCRIPTOR.message_types_by_name['UpdatePricesRequest'] = _UPDATEPRICESREQUEST
DESCRIPTOR.message_types_by_name['UpdatePricesResponse'] = _UPDATEPRICESRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

GetSecurityRequest = _reflection.GeneratedProtocolMessageType('GetSecurityRequest', (_message.Message,), dict(
  DESCRIPTOR = _GETSECURITYREQUEST,
  __module__ = 'brymck.securities.v1.securities_api_pb2'
  # @@protoc_insertion_point(class_scope:brymck.securities.v1.GetSecurityRequest)
  ))
_sym_db.RegisterMessage(GetSecurityRequest)

GetSecurityResponse = _reflection.GeneratedProtocolMessageType('GetSecurityResponse', (_message.Message,), dict(
  DESCRIPTOR = _GETSECURITYRESPONSE,
  __module__ = 'brymck.securities.v1.securities_api_pb2'
  # @@protoc_insertion_point(class_scope:brymck.securities.v1.GetSecurityResponse)
  ))
_sym_db.RegisterMessage(GetSecurityResponse)

InsertSecurityRequest = _reflection.GeneratedProtocolMessageType('InsertSecurityRequest', (_message.Message,), dict(
  DESCRIPTOR = _INSERTSECURITYREQUEST,
  __module__ = 'brymck.securities.v1.securities_api_pb2'
  # @@protoc_insertion_point(class_scope:brymck.securities.v1.InsertSecurityRequest)
  ))
_sym_db.RegisterMessage(InsertSecurityRequest)

InsertSecurityResponse = _reflection.GeneratedProtocolMessageType('InsertSecurityResponse', (_message.Message,), dict(
  DESCRIPTOR = _INSERTSECURITYRESPONSE,
  __module__ = 'brymck.securities.v1.securities_api_pb2'
  # @@protoc_insertion_point(class_scope:brymck.securities.v1.InsertSecurityResponse)
  ))
_sym_db.RegisterMessage(InsertSecurityResponse)

GetPricesRequest = _reflection.GeneratedProtocolMessageType('GetPricesRequest', (_message.Message,), dict(
  DESCRIPTOR = _GETPRICESREQUEST,
  __module__ = 'brymck.securities.v1.securities_api_pb2'
  # @@protoc_insertion_point(class_scope:brymck.securities.v1.GetPricesRequest)
  ))
_sym_db.RegisterMessage(GetPricesRequest)

GetPricesResponse = _reflection.GeneratedProtocolMessageType('GetPricesResponse', (_message.Message,), dict(
  DESCRIPTOR = _GETPRICESRESPONSE,
  __module__ = 'brymck.securities.v1.securities_api_pb2'
  # @@protoc_insertion_point(class_scope:brymck.securities.v1.GetPricesResponse)
  ))
_sym_db.RegisterMessage(GetPricesResponse)

UpdatePricesRequest = _reflection.GeneratedProtocolMessageType('UpdatePricesRequest', (_message.Message,), dict(
  DESCRIPTOR = _UPDATEPRICESREQUEST,
  __module__ = 'brymck.securities.v1.securities_api_pb2'
  # @@protoc_insertion_point(class_scope:brymck.securities.v1.UpdatePricesRequest)
  ))
_sym_db.RegisterMessage(UpdatePricesRequest)

UpdatePricesResponse = _reflection.GeneratedProtocolMessageType('UpdatePricesResponse', (_message.Message,), dict(
  DESCRIPTOR = _UPDATEPRICESRESPONSE,
  __module__ = 'brymck.securities.v1.securities_api_pb2'
  # @@protoc_insertion_point(class_scope:brymck.securities.v1.UpdatePricesResponse)
  ))
_sym_db.RegisterMessage(UpdatePricesResponse)


DESCRIPTOR._options = None

_SECURITIESAPI = _descriptor.ServiceDescriptor(
  name='SecuritiesAPI',
  full_name='brymck.securities.v1.SecuritiesAPI',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  serialized_start=689,
  serialized_end=1110,
  methods=[
  _descriptor.MethodDescriptor(
    name='GetSecurity',
    full_name='brymck.securities.v1.SecuritiesAPI.GetSecurity',
    index=0,
    containing_service=None,
    input_type=_GETSECURITYREQUEST,
    output_type=_GETSECURITYRESPONSE,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='InsertSecurity',
    full_name='brymck.securities.v1.SecuritiesAPI.InsertSecurity',
    index=1,
    containing_service=None,
    input_type=_INSERTSECURITYREQUEST,
    output_type=_INSERTSECURITYRESPONSE,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='GetPrices',
    full_name='brymck.securities.v1.SecuritiesAPI.GetPrices',
    index=2,
    containing_service=None,
    input_type=_GETPRICESREQUEST,
    output_type=_GETPRICESRESPONSE,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='UpdatePrices',
    full_name='brymck.securities.v1.SecuritiesAPI.UpdatePrices',
    index=3,
    containing_service=None,
    input_type=_UPDATEPRICESREQUEST,
    output_type=_UPDATEPRICESRESPONSE,
    serialized_options=None,
  ),
])
_sym_db.RegisterServiceDescriptor(_SECURITIESAPI)

DESCRIPTOR.services_by_name['SecuritiesAPI'] = _SECURITIESAPI

# @@protoc_insertion_point(module_scope)
