aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf/json/ut/test.proto
diff options
context:
space:
mode:
authorfamilom <familom@yandex-team.ru>2022-02-10 16:49:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:49 +0300
commitf281aaf77179d27d6208b873e95ae6cd45765a63 (patch)
treeb4229c6ece98c855bd9821ef0b656042c29a8953 /library/cpp/protobuf/json/ut/test.proto
parent53d07fb9e28d179add32cd299c9341bf8a231a31 (diff)
downloadydb-f281aaf77179d27d6208b873e95ae6cd45765a63.tar.gz
Restoring authorship annotation for <familom@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.proto176
1 files changed, 88 insertions, 88 deletions
diff --git a/library/cpp/protobuf/json/ut/test.proto b/library/cpp/protobuf/json/ut/test.proto
index 0fa996fd41..fab7b6a5f2 100644
--- a/library/cpp/protobuf/json/ut/test.proto
+++ b/library/cpp/protobuf/json/ut/test.proto
@@ -1,96 +1,96 @@
-package NProtobufJsonTest;
-
-enum EEnum {
+package NProtobufJsonTest;
+
+enum EEnum {
E_0 = 0;
- E_1 = 1;
- E_2 = 2;
- E_3 = 3;
-};
-
-message TFlatOptional {
- optional int32 I32 = 1;
- optional int64 I64 = 2;
- optional uint32 UI32 = 3;
- optional uint64 UI64 = 4;
- optional sint32 SI32 = 5;
- optional sint64 SI64 = 6;
- optional fixed32 FI32 = 7;
- optional fixed64 FI64 = 8;
- optional sfixed32 SFI32 = 9;
- optional sfixed64 SFI64 = 10;
-
- optional bool Bool = 11;
-
- optional string String = 12;
- optional bytes Bytes = 13;
-
- optional EEnum Enum = 14;
-
- optional float Float = 15;
- optional double Double = 16;
+ E_1 = 1;
+ E_2 = 2;
+ E_3 = 3;
+};
+
+message TFlatOptional {
+ optional int32 I32 = 1;
+ optional int64 I64 = 2;
+ optional uint32 UI32 = 3;
+ optional uint64 UI64 = 4;
+ optional sint32 SI32 = 5;
+ optional sint64 SI64 = 6;
+ optional fixed32 FI32 = 7;
+ optional fixed64 FI64 = 8;
+ optional sfixed32 SFI32 = 9;
+ optional sfixed64 SFI64 = 10;
+
+ optional bool Bool = 11;
+
+ optional string String = 12;
+ optional bytes Bytes = 13;
+
+ optional EEnum Enum = 14;
+
+ optional float Float = 15;
+ optional double Double = 16;
optional string OneString = 17;
optional string OneTwoString = 18;
optional string ABC = 19;
optional string UserID = 20;
-};
-
-message TFlatRequired {
- required int32 I32 = 1;
- required int64 I64 = 2;
- required uint32 UI32 = 3;
- required uint64 UI64 = 4;
- required sint32 SI32 = 5;
- required sint64 SI64 = 6;
- required fixed32 FI32 = 7;
- required fixed64 FI64 = 8;
- required sfixed32 SFI32 = 9;
- required sfixed64 SFI64 = 10;
-
- required bool Bool = 11;
-
- required string String = 12;
- required bytes Bytes = 13;
-
- required EEnum Enum = 14;
-
- required float Float = 15;
- required double Double = 16;
+};
+
+message TFlatRequired {
+ required int32 I32 = 1;
+ required int64 I64 = 2;
+ required uint32 UI32 = 3;
+ required uint64 UI64 = 4;
+ required sint32 SI32 = 5;
+ required sint64 SI64 = 6;
+ required fixed32 FI32 = 7;
+ required fixed64 FI64 = 8;
+ required sfixed32 SFI32 = 9;
+ required sfixed64 SFI64 = 10;
+
+ required bool Bool = 11;
+
+ required string String = 12;
+ required bytes Bytes = 13;
+
+ required EEnum Enum = 14;
+
+ required float Float = 15;
+ required double Double = 16;
required string OneString = 17;
required string OneTwoString = 18;
required string ABC = 19;
required string UserID = 20;
-};
-
-message TFlatRepeated {
- repeated int32 I32 = 1;
- repeated int64 I64 = 2;
- repeated uint32 UI32 = 3;
- repeated uint64 UI64 = 4;
- repeated sint32 SI32 = 5;
- repeated sint64 SI64 = 6;
- repeated fixed32 FI32 = 7;
- repeated fixed64 FI64 = 8;
- repeated sfixed32 SFI32 = 9;
- repeated sfixed64 SFI64 = 10;
-
- repeated bool Bool = 11;
-
- repeated string String = 12;
- repeated bytes Bytes = 13;
-
- repeated EEnum Enum = 14;
-
- repeated float Float = 15;
- repeated double Double = 16;
+};
+
+message TFlatRepeated {
+ repeated int32 I32 = 1;
+ repeated int64 I64 = 2;
+ repeated uint32 UI32 = 3;
+ repeated uint64 UI64 = 4;
+ repeated sint32 SI32 = 5;
+ repeated sint64 SI64 = 6;
+ repeated fixed32 FI32 = 7;
+ repeated fixed64 FI64 = 8;
+ repeated sfixed32 SFI32 = 9;
+ repeated sfixed64 SFI64 = 10;
+
+ repeated bool Bool = 11;
+
+ repeated string String = 12;
+ repeated bytes Bytes = 13;
+
+ repeated EEnum Enum = 14;
+
+ repeated float Float = 15;
+ repeated double Double = 16;
repeated string OneString = 17;
repeated string OneTwoString = 18;
repeated string ABC = 19;
repeated string UserID = 20;
-};
-
+};
+
message TFlatDefault {
optional int32 I32 = 1 [default = 132];
optional int64 I64 = 2 [default = 164];
@@ -119,17 +119,17 @@ message TFlatDefault {
optional string UserID = 20 [default = "some_id"];
};
-message TCompositeOptional {
- optional TFlatOptional Part = 1;
-};
-
-message TCompositeRequired {
- required TFlatRequired Part = 1;
-};
-
-message TCompositeRepeated {
- repeated TFlatOptional Part = 1;
-};
+message TCompositeOptional {
+ optional TFlatOptional Part = 1;
+};
+
+message TCompositeRequired {
+ required TFlatRequired Part = 1;
+};
+
+message TCompositeRepeated {
+ repeated TFlatOptional Part = 1;
+};
message TMapType {
map<string, string> Items = 1;