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


DESCRIPTOR = _descriptor.FileDescriptor(
  name='org/xrpl/rpc/v1/get_ledger_entry.proto',
  package='org.xrpl.rpc.v1',
  syntax='proto3',
  serialized_options=b'\n\017org.xrpl.rpc.v1P\001',
  serialized_pb=b'\n&org/xrpl/rpc/v1/get_ledger_entry.proto\x12\x0forg.xrpl.rpc.v1\x1a\x1corg/xrpl/rpc/v1/ledger.proto\"i\n\x15GetLedgerEntryRequest\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\x30\n\x06ledger\x18\x02 \x01(\x0b\x32 .org.xrpl.rpc.v1.LedgerSpecifier\x12\x11\n\tclient_ip\x18\x03 \x01(\t\"\x83\x01\n\x16GetLedgerEntryResponse\x12\x37\n\rledger_object\x18\x01 \x01(\x0b\x32 .org.xrpl.rpc.v1.RawLedgerObject\x12\x30\n\x06ledger\x18\x02 \x01(\x0b\x32 .org.xrpl.rpc.v1.LedgerSpecifierB\x13\n\x0forg.xrpl.rpc.v1P\x01\x62\x06proto3'
  ,
  dependencies=[org_dot_xrpl_dot_rpc_dot_v1_dot_ledger__pb2.DESCRIPTOR,])




_GETLEDGERENTRYREQUEST = _descriptor.Descriptor(
  name='GetLedgerEntryRequest',
  full_name='org.xrpl.rpc.v1.GetLedgerEntryRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='org.xrpl.rpc.v1.GetLedgerEntryRequest.key', index=0,
      number=1, 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),
    _descriptor.FieldDescriptor(
      name='ledger', full_name='org.xrpl.rpc.v1.GetLedgerEntryRequest.ledger', 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='client_ip', full_name='org.xrpl.rpc.v1.GetLedgerEntryRequest.client_ip', 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=[
  ],
  serialized_start=89,
  serialized_end=194,
)


_GETLEDGERENTRYRESPONSE = _descriptor.Descriptor(
  name='GetLedgerEntryResponse',
  full_name='org.xrpl.rpc.v1.GetLedgerEntryResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='ledger_object', full_name='org.xrpl.rpc.v1.GetLedgerEntryResponse.ledger_object', 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='ledger', full_name='org.xrpl.rpc.v1.GetLedgerEntryResponse.ledger', 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=[
  ],
  serialized_start=197,
  serialized_end=328,
)

_GETLEDGERENTRYREQUEST.fields_by_name['ledger'].message_type = org_dot_xrpl_dot_rpc_dot_v1_dot_ledger__pb2._LEDGERSPECIFIER
_GETLEDGERENTRYRESPONSE.fields_by_name['ledger_object'].message_type = org_dot_xrpl_dot_rpc_dot_v1_dot_ledger__pb2._RAWLEDGEROBJECT
_GETLEDGERENTRYRESPONSE.fields_by_name['ledger'].message_type = org_dot_xrpl_dot_rpc_dot_v1_dot_ledger__pb2._LEDGERSPECIFIER
DESCRIPTOR.message_types_by_name['GetLedgerEntryRequest'] = _GETLEDGERENTRYREQUEST
DESCRIPTOR.message_types_by_name['GetLedgerEntryResponse'] = _GETLEDGERENTRYRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

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

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


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