# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: dqcrmarket.proto

from google.protobuf.internal import enum_type_wrapper
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='dqcrmarket.proto',
  package='dqproto',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x10\x64qcrmarket.proto\x12\x07\x64qproto\x1a\x10\x64qdatetime.proto\x1a\x0e\x64qmarket.proto\"\xb9\x04\n\x10\x43reditPremiumLeg\x12,\n\x0bpay_receive\x18\x01 \x01(\x0e\x32\x17.dqproto.PayReceiveFlag\x12\x14\n\x0cpremium_rate\x18\x02 \x01(\x01\x12\x37\n\x13\x63redit_premium_type\x18\x03 \x01(\x0e\x32\x1a.dqproto.CreditPremiumType\x12\x0f\n\x07nominal\x18\x04 \x01(\x01\x12\x10\n\x08\x63urrency\x18\x05 \x01(\t\x12\x46\n\x12\x63\x61sh_flow_schedule\x18\x06 \x01(\x0b\x32*.dqproto.CreditPremiumLeg.CashFlowSchedule\x12\x39\n\x14\x64\x61y_count_convention\x18\x07 \x01(\x0e\x32\x1b.dqproto.DayCountConvention\x12?\n\x17\x62usiness_day_convention\x18\x08 \x01(\x0e\x32\x1e.dqproto.BusinessDayConvention\x1a\xc0\x01\n\x10\x43\x61shFlowSchedule\x12<\n\x04rows\x18\x01 \x03(\x0b\x32..dqproto.CreditPremiumLeg.CashFlowSchedule.Row\x1an\n\x03Row\x12#\n\x0cpayment_date\x18\x01 \x01(\x0b\x32\r.dqproto.Date\x12!\n\nstart_date\x18\x02 \x01(\x0b\x32\r.dqproto.Date\x12\x1f\n\x08\x65nd_date\x18\x03 \x01(\x0b\x32\r.dqproto.Date\"\xdd\x02\n\x13\x43reditProtectionLeg\x12,\n\x0bpay_receive\x18\x01 \x01(\x0e\x32\x17.dqproto.PayReceiveFlag\x12\x30\n\x0fsettlement_type\x18\x02 \x01(\x0e\x32\x17.dqproto.SettlementType\x12\x17\n\x0freference_price\x18\x03 \x01(\x01\x12\x10\n\x08leverage\x18\x04 \x01(\x01\x12=\n\x16\x63redit_protection_type\x18\x05 \x01(\x0e\x32\x1d.dqproto.CreditProtectionType\x12\x15\n\rrecovery_rate\x18\x06 \x01(\x01\x12!\n\nstart_date\x18\x07 \x01(\x0b\x32\r.dqproto.Date\x12\x1f\n\x08\x65nd_date\x18\x08 \x01(\x0b\x32\r.dqproto.Date\x12\x0f\n\x07nominal\x18\t \x01(\x01\x12\x10\n\x08\x63urrency\x18\n \x01(\t\"\xd9\x01\n\x11\x43reditDefaultSwap\x12.\n\x0bpremium_leg\x18\x01 \x01(\x0b\x32\x19.dqproto.CreditPremiumLeg\x12\x34\n\x0eprotection_leg\x18\x02 \x01(\x0b\x32\x1c.dqproto.CreditProtectionLeg\x12-\n\x16\x65\x66\x66\x65\x63tive_upfront_date\x18\x03 \x01(\x0b\x32\r.dqproto.Date\x12\x17\n\x0fupfront_payment\x18\x04 \x01(\x01\x12\x16\n\x0e\x61\x63\x63rual_rebate\x18\x05 \x01(\x01\"\x83\x05\n\x18\x43reditInstrumentTemplate\x12\x17\n\x0finstrument_name\x18\x01 \x01(\t\x12\x30\n\x0finstrument_type\x18\x02 \x01(\x0e\x32\x17.dqproto.InstrumentType\x12<\n\x10start_convention\x18\x03 \x01(\x0e\x32\".dqproto.InstrumentStartConvention\x12$\n\x0bstart_delay\x18\x04 \x01(\x0b\x32\x0f.dqproto.Period\x12\x30\n\x0fsettlement_type\x18\x05 \x01(\x0e\x32\x17.dqproto.SettlementType\x12\x17\n\x0freference_price\x18\x06 \x01(\x01\x12\x10\n\x08leverage\x18\x07 \x01(\x01\x12=\n\x16\x63redit_protection_type\x18\x08 \x01(\x0e\x32\x1d.dqproto.CreditProtectionType\x12\x15\n\rrecovery_rate\x18\t \x01(\x01\x12\x37\n\x13\x63redit_premium_type\x18\n \x01(\x0e\x32\x1a.dqproto.CreditPremiumType\x12\x39\n\x14\x64\x61y_count_convention\x18\x0b \x01(\x0e\x32\x1b.dqproto.DayCountConvention\x12%\n\tfrequency\x18\x0c \x01(\x0e\x32\x12.dqproto.Frequency\x12?\n\x17\x62usiness_day_convention\x18\r \x01(\x0e\x32\x1e.dqproto.BusinessDayConvention\x12\x11\n\tcalendars\x18\x0e \x03(\t\x12\x16\n\x0erebate_accrual\x18\x0f \x01(\x08\"e\n\x1c\x43reditInstrumentTemplateList\x12\x45\n\x1a\x63redit_instrument_template\x18\x01 \x03(\x0b\x32!.dqproto.CreditInstrumentTemplate*\x92\x01\n\x11\x43reditPremiumType\x12\x1a\n\x16PAY_PREMIUM_AT_DEFAULT\x10\x00\x12#\n\x1fPAY_PREMIUM_UPTO_CURRENT_PERIOD\x10\x01\x12\x1d\n\x19PAY_PREMIUM_UPTO_MATURITY\x10\x02\x12\x1d\n\x19PAY_NOTHING_AFTER_DEFAULT\x10\x03*U\n\x14\x43reditProtectionType\x12\x1d\n\x19PAY_PROTECTION_AT_DEFAULT\x10\x00\x12\x1e\n\x1aPAY_PROTECTION_AT_MATURITY\x10\x01\x62\x06proto3'
  ,
  dependencies=[dqdatetime__pb2.DESCRIPTOR,dqmarket__pb2.DESCRIPTOR,])

