[protobuf] No headers included in the cmake-generate project

2017-05-26 Thread Dennis Cappendijk
Hi, I was wondering whether there was a specific reason not to generate all headers into the cmake projects. It's terribly clumsy to use IDE search/replace/refactor functionality if the headers are missing from the generated project. Thanks in advance :) -- You received this message because

Re: [protobuf] Merging / extending 2 different Message types

2017-05-26 Thread 'Adam Cozzette' via Protocol Buffers
I think the typical way to do this would be to just store CommonParams as a submessage in each of your request types. The one problem is that this means the fields would not be at the top-level of the JSON as you wanted to have. So I think you have to choose to either go with this approach and

Re: [protobuf] Re: protoc escape colon in options

2017-05-26 Thread David Konsumer
This is the same conclusion I came to. Urlencoding works great. Thanks! -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [protobuf] Re: protoc escape colon in options

2017-05-26 Thread 'Adam Cozzette' via Protocol Buffers
I don't think there is any built-in escaping mechanism, so I think you would just have to escape the colon yourself in this case. On Wed, May 17, 2017 at 12:35 PM, David Konsumer wrote: > I guess I can just encodeURI it or something, but I hoped there might be a >

Re: [protobuf] No headers included in the cmake-generate project

2017-05-26 Thread 'Adam Cozzette' via Protocol Buffers
I'm not very familiar with CMake and so I'm not exactly sure what you're asking, but if this is easy to change then do you want to just send us a pull request? On Fri, May 26, 2017 at 7:01 AM, Dennis Cappendijk < dennis.cappend...@gmail.com> wrote: > Hi, > > I was wondering whether there was a

Re: [protobuf] Maven convert xsd to .proto

2017-05-26 Thread 'Adam Cozzette' via Protocol Buffers
There is a project called xsd2thrift that is supposed to be able to convert XSD files to Thrift and protocol buffer schemas: http://tranchis.github.io/xsd2thrift/ I have not tried it, but it might be worth looking into. On Fri, May 26, 2017 at 2:56 AM, Kumar Rangasamy wrote:

[protobuf] marshaling Any that contains a dynamic message to JSON

2017-05-26 Thread 'Herbie Ong' via Protocol Buffers
The doc for JSON mapping of Any states """ If the Any contains a value that has a special JSON mapping, it will be converted as follows: {"@type": xxx, "value": yyy}. Otherwise, the value will be converted into a JSON object, and the "@type" field will be inserted to indicate the actual data

[protobuf] Re: How to compile protoBuf on HP-UX

2017-05-26 Thread Abhay Singh
Hi Prashant Did you get any information regarding compiling protobuf lib on HP-UX, if there any luck with the compilation, could you please share it across. I am also trying to compile this for HP-UX IA64. Regards, Abhay On Friday, July 4, 2014 at 12:40:21 PM UTC+5:30, Prashant Singh wrote: > >

[protobuf] Maven convert xsd to .proto

2017-05-26 Thread Kumar Rangasamy
Is there a way to convert xsd file to .proto file ? We are trying to have one schema to support multiple format (xml, .proto ... etc) in our Rest services. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group