Added a method to parse google protocol buffer.