aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf/util/ut/common_ut.proto
diff options
context:
space:
mode:
authormowgli <mowgli@yandex-team.ru>2022-02-10 16:49:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:25 +0300
commit56c39b3cf908e7202b1f7551a1653681e8015607 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/protobuf/util/ut/common_ut.proto
parent89afbbe4ca0e02e386dd4df08f7945f190dc1b84 (diff)
downloadydb-56c39b3cf908e7202b1f7551a1653681e8015607.tar.gz
Restoring authorship annotation for <mowgli@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/protobuf/util/ut/common_ut.proto')
-rw-r--r--library/cpp/protobuf/util/ut/common_ut.proto80
1 files changed, 40 insertions, 40 deletions
diff --git a/library/cpp/protobuf/util/ut/common_ut.proto b/library/cpp/protobuf/util/ut/common_ut.proto
index 871b1b9832..9cf803ffbf 100644
--- a/library/cpp/protobuf/util/ut/common_ut.proto
+++ b/library/cpp/protobuf/util/ut/common_ut.proto
@@ -1,29 +1,29 @@
import "google/protobuf/descriptor.proto";
import "library/cpp/protobuf/util/proto/merge.proto";
-
-package NProtobufUtilUt;
-
-extend google.protobuf.FieldOptions {
- optional bool XXX = 53772;
-}
-
-message TWalkTest {
- optional uint32 OptInt = 1 [(XXX)=true];
- repeated uint32 RepInt = 2;
-
- optional string OptStr = 3;
- repeated string RepStr = 4 [(XXX)=true];
-
- optional TWalkTest OptSub = 5 [(XXX)=true];
- repeated TWalkTest RepSub = 6;
-}
-
+
+package NProtobufUtilUt;
+
+extend google.protobuf.FieldOptions {
+ optional bool XXX = 53772;
+}
+
+message TWalkTest {
+ optional uint32 OptInt = 1 [(XXX)=true];
+ repeated uint32 RepInt = 2;
+
+ optional string OptStr = 3;
+ repeated string RepStr = 4 [(XXX)=true];
+
+ optional TWalkTest OptSub = 5 [(XXX)=true];
+ repeated TWalkTest RepSub = 6;
+}
+
message TWalkTestCyclic {
optional TNested OptNested = 1;
repeated uint64 OptInt64 = 2;
optional TWalkTestCyclic OptSub = 3;
optional TEnum OptEnum = 4;
-
+
message TNested {
optional uint32 OptInt32 = 1;
optional TWalkTestCyclic OptSubNested = 2;
@@ -37,27 +37,27 @@ message TWalkTestCyclic {
}
}
-message TMergeTestNoMerge {
- option (DontMerge) = true;
-
- optional uint32 A = 1;
- repeated uint32 B = 2;
-}
-
-message TMergeTestMerge {
- optional uint32 A = 1;
- repeated uint32 B = 2;
- repeated uint32 C = 3 [(DontMergeField)=true];
-}
-
-message TMergeTest {
- repeated uint32 MergeInt = 1;
- repeated uint32 NoMergeInt = 2 [(DontMergeField)=true];
-
- optional TMergeTestMerge MergeSub = 3;
- repeated TMergeTestMerge NoMergeRepSub = 4 [(DontMergeField)=true];
- optional TMergeTestNoMerge NoMergeOptSub = 5;
-}
+message TMergeTestNoMerge {
+ option (DontMerge) = true;
+
+ optional uint32 A = 1;
+ repeated uint32 B = 2;
+}
+
+message TMergeTestMerge {
+ optional uint32 A = 1;
+ repeated uint32 B = 2;
+ repeated uint32 C = 3 [(DontMergeField)=true];
+}
+
+message TMergeTest {
+ repeated uint32 MergeInt = 1;
+ repeated uint32 NoMergeInt = 2 [(DontMergeField)=true];
+
+ optional TMergeTestMerge MergeSub = 3;
+ repeated TMergeTestMerge NoMergeRepSub = 4 [(DontMergeField)=true];
+ optional TMergeTestNoMerge NoMergeOptSub = 5;
+}
message TTextTest {
optional uint32 Foo = 1;