raft: protobuf messageType

#1127 

as a result, `MsgXXX` is exposed as public constant.
can you fix the alignment?