mirror of
https://github.com/protobufjs/protobuf.js.git
synced 2025-12-08 20:58:55 +00:00
24 lines
411 B
Protocol Buffer
24 lines
411 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
message Message {
|
|
|
|
string string_val = 1;
|
|
repeated string string_repeated = 2;
|
|
|
|
uint64 uint64_val = 3;
|
|
repeated uint64 uint64_repeated = 4;
|
|
|
|
bytes bytes_val = 5;
|
|
repeated bytes bytes_repeated = 6;
|
|
|
|
SomeEnum enum_val = 7;
|
|
repeated SomeEnum enum_repeated = 8;
|
|
|
|
enum SomeEnum {
|
|
ONE = 1;
|
|
TWO = 2;
|
|
}
|
|
|
|
map<string,int64> int64_map = 9;
|
|
}
|