-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #432 from justcoon/feature/proto3_optional
add proto3 optional support
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
syntax = "proto3"; | ||
|
||
package hello.world; | ||
|
||
enum LogLevel { | ||
TRACE = 0; | ||
DEBUG = 1; | ||
INFO = 2; | ||
WARN = 3; | ||
ERROR = 4; | ||
FATAL = 5; | ||
OFF = 6; | ||
} | ||
|
||
message LoggerConfiguration { | ||
string name = 1; | ||
LogLevel effectiveLevel = 2; | ||
optional LogLevel configuredLevel = 3; | ||
} |