Hi,
I am building an application using Sitewhere in which the message exchange
between device and the server is done using Protocol Buffer format. The
server sends a command to the device after converting the message in this
format, but at the device end when the bytes array is converted to
Hi,
I'm completely new to using protocol buffers and there are some things that
aren't very clear. I may be missing something very simple but the
documentation says the simple services are being deprecated so you have to
turn them on using option cc_generic_services = false;. What is the
Hi Rob,
Is there any way to get more information about the objects it says have
leaked?
I'm surprised that your tool is showing objects being freed on exit that
aren't freed by deleting outp and calling
google::protobuf::ShutdownProtobufLibrary(). I don't think the protobuf
library installs
Hi Tim,
I think your analysis is correct. The answer to your question is that it's
not possible to transcode Any from JSON <-> protobuf unless you have the
schema. That is one of the reasons why the type URL exists as a way to
fetch schemas for types you otherwise wouldn't know about.
I'm
I’m trying to implement Any, including proper JSON and protobuf encoding,
and the following scenario has me stumped:
>
I’m looking at the any.proto file, which includes this example:
>
Sample proto file:
// package google.profile;
// message Person {
// string first_name = 1;