diff options
author | v01d <v01d@yandex-team.ru> | 2022-02-10 16:49:40 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:40 +0300 |
commit | 5c6482e8c13dfaad60e604f0474606a0ec153b1d (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/protobuf/json/ut/test.proto | |
parent | fa8b0420162dd36d4f569fdc3f63da0bef8bb8c7 (diff) | |
download | ydb-5c6482e8c13dfaad60e604f0474606a0ec153b1d.tar.gz |
Restoring authorship annotation for <v01d@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/protobuf/json/ut/test.proto')
-rw-r--r-- | library/cpp/protobuf/json/ut/test.proto | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/library/cpp/protobuf/json/ut/test.proto b/library/cpp/protobuf/json/ut/test.proto index 0a04bdd528..0fa996fd41 100644 --- a/library/cpp/protobuf/json/ut/test.proto +++ b/library/cpp/protobuf/json/ut/test.proto @@ -1,7 +1,7 @@ package NProtobufJsonTest; enum EEnum { - E_0 = 0; + E_0 = 0; E_1 = 1; E_2 = 2; E_3 = 3; @@ -31,8 +31,8 @@ message TFlatOptional { optional string OneString = 17; optional string OneTwoString = 18; - optional string ABC = 19; - optional string UserID = 20; + optional string ABC = 19; + optional string UserID = 20; }; message TFlatRequired { @@ -59,8 +59,8 @@ message TFlatRequired { required string OneString = 17; required string OneTwoString = 18; - required string ABC = 19; - required string UserID = 20; + required string ABC = 19; + required string UserID = 20; }; message TFlatRepeated { @@ -87,8 +87,8 @@ message TFlatRepeated { repeated string OneString = 17; repeated string OneTwoString = 18; - repeated string ABC = 19; - repeated string UserID = 20; + repeated string ABC = 19; + repeated string UserID = 20; }; message TFlatDefault { @@ -115,8 +115,8 @@ message TFlatDefault { optional string OneString = 17 [default = "string"]; optional string OneTwoString = 18 [default = "string"]; - optional string ABC = 19 [default = "abc"]; - optional string UserID = 20 [default = "some_id"]; + optional string ABC = 19 [default = "abc"]; + optional string UserID = 20 [default = "some_id"]; }; message TCompositeOptional { @@ -147,30 +147,30 @@ message TEnumValueGeneratorType { optional EEnum Enum = 1; }; -message TComplexMapType { - map<int32, int32> I32 = 1; - map<int64, int64> I64 = 2; - map<uint32, uint32> UI32 = 3; - map<uint64, uint64> UI64 = 4; - map<sint32, sint32> SI32 = 5; - map<sint64, sint64> SI64 = 6; - map<fixed32, fixed32> FI32 = 7; - map<fixed64, fixed64> FI64 = 8; - map<sfixed32, sfixed32> SFI32 = 9; - map<sfixed64, sfixed64> SFI64 = 10; - - map<bool, bool> Bool = 11; - - map<string, string> String = 12; - - map<string, EEnum> Enum = 13; - - map<string, float> Float = 14; - map<string, double> Double = 15; - - map<string, TComplexMapType> Nested = 16; -}; - +message TComplexMapType { + map<int32, int32> I32 = 1; + map<int64, int64> I64 = 2; + map<uint32, uint32> UI32 = 3; + map<uint64, uint64> UI64 = 4; + map<sint32, sint32> SI32 = 5; + map<sint64, sint64> SI64 = 6; + map<fixed32, fixed32> FI32 = 7; + map<fixed64, fixed64> FI64 = 8; + map<sfixed32, sfixed32> SFI32 = 9; + map<sfixed64, sfixed64> SFI64 = 10; + + map<bool, bool> Bool = 11; + + map<string, string> String = 12; + + map<string, EEnum> Enum = 13; + + map<string, float> Float = 14; + map<string, double> Double = 15; + + map<string, TComplexMapType> Nested = 16; +}; + message TWithJsonName { optional int32 my_upper = 1 [json_name = "My-Upper"]; optional int32 My_lower = 2 [json_name = "my-lower"]; |