ProtocolBuffer handler.