# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: payment.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 . import fiat_amount_pb2 as fiat__amount__pb2
from . import xrp_amount_pb2 as xrp__amount__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='payment.proto',
  package='io.xpring',
  syntax='proto3',
  serialized_options=_b('\n\017io.xpring.protoB\014PaymentProtoP\001'),
  serialized_pb=_b('\n\rpayment.proto\x12\tio.xpring\x1a\x11\x66iat_amount.proto\x1a\x10xrp_amount.proto\"\x82\x01\n\x07Payment\x12*\n\nxrp_amount\x18\x01 \x01(\x0b\x32\x14.io.xpring.XRPAmountH\x00\x12,\n\x0b\x66iat_amount\x18\x02 \x01(\x0b\x32\x15.io.xpring.FiatAmountH\x00\x12\x13\n\x0b\x64\x65stination\x18\x03 \x01(\tB\x08\n\x06\x61mountB!\n\x0fio.xpring.protoB\x0cPaymentProtoP\x01\x62\x06proto3')
  ,
  dependencies=[fiat__amount__pb2.DESCRIPTOR,xrp__amount__pb2.DESCRIPTOR,])




_PAYMENT = _descriptor.Descriptor(
  name='Payment',
  full_name='io.xpring.Payment',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='xrp_amount', full_name='io.xpring.Payment.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='fiat_amount', full_name='io.xpring.Payment.fiat_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),
    _descriptor.FieldDescriptor(
      name='destination', full_name='io.xpring.Payment.destination', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='amount', full_name='io.xpring.Payment.amount',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=66,
  serialized_end=196,
)

_PAYMENT.fields_by_name['xrp_amount'].message_type = xrp__amount__pb2._XRPAMOUNT
_PAYMENT.fields_by_name['fiat_amount'].message_type = fiat__amount__pb2._FIATAMOUNT
_PAYMENT.oneofs_by_name['amount'].fields.append(
  _PAYMENT.fields_by_name['xrp_amount'])
_PAYMENT.fields_by_name['xrp_amount'].containing_oneof = _PAYMENT.oneofs_by_name['amount']
_PAYMENT.oneofs_by_name['amount'].fields.append(
  _PAYMENT.fields_by_name['fiat_amount'])
_PAYMENT.fields_by_name['fiat_amount'].containing_oneof = _PAYMENT.oneofs_by_name['amount']
DESCRIPTOR.message_types_by_name['Payment'] = _PAYMENT
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Payment = _reflection.GeneratedProtocolMessageType('Payment', (_message.Message,), {
  'DESCRIPTOR' : _PAYMENT,
  '__module__' : 'payment_pb2'
  # @@protoc_insertion_point(class_scope:io.xpring.Payment)
  })
_sym_db.RegisterMessage(Payment)


DESCRIPTOR._options = None
# @@protoc_insertion_point(module_scope)