_CREDITPREMIUMTYPE = _descriptor.EnumDescriptor(
  name='CreditPremiumType',
  full_name='dqproto.CreditPremiumType',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='PAY_PREMIUM_AT_DEFAULT', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='PAY_PREMIUM_UPTO_CURRENT_PERIOD', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='PAY_PREMIUM_UPTO_MATURITY', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='PAY_NOTHING_AFTER_DEFAULT', index=3, number=3,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=1957,
  serialized_end=2103,
)
_sym_db.RegisterEnumDescriptor(_CREDITPREMIUMTYPE)

CreditPremiumType = enum_type_wrapper.EnumTypeWrapper(_CREDITPREMIUMTYPE)
_CREDITPROTECTIONTYPE = _descriptor.EnumDescriptor(
  name='CreditProtectionType',
  full_name='dqproto.CreditProtectionType',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='PAY_PROTECTION_AT_DEFAULT', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='PAY_PROTECTION_AT_MATURITY', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=2105,
  serialized_end=2190,
)
_sym_db.RegisterEnumDescriptor(_CREDITPROTECTIONTYPE)

CreditProtectionType = enum_type_wrapper.EnumTypeWrapper(_CREDITPROTECTIONTYPE)
PAY_PREMIUM_AT_DEFAULT = 0
PAY_PREMIUM_UPTO_CURRENT_PERIOD = 1
PAY_PREMIUM_UPTO_MATURITY = 2
PAY_NOTHING_AFTER_DEFAULT = 3
PAY_PROTECTION_AT_DEFAULT = 0
PAY_PROTECTION_AT_MATURITY = 1



