// Use protoc v3.0.0 to compile this file into map-test.bin: // protoc --descriptor_set_out=map-test.bin map-test.proto syntax = "proto2"; package foo; enum Frobnitz { FROB = 0; NITZ = 1; } message Baz { message LooksLikeMapEntry { option map_entry = true; optional string key = 1; optional string value = 2; } repeated LooksLikeMapEntry looks_like_map = 1; message DoesNotLookLikeMapEntry { optional string key = 1; optional string value = 2; } repeated DoesNotLookLikeMapEntry does_not_look_like_map = 2; } message Bar { map sint32_to_baz = 1; map sint64_to_baz = 2; map int32_to_baz = 3; map int64_to_baz = 4; map uint32_to_baz = 5; map uint64_to_baz = 6; map string_to_baz = 7; map sint32_to_frobnitz = 8; map sint64_to_frobnitz = 9; map int32_to_frobnitz = 10; map int64_to_frobnitz = 11; map uint32_to_frobnitz = 12; map uint64_to_frobnitz = 13; map string_to_frobnitz = 14; map sint32_to_string = 15; map sint64_to_string = 16; map int32_to_string = 17; map int64_to_string = 18; map uint32_to_string = 19; map uint64_to_string = 20; map string_to_string = 21; map sint32_to_float = 22; map sint64_to_float = 23; map int32_to_float = 24; map int64_to_float = 25; map uint32_to_float = 26; map uint64_to_float = 27; map string_to_float = 28; map sint32_to_double = 29; map sint64_to_double = 30; map int32_to_double = 31; map int64_to_double = 32; map uint32_to_double = 33; map uint64_to_double = 34; map string_to_double = 35; }