aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/tests/generated_code
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanleycheung@google.com>2015-05-13 13:40:28 -0700
committerGravatar Stanley Cheung <stanleycheung@google.com>2015-05-13 13:40:57 -0700
commit700dfd9b2314adc7cc37c72d0e16f6823946dfb8 (patch)
tree9f6d09c233bd8c5802b5b9cb9dfe01feb08ccec6 /src/php/tests/generated_code
parent0fff02c3ba5e2050d079bcb712fec3c99c03d22a (diff)
php test math proto: add default value
Diffstat (limited to 'src/php/tests/generated_code')
-rw-r--r--src/php/tests/generated_code/math.proto16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/php/tests/generated_code/math.proto b/src/php/tests/generated_code/math.proto
index e34ad5e967..1de7d0b8de 100644
--- a/src/php/tests/generated_code/math.proto
+++ b/src/php/tests/generated_code/math.proto
@@ -28,30 +28,30 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-syntax = "proto3";
+syntax = "proto2";
package math;
message DivArgs {
- optional int64 dividend = 1;
- optional int64 divisor = 2;
+ optional int64 dividend = 1 [default = 0];
+ optional int64 divisor = 2 [default = 0];
}
message DivReply {
- optional int64 quotient = 1;
- optional int64 remainder = 2;
+ optional int64 quotient = 1 [default = 0];
+ optional int64 remainder = 2 [default = 0];
}
message FibArgs {
- optional int64 limit = 1;
+ optional int64 limit = 1 [default = 0];
}
message Num {
- optional int64 num = 1;
+ optional int64 num = 1 [default = 0];
}
message FibReply {
- optional int64 count = 1;
+ optional int64 count = 1 [default = 0];
}
service Math {