go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/client/flagpb/unmarshal_test.proto (about) 1 syntax = "proto3"; 2 3 option go_package = "go.chromium.org/luci/client/flagpb"; 4 5 package flagpb; 6 7 enum E { 8 V0 = 0; 9 V1 = 1; 10 } 11 12 message M1 { 13 string s = 1; 14 int32 i = 2; 15 repeated int32 ri = 3; 16 bool b = 4; 17 repeated bool rb = 6; 18 bytes bb = 5; 19 } 20 21 message M2 { 22 M1 m1 = 1; 23 E e = 2; 24 } 25 26 message M3 { 27 repeated M1 m1 = 1; 28 M2 m2 = 2; 29 bool b = 3; 30 string s = 4; 31 bytes bt = 5; 32 } 33 34 message MapContainer { 35 map<string, string> ss = 1; 36 map<int32, int32> ii = 2; 37 map<string, M1> sm1 = 3; 38 }