diff options
author | Josh Haberman <jhaberman@gmail.com> | 2014-02-04 15:43:52 -0800 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2014-02-04 15:43:52 -0800 |
commit | 7d565f1e7a0f107506d3cf31ef2e33e22a504d2b (patch) | |
tree | 151a5102b0ded6e8ad098a86e692c1d14e390167 /tests/pb/test_decoder_schema.proto | |
parent | 0fd2f830882402979a83010e89650e7245960d39 (diff) |
Sync from Google development.
Diffstat (limited to 'tests/pb/test_decoder_schema.proto')
-rw-r--r-- | tests/pb/test_decoder_schema.proto | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/tests/pb/test_decoder_schema.proto b/tests/pb/test_decoder_schema.proto deleted file mode 100644 index 50bfca9..0000000 --- a/tests/pb/test_decoder_schema.proto +++ /dev/null @@ -1,64 +0,0 @@ -// -// upb - a minimalist implementation of protocol buffers. -// -// Copyright (c) 2012 Google Inc. See LICENSE for details. -// Author: Josh Haberman <jhaberman@gmail.com> -// -// Schema used in test_decoder.cc. It contains two fields (one optional -// and one repeated) for each type. - -package upb.test_decoder; - -message M { - optional M m = 1; -} - -enum E { - FOO = 1; -} - -message EmptyMessage {} - -message DecoderTest { - optional double f_double = 1; - optional float f_float = 2; - optional int64 f_int64 = 3; - optional uint64 f_uint64 = 4; - optional int32 f_int32 = 5; - optional fixed64 f_fixed64 = 6; - optional fixed32 f_fixed32 = 7; - optional bool f_bool = 8; - optional string f_string = 9; - optional bytes f_bytes = 12; - optional uint32 f_uint32 = 13; - optional sfixed32 f_sfixed32 = 15; - optional sfixed64 f_sfixed64 = 16; - optional sint32 f_sint32 = 17; - optional sint64 f_sint64 = 18; - - optional DecoderTest f_message = 11; - optional E f_enum = 14; - - - repeated double r_double = 536869912; - repeated float r_float = 536869913; - repeated int64 r_int64 = 536869914; - repeated uint64 r_uint64 = 536869915; - repeated int32 r_int32 = 536869916; - repeated fixed64 r_fixed64 = 536869917; - repeated fixed32 r_fixed32 = 536869918; - repeated bool r_bool = 536869919; - repeated string r_string = 536869920; - repeated bytes r_bytes = 536869923; - repeated uint32 r_uint32 = 536869924; - repeated sfixed32 r_sfixed32 = 536869926; - repeated sfixed64 r_sfixed64 = 536869927; - repeated sint32 r_sint32 = 536869928; - repeated sint64 r_sint64 = 536869929; - - repeated DecoderTest r_message = 536869922; - repeated E r_enum = 536869925; - - // To allow arbitrary padding. - optional string nop_field = 40; -} |