diff options
author | stakanviski <stakanviski@yandex-team.ru> | 2022-02-10 16:50:01 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:01 +0300 |
commit | 95ab23a39b5482a434361566cabdd5b0a433cb43 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/protobuf/json/ut/test.proto | |
parent | da8356a5535e6177965cba3bbae73c5fb28f6ccc (diff) | |
download | ydb-95ab23a39b5482a434361566cabdd5b0a433cb43.tar.gz |
Restoring authorship annotation for <stakanviski@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 | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/library/cpp/protobuf/json/ut/test.proto b/library/cpp/protobuf/json/ut/test.proto index 1285cb430d..0fa996fd41 100644 --- a/library/cpp/protobuf/json/ut/test.proto +++ b/library/cpp/protobuf/json/ut/test.proto @@ -28,9 +28,9 @@ message TFlatOptional { optional float Float = 15; optional double Double = 16; - - optional string OneString = 17; - optional string OneTwoString = 18; + + optional string OneString = 17; + optional string OneTwoString = 18; optional string ABC = 19; optional string UserID = 20; }; @@ -56,9 +56,9 @@ message TFlatRequired { required float Float = 15; required double Double = 16; - - required string OneString = 17; - required string OneTwoString = 18; + + required string OneString = 17; + required string OneTwoString = 18; required string ABC = 19; required string UserID = 20; }; @@ -84,9 +84,9 @@ message TFlatRepeated { repeated float Float = 15; repeated double Double = 16; - - repeated string OneString = 17; - repeated string OneTwoString = 18; + + repeated string OneString = 17; + repeated string OneTwoString = 18; repeated string ABC = 19; repeated string UserID = 20; }; @@ -112,9 +112,9 @@ message TFlatDefault { optional float Float = 15 [default = 0.123]; optional double Double = 16 [default = 0.456]; - - optional string OneString = 17 [default = "string"]; - optional string OneTwoString = 18 [default = "string"]; + + 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"]; }; @@ -134,7 +134,7 @@ message TCompositeRepeated { message TMapType { map<string, string> Items = 1; }; - + message TNameGeneratorType { optional int32 Field = 1; }; @@ -171,12 +171,12 @@ message TComplexMapType { map<string, TComplexMapType> Nested = 16; }; -message TWithJsonName { +message TWithJsonName { optional int32 my_upper = 1 [json_name = "My-Upper"]; optional int32 My_lower = 2 [json_name = "my-lower"]; optional int32 Def_upper = 3; // json_name = "DefUpper" optional int32 def_lower = 4; // json_name = "defLower" -} +} message TSingleRequiredString { required string String = 1; |