_CREDITPREMIUMLEG_CASHFLOWSCHEDULE_ROW = _descriptor.Descriptor(
  name='Row',
  full_name='dqproto.CreditPremiumLeg.CashFlowSchedule.Row',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='payment_date', full_name='dqproto.CreditPremiumLeg.CashFlowSchedule.Row.payment_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='start_date', full_name='dqproto.CreditPremiumLeg.CashFlowSchedule.Row.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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='end_date', full_name='dqproto.CreditPremiumLeg.CashFlowSchedule.Row.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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=523,
  serialized_end=633,
)

_CREDITPREMIUMLEG_CASHFLOWSCHEDULE = _descriptor.Descriptor(
  name='CashFlowSchedule',
  full_name='dqproto.CreditPremiumLeg.CashFlowSchedule',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='rows', full_name='dqproto.CreditPremiumLeg.CashFlowSchedule.rows', 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[_CREDITPREMIUMLEG_CASHFLOWSCHEDULE_ROW, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=441,
  serialized_end=633,
)

_CREDITPREMIUMLEG = _descriptor.Descriptor(
  name='CreditPremiumLeg',
  full_name='dqproto.CreditPremiumLeg',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='pay_receive', full_name='dqproto.CreditPremiumLeg.pay_receive', index=0,
      number=1, type=14, cpp_type=8, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='premium_rate', full_name='dqproto.CreditPremiumLeg.premium_rate', index=1,
      number=2, 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='credit_premium_type', full_name='dqproto.CreditPremiumLeg.credit_premium_type', index=2,
      number=3, type=14, cpp_type=8, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='nominal', full_name='dqproto.CreditPremiumLeg.nominal', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='currency', full_name='dqproto.CreditPremiumLeg.currency', index=4,
      number=5, 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),
    _descriptor.FieldDescriptor(
      name='cash_flow_schedule', full_name='dqproto.CreditPremiumLeg.cash_flow_schedule', index=5,
      number=6, 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='day_count_convention', full_name='dqproto.CreditPremiumLeg.day_count_convention', index=6,
      number=7, type=14, cpp_type=8, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='business_day_convention', full_name='dqproto.CreditPremiumLeg.business_day_convention', index=7,
      number=8, type=14, cpp_type=8, 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[_CREDITPREMIUMLEG_CASHFLOWSCHEDULE, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=64,
  serialized_end=633,
)


_CREDITPROTECTIONLEG = _descriptor.Descriptor(
  name='CreditProtectionLeg',
  full_name='dqproto.CreditProtectionLeg',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='pay_receive', full_name='dqproto.CreditProtectionLeg.pay_receive', index=0,
      number=1, type=14, cpp_type=8, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='settlement_type', full_name='dqproto.CreditProtectionLeg.settlement_type', index=1,
      number=2, type=14, cpp_type=8, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='reference_price', full_name='dqproto.CreditProtectionLeg.reference_price', 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='leverage', full_name='dqproto.CreditProtectionLeg.leverage', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='credit_protection_type', full_name='dqproto.CreditProtectionLeg.credit_protection_type', index=4,
      number=5, type=14, cpp_type=8, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='recovery_rate', full_name='dqproto.CreditProtectionLeg.recovery_rate', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='start_date', full_name='dqproto.CreditProtectionLeg.start_date', index=6,
      number=7, 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='end_date', full_name='dqproto.CreditProtectionLeg.end_date', index=7,
      number=8, 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='nominal', full_name='dqproto.CreditProtectionLeg.nominal', index=8,
      number=9, 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', full_name='dqproto.CreditProtectionLeg.currency', index=9,
      number=10, 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=636,
  serialized_end=985,
)


_CREDITDEFAULTSWAP = _descriptor.Descriptor(
  name='CreditDefaultSwap',
  full_name='dqproto.CreditDefaultSwap',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='premium_leg', full_name='dqproto.CreditDefaultSwap.premium_leg', 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='protection_leg', full_name='dqproto.CreditDefaultSwap.protection_leg', 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='effective_upfront_date', full_name='dqproto.CreditDefaultSwap.effective_upfront_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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='upfront_payment', full_name='dqproto.CreditDefaultSwap.upfront_payment', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='accrual_rebate', full_name='dqproto.CreditDefaultSwap.accrual_rebate', 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=988,
  serialized_end=1205,
)


_CREDITINSTRUMENTTEMPLATE = _descriptor.Descriptor(
  name='CreditInstrumentTemplate',
  full_name='dqproto.CreditInstrumentTemplate',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='instrument_name', full_name='dqproto.CreditInstrumentTemplate.instrument_name', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='instrument_type', full_name='dqproto.CreditInstrumentTemplate.instrument_type', index=1,
      number=2, type=14, cpp_type=8, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='start_convention', full_name='dqproto.CreditInstrumentTemplate.start_convention', index=2,
      number=3, type=14, cpp_type=8, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='start_delay', full_name='dqproto.CreditInstrumentTemplate.start_delay', 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),
    _descriptor.FieldDescriptor(
      name='settlement_type', full_name='dqproto.CreditInstrumentTemplate.settlement_type', index=4,
      number=5, type=14, cpp_type=8, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='reference_price', full_name='dqproto.CreditInstrumentTemplate.reference_price', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='leverage', full_name='dqproto.CreditInstrumentTemplate.leverage', index=6,
      number=7, 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='credit_protection_type', full_name='dqproto.CreditInstrumentTemplate.credit_protection_type', index=7,
      number=8, type=14, cpp_type=8, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='recovery_rate', full_name='dqproto.CreditInstrumentTemplate.recovery_rate', index=8,
      number=9, 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='credit_premium_type', full_name='dqproto.CreditInstrumentTemplate.credit_premium_type', index=9,
      number=10, type=14, cpp_type=8, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='day_count_convention', full_name='dqproto.CreditInstrumentTemplate.day_count_convention', index=10,
      number=11, type=14, cpp_type=8, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='frequency', full_name='dqproto.CreditInstrumentTemplate.frequency', index=11,
      number=12, type=14, cpp_type=8, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='business_day_convention', full_name='dqproto.CreditInstrumentTemplate.business_day_convention', index=12,
      number=13, type=14, cpp_type=8, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='calendars', full_name='dqproto.CreditInstrumentTemplate.calendars', index=13,
      number=14, type=9, cpp_type=9, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='rebate_accrual', full_name='dqproto.CreditInstrumentTemplate.rebate_accrual', index=14,
      number=15, 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1208,
  serialized_end=1851,
)


_CREDITINSTRUMENTTEMPLATELIST = _descriptor.Descriptor(
  name='CreditInstrumentTemplateList',
  full_name='dqproto.CreditInstrumentTemplateList',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='credit_instrument_template', full_name='dqproto.CreditInstrumentTemplateList.credit_instrument_template', 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1853,
  serialized_end=1954,
)

_CREDITPREMIUMLEG_CASHFLOWSCHEDULE_ROW.fields_by_name['payment_date'].message_type = dqdatetime__pb2._DATE
_CREDITPREMIUMLEG_CASHFLOWSCHEDULE_ROW.fields_by_name['start_date'].message_type = dqdatetime__pb2._DATE
_CREDITPREMIUMLEG_CASHFLOWSCHEDULE_ROW.fields_by_name['end_date'].message_type = dqdatetime__pb2._DATE
_CREDITPREMIUMLEG_CASHFLOWSCHEDULE_ROW.containing_type = _CREDITPREMIUMLEG_CASHFLOWSCHEDULE
_CREDITPREMIUMLEG_CASHFLOWSCHEDULE.fields_by_name['rows'].message_type = _CREDITPREMIUMLEG_CASHFLOWSCHEDULE_ROW
_CREDITPREMIUMLEG_CASHFLOWSCHEDULE.containing_type = _CREDITPREMIUMLEG
_CREDITPREMIUMLEG.fields_by_name['pay_receive'].enum_type = dqmarket__pb2._PAYRECEIVEFLAG
_CREDITPREMIUMLEG.fields_by_name['credit_premium_type'].enum_type = _CREDITPREMIUMTYPE
_CREDITPREMIUMLEG.fields_by_name['cash_flow_schedule'].message_type = _CREDITPREMIUMLEG_CASHFLOWSCHEDULE
_CREDITPREMIUMLEG.fields_by_name['day_count_convention'].enum_type = dqdatetime__pb2._DAYCOUNTCONVENTION
_CREDITPREMIUMLEG.fields_by_name['business_day_convention'].enum_type = dqdatetime__pb2._BUSINESSDAYCONVENTION
_CREDITPROTECTIONLEG.fields_by_name['pay_receive'].enum_type = dqmarket__pb2._PAYRECEIVEFLAG
_CREDITPROTECTIONLEG.fields_by_name['settlement_type'].enum_type = dqmarket__pb2._SETTLEMENTTYPE
_CREDITPROTECTIONLEG.fields_by_name['credit_protection_type'].enum_type = _CREDITPROTECTIONTYPE
_CREDITPROTECTIONLEG.fields_by_name['start_date'].message_type = dqdatetime__pb2._DATE
_CREDITPROTECTIONLEG.fields_by_name['end_date'].message_type = dqdatetime__pb2._DATE
_CREDITDEFAULTSWAP.fields_by_name['premium_leg'].message_type = _CREDITPREMIUMLEG
_CREDITDEFAULTSWAP.fields_by_name['protection_leg'].message_type = _CREDITPROTECTIONLEG
_CREDITDEFAULTSWAP.fields_by_name['effective_upfront_date'].message_type = dqdatetime__pb2._DATE
_CREDITINSTRUMENTTEMPLATE.fields_by_name['instrument_type'].enum_type = dqmarket__pb2._INSTRUMENTTYPE
_CREDITINSTRUMENTTEMPLATE.fields_by_name['start_convention'].enum_type = dqmarket__pb2._INSTRUMENTSTARTCONVENTION
_CREDITINSTRUMENTTEMPLATE.fields_by_name['start_delay'].message_type = dqdatetime__pb2._PERIOD
_CREDITINSTRUMENTTEMPLATE.fields_by_name['settlement_type'].enum_type = dqmarket__pb2._SETTLEMENTTYPE
_CREDITINSTRUMENTTEMPLATE.fields_by_name['credit_protection_type'].enum_type = _CREDITPROTECTIONTYPE
_CREDITINSTRUMENTTEMPLATE.fields_by_name['credit_premium_type'].enum_type = _CREDITPREMIUMTYPE
_CREDITINSTRUMENTTEMPLATE.fields_by_name['day_count_convention'].enum_type = dqdatetime__pb2._DAYCOUNTCONVENTION
_CREDITINSTRUMENTTEMPLATE.fields_by_name['frequency'].enum_type = dqdatetime__pb2._FREQUENCY
_CREDITINSTRUMENTTEMPLATE.fields_by_name['business_day_convention'].enum_type = dqdatetime__pb2._BUSINESSDAYCONVENTION
_CREDITINSTRUMENTTEMPLATELIST.fields_by_name['credit_instrument_template'].message_type = _CREDITINSTRUMENTTEMPLATE
DESCRIPTOR.message_types_by_name['CreditPremiumLeg'] = _CREDITPREMIUMLEG
DESCRIPTOR.message_types_by_name['CreditProtectionLeg'] = _CREDITPROTECTIONLEG
DESCRIPTOR.message_types_by_name['CreditDefaultSwap'] = _CREDITDEFAULTSWAP
DESCRIPTOR.message_types_by_name['CreditInstrumentTemplate'] = _CREDITINSTRUMENTTEMPLATE
DESCRIPTOR.message_types_by_name['CreditInstrumentTemplateList'] = _CREDITINSTRUMENTTEMPLATELIST
DESCRIPTOR.enum_types_by_name['CreditPremiumType'] = _CREDITPREMIUMTYPE
DESCRIPTOR.enum_types_by_name['CreditProtectionType'] = _CREDITPROTECTIONTYPE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

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

  'CashFlowSchedule' : _reflection.GeneratedProtocolMessageType('CashFlowSchedule', (_message.Message,), {

    'Row' : _reflection.GeneratedProtocolMessageType('Row', (_message.Message,), {
      'DESCRIPTOR' : _CREDITPREMIUMLEG_CASHFLOWSCHEDULE_ROW,
      '__module__' : 'dqcrmarket_pb2'
      # @@protoc_insertion_point(class_scope:dqproto.CreditPremiumLeg.CashFlowSchedule.Row)
      })
    ,
    'DESCRIPTOR' : _CREDITPREMIUMLEG_CASHFLOWSCHEDULE,
    '__module__' : 'dqcrmarket_pb2'
    # @@protoc_insertion_point(class_scope:dqproto.CreditPremiumLeg.CashFlowSchedule)
    })
  ,
  'DESCRIPTOR' : _CREDITPREMIUMLEG,
  '__module__' : 'dqcrmarket_pb2'
  # @@protoc_insertion_point(class_scope:dqproto.CreditPremiumLeg)
  })
