26 lines
487 B
Protocol Buffer
26 lines
487 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;
|
|
}
|
|
|
|
message ReferenceMessage {
|
|
string test = 1;
|
|
}
|
|
|
|
enum EnumTest {
|
|
Hello = 0;
|
|
} |