2009/8/26 Alkis Evlogimenos ('Αλκης Ευλογημένος) <[email protected]>:
> Protocol buffers do not have a protobuf map equivalent. What is usually done
> is to put 2 repeated fields in the proto, one for the keys and one for the
> values of the map you are trying to represent.Or a repeated embedded message with a key and a value. > > On Wed, Aug 26, 2009 at 7:13 PM, rajesh <[email protected]> wrote: >> >> >> Hi All, >> Iam kinda new to using protocol buffers, so this could be a >> dumb question. I am curious as to how or what should be the syntax of >> the protocol buffer message for Map implementations in java. I looked >> in the documentation, but dint find any such example message. >> Similarly what should be the field type in the protocol buffer message >> which corresponds to Date implemetations in java. I would appreciate >> if some one can guide me through this or point me to the documentation >> which will help me understand this aspect better. Thanks in advance. >> >> -Raj >> > > > > -- > > Alkis > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---
