I'm trying to build service return message using Descriptors.ServiceDescriptor. This does not work: serviceDescriptor.findMethodByName ( methodName ).getOutputType.toProto.newBuilderForType.mergeFrom ( msg ).build "msg" is byte array It builds DesscriptorProtos.DescriptorProto instead of Message.
Is there a way to build message from byte array using method descriptor? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to proto...@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.