diff options
| author | Jeff Carr <[email protected]> | 2024-12-31 13:24:00 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-31 13:24:00 -0600 |
| commit | f363c2317641adb7a66d82fcc3d5601e70f7c525 (patch) | |
| tree | 85b1afd61911009e817016f1bf1e2aa312fb4448 /apple.proto | |
| parent | c9c98765d257d5898867512646627f02d2f583be (diff) | |
add example. and forgot the GPL!v0.0.36
Diffstat (limited to 'apple.proto')
| -rw-r--r-- | apple.proto | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/apple.proto b/apple.proto new file mode 100644 index 0000000..3ebdab5 --- /dev/null +++ b/apple.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + +// experiment to identify .pb files incase things go sideways +package autogenpb; + +message Apple { // `autogenpb:marshal` + string name = 1; // `autogenpb:unique` // generates SortByName() functions + string genus = 2; // `autogenpb:unique` // generates SortByGenus() functions +} + +// autogenpb:no-sort // means don't generate sort functions +message Apples { // `autogenpb:marshal` + string uuid = 1; // could be useful for /usr/share/file/magic someday? + string version = 2; // could be used for protobuf schema change violations? +} + +// `autogenpb:no-sort autogenpb:no-marshal` // means don't generate sort functions +message Pears { + string uuid = 1; // could be useful for /usr/share/file/magic someday? + string version = 2; // could be used for protobuf schema change violations? +} |
