# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: exchange/event_provider_api.proto
"""Generated protocol buffer code."""
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()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='exchange/event_provider_api.proto',
  package='event_provider_api',
  syntax='proto3',
  serialized_options=b'Z\025/event_provider_apipb',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n!exchange/event_provider_api.proto\x12\x12\x65vent_provider_api\"\x18\n\x16GetLatestHeightRequest\"i\n\x17GetLatestHeightResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x33\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32%.event_provider_api.LatestBlockHeight\"#\n\x11LatestBlockHeight\x12\x0e\n\x06height\x18\x01 \x01(\x04\";\n\x18GetBlockEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\"h\n\x19GetBlockEventsRPCResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC\"/\n\x0e\x42lockEventsRPC\x12\r\n\x05types\x18\x01 \x03(\t\x12\x0e\n\x06\x65vents\x18\x02 \x03(\x0c\"L\n\x19GetCustomEventsRPCRequest\x12\x0f\n\x07\x62\x61\x63kend\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x11\x12\x0e\n\x06\x65vents\x18\x03 \x01(\t\"i\n\x1aGetCustomEventsRPCResponse\x12\t\n\x01s\x18\x01 \x01(\t\x12\x0e\n\x06\x65rrmsg\x18\x02 \x01(\t\x12\x30\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\".event_provider_api.BlockEventsRPC2\xe5\x02\n\x10\x45ventProviderAPI\x12j\n\x0fGetLatestHeight\x12*.event_provider_api.GetLatestHeightRequest\x1a+.event_provider_api.GetLatestHeightResponse\x12p\n\x11GetBlockEventsRPC\x12,.event_provider_api.GetBlockEventsRPCRequest\x1a-.event_provider_api.GetBlockEventsRPCResponse\x12s\n\x12GetCustomEventsRPC\x12-.event_provider_api.GetCustomEventsRPCRequest\x1a..event_provider_api.GetCustomEventsRPCResponseB\x17Z\x15/event_provider_apipbb\x06proto3'
)




_GETLATESTHEIGHTREQUEST = _descriptor.Descriptor(
  name='GetLatestHeightRequest',
  full_name='event_provider_api.GetLatestHeightRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=57,
  serialized_end=81,
)


_GETLATESTHEIGHTRESPONSE = _descriptor.Descriptor(
  name='GetLatestHeightResponse',
  full_name='event_provider_api.GetLatestHeightResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='s', full_name='event_provider_api.GetLatestHeightResponse.s', 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='errmsg', full_name='event_provider_api.GetLatestHeightResponse.errmsg', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='data', full_name='event_provider_api.GetLatestHeightResponse.data', 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=83,
  serialized_end=188,
)


_LATESTBLOCKHEIGHT = _descriptor.Descriptor(
  name='LatestBlockHeight',
  full_name='event_provider_api.LatestBlockHeight',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='height', full_name='event_provider_api.LatestBlockHeight.height', 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=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=190,
  serialized_end=225,
)


_GETBLOCKEVENTSRPCREQUEST = _descriptor.Descriptor(
  name='GetBlockEventsRPCRequest',
  full_name='event_provider_api.GetBlockEventsRPCRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='backend', full_name='event_provider_api.GetBlockEventsRPCRequest.backend', 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='height', full_name='event_provider_api.GetBlockEventsRPCRequest.height', index=1,
      number=2, type=17, cpp_type=1, 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=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=227,
  serialized_end=286,
)


_GETBLOCKEVENTSRPCRESPONSE = _descriptor.Descriptor(
  name='GetBlockEventsRPCResponse',
  full_name='event_provider_api.GetBlockEventsRPCResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='s', full_name='event_provider_api.GetBlockEventsRPCResponse.s', 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='errmsg', full_name='event_provider_api.GetBlockEventsRPCResponse.errmsg', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='data', full_name='event_provider_api.GetBlockEventsRPCResponse.data', 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=288,
  serialized_end=392,
)


