From 0e19902647a5cb332d8a80976e49593a68e71c54 Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Mon, 11 May 2015 13:34:32 -0700 Subject: Updated ProtoBuf.js dependency. Updated protos to proto3 --- src/node/examples/math.proto | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/node/examples/math.proto') 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 { -- cgit v1.2.3