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? }