diff --git a/table.proto b/table.proto index a27fc3c..ed7a1a8 100644 --- a/table.proto +++ b/table.proto @@ -7,31 +7,31 @@ package gitpb; import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp import "widget.proto"; // Import the well-known type for Timestamp -message StringRow { +message StringCol { Widget header = 1; repeated string vals = 2; repeated Widget widgets = 3; } -message ButtonRow { +message ButtonCol { Widget header = 1; repeated string vals = 2; repeated Widget widgets = 3; } -message IntRow { +message IntCol { Widget header = 1; repeated int64 vals = 2; repeated Widget widgets = 3; } -message TimeRow { +message TimeCol { Widget header = 1; repeated google.protobuf.Timestamp vals = 2; repeated Widget widgets = 3; } -message BoolRow { +message BoolCol { Widget header = 1; repeated Widget widgets = 2; } @@ -42,11 +42,11 @@ message Table { // `autogenpb: Widget parent = 3; Widget grid = 4; repeated string order = 5; - repeated StringRow stringRows = 6; - repeated IntRow intRows = 7; - repeated TimeRow timeRows = 8; - repeated BoolRow boolRows = 9; - repeated ButtonRow buttonRows = 10; + repeated StringCol stringCols = 6; + repeated IntCol intCols = 7; + repeated TimeCol timeCols = 8; + repeated BoolCol boolCols = 9; + repeated ButtonCol buttonCols = 10; } message Tables { // `autogenpb:marshal`