diff options
Diffstat (limited to 'src/ruby/bin/math.proto')
-rwxr-xr-x | src/ruby/bin/math.proto | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ruby/bin/math.proto b/src/ruby/bin/math.proto index de18a50260..c49787ad54 100755 --- a/src/ruby/bin/math.proto +++ b/src/ruby/bin/math.proto @@ -1,15 +1,15 @@ -syntax = "proto2"; +syntax = "proto3"; package math; message DivArgs { - required int64 dividend = 1; - required int64 divisor = 2; + optional int64 dividend = 1; + optional int64 divisor = 2; } message DivReply { - required int64 quotient = 1; - required int64 remainder = 2; + optional int64 quotient = 1; + optional int64 remainder = 2; } message FibArgs { @@ -17,11 +17,11 @@ message FibArgs { } message Num { - required int64 num = 1; + optional int64 num = 1; } message FibReply { - required int64 count = 1; + optional int64 count = 1; } service Math { |