| Index: third_party/protobuf/src/google/protobuf/unittest.proto
|
| diff --git a/third_party/protobuf/src/google/protobuf/unittest.proto b/third_party/protobuf/src/google/protobuf/unittest.proto
|
| index da56ae0a2449c6396b4963995b73fbcbcdb006d9..96289cc55bdad443c2bc56d408edaeca00814e69 100644
|
| --- a/third_party/protobuf/src/google/protobuf/unittest.proto
|
| +++ b/third_party/protobuf/src/google/protobuf/unittest.proto
|
| @@ -195,6 +195,7 @@ message TestDeprecatedFields {
|
| // that.
|
| message ForeignMessage {
|
| optional int32 c = 1;
|
| + optional int32 d = 2;
|
| }
|
|
|
| enum ForeignEnum {
|
| @@ -877,3 +878,42 @@ service TestService {
|
| message BarRequest {}
|
| message BarResponse {}
|
|
|
| +message TestJsonName {
|
| + optional int32 field_name1 = 1;
|
| + optional int32 fieldName2 = 2;
|
| + optional int32 FieldName3 = 3;
|
| + optional int32 _field_name4 = 4;
|
| + optional int32 FIELD_NAME5 = 5;
|
| + optional int32 field_name6 = 6 [json_name = "@type"];
|
| +}
|
| +
|
| +message TestHugeFieldNumbers {
|
| + optional int32 optional_int32 = 536870000;
|
| + optional int32 fixed_32 = 536870001;
|
| + repeated int32 repeated_int32 = 536870002 [packed = false];
|
| + repeated int32 packed_int32 = 536870003 [packed = true];
|
| +
|
| + optional ForeignEnum optional_enum = 536870004;
|
| + optional string optional_string = 536870005;
|
| + optional bytes optional_bytes = 536870006;
|
| + optional ForeignMessage optional_message = 536870007;
|
| +
|
| + optional group OptionalGroup = 536870008 {
|
| + optional int32 group_a = 536870009;
|
| + }
|
| +
|
| + map<string, string> string_string_map = 536870010;
|
| +
|
| + oneof oneof_field {
|
| + uint32 oneof_uint32 = 536870011;
|
| + TestAllTypes oneof_test_all_types = 536870012;
|
| + string oneof_string = 536870013;
|
| + bytes oneof_bytes = 536870014;
|
| + }
|
| +
|
| + extensions 536860000 to 536869999;
|
| +}
|
| +
|
| +extend TestHugeFieldNumbers {
|
| + optional TestAllTypes test_all_types = 536860000;
|
| +}
|
|
|