aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/bin/math.proto
diff options
context:
space:
mode:
authorGravatar ctiller <ctiller@google.com>2015-01-07 12:13:17 -0800
committerGravatar Nicolas Noble <nnoble@google.com>2015-01-09 17:23:18 -0800
commite4b409364e4c493a66d4b2a6fe897075aa5c174e (patch)
tree29467626f50aea49e072e15004dd141625146709 /src/ruby/bin/math.proto
parent8232204a36712553b9eedb2dacab13b7c38642c6 (diff)
Add a --forever flag, to continuously run tests as things change.
Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83451760
Diffstat (limited to 'src/ruby/bin/math.proto')
-rwxr-xr-xsrc/ruby/bin/math.proto14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ruby/bin/math.proto b/src/ruby/bin/math.proto
index c49787ad54..de18a50260 100755
--- a/src/ruby/bin/math.proto
+++ b/src/ruby/bin/math.proto
@@ -1,15 +1,15 @@
-syntax = "proto3";
+syntax = "proto2";
package math;
message DivArgs {
- optional int64 dividend = 1;
- optional int64 divisor = 2;
+ required int64 dividend = 1;
+ required int64 divisor = 2;
}
message DivReply {
- optional int64 quotient = 1;
- optional int64 remainder = 2;
+ required int64 quotient = 1;
+ required int64 remainder = 2;
}
message FibArgs {
@@ -17,11 +17,11 @@ message FibArgs {
}
message Num {
- optional int64 num = 1;
+ required int64 num = 1;
}
message FibReply {
- optional int64 count = 1;
+ required int64 count = 1;
}
service Math {