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


DESCRIPTOR = _descriptor.FileDescriptor(
  name='transaction.proto',
  package='io.xpring',
  syntax='proto3',
  serialized_options=_b('\n\017io.xpring.protoB\020TransactionProtoP\001'),
  serialized_pb=_b('\n\x11transaction.proto\x12\tio.xpring\x1a\rpayment.proto\x1a\x10xrp_amount.proto\"\xcc\x01\n\x0bTransaction\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12!\n\x03\x66\x65\x65\x18\x02 \x01(\x0b\x32\x14.io.xpring.XRPAmount\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12%\n\x07payment\x18\x04 \x01(\x0b\x32\x12.io.xpring.PaymentH\x00\x12\x1e\n\x16signing_public_key_hex\x18\x05 \x01(\t\x12\x1c\n\x14last_ledger_sequence\x18\x06 \x01(\rB\x12\n\x10transaction_dataB%\n\x0fio.xpring.protoB\x10TransactionProtoP\x01\x62\x06proto3')
  ,
  dependencies=[payment__pb2.DESCRIPTOR,xrp__amount__pb2.DESCRIPTOR,])




_TRANSACTION = _descriptor.Descriptor(
  name='Transaction',
  full_name='io.xpring.Transaction',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='account', full_name='io.xpring.Transaction.account', 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='fee', full_name='io.xpring.Transaction.fee', 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='sequence', full_name='io.xpring.Transaction.sequence', index=2,
      number=3, 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='payment', full_name='io.xpring.Transaction.payment', 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),
    _descriptor.FieldDescriptor(
      name='signing_public_key_hex', full_name='io.xpring.Transaction.signing_public_key_hex', 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),
    _descriptor.FieldDescriptor(
      name='last_ledger_sequence', full_name='io.xpring.Transaction.last_ledger_sequence', index=5,
      number=6, type=13, cpp_type=3, 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=[
    _descriptor.OneofDescriptor(
      name='transaction_data', full_name='io.xpring.Transaction.transaction_data',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=66,
  serialized_end=270,
)

_TRANSACTION.fields_by_name['fee'].message_type = xrp__amount__pb2._XRPAMOUNT
_TRANSACTION.fields_by_name['payment'].message_type = payment__pb2._PAYMENT
_TRANSACTION.oneofs_by_name['transaction_data'].fields.append(
  _TRANSACTION.fields_by_name['payment'])
_TRANSACTION.fields_by_name['payment'].containing_oneof = _TRANSACTION.oneofs_by_name['transaction_data']
DESCRIPTOR.message_types_by_name['Transaction'] = _TRANSACTION
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Transaction = _reflection.GeneratedProtocolMessageType('Transaction', (_message.Message,), {
  'DESCRIPTOR' : _TRANSACTION,
  '__module__' : 'transaction_pb2'
  # @@protoc_insertion_point(class_scope:io.xpring.Transaction)
  })
_sym_db.RegisterMessage(Transaction)


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