title: How to get protobuf for Java Object by given message type name and raw bytes?
body: <p>I have message type name in string and raw bytes. how to create java object by these meterials?
  b.proto</p>
  
  <pre><code>pakage foo;
  message Bar {
   required int32 id = 1;
   required string name = 2;
  }
  </code></pre>
  
  <p>TestMain.java</p>
  
  <pre><code>foo.Bar bar = foo.Bar.newBuilder()
  .setId(1).setName("foobar").build();
  byte[] rawbytes = bar.toByteArray();
  String typeName = bar.getDescriptorForType().getFullName();
  
  foo.Bar b = (foo.Bar) howTo(rawbyte, typeName);
  </code></pre>