add helper getEnumValue

This commit is contained in:
jhayotte
2017-05-12 20:46:18 +02:00
parent c750f5de81
commit e1486970f7
7 changed files with 55 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
syntax = "proto3";
package Sample;
enum Colors {
red = 0;
blue = 1;
black = 2;
yellow = 3;
green = 4;
dark = 5;
white = 6;
gray = 7;
orange = 8;
}