add an event enum for testing if this is even going to work

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-07 01:34:50 -07:00
parent 6154d67a92
commit fdbe0cc932
1 changed files with 12 additions and 4 deletions

View File

@ -1,10 +1,18 @@
syntax = "proto3";
package witProto;
enum FOO { X = 0; };
enum EventType {
ADD = 0;
DELETE = 1;
POWERON = 2;
POWEROFF = 3;
HYBERNATE = 4;
MIGRATE = 5;
}
message Event {
string label = 1;
int32 type = 2;
repeated int64 reps = 3;
EventType type = 1;
string label = 2;
int32 id = 3;
repeated int64 reps = 4;
}