# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: dqmarketservice.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()


from . import dqdatetime_pb2 as dqdatetime__pb2
from . import dqmarket_pb2 as dqmarket__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='dqmarketservice.proto',
  package='dqproto',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x15\x64qmarketservice.proto\x12\x07\x64qproto\x1a\x10\x64qdatetime.proto\x1a\x0e\x64qmarket.proto\"\x9d\x01\n\x15\x43reateFxSpotRateInput\x12%\n\x0ereference_date\x18\x01 \x01(\x0b\x32\r.dqproto.Date\x12 \n\tspot_date\x18\x02 \x01(\x0b\x32\r.dqproto.Date\x12\r\n\x05value\x18\x03 \x01(\x01\x12,\n\rcurrency_pair\x18\x04 \x01(\x0b\x32\x15.dqproto.CurrencyPair\"e\n\x16\x43reateFxSpotRateOutput\x12)\n\x0c\x66x_spot_rate\x18\x01 \x01(\x0b\x32\x13.dqproto.FxSpotRate\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x0f\n\x07\x65rr_msg\x18\x03 \x01(\tb\x06proto3'
  ,
  dependencies=[dqdatetime__pb2.DESCRIPTOR,dqmarket__pb2.DESCRIPTOR,])




_CREATEFXSPOTRATEINPUT = _descriptor.Descriptor(
  name='CreateFxSpotRateInput',
  full_name='dqproto.CreateFxSpotRateInput',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='reference_date', full_name='dqproto.CreateFxSpotRateInput.reference_date', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='spot_date', full_name='dqproto.CreateFxSpotRateInput.spot_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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='value', full_name='dqproto.CreateFxSpotRateInput.value', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='currency_pair', full_name='dqproto.CreateFxSpotRateInput.currency_pair', index=3,
      number=4, 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=69,
  serialized_end=226,
)


_CREATEFXSPOTRATEOUTPUT = _descriptor.Descriptor(
  name='CreateFxSpotRateOutput',
  full_name='dqproto.CreateFxSpotRateOutput',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='fx_spot_rate', full_name='dqproto.CreateFxSpotRateOutput.fx_spot_rate', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='success', full_name='dqproto.CreateFxSpotRateOutput.success', index=1,
      number=2, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='err_msg', full_name='dqproto.CreateFxSpotRateOutput.err_msg', 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=228,
  serialized_end=329,
)

_CREATEFXSPOTRATEINPUT.fields_by_name['reference_date'].message_type = dqdatetime__pb2._DATE
_CREATEFXSPOTRATEINPUT.fields_by_name['spot_date'].message_type = dqdatetime__pb2._DATE
_CREATEFXSPOTRATEINPUT.fields_by_name['currency_pair'].message_type = dqmarket__pb2._CURRENCYPAIR
_CREATEFXSPOTRATEOUTPUT.fields_by_name['fx_spot_rate'].message_type = dqmarket__pb2._FXSPOTRATE
DESCRIPTOR.message_types_by_name['CreateFxSpotRateInput'] = _CREATEFXSPOTRATEINPUT
DESCRIPTOR.message_types_by_name['CreateFxSpotRateOutput'] = _CREATEFXSPOTRATEOUTPUT
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

CreateFxSpotRateInput = _reflection.GeneratedProtocolMessageType('CreateFxSpotRateInput', (_message.Message,), {
  'DESCRIPTOR' : _CREATEFXSPOTRATEINPUT,
  '__module__' : 'dqmarketservice_pb2'
  # @@protoc_insertion_point(class_scope:dqproto.CreateFxSpotRateInput)
  })
_sym_db.RegisterMessage(CreateFxSpotRateInput)

CreateFxSpotRateOutput = _reflection.GeneratedProtocolMessageType('CreateFxSpotRateOutput', (_message.Message,), {
  'DESCRIPTOR' : _CREATEFXSPOTRATEOUTPUT,
  '__module__' : 'dqmarketservice_pb2'
  # @@protoc_insertion_point(class_scope:dqproto.CreateFxSpotRateOutput)
  })
_sym_db.RegisterMessage(CreateFxSpotRateOutput)


# @@protoc_insertion_point(module_scope)
