syntax = "proto3"; package tools.command.v1; import "perms/perms.proto"; message Command { message Status { oneof kind { bool ok = 1; string error = 2; } } string user = 1; optional string etag = 2; oneof kind { Status status = 3; string print = 4; perms.Perms apply_perms = 5; } }