aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/examples/math.proto
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-05-11 13:34:32 -0700
committerGravatar murgatroid99 <mlumish@google.com>2015-05-11 13:34:32 -0700
commit0e19902647a5cb332d8a80976e49593a68e71c54 (patch)
tree8c7a271edf88f94feb5e2d7756ed39a4de319788 /src/node/examples/math.proto
parent903810191e19ef0d2bb593815b0b5277b3eb5487 (diff)
Updated ProtoBuf.js dependency. Updated protos to proto3
Diffstat (limited to 'src/node/examples/math.proto')
-rw-r--r--src/node/examples/math.proto14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/node/examples/math.proto b/src/node/examples/math.proto
index e34ad5e967..311e148c02 100644
--- a/src/node/examples/math.proto
+++ b/src/node/examples/math.proto
@@ -33,25 +33,25 @@ syntax = "proto3";
package math;
message DivArgs {
- optional int64 dividend = 1;
- optional int64 divisor = 2;
+ int64 dividend = 1;
+ int64 divisor = 2;
}
message DivReply {
- optional int64 quotient = 1;
- optional int64 remainder = 2;
+ int64 quotient = 1;
+ int64 remainder = 2;
}
message FibArgs {
- optional int64 limit = 1;
+ int64 limit = 1;
}
message Num {
- optional int64 num = 1;
+ int64 num = 1;
}
message FibReply {
- optional int64 count = 1;
+ int64 count = 1;
}
service Math {