# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: tendermint/privval/types.proto
# Protobuf Python Version: 4.25.3
"""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 pyinjective.proto.tendermint.crypto import keys_pb2 as tendermint_dot_crypto_dot_keys__pb2
from pyinjective.proto.tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2
from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/privval/types.proto\x12\x12tendermint.privval\x1a\x1ctendermint/crypto/keys.proto\x1a\x1ctendermint/types/types.proto\x1a\x14gogoproto/gogo.proto\"I\n\x11RemoteSignerError\x12\x12\n\x04\x63ode\x18\x01 \x01(\x05R\x04\x63ode\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\"*\n\rPubKeyRequest\x12\x19\n\x08\x63hain_id\x18\x01 \x01(\tR\x07\x63hainId\"\x8a\x01\n\x0ePubKeyResponse\x12;\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00R\x06pubKey\x12;\n\x05\x65rror\x18\x02 \x01(\x0b\x32%.tendermint.privval.RemoteSignerErrorR\x05\x65rror\"X\n\x0fSignVoteRequest\x12*\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.VoteR\x04vote\x12\x19\n\x08\x63hain_id\x18\x02 \x01(\tR\x07\x63hainId\"\x83\x01\n\x12SignedVoteResponse\x12\x30\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.VoteB\x04\xc8\xde\x1f\x00R\x04vote\x12;\n\x05\x65rror\x18\x02 \x01(\x0b\x32%.tendermint.privval.RemoteSignerErrorR\x05\x65rror\"h\n\x13SignProposalRequest\x12\x36\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.ProposalR\x08proposal\x12\x19\n\x08\x63hain_id\x18\x02 \x01(\tR\x07\x63hainId\"\x93\x01\n\x16SignedProposalResponse\x12<\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.ProposalB\x04\xc8\xde\x1f\x00R\x08proposal\x12;\n\x05\x65rror\x18\x02 \x01(\x0b\x32%.tendermint.privval.RemoteSignerErrorR\x05\x65rror\"\r\n\x0bPingRequest\"\x0e\n\x0cPingResponse\"\xb2\x05\n\x07Message\x12K\n\x0fpub_key_request\x18\x01 \x01(\x0b\x32!.tendermint.privval.PubKeyRequestH\x00R\rpubKeyRequest\x12N\n\x10pub_key_response\x18\x02 \x01(\x0b\x32\".tendermint.privval.PubKeyResponseH\x00R\x0epubKeyResponse\x12Q\n\x11sign_vote_request\x18\x03 \x01(\x0b\x32#.tendermint.privval.SignVoteRequestH\x00R\x0fsignVoteRequest\x12Z\n\x14signed_vote_response\x18\x04 \x01(\x0b\x32&.tendermint.privval.SignedVoteResponseH\x00R\x12signedVoteResponse\x12]\n\x15sign_proposal_request\x18\x05 \x01(\x0b\x32\'.tendermint.privval.SignProposalRequestH\x00R\x13signProposalRequest\x12\x66\n\x18signed_proposal_response\x18\x06 \x01(\x0b\x32*.tendermint.privval.SignedProposalResponseH\x00R\x16signedProposalResponse\x12\x44\n\x0cping_request\x18\x07 \x01(\x0b\x32\x1f.tendermint.privval.PingRequestH\x00R\x0bpingRequest\x12G\n\rping_response\x18\x08 \x01(\x0b\x32 .tendermint.privval.PingResponseH\x00R\x0cpingResponseB\x05\n\x03sum*\xa8\x01\n\x06\x45rrors\x12\x12\n\x0e\x45RRORS_UNKNOWN\x10\x00\x12\x1e\n\x1a\x45RRORS_UNEXPECTED_RESPONSE\x10\x01\x12\x18\n\x14\x45RRORS_NO_CONNECTION\x10\x02\x12\x1d\n\x19\x45RRORS_CONNECTION_TIMEOUT\x10\x03\x12\x17\n\x13\x45RRORS_READ_TIMEOUT\x10\x04\x12\x18\n\x14\x45RRORS_WRITE_TIMEOUT\x10\x05\x42\xc4\x01\n\x16\x63om.tendermint.privvalB\nTypesProtoP\x01Z5github.com/cometbft/cometbft/proto/tendermint/privval\xa2\x02\x03TPX\xaa\x02\x12Tendermint.Privval\xca\x02\x12Tendermint\\Privval\xe2\x02\x1eTendermint\\Privval\\GPBMetadata\xea\x02\x13Tendermint::Privvalb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.privval.types_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
  _globals['DESCRIPTOR']._options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\026com.tendermint.privvalB\nTypesProtoP\001Z5github.com/cometbft/cometbft/proto/tendermint/privval\242\002\003TPX\252\002\022Tendermint.Privval\312\002\022Tendermint\\Privval\342\002\036Tendermint\\Privval\\GPBMetadata\352\002\023Tendermint::Privval'
  _globals['_PUBKEYRESPONSE'].fields_by_name['pub_key']._options = None
  _globals['_PUBKEYRESPONSE'].fields_by_name['pub_key']._serialized_options = b'\310\336\037\000'
  _globals['_SIGNEDVOTERESPONSE'].fields_by_name['vote']._options = None
  _globals['_SIGNEDVOTERESPONSE'].fields_by_name['vote']._serialized_options = b'\310\336\037\000'
  _globals['_SIGNEDPROPOSALRESPONSE'].fields_by_name['proposal']._options = None
  _globals['_SIGNEDPROPOSALRESPONSE'].fields_by_name['proposal']._serialized_options = b'\310\336\037\000'
  _globals['_ERRORS']._serialized_start=1601
  _globals['_ERRORS']._serialized_end=1769
  _globals['_REMOTESIGNERERROR']._serialized_start=136
  _globals['_REMOTESIGNERERROR']._serialized_end=209
  _globals['_PUBKEYREQUEST']._serialized_start=211
  _globals['_PUBKEYREQUEST']._serialized_end=253
  _globals['_PUBKEYRESPONSE']._serialized_start=256
  _globals['_PUBKEYRESPONSE']._serialized_end=394
  _globals['_SIGNVOTEREQUEST']._serialized_start=396
  _globals['_SIGNVOTEREQUEST']._serialized_end=484
  _globals['_SIGNEDVOTERESPONSE']._serialized_start=487
  _globals['_SIGNEDVOTERESPONSE']._serialized_end=618
  _globals['_SIGNPROPOSALREQUEST']._serialized_start=620
  _globals['_SIGNPROPOSALREQUEST']._serialized_end=724
  _globals['_SIGNEDPROPOSALRESPONSE']._serialized_start=727
  _globals['_SIGNEDPROPOSALRESPONSE']._serialized_end=874
  _globals['_PINGREQUEST']._serialized_start=876
  _globals['_PINGREQUEST']._serialized_end=889
  _globals['_PINGRESPONSE']._serialized_start=891
  _globals['_PINGRESPONSE']._serialized_end=905
  _globals['_MESSAGE']._serialized_start=908
  _globals['_MESSAGE']._serialized_end=1598
# @@protoc_insertion_point(module_scope)