_BLOCKEVENTSRPC = _descriptor.Descriptor(
  name='BlockEventsRPC',
  full_name='event_provider_api.BlockEventsRPC',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='types', full_name='event_provider_api.BlockEventsRPC.types', index=0,
      number=1, 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='events', full_name='event_provider_api.BlockEventsRPC.events', index=1,
      number=2, type=12, 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=394,
  serialized_end=441,
)


_GETCUSTOMEVENTSRPCREQUEST = _descriptor.Descriptor(
  name='GetCustomEventsRPCRequest',
  full_name='event_provider_api.GetCustomEventsRPCRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='backend', full_name='event_provider_api.GetCustomEventsRPCRequest.backend', 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='height', full_name='event_provider_api.GetCustomEventsRPCRequest.height', index=1,
      number=2, type=17, cpp_type=1, 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='events', full_name='event_provider_api.GetCustomEventsRPCRequest.events', 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=443,
  serialized_end=519,
)


_GETCUSTOMEVENTSRPCRESPONSE = _descriptor.Descriptor(
  name='GetCustomEventsRPCResponse',
  full_name='event_provider_api.GetCustomEventsRPCResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='s', full_name='event_provider_api.GetCustomEventsRPCResponse.s', 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='errmsg', full_name='event_provider_api.GetCustomEventsRPCResponse.errmsg', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='data', full_name='event_provider_api.GetCustomEventsRPCResponse.data', 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=521,
  serialized_end=626,
)

_GETLATESTHEIGHTRESPONSE.fields_by_name['data'].message_type = _LATESTBLOCKHEIGHT
_GETBLOCKEVENTSRPCRESPONSE.fields_by_name['data'].message_type = _BLOCKEVENTSRPC
_GETCUSTOMEVENTSRPCRESPONSE.fields_by_name['data'].message_type = _BLOCKEVENTSRPC
DESCRIPTOR.message_types_by_name['GetLatestHeightRequest'] = _GETLATESTHEIGHTREQUEST
DESCRIPTOR.message_types_by_name['GetLatestHeightResponse'] = _GETLATESTHEIGHTRESPONSE
DESCRIPTOR.message_types_by_name['LatestBlockHeight'] = _LATESTBLOCKHEIGHT
DESCRIPTOR.message_types_by_name['GetBlockEventsRPCRequest'] = _GETBLOCKEVENTSRPCREQUEST
DESCRIPTOR.message_types_by_name['GetBlockEventsRPCResponse'] = _GETBLOCKEVENTSRPCRESPONSE
DESCRIPTOR.message_types_by_name['BlockEventsRPC'] = _BLOCKEVENTSRPC
DESCRIPTOR.message_types_by_name['GetCustomEventsRPCRequest'] = _GETCUSTOMEVENTSRPCREQUEST
DESCRIPTOR.message_types_by_name['GetCustomEventsRPCResponse'] = _GETCUSTOMEVENTSRPCRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

GetLatestHeightRequest = _reflection.GeneratedProtocolMessageType('GetLatestHeightRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETLATESTHEIGHTREQUEST,
  '__module__' : 'exchange.event_provider_api_pb2'
  # @@protoc_insertion_point(class_scope:event_provider_api.GetLatestHeightRequest)
  })
_sym_db.RegisterMessage(GetLatestHeightRequest)

GetLatestHeightResponse = _reflection.GeneratedProtocolMessageType('GetLatestHeightResponse', (_message.Message,), {
  'DESCRIPTOR' : _GETLATESTHEIGHTRESPONSE,
  '__module__' : 'exchange.event_provider_api_pb2'
  # @@protoc_insertion_point(class_scope:event_provider_api.GetLatestHeightResponse)
  })
_sym_db.RegisterMessage(GetLatestHeightResponse)

