Files
bufpiv/test.proto

27 lines
532 B
Protocol Buffer

syntax="proto3";
message Test {
message NestedMessage {
string nested = 1;
}
string hello = 1;
int32 hello2 = 2;
int64 hello3 = 3;
float hello4 = 4;
double hello5 = 5;
bool hello6 = 6;
repeated string hello7 = 7;
map<string, string> hello8 = 8;
ReferenceMessage hello9 = 9;
NestedMessage hello10 = 10;
EnumTest enum_test = 11;
repeated ReferenceMessage obj_list = 12;
}
message ReferenceMessage {
string test = 1;
}
enum EnumTest {
Hello = 0;
}