# Automatically generated by pb2py # fmt: off import protobuf as p if __debug__: try: from typing import Dict, List, Optional # noqa: F401 from typing_extensions import Literal # noqa: F401 except ImportError: pass class CardanoBlockchainPointerType(p.MessageType): def __init__( self, *, block_index: int, tx_index: int, certificate_index: int, ) -> None: self.block_index = block_index self.tx_index = tx_index self.certificate_index = certificate_index @classmethod def get_fields(cls) -> Dict: return { 1: ('block_index', p.UVarintType, p.FLAG_REQUIRED), 2: ('tx_index', p.UVarintType, p.FLAG_REQUIRED), 3: ('certificate_index', p.UVarintType, p.FLAG_REQUIRED), }