[protobuf] Help needed in converting string representation of protobuf to JSON/XML

2019-09-30 Thread Kousalya Mathiyazhagun
Hi Team, I am getting a gNMI subscribe response in str representation of protobuf. I want to create a entity with this data based on YDK models. Could you please help me in converting below data to pure JSON removing all update/elem/path hierarchy. *Sample data:* update { timestamp:

Re: [protobuf] Help Requested: error C3646: 'noexcept' unknown override specifer

2019-09-10 Thread Dan Morin
Not that I'm aware of. Running cl.exe in the VS command prompt shows 'C/C++ Optimizing Compiler Version 19.12.25830.2 for x86' On Tue, Sep 10, 2019 at 4:38 PM Adam Cozzette wrote: > Is there anything that could be preventing your build from using C++11 (or > higher)? > > On Tue, Sep 10, 2019 at

Re: [protobuf] Help Requested: error C3646: 'noexcept' unknown override specifer

2019-09-10 Thread 'Adam Cozzette' via Protocol Buffers
Is there anything that could be preventing your build from using C++11 (or higher)? On Tue, Sep 10, 2019 at 1:31 PM Dan Morin wrote: > Hello, > > I'm attempting to install Protobuffers Version 3.6.1 on a windows 7 > machine. I've reached the 'nmake' step after the multiline cmake command, > and

[protobuf] Help Requested: error C3646: 'noexcept' unknown override specifer

2019-09-10 Thread Dan Morin
Hello, I'm attempting to install Protobuffers Version 3.6.1 on a windows 7 machine. I've reached the 'nmake' step after the multiline cmake command, and am using the command prompt from Visual Studio 2017 Compiling quickly terminates with many errors saying "error C3646: 'noexcept' : unknown

Re: [protobuf] Help Needed !! How to get proper hex value of serialized stream

2019-09-06 Thread Arun
Thanks Nadav. It worked for conversion of byte. But, my actual problem seems like different and I was at wrong place in debugging., I have posted the actual issue here ., https://groups.google.com/d/msg/protobuf/kvS7WyNATTw/etbZM3R5AAAJ . It will really helpful if you can look into it On Thu,

[protobuf] Help Needed !! How to get proper hex value of serialized stream

2019-09-05 Thread arun kumar
I am trying to serialize the data using C# Google protobuf, and I am using below code , private static void printStream(IMessage msg) { int size = msg.CalculateSize(); byte[] buffer = new byte[size]; CodedOutputStream output = new

[protobuf] Help needed !!! Proto2 and websocket API

2019-08-29 Thread Gabriel Mercier
Hi everyone, I would like to hire someone as a freelancer for a simple task: There is a WEBSOCKET API that speaks with PROTOBUF messages, and I need to communicate with it from PYTHON. (You will have the API documentation) Sounds easy for someone used to protocol buffers, but sounds like

[protobuf] Help try out Protocol Buffers 2.6.1rc1

2014-10-09 Thread Feng Xiao
Hi all, I just tagged v2.6.1rc1 and uploaded release packages here: https://github.com/google/protobuf/releases/tag/v2.6.1rc1 This is a minor release following 2.6.0 and has mostly small bug fixes: C++ * Added atomicops support for Solaris. * Released memory allocated by

[protobuf] help with protoc rpc code generation in Java (or Scala)

2014-03-21 Thread P Osborne
Hi All, I'm working on a project to add protobuf support into Finagle. The canonical form of a Finagle rpc service is: FutureResponse myRpcCall( Request request ) where Request and Response are protobuf objects in this case. While the traditional protobuf rpc interface is something like

Re: [protobuf] help with protoc rpc code generation in Java (or Scala)

2014-03-21 Thread Feng Xiao
You can find a list of existing rpc add-ons in this page: https://code.google.com/p/protobuf/wiki/ThirdPartyAddOns#RPC_Implementations Some of them are using protoc plugins and some of them are simply writing their own compiler. On Fri, Mar 21, 2014 at 12:19 PM, P Osborne contacto...@gmail.com

Re: [protobuf] Help?!

2013-11-25 Thread Feng Xiao
https://developers.google.com/protocol-buffers/docs/reference/python-generated On Fri, Nov 22, 2013 at 11:16 AM, Mihai Banulescu mihai.banule...@gmail.com wrote: Hi all, I'm new to protobufs and I could use some help. We use them at work, in Python. I just need to access the data in a

[protobuf] Help: upgrade 2.3.0 to 2.4.1

2013-01-21 Thread 刘城成
Is 2.4.1 full compatible with 2.3.0? Do I do anything if I upgrade? -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To view this discussion on the web visit https://groups.google.com/d/msg/protobuf/-/3vxXuL3UYqgJ. To post to this group, send

[protobuf] Help GzipInputStream

2013-01-21 Thread David Granados
Hello. I compressed a proto object: Mail, in a file named : file.sav. Now i need get the proto object mail again, from the file.sav. I'm tying some like: google::protobuf::io::FileInputStream file_stream(filedescriptor); google::protobuf::io::GzipInputStream gzip_stream(file_stream,

Re: [protobuf] Help GzipInputStream

2013-01-21 Thread Feng Xiao
On Mon, Jan 21, 2013 at 7:53 PM, David Granados deivi...@gmail.com wrote: Hello. I compressed a proto object: Mail, in a file named : file.sav. Now i need get the proto object mail again, from the file.sav. I'm tying some like: google::protobuf::io::FileInputStream

[protobuf] help cross compile using vxworks

2012-03-13 Thread Rob
Hi everyone. I'm currently having issues cross compiling protobuf (2.4.1) so it will work with vxworks. This is how I configure protobuf with cygwin: CC=ccppc \ CXX=g++ppc \ CFLAGS=-mcpu=604 -mstrict-align -fno-implicit-fp -ansi -g -fno- builtin -Wall -IC:/WindRiver/vxworks-6.7/target/h

[protobuf] Help to use protobuff .net remote code

2012-01-03 Thread chalapathi kurakula
Hi, This is Chalpathi Reddy, I have a requirement to create a database file in server machine from client machine. After that I want to create tables, read, update , delete data from the server machine when sending requests from client machine. I have downloaded protobuf-remote-net-0.1.1. I am a

[protobuf] Re: A bit more protobuf help please

2011-10-11 Thread Benjamin Wright
Dale - sounds like you figured it out, but the quick answer anyway (for anyone else listening...) The code I provided expects that the Descriptor files you have are created with the --include_imports directive provided to protoc... which means that all the imported files will be included in the

[protobuf] Re: A bit more protobuf help please

2011-10-11 Thread Dale Durham
Thanks again for all your help Benjamin!!! I just got it all working and would still probably be tinkering without your help. Dale On Oct 11, 9:52 am, Dale Durham geny...@gmail.com wrote: Never mind, I figured it out. My descriptor files are named differently. So when the dependency list is

[protobuf] Re: A bit more protobuf help please

2011-10-10 Thread Benjamin Wright
Dale: I'm glad to be of help. You're definitely over thinking the problem. File descriptor set- a protobuf describing one put more proto files. Contains file descriptor proto (s) File descriptor proto- a protobuf describing a Single proto file File descriptor-a java class containing the

[protobuf] help required

2010-11-03 Thread manoj
I want to use the protobuf in my project. I have many java POJO's in project and there are few POJO are composition of other POJO's and these POJO's are used in service and other places. Please let me know how can I define the .protoc file for this. For example : Suppose I have 6 POJO's(CLASS A

Re: [protobuf] help required

2010-11-03 Thread Manoj Upadhyay
I want to use the protobuf in my project. I have many java POJO's in project and there are few POJO are composition of other POJO's and these POJO's are used in service and other places. Please let me know how can I define the .protoc file for this. For example : Suppose I have 6 POJO's(CLASS A

Re: [protobuf] help required

2010-11-03 Thread Evan Jones
On Nov 3, 2010, at 14:54 , Manoj Upadhyay wrote: I want to use the protobuf in my project. I have many java POJO's in project and there are few POJO are composition of other POJO's and these POJO's are used in service and other places. Please let me know how can I define the .protoc file for

Re: [protobuf] Help with basic concepts of descriptors and reflection

2010-07-16 Thread Evan Jones
On Jul 15, 2010, at 16:40 , mark.t.macdon...@googlemail.com wrote: coutMessage1.name(); coutMessage1.GetReflection()-GetString( ref, stabiliser.GetDescriptor()-FindFieldByName(name)); The differences between these two are HUGE. The first one is a compiled local variable reference

[protobuf] Help with basic concepts of descriptors and reflection

2010-07-15 Thread mark.t.macdon...@googlemail.com
1. Is there anything incorrect in my understanding so far?: * Descriptors = INTROSPECTION (querying the message structure at runtime) * Reflection = Introspection + MODIFYING the message structure at runtime * Descriptors and Reflection are implemented as C++ structures with member functions *