witProtobuf/events.proto

19 lines
239 B
Protocol Buffer
Raw Normal View History

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