Skip to content

Commit

Permalink
type is optional on concrete classes
Browse files Browse the repository at this point in the history
  • Loading branch information
richo committed May 30, 2013
1 parent 0ec8351 commit 9a44ecb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion groundstation/objects/root_object.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ message RootObject {
required string channel = 2;
required string protocol = 3;

required GizmoType type = 15;
optional GizmoType type = 15;
}
4 changes: 2 additions & 2 deletions groundstation/objects/root_object_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion groundstation/objects/update_object.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ message UpdateObject {
repeated bytes parents = 1;
required bytes data = 2;

required GizmoType type = 15;
optional GizmoType type = 15;
}
4 changes: 2 additions & 2 deletions groundstation/objects/update_object_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9a44ecb

Please sign in to comment.