[protobuf] Find Descriptor of all messages defined in a proto file

2016-07-08 Thread Sumit
I need to find all messages described in a proto file.Is there some way to get the descriptor of all messages defined in a proto file ?? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving

Re: [protobuf] Re: Issue 269 in protobuf: Would like to have byte or int8 type for the message definition

2013-03-14 Thread Sumit Kumar
No you cant, on C++ bytes translates to string, wont allow for null. Regards, Sumit Kumar On 14 Mar, 2013, at 2:39 AM, Feng Xiao xiaof...@google.com wrote: You can just use bytes field. On Wed, Mar 13, 2013 at 5:38 AM, Giri Guntipalli giri.guntipa...@gmail.com wrote: we need similar

Re: [protobuf] Re: Issue 329 in protobuf: Add support for [deprecated = true] on all types of definitions

2013-03-14 Thread Sumit Kumar
Can we insert compiler warning for C++ builds as well in cases where deprecated field is used ? Regards, Sumit Kumar On 14 Mar, 2013, at 2:36 AM, proto...@googlecode.com wrote: Comment #3 on issue 329 by sergei.s...@gmail.com: Add support for [deprecated = true] on all types

Re: [protobuf] Re: Issue 269 in protobuf: Would like to have byte or int8 type for the message definition

2013-03-14 Thread Sumit Kumar
fixed8String instead. Accessors can be added via simple plugin that uses protoc insert point. Regards, Sumit Kumar On 13 Mar, 2013, at 8:38 PM, Giri Guntipalli giri.guntipa...@gmail.com wrote: we need similar thing to hold binary data in proto message, where i can not use string because binary

Re: [protobuf] string-valued enum needed when implementing OpenRTB2.1 proto file

2014-04-02 Thread Sumit Kumar
You could define an enum value option such as string_name and use that in your proto definition, and then write a simple plugin to generate what you need. Regards, Sumit Kumar On 31 Mar, 2014, at 12:15 am, Oliver Jowett oliver.jow...@gmail.com wrote: If the protobuf mapping is a new mapping

RE: [protobuf] Re: Plans to support C#?

2014-12-19 Thread sumit kumar
Another +1 for oneof C# support Date: Wed, 17 Dec 2014 13:32:43 -0800 From: ejb...@gmail.com To: protobuf@googlegroups.com Subject: [protobuf] Re: Plans to support C#? +1 for oneof. -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To

Re: [protobuf] Re: Protobuf Buffers v3.0.0-alpha-1

2015-01-21 Thread Sumit Kumar
. Likewise market order with no price set is valid and with any other price set is invalid (including the 0 value). And there are many other cases, but anyway if the decision is made then not much value discussing it. Regards, Sumit Kumar On 17 Jan 2015, at 10:52 am, V.B. vidalborro...@gmail.com wrote

RE: [protobuf] [Dependencies] Never had so much difficulties to integrate a library (protobuf) in my life (C++ / Qt / Windows)

2015-10-19 Thread sumit kumar
Maven won't do this magically either, you still need to set the pom. Anyway, if you were able to use protoc, you have all of these on your system. The host directory of protoc is where you should start to look. Regards,Sumit KumarDate: Sun, 18 Oct 2015 14:27:37 -0700 From: gokan.ekinci

[protobuf] Re: how to force go grpc plugin to use new import google.golang.org/protobuf/proto in generated pb.go file

2020-05-12 Thread Sumit Agrawal
Try updating protoc-gen-go version to latest. On Monday, 11 May 2020 20:22:17 UTC+5:30, Serguei Bezverkhi wrote: > > Hello, > > When blah.proto file gets converted into blah.pb.go it automatically adds > import statement for: github.com/golang/protobuf/proto > > that generates en error in the

[protobuf] Using google proto as a on wire data format

2023-02-26 Thread Sumit Patil
Hii everyone, I am trying to use google proto to transfer data from client to server and vice versa. I am not getting, how I can implement such thing. I am thinking of these steps: * Client 1. Set proto message's fields 2. Serialize to byte array 3. encrypt 4. Send from client * Server 1.

[protobuf] Re: Using google proto as a on wire data format

2023-02-26 Thread Sumit Patil
Note - lang = CPP On Sunday, 26 February, 2023 at 10:38:40 pm UTC+5:30 Sumit Patil wrote: > Hii everyone, > I am trying to use google proto to transfer data from client to server and > vice versa. > I am not getting, how I can implement such thing. > I am thinking of these st

[protobuf] Protobuf parsing

2023-08-07 Thread Sumit Patil
I am receiving a WatchEvent message and the value stored in this kubernetes proto is - 1. Type - for ex. event such as modified or added or deleted 2. Object - raw bytes of actual object. Can be any object. I want to convert those raw bytes to actual objects such as pod. Note that I

[protobuf] Re: Protobuf parsing

2023-08-07 Thread Sumit Patil
endl; cout << watch.DebugString() << endl; Pod pod; JsonStringToMessage( watch.object().raw(), ); cout << "Pod" << endl; cout << pod.DebugString() << endl; } On Monday, 7 August, 2023 at 2:14:29 pm UTC+5:30 Sumit Patil wrote: > > I am receivin