From e4b150d6aae34ec3f4688c09711d0bfe2bcf4b41 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 1 Dec 2024 18:18:11 -0600 Subject: switch to autogenpb --- machine.proto | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'machine.proto') diff --git a/machine.proto b/machine.proto index 76c7aa2..67bc697 100644 --- a/machine.proto +++ b/machine.proto @@ -5,8 +5,8 @@ package gitpb; import "package.proto"; import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp -message Machine { - string hostname = 1; +message Machine { // `autogenpb:marshal` + string hostname = 1; // `autogenpb:unique` int64 memory = 2; int64 cpus = 3; string distro = 4; @@ -17,7 +17,7 @@ message Machine { Packages wit = 9; // packages that are available from mirrors.wit.com } -message Machines { +message Machines { // `autogenpb:marshal` string uuid = 1; // I guess why not just have this on each file string version = 2; // maybe can be used for protobuf schema change violations repeated Machine machines = 3; -- cgit v1.2.3