add string

This commit is contained in:
Jeff Carr 2025-03-23 07:51:50 -05:00
parent 695ff26e82
commit 98ba8076ae
1 changed files with 18 additions and 18 deletions

View File

@ -7,24 +7,24 @@ import "google/protobuf/timestamp.proto"; // Import the well-known type for Time
// global settings for autogenpb `autogenpb:mutex` // global settings for autogenpb `autogenpb:mutex`
message Machine { // `autogenpb:marshal` message Machine { // `autogenpb:marshal`
string hostname = 1; // `autogenpb:unique` `autogenpb:sort` string hostname = 1; // `autogenpb:unique` `autogenpb:sort`
int64 memory = 2; int64 memory = 2;
int64 cpus = 3; int64 cpus = 3;
string distro = 4; string distro = 4;
Packages packages = 5; Packages packages = 5;
google.protobuf.Timestamp laststamp = 6; // the last time we heard anything from this machine google.protobuf.Timestamp laststamp = 6; // the last time we heard anything from this machine
Packages installed = 7; // packages that are installed Packages installed = 7; // packages that are installed
Packages available = 8; // packages that are available Packages available = 8; // packages that are available
Packages wit = 9; // packages that are available from mirrors.wit.com Packages wit = 9; // packages that are available from mirrors.wit.com
string userAgent = 10; string userAgent = 10;
string uuid = 11; string uuid = 11;
bool upgrade = 12; // upgrade is needed bool upgrade = 12; // upgrade is needed
string upgradCmd = 13; // upgrade cmd string upgradeCmd = 13; // upgrade cmd
} }
message Machines { // `autogenpb:marshal` `autogenpb:gui` message Machines { // `autogenpb:marshal` `autogenpb:gui`
string uuid = 1; // `autogenpb:uuid:b57e7fac-a8fc-4949-9d50-fa38312dec87` string uuid = 1; // `autogenpb:uuid:b57e7fac-a8fc-4949-9d50-fa38312dec87`
string version = 2; // `autogenpb:version:v0.0.1` string version = 2; // `autogenpb:version:v0.0.1`
repeated Machine machines = 3; repeated Machine machines = 3;
} }