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:
parent
6154d67a92
commit
fdbe0cc932
16
events.proto
16
events.proto
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue