OLD | NEW |
1 syntax = "proto3"; | 1 syntax = "proto3"; |
2 | 2 |
3 package a.b.c; | 3 package A.B.C; |
4 | 4 |
5 message TestMessage { | 5 message TestMessage { |
6 int32 optional_int32 = 1; | 6 int32 optional_int32 = 1; |
7 int64 optional_int64 = 2; | 7 int64 optional_int64 = 2; |
8 uint32 optional_uint32 = 3; | 8 uint32 optional_uint32 = 3; |
9 uint64 optional_uint64 = 4; | 9 uint64 optional_uint64 = 4; |
10 bool optional_bool = 5; | 10 bool optional_bool = 5; |
11 double optional_double = 6; | 11 double optional_double = 6; |
12 float optional_float = 7; | 12 float optional_float = 7; |
13 string optional_string = 8; | 13 string optional_string = 8; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 NestedMessage nested_message = 80; | 59 NestedMessage nested_message = 80; |
60 } | 60 } |
61 | 61 |
62 enum TestEnum { | 62 enum TestEnum { |
63 Default = 0; | 63 Default = 0; |
64 A = 1; | 64 A = 1; |
65 B = 2; | 65 B = 2; |
66 C = 3; | 66 C = 3; |
67 } | 67 } |
OLD | NEW |