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/m
gravell/a1fce91670098b10f326bf20f99ae7d6 via client-side javascript)

On 13 June 2017 at 11:04, Nagarjuna Reddy <nagarjunared...@gmail.com> 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 protobuf+unsubscr...@googlegroups.com.
> To post to this group, send email to protobuf@googlegroups.com.
> 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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to