According to the Language Guide an associative map can be used in data 

When I try using it on Windows 7 I am getting a compiler error on the left 
angle bracket in "required map<uint32, bytes> properties = 1;"    

entity.proto file content:

message EntityBuffer {
required map<uint32, bytes> properties = 1;    

protoc --java_out=. entity.proto

entity.proto:2:13: Expected field name.

protoc --version returns
libprotoc 2.6.1

I am a bit puzzled. 

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 post to this group, send email to
Visit this group at
For more options, visit

Reply via email to