title: Java: protobuf from string
body: <p>I'm using proto3 with grpc, and I'm looking at a more efficient way of creating a protobuf message without using a builder and populating it.</p>
  
  <p>If I have a string (from Message.toString()), can I recreate the message with the string?</p>
  
  <p>If I have a message type</p>
  
  <pre><code>message TestMessage {
      bool status = 1;
      uint64 created = 2;
      TestNested submessage = 3;
  
  
      message TestNested {
          int32 messageNumber = 1;
          Entry entry = 2;
      }
  
      message Entry {
          int32 id = 1;
          EntryType entryType = 2;
      }
  
      enum EntryType {
          DEFAULT_ENTRY = 0;
          OTHER_ENTRY = 1;
      }
  }
  </code></pre>
  
  <p>and the below output:</p>
  
  <pre><code>status: true
  created: 1534240073415
  submessage {
    messageNumber: 3
    entry{
      id: 47957
      entryType: DEFAULT_ENTRY
    }
  }
  </code></pre>
  
  <p>How can I create the TestMessage? I've looked at the JavaDoc to see if there's a <code>parseFrom()</code> method that takes in a string, but I'm not winning.</p>