Re: [protobuf] Nested Value() and adding data to it

2022-01-15 Thread Calicoder
Appreciate the reply, thank you! On Friday, January 14, 2022 at 2:23:57 PM UTC-5 acoz...@google.com wrote: > There is no built-in support for nested maps, so for example map map> is not a valid field type. However you can accomplish > something roughly equivalent by using something like map >

Re: [protobuf] Nested Value() and adding data to it

2022-01-14 Thread 'Adam Cozzette' via Protocol Buffers
There is no built-in support for nested maps, so for example map> is not a valid field type. However you can accomplish something roughly equivalent by using something like map where MyMap is just a message containing a map. On Thu, Jan 13, 2022 at 12:11 PM Calicoder wrote: > Howdy, been

[protobuf] Nested Value() and adding data to it

2022-01-13 Thread Calicoder
Howdy, been wondering if this is possible as looking at the official Google Protobuf docs is not showing if it is. I did find the Value() constructor part and I know I can use the various add_ methods to populate it but is this possible to make a detailed value_map with a key string and have