21 lines
690 B
Protocol Buffer
21 lines
690 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
// protobufs for git-bug
|
|
|
|
package bugpb;
|
|
|
|
// import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
|
|
import "google/protobuf/any.proto"; // Import 'Any'
|
|
|
|
message Bug {
|
|
string uuid = 1;
|
|
string name = 2;
|
|
string subject = 3;
|
|
}
|
|
|
|
message Bugs { // `autogenpb:marshal`
|
|
string uuid = 1; // `autogenpb:uuid:cdf6711e-f948-4376-9e72-cf1912a96cee`
|
|
string version = 2; // `autogenpb:version:v1`
|
|
repeated Bug Bugs = 3; // this never gets used, but it's not worth violating the autogenpb standard
|
|
}
|