aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf/json/ut/test.proto
diff options
context:
space:
mode:
authorv01d <v01d@yandex-team.ru>2022-02-10 16:49:40 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:40 +0300
commitfa8b0420162dd36d4f569fdc3f63da0bef8bb8c7 (patch)
treeecec7ec14d9261b76724eeb69ab158c45a970dc4 /library/cpp/protobuf/json/ut/test.proto
parentac559bd4bb6b11b17dce999cf58c05e08f6087a2 (diff)
downloadydb-fa8b0420162dd36d4f569fdc3f63da0bef8bb8c7.tar.gz
Restoring authorship annotation for <v01d@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/protobuf/json/ut/test.proto')
-rw-r--r--library/cpp/protobuf/json/ut/test.proto66
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 0fa996fd41..0a04bdd528 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"];