From ad6fdf99c86150a0e72c5094d1379b39b83a148d Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sat, 16 Aug 2014 21:29:30 +0100 Subject: protocol buffer map --- protocol_buffer_map/map.proto | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 protocol_buffer_map/map.proto (limited to 'protocol_buffer_map/map.proto') diff --git a/protocol_buffer_map/map.proto b/protocol_buffer_map/map.proto new file mode 100644 index 0000000..f794682 --- /dev/null +++ b/protocol_buffer_map/map.proto @@ -0,0 +1,9 @@ +message Pair { + required string key = 1; + required int32 value = 2; +} + +message Map { + repeated Pair pairs = 1; +} + -- cgit v1.2.3