1syntax = "proto2"; 2 3message SubMessage { 4 optional string stringvalue = 1; 5 repeated int32 int32value = 2; 6 repeated fixed32 fixed32value = 3; 7 repeated fixed64 fixed64value = 4; 8} 9 10message TestMessage { 11 optional string stringvalue = 1; 12 repeated int32 int32value = 2; 13 repeated fixed32 fixed32value = 3; 14 repeated fixed64 fixed64value = 4; 15 optional SubMessage submsg = 5; 16 repeated string repeatedstring = 6; 17} 18 19message StaticMessage { 20 repeated fixed32 repint32 = 1; 21} 22 23enum SignedEnum { 24 SE_MIN = -128; 25 SE_MAX = 127; 26} 27 28enum UnsignedEnum { 29 UE_MIN = 0; 30 UE_MAX = 255; 31} 32 33 34 35