mirror of
https://github.com/hanzoai/protobuf.js.git
synced 2026-09-24 17:02:08 +00:00
27 lines
466 B
Protocol Buffer
27 lines
466 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;
|
|
|
|
double double_val = 10;
|
|
float float_val = 11;
|
|
}
|