mirror of
https://github.com/protobufjs/protobuf.js.git
synced 2026-01-25 16:43:02 +00:00
* feat: add null-defaults option * fix: linting Co-authored-by: Alexander Fenster <github@fenster.name> Co-authored-by: Alexander Fenster <fenster@google.com>
12 lines
181 B
Protocol Buffer
12 lines
181 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
message OptionalFields {
|
|
message SubMessage {
|
|
required string a = 1;
|
|
}
|
|
|
|
optional SubMessage a = 1;
|
|
optional string b = 2;
|
|
optional uint32 c = 3;
|
|
}
|