@@ -23,6 +23,16 @@ pub struct QbftMsg {
2323 #[ prost( bytes = "bytes" , tag = "12" ) ]
2424 pub prepared_value_hash : :: prost:: bytes:: Bytes ,
2525}
26+ impl :: prost:: Name for QbftMsg {
27+ const NAME : & ' static str = "QBFTMsg" ;
28+ const PACKAGE : & ' static str = "consensus" ;
29+ fn full_name ( ) -> :: prost:: alloc:: string:: String {
30+ "consensus.QBFTMsg" . into ( )
31+ }
32+ fn type_url ( ) -> :: prost:: alloc:: string:: String {
33+ "type.googleapis.com/consensus.QBFTMsg" . into ( )
34+ }
35+ }
2636#[ derive( Clone , PartialEq , :: prost:: Message ) ]
2737pub struct QbftConsensusMsg {
2838 /// msg is the message that we send
@@ -35,6 +45,16 @@ pub struct QbftConsensusMsg {
3545 #[ prost( message, repeated, tag = "3" ) ]
3646 pub values : :: prost:: alloc:: vec:: Vec < :: prost_types:: Any > ,
3747}
48+ impl :: prost:: Name for QbftConsensusMsg {
49+ const NAME : & ' static str = "QBFTConsensusMsg" ;
50+ const PACKAGE : & ' static str = "consensus" ;
51+ fn full_name ( ) -> :: prost:: alloc:: string:: String {
52+ "consensus.QBFTConsensusMsg" . into ( )
53+ }
54+ fn type_url ( ) -> :: prost:: alloc:: string:: String {
55+ "type.googleapis.com/consensus.QBFTConsensusMsg" . into ( )
56+ }
57+ }
3858#[ derive( Clone , PartialEq , :: prost:: Message ) ]
3959pub struct SniffedConsensusMsg {
4060 #[ prost( message, optional, tag = "1" ) ]
@@ -43,6 +63,16 @@ pub struct SniffedConsensusMsg {
4363 #[ prost( message, optional, tag = "2" ) ]
4464 pub msg : :: core:: option:: Option < QbftConsensusMsg > ,
4565}
66+ impl :: prost:: Name for SniffedConsensusMsg {
67+ const NAME : & ' static str = "SniffedConsensusMsg" ;
68+ const PACKAGE : & ' static str = "consensus" ;
69+ fn full_name ( ) -> :: prost:: alloc:: string:: String {
70+ "consensus.SniffedConsensusMsg" . into ( )
71+ }
72+ fn type_url ( ) -> :: prost:: alloc:: string:: String {
73+ "type.googleapis.com/consensus.SniffedConsensusMsg" . into ( )
74+ }
75+ }
4676#[ derive( Clone , PartialEq , :: prost:: Message ) ]
4777pub struct SniffedConsensusInstance {
4878 #[ prost( message, optional, tag = "1" ) ]
@@ -56,10 +86,30 @@ pub struct SniffedConsensusInstance {
5686 #[ prost( string, tag = "5" ) ]
5787 pub protocol_id : :: prost:: alloc:: string:: String ,
5888}
89+ impl :: prost:: Name for SniffedConsensusInstance {
90+ const NAME : & ' static str = "SniffedConsensusInstance" ;
91+ const PACKAGE : & ' static str = "consensus" ;
92+ fn full_name ( ) -> :: prost:: alloc:: string:: String {
93+ "consensus.SniffedConsensusInstance" . into ( )
94+ }
95+ fn type_url ( ) -> :: prost:: alloc:: string:: String {
96+ "type.googleapis.com/consensus.SniffedConsensusInstance" . into ( )
97+ }
98+ }
5999#[ derive( Clone , PartialEq , :: prost:: Message ) ]
60100pub struct SniffedConsensusInstances {
61101 #[ prost( message, repeated, tag = "1" ) ]
62102 pub instances : :: prost:: alloc:: vec:: Vec < SniffedConsensusInstance > ,
63103 #[ prost( string, tag = "2" ) ]
64104 pub git_hash : :: prost:: alloc:: string:: String ,
105+ }
106+ impl :: prost:: Name for SniffedConsensusInstances {
107+ const NAME : & ' static str = "SniffedConsensusInstances" ;
108+ const PACKAGE : & ' static str = "consensus" ;
109+ fn full_name ( ) -> :: prost:: alloc:: string:: String {
110+ "consensus.SniffedConsensusInstances" . into ( )
111+ }
112+ fn type_url ( ) -> :: prost:: alloc:: string:: String {
113+ "type.googleapis.com/consensus.SniffedConsensusInstances" . into ( )
114+ }
65115}
0 commit comments