# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: org/xrpl/rpc/v1/amount.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 account_pb2 as org_dot_xrpl_dot_rpc_dot_v1_dot_account__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='org/xrpl/rpc/v1/amount.proto',
  package='org.xrpl.rpc.v1',
  syntax='proto3',
  serialized_options=b'\n\017org.xrpl.rpc.v1P\001',
  serialized_pb=b'\n\x1corg/xrpl/rpc/v1/amount.proto\x12\x0forg.xrpl.rpc.v1\x1a\x1dorg/xrpl/rpc/v1/account.proto\"\x9a\x01\n\x0e\x43urrencyAmount\x12\x35\n\nxrp_amount\x18\x01 \x01(\x0b\x32\x1f.org.xrpl.rpc.v1.XRPDropsAmountH\x00\x12G\n\x16issued_currency_amount\x18\x02 \x01(\x0b\x32%.org.xrpl.rpc.v1.IssuedCurrencyAmountH\x00\x42\x08\n\x06\x61mount\"#\n\x0eXRPDropsAmount\x12\x11\n\x05\x64rops\x18\x01 \x01(\x04\x42\x02\x30\x01\"\x83\x01\n\x14IssuedCurrencyAmount\x12+\n\x08\x63urrency\x18\x01 \x01(\x0b\x32\x19.org.xrpl.rpc.v1.Currency\x12\r\n\x05value\x18\x02 \x01(\t\x12/\n\x06issuer\x18\x03 \x01(\x0b\x32\x1f.org.xrpl.rpc.v1.AccountAddress\"&\n\x08\x43urrency\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\x0c\x42\x13\n\x0forg.xrpl.rpc.v1P\x01\x62\x06proto3'
  ,
  dependencies=[org_dot_xrpl_dot_rpc_dot_v1_dot_account__pb2.DESCRIPTOR,])




_CURRENCYAMOUNT = _descriptor.Descriptor(
  name='CurrencyAmount',
  full_name='org.xrpl.rpc.v1.CurrencyAmount',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='xrp_amount', full_name='org.xrpl.rpc.v1.CurrencyAmount.xrp_amount', 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),
    _descriptor.FieldDescriptor(
      name='issued_currency_amount', full_name='org.xrpl.rpc.v1.CurrencyAmount.issued_currency_amount', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='amount', full_name='org.xrpl.rpc.v1.CurrencyAmount.amount',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=81,
  serialized_end=235,
)


_XRPDROPSAMOUNT = _descriptor.Descriptor(
  name='XRPDropsAmount',
  full_name='org.xrpl.rpc.v1.XRPDropsAmount',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='drops', full_name='org.xrpl.rpc.v1.XRPDropsAmount.drops', 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=b'0\001', file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=237,
  serialized_end=272,
)


_ISSUEDCURRENCYAMOUNT = _descriptor.Descriptor(
  name='IssuedCurrencyAmount',
  full_name='org.xrpl.rpc.v1.IssuedCurrencyAmount',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='currency', full_name='org.xrpl.rpc.v1.IssuedCurrencyAmount.currency', 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),
    _descriptor.FieldDescriptor(
      name='value', full_name='org.xrpl.rpc.v1.IssuedCurrencyAmount.value', 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='issuer', full_name='org.xrpl.rpc.v1.IssuedCurrencyAmount.issuer', 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=275,
  serialized_end=406,
)


_CURRENCY = _descriptor.Descriptor(
  name='Currency',
  full_name='org.xrpl.rpc.v1.Currency',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='org.xrpl.rpc.v1.Currency.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),
    _descriptor.FieldDescriptor(
      name='code', full_name='org.xrpl.rpc.v1.Currency.code', index=1,
      number=2, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=b"",
      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=408,
  serialized_end=446,
)

_CURRENCYAMOUNT.fields_by_name['xrp_amount'].message_type = _XRPDROPSAMOUNT
_CURRENCYAMOUNT.fields_by_name['issued_currency_amount'].message_type = _ISSUEDCURRENCYAMOUNT
_CURRENCYAMOUNT.oneofs_by_name['amount'].fields.append(
  _CURRENCYAMOUNT.fields_by_name['xrp_amount'])
_CURRENCYAMOUNT.fields_by_name['xrp_amount'].containing_oneof = _CURRENCYAMOUNT.oneofs_by_name['amount']
_CURRENCYAMOUNT.oneofs_by_name['amount'].fields.append(
  _CURRENCYAMOUNT.fields_by_name['issued_currency_amount'])
_CURRENCYAMOUNT.fields_by_name['issued_currency_amount'].containing_oneof = _CURRENCYAMOUNT.oneofs_by_name['amount']
_ISSUEDCURRENCYAMOUNT.fields_by_name['currency'].message_type = _CURRENCY
_ISSUEDCURRENCYAMOUNT.fields_by_name['issuer'].message_type = org_dot_xrpl_dot_rpc_dot_v1_dot_account__pb2._ACCOUNTADDRESS
DESCRIPTOR.message_types_by_name['CurrencyAmount'] = _CURRENCYAMOUNT
DESCRIPTOR.message_types_by_name['XRPDropsAmount'] = _XRPDROPSAMOUNT
DESCRIPTOR.message_types_by_name['IssuedCurrencyAmount'] = _ISSUEDCURRENCYAMOUNT
DESCRIPTOR.message_types_by_name['Currency'] = _CURRENCY
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

CurrencyAmount = _reflection.GeneratedProtocolMessageType('CurrencyAmount', (_message.Message,), {
  'DESCRIPTOR' : _CURRENCYAMOUNT,
  '__module__' : 'org.xrpl.rpc.v1.amount_pb2'
  # @@protoc_insertion_point(class_scope:org.xrpl.rpc.v1.CurrencyAmount)
  })
_sym_db.RegisterMessage(CurrencyAmount)

XRPDropsAmount = _reflection.GeneratedProtocolMessageType('XRPDropsAmount', (_message.Message,), {
  'DESCRIPTOR' : _XRPDROPSAMOUNT,
  '__module__' : 'org.xrpl.rpc.v1.amount_pb2'
  # @@protoc_insertion_point(class_scope:org.xrpl.rpc.v1.XRPDropsAmount)
  })
_sym_db.RegisterMessage(XRPDropsAmount)

IssuedCurrencyAmount = _reflection.GeneratedProtocolMessageType('IssuedCurrencyAmount', (_message.Message,), {
  'DESCRIPTOR' : _ISSUEDCURRENCYAMOUNT,
  '__module__' : 'org.xrpl.rpc.v1.amount_pb2'
  # @@protoc_insertion_point(class_scope:org.xrpl.rpc.v1.IssuedCurrencyAmount)
  })
_sym_db.RegisterMessage(IssuedCurrencyAmount)

Currency = _reflection.GeneratedProtocolMessageType('Currency', (_message.Message,), {
  'DESCRIPTOR' : _CURRENCY,
  '__module__' : 'org.xrpl.rpc.v1.amount_pb2'
  # @@protoc_insertion_point(class_scope:org.xrpl.rpc.v1.Currency)
  })
_sym_db.RegisterMessage(Currency)


DESCRIPTOR._options = None
_XRPDROPSAMOUNT.fields_by_name['drops']._options = None
# @@protoc_insertion_point(module_scope)
