"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 0, '', 'tendermint/types/canonical.proto')
_sym_db = _symbol_database.Default()
from ...gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2
from ...tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/canonical.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto"i\n\x10CanonicalBlockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12G\n\x0fpart_set_header\x18\x02 \x01(\x0b2(.tendermint.types.CanonicalPartSetHeaderB\x04\xc8\xde\x1f\x00"5\n\x16CanonicalPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c"\x9d\x02\n\x11CanonicalProposal\x12-\n\x04type\x18\x01 \x01(\x0e2\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x1f\n\tpol_round\x18\x04 \x01(\x03B\x0c\xe2\xde\x1f\x08POLRound\x12A\n\x08block_id\x18\x05 \x01(\x0b2".tendermint.types.CanonicalBlockIDB\x0b\xe2\xde\x1f\x07BlockID\x127\n\ttimestamp\x18\x06 \x01(\x0b2\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1d\n\x08chain_id\x18\x07 \x01(\tB\x0b\xe2\xde\x1f\x07ChainID"\xf8\x01\n\rCanonicalVote\x12-\n\x04type\x18\x01 \x01(\x0e2\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12A\n\x08block_id\x18\x04 \x01(\x0b2".tendermint.types.CanonicalBlockIDB\x0b\xe2\xde\x1f\x07BlockID\x127\n\ttimestamp\x18\x05 \x01(\x0b2\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1d\n\x08chain_id\x18\x06 \x01(\tB\x0b\xe2\xde\x1f\x07ChainIDB5Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.types.canonical_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
    _globals['DESCRIPTOR']._loaded_options = None
    _globals['DESCRIPTOR']._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types'
    _globals['_CANONICALBLOCKID'].fields_by_name['part_set_header']._loaded_options = None
    _globals['_CANONICALBLOCKID'].fields_by_name['part_set_header']._serialized_options = b'\xc8\xde\x1f\x00'
    _globals['_CANONICALPROPOSAL'].fields_by_name['pol_round']._loaded_options = None
    _globals['_CANONICALPROPOSAL'].fields_by_name['pol_round']._serialized_options = b'\xe2\xde\x1f\x08POLRound'
    _globals['_CANONICALPROPOSAL'].fields_by_name['block_id']._loaded_options = None
    _globals['_CANONICALPROPOSAL'].fields_by_name['block_id']._serialized_options = b'\xe2\xde\x1f\x07BlockID'
    _globals['_CANONICALPROPOSAL'].fields_by_name['timestamp']._loaded_options = None
    _globals['_CANONICALPROPOSAL'].fields_by_name['timestamp']._serialized_options = b'\xc8\xde\x1f\x00\x90\xdf\x1f\x01'
    _globals['_CANONICALPROPOSAL'].fields_by_name['chain_id']._loaded_options = None
    _globals['_CANONICALPROPOSAL'].fields_by_name['chain_id']._serialized_options = b'\xe2\xde\x1f\x07ChainID'
    _globals['_CANONICALVOTE'].fields_by_name['block_id']._loaded_options = None
    _globals['_CANONICALVOTE'].fields_by_name['block_id']._serialized_options = b'\xe2\xde\x1f\x07BlockID'
    _globals['_CANONICALVOTE'].fields_by_name['timestamp']._loaded_options = None
    _globals['_CANONICALVOTE'].fields_by_name['timestamp']._serialized_options = b'\xc8\xde\x1f\x00\x90\xdf\x1f\x01'
    _globals['_CANONICALVOTE'].fields_by_name['chain_id']._loaded_options = None
    _globals['_CANONICALVOTE'].fields_by_name['chain_id']._serialized_options = b'\xe2\xde\x1f\x07ChainID'
    _globals['_CANONICALBLOCKID']._serialized_start = 139
    _globals['_CANONICALBLOCKID']._serialized_end = 244
    _globals['_CANONICALPARTSETHEADER']._serialized_start = 246
    _globals['_CANONICALPARTSETHEADER']._serialized_end = 299
    _globals['_CANONICALPROPOSAL']._serialized_start = 302
    _globals['_CANONICALPROPOSAL']._serialized_end = 587
    _globals['_CANONICALVOTE']._serialized_start = 590
    _globals['_CANONICALVOTE']._serialized_end = 838