osrm-backend/test/t/enum/enum_testcase.proto
Michael Krasnyk 68019a1fb2 Squashed 'third_party/protozero/' content from commit d5d8debf1
git-subtree-dir: third_party/protozero
git-subtree-split: d5d8debf1b17c6bb652395957b76cde7787e5377
2018-04-19 22:03:49 +03:00

26 lines
421 B
Protocol Buffer

option optimize_for = LITE_RUNTIME;
package TestEnum;
enum Color {
BLACK = 0;
RED = 1;
GREEN = 2;
BLUE = 3;
MAX = 2147483646;
NEG = -1;
// Older versions (before 2.6.0) of the google protobuf compiler have a
// bug and don't allow the real minimum of -2147483648, so we are testing
// with this.
MIN = -2147483647;
}
message Test {
required Color color = 1;
}