252 const google::protobuf::Descriptor *desc =
253 google::protobuf::DescriptorPool::generated_pool()
254 ->FindMessageTypeByName(_type);
260 msgPtr.
reset(google::protobuf::MessageFactory::generated_factory()
261 ->GetPrototype(desc)->New());
266 msgPtr = gz::msgs::Factory::New(_type);
273 if (!msgPtr->ParseFromString(_data))