# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: tendermint/services/block/v1/block.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from tendermint.types import block_pb2 as tendermint_dot_types_dot_block__pb2
from tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(tendermint/services/block/v1/block.proto\x12\x1ctendermint.services.block.v1\x1a\x1ctendermint/types/block.proto\x1a\x1ctendermint/types/types.proto\"$\n\x12GetByHeightRequest\x12\x0e\n\x06height\x18\x01 \x01(\x03\"j\n\x13GetByHeightResponse\x12+\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockID\x12&\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x17.tendermint.types.Block\"\x12\n\x10GetLatestRequest\"h\n\x11GetLatestResponse\x12+\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockID\x12&\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x17.tendermint.types.Block\"\x18\n\x16GetLatestHeightRequest\")\n\x17GetLatestHeightResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\x42\x41Z?github.com/cometbft/cometbft/proto/tendermint/services/block/v1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.block.v1.block_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'Z?github.com/cometbft/cometbft/proto/tendermint/services/block/v1'
  _globals['_GETBYHEIGHTREQUEST']._serialized_start=134
  _globals['_GETBYHEIGHTREQUEST']._serialized_end=170
  _globals['_GETBYHEIGHTRESPONSE']._serialized_start=172
  _globals['_GETBYHEIGHTRESPONSE']._serialized_end=278
  _globals['_GETLATESTREQUEST']._serialized_start=280
  _globals['_GETLATESTREQUEST']._serialized_end=298
  _globals['_GETLATESTRESPONSE']._serialized_start=300
  _globals['_GETLATESTRESPONSE']._serialized_end=404
  _globals['_GETLATESTHEIGHTREQUEST']._serialized_start=406
  _globals['_GETLATESTHEIGHTREQUEST']._serialized_end=430
  _globals['_GETLATESTHEIGHTRESPONSE']._serialized_start=432
  _globals['_GETLATESTHEIGHTRESPONSE']._serialized_end=473
# @@protoc_insertion_point(module_scope)
