Re: [protobuf] What is wrong with my proto file here? Is it not possible to have 2 repeated fields of different types?

2018-07-12 Thread Marc Gravell
datavalues_srarray and datavalues_prarray need to have different field numbers On Thu, 12 Jul 2018 at 22:50, Himabindu Dittakavi wrote: > Hi All, > > New to protobuf. > Here is my proto file. If i use the code highlighted in yellow it works > but when I add the one in yellow - there is

Re: [protobuf] What is wrong with my proto file here? Is it not possible to have 2 repeated fields of different types?

2018-07-12 Thread Marc Gravell
also, field zero (type) is invalid; you are welcome to use this as an online check tool - but protoc also outputs similar messages: https://protogen.marcgravell.com#gc4759103e204eec4ae1a11ce6089a4bf On Thu, 12 Jul 2018 at 23:01, Marc Gravell wrote: > datavalues_srarray and datavalues_prarray

[protobuf] What is wrong with my proto file here? Is it not possible to have 2 repeated fields of different types?

2018-07-12 Thread Himabindu Dittakavi
Hi All, New to protobuf. Here is my proto file. If i use the code highlighted in yellow it works but when I add the one in yellow - there is no .cs file generated...what is wrong with the code below? TIA. Also, is there a proto file validator by any chance? syntax = "proto3"; package

Re: [protobuf] What is wrong with my proto file here? Is it not possible to have 2 repeated fields of different types?

2018-07-12 Thread Himabindu Dittakavi
Thanks Marc...That was helpful On Thu, Jul 12, 2018 at 3:03 PM Marc Gravell wrote: > also, field zero (type) is invalid; you are welcome to use this as an > online check tool - but protoc also outputs similar messages: > > https://protogen.marcgravell.com#gc4759103e204eec4ae1a11ce6089a4bf > >