title: google protocol buffers pretty print
body: <p>For logging purposes I need to write the content of a google protocol buffer message to the log output (java).
  Haven't found a way to do this yet.</p>
  
  <p>I found TextFormat but TextFormat expects an instance of MessageOrBuilder. The Message I currently need to print out doesn't extend MessageOrBuilder, it extends GeneratedMessageLite and implements MessageLiteOrBuilder.</p>
  
  <p>Any idea how I can get a pretty or at least human readable string representation out of this message?</p>