From dcd4ea334e068afbdb103f49a8e59afd16238c32 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Mon, 16 Dec 2024 10:37:37 +0300 Subject: [PATCH] [#315] api: Restore test.proto file Introduced in #281. Signed-off-by: Evgenii Stratonikov --- api/util/proto/test/test.pb.go | Bin 20911 -> 21123 bytes api/util/proto/test/test.proto | 46 +++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 api/util/proto/test/test.proto diff --git a/api/util/proto/test/test.pb.go b/api/util/proto/test/test.pb.go index e7d5699b73a81daaef96ecfadb426b4b0e543d4f..ba190d6a8d3a146af638d511589aa8077c6171df 100644 GIT binary patch delta 1676 zcmY*aOK%%h6qdnG;)!kS#IA!M>7-WdHgW8kv1i7P-;N^_1zKAys)|5xTSuv=6emCh zs!}hIxDt8*cFXZt7Xt3*JP4`H`qN6WS{pdZ-&)OE3E9lkbXf=?PFy?f4( zWx(*#)iexZ?}~fOIe_-U(*_y>{r=y{)6CFo@_l6x1l_2umz|Cbx_6^z41?GkIsTiW zXu+H_;-H~5yJ{FDJda=2YYF1&TuhfEcs%EuXvcZs6Gfz_Dlj=qPYDmJ#Uaj4q%~ZZ z!-yul*ppwwdLrncW>KPULYjd;Br>mXcDVCN+$bijVw@-!mr6V zs^SRUg&drq#HD4{G~->>xVPTp_(l+ zED%#0aNxg!%Ouh*j-p(gqZ>jt$3Z?~#6B+iaizrJk|em<477C?Rk}WORhOkv zY?P+hocBv?&H;VS3hh{muU^x*83!k3G4rrv3Cy@SPBktnE(I) delta 1447 zcmYLJOKclO7}kc39d8`ldDSM*ZJfFx_%Z8Udv{~UcAUqm;gPsPfYerM8eE8!v;~z? zM2df?5PfAeE*G2k40+j)fpdq+TErGqZL%?9Bd;`R0Fo z^S}M6u==sEcwzmmuS9$_+KZXmqkP}4-NjC+2l2k3-RWL%VaL~J|J)E1>>b}(p3>E* zPk$eJyZ^*ubhd);1BuP!>ry*z#UfO90B!LmVG4c2iXh|2aJWYD;9A^jlgW7{8Ko=H z*sAk2or+TPUfjaz>}#UJgqsNq%h?c?^-g3+6xX#7Hq`(w6BBt=!rowg&9s3ftqXh9 zyrPPNiY3yFT`hq#N*lIGKuF;@A-JW;SR-Nhk~yp@A(!MK=d~1d))~?x>8Om=WDxHv zjrb{P;0g)hcO{HNYJ`UVvKqwgTqizJqqs=?Skv92$pXBuT2v7bOt{rz!xT$KG1xj? z#;@d2oK|bGs*T{D;-$BHY4Abxq>>L4nNRUV0{o0~a%!3Z-$_~6G(xOkB+Uz^r5J9y z%nRoHzrZ|~(iRqUFD6Vcjv9>+bOXzU6i(?;s%u4Hs1Dcl5sc|h?dEhh`i&%xD*?Wn>*TKK%=~7? z!p)4U`qeQEPL_Mlxhdx+XLZ1NoeEhC#}XkAFS%U(gjI6H}#4G_~GaT9Zg{b$6|DEN8zw! z&y77Upr+Jg-?08+v#K3;4>j{$8gJsmC^Md+as(^m+jQ^67fQx}@NWDz*+J2Be8|33>Y(~CJ})&>;3$nTQSobG5qN0cr)Fkp#Qy;) C+tauJ diff --git a/api/util/proto/test/test.proto b/api/util/proto/test/test.proto new file mode 100644 index 0000000..58cee2f --- /dev/null +++ b/api/util/proto/test/test.proto @@ -0,0 +1,46 @@ +syntax = "proto3"; + +package test; + +option go_package = "util/proto/test"; + +message Primitives { + bytes field_a = 1; + string field_b = 2; + bool field_c = 200; + int32 field_d = 201; + uint32 field_e = 202; + int64 field_f = 203; + uint64 field_g = 204; + fixed64 field_i = 205; + double field_j = 206; + fixed32 field_k = 207; + + enum SomeEnum { + UNKNOWN = 0; + POSITIVE = 1; + NEGATIVE = -1; + } + SomeEnum field_h = 300; + + message Aux { uint32 inner_field = 1; } + + oneof field_m { + bytes field_ma = 401; + uint32 field_me = 402; + Aux field_aux = 403; + } +} + +message RepPrimitives { + repeated bytes field_a = 1; + repeated string field_b = 2; + repeated int32 field_c = 3; + repeated uint32 field_d = 4; + repeated int64 field_e = 5; + repeated uint64 field_f = 6; + repeated uint64 field_fu = 7 [ packed = false ]; + + message Aux { uint32 inner_field = 1; } + repeated Aux field_aux = 8; +}