It's not supported. You will need to create a wrapper message type to hold 
the map:
message MyMap {
  map<string, string> value = 1;
}

On Tuesday, November 22, 2016 at 4:20:57 AM UTC-8, mangaiappan m wrote:
>
> Considering below custom map , 
>
> Class A implements Map<String, Object>
> {
>     // implements all map methods like get , put , etc
> }
>
> interface B 
> {
>    void myMethod(A a)
> }
>
> Whether this can be represented in proto 3 ? 
>

-- 
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