1 2message MessageWithMap { 3 map<int32, string> name_mapping = 1; 4 map<sint64, FloatingPoint> msg_mapping = 2; 5 map<bool, bytes> byte_mapping = 3; 6} 7 8message FloatingPoint { 9 double f = 1; 10} 11 12message Uint128Pair { 13 bytes left = 1 [(gogoproto.nullable) = false, (gogoproto.customtype) = "github.com/gogo/protobuf/test/custom.Uint128"]; 14 bytes right = 2 [(gogoproto.customtype) = "github.com/gogo/protobuf/test/custom.Uint128"]; 15} 16 17message ContainsNestedMap { 18 message NestedMap { 19 map<string, double> NestedMapField = 1; 20 } 21} 22 23message NotPacked { 24 repeated uint64 key = 5 [packed=false]; 25}