Hi Marc, I am using libprotoc 2.6.1 and have to be on this version for some more time before moving protoc version 3 due to some constraints. I was wondering if the documentation is incorrect saying map is supported in version 2.
Regards, Nagarjuna On Tuesday, June 13, 2017 at 4:36:29 PM UTC+5:30, Marc Gravell wrote: > > Oops; I meant to reply to group; email is hard... > > (repeats response) > > What protoc compiler version are you using? what does protoc --version > say? It should be 3.3.0 or similar. > > The following works fine using protoc (note it defaults to protogen - > you'll need to change the drop-down to protoc 3.3.0, for example "(protoc) > Java"): > https://protogen.marcgravell.com/#ga1fce91670098b10f326bf20f99ae7d6 > > (which is just https://protogen.marcgravell.com/ which hosts "protoc" and > "protogen", pre-loading with gist > https://gist.github.com/mgravell/a1fce91670098b10f326bf20f99ae7d6 via > client-side javascript) > > On 13 June 2017 at 11:04, Nagarjuna Reddy <[email protected] > <javascript:>> wrote: > >> Hi, >> >> As per the below link >> https://developers.google.com/protocol-buffers/docs/proto#maps, I see >> that maps are supported in protobuf2. >> But when I use them I get the following error >> >> Expected "required", "optional", or "repeated". >> >> Is the feature really supported in protobuf2? As per some of the queries >> on this forum others are also facing problem in protobuf2. >> >> Regards, >> Nagarjuna >> >> -- >> 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 [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/protobuf. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Regards, > > Marc > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