_sym_db.RegisterMessage(CreditPremiumLeg)
_sym_db.RegisterMessage(CreditPremiumLeg.CashFlowSchedule)
_sym_db.RegisterMessage(CreditPremiumLeg.CashFlowSchedule.Row)

CreditProtectionLeg = _reflection.GeneratedProtocolMessageType('CreditProtectionLeg', (_message.Message,), {
  'DESCRIPTOR' : _CREDITPROTECTIONLEG,
  '__module__' : 'dqcrmarket_pb2'
  # @@protoc_insertion_point(class_scope:dqproto.CreditProtectionLeg)
  })
_sym_db.RegisterMessage(CreditProtectionLeg)

CreditDefaultSwap = _reflection.GeneratedProtocolMessageType('CreditDefaultSwap', (_message.Message,), {
  'DESCRIPTOR' : _CREDITDEFAULTSWAP,
  '__module__' : 'dqcrmarket_pb2'
  # @@protoc_insertion_point(class_scope:dqproto.CreditDefaultSwap)
  })
_sym_db.RegisterMessage(CreditDefaultSwap)

CreditInstrumentTemplate = _reflection.GeneratedProtocolMessageType('CreditInstrumentTemplate', (_message.Message,), {
  'DESCRIPTOR' : _CREDITINSTRUMENTTEMPLATE,
  '__module__' : 'dqcrmarket_pb2'
  # @@protoc_insertion_point(class_scope:dqproto.CreditInstrumentTemplate)
  })
_sym_db.RegisterMessage(CreditInstrumentTemplate)

CreditInstrumentTemplateList = _reflection.GeneratedProtocolMessageType('CreditInstrumentTemplateList', (_message.Message,), {
  'DESCRIPTOR' : _CREDITINSTRUMENTTEMPLATELIST,
  '__module__' : 'dqcrmarket_pb2'
  # @@protoc_insertion_point(class_scope:dqproto.CreditInstrumentTemplateList)
  })
_sym_db.RegisterMessage(CreditInstrumentTemplateList)


# @@protoc_insertion_point(module_scope)
