Collections in Protocol Buffers messages? -


Is there a message with the compilation of nested messages in protocol buffers? For example a message supervisor may have an employee's name and a collection of supervisor of the department.

Yes. You use the duplicate field;

  Message Employee {...} Message Supervisor {Dual employee employee = 1; }  

You can then access the Employees field as a list.


Comments

Popular posts from this blog

php - multilevel menu with multilevel array -

c# - TypeConverter in propertygrid only converts from string, not to -

jQuery UI: Datepicker month format -