summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--droplet.proto1
-rw-r--r--event.proto5
-rw-r--r--hypervisor.proto1
3 files changed, 5 insertions, 2 deletions
diff --git a/droplet.proto b/droplet.proto
index f1bba16..208bdaa 100644
--- a/droplet.proto
+++ b/droplet.proto
@@ -10,6 +10,7 @@ message Droplets { // `autogenpb:
string uuid = 1; // `autogenpb:uuid:d5d492e2-38d4-476b-86f3-f5abf01f9d6d`
string version = 2; // `autogenpb:version:v0.0.1`
repeated Droplet droplets = 3;
+ string filename = 4; // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save()
}
message Droplet { // `autogenpb:marshal`
diff --git a/event.proto b/event.proto
index 084d665..1c9d2a5 100644
--- a/event.proto
+++ b/event.proto
@@ -10,8 +10,9 @@ import "droplet.proto";
message Events { // `autogenpb:marshal` `autogenpb:gui`
string uuid = 1; // `autogenpb:uuid:1e3a50c7-5916-4423-b33c-f0b977a7e446`
string version = 2; // `autogenpb:version:v0.0.1`
- int64 eventSize = 3; // max events to store in a single
- repeated Event events = 4; // all the events
+ repeated Event events = 3; // all the events
+ string filename = 4; // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save()
+ int64 eventSize = 5; // max events to store in a single
}
// this information leans towards being human readable not programatic
diff --git a/hypervisor.proto b/hypervisor.proto
index 55154dd..3b369b6 100644
--- a/hypervisor.proto
+++ b/hypervisor.proto
@@ -7,6 +7,7 @@ message Hypervisors { // `autogenpb:marshal`
string uuid = 1; // `autogenpb:uuid:6e3aa8b9-cf98-40f6-af58-3c6ad1edf4d4`
string version = 2; // `autogenpb:version:v0.0.1`
repeated Hypervisor hypervisors = 3;
+ string filename = 4; // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save()
}
message Hypervisor {