LatestBlockHeight = _reflection.GeneratedProtocolMessageType('LatestBlockHeight', (_message.Message,), {
  'DESCRIPTOR' : _LATESTBLOCKHEIGHT,
  '__module__' : 'exchange.event_provider_api_pb2'
  # @@protoc_insertion_point(class_scope:event_provider_api.LatestBlockHeight)
  })
_sym_db.RegisterMessage(LatestBlockHeight)

GetBlockEventsRPCRequest = _reflection.GeneratedProtocolMessageType('GetBlockEventsRPCRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETBLOCKEVENTSRPCREQUEST,
  '__module__' : 'exchange.event_provider_api_pb2'
  # @@protoc_insertion_point(class_scope:event_provider_api.GetBlockEventsRPCRequest)
  })
_sym_db.RegisterMessage(GetBlockEventsRPCRequest)

GetBlockEventsRPCResponse = _reflection.GeneratedProtocolMessageType('GetBlockEventsRPCResponse', (_message.Message,), {
  'DESCRIPTOR' : _GETBLOCKEVENTSRPCRESPONSE,
  '__module__' : 'exchange.event_provider_api_pb2'
  # @@protoc_insertion_point(class_scope:event_provider_api.GetBlockEventsRPCResponse)
  })
_sym_db.RegisterMessage(GetBlockEventsRPCResponse)

BlockEventsRPC = _reflection.GeneratedProtocolMessageType('BlockEventsRPC', (_message.Message,), {
  'DESCRIPTOR' : _BLOCKEVENTSRPC,
  '__module__' : 'exchange.event_provider_api_pb2'
  # @@protoc_insertion_point(class_scope:event_provider_api.BlockEventsRPC)
  })
_sym_db.RegisterMessage(BlockEventsRPC)

GetCustomEventsRPCRequest = _reflection.GeneratedProtocolMessageType('GetCustomEventsRPCRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETCUSTOMEVENTSRPCREQUEST,
  '__module__' : 'exchange.event_provider_api_pb2'
  # @@protoc_insertion_point(class_scope:event_provider_api.GetCustomEventsRPCRequest)
  })
_sym_db.RegisterMessage(GetCustomEventsRPCRequest)

GetCustomEventsRPCResponse = _reflection.GeneratedProtocolMessageType('GetCustomEventsRPCResponse', (_message.Message,), {
  'DESCRIPTOR' : _GETCUSTOMEVENTSRPCRESPONSE,
  '__module__' : 'exchange.event_provider_api_pb2'
  # @@protoc_insertion_point(class_scope:event_provider_api.GetCustomEventsRPCResponse)
  })
_sym_db.RegisterMessage(GetCustomEventsRPCResponse)


DESCRIPTOR._options = None

_EVENTPROVIDERAPI = _descriptor.ServiceDescriptor(
  name='EventProviderAPI',
  full_name='event_provider_api.EventProviderAPI',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=629,
  serialized_end=986,
  methods=[
  _descriptor.MethodDescriptor(
    name='GetLatestHeight',
    full_name='event_provider_api.EventProviderAPI.GetLatestHeight',
    index=0,
    containing_service=None,
    input_type=_GETLATESTHEIGHTREQUEST,
    output_type=_GETLATESTHEIGHTRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='GetBlockEventsRPC',
    full_name='event_provider_api.EventProviderAPI.GetBlockEventsRPC',
    index=1,
    containing_service=None,
    input_type=_GETBLOCKEVENTSRPCREQUEST,
    output_type=_GETBLOCKEVENTSRPCRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='GetCustomEventsRPC',
    full_name='event_provider_api.EventProviderAPI.GetCustomEventsRPC',
    index=2,
    containing_service=None,
    input_type=_GETCUSTOMEVENTSRPCREQUEST,
    output_type=_GETCUSTOMEVENTSRPCRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_EVENTPROVIDERAPI)

DESCRIPTOR.services_by_name['EventProviderAPI'] = _EVENTPROVIDERAPI

# @@protoc_insertion_point(module_scope)
