test.pb.go 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: test.proto
  3. package testprotos
  4. import (
  5. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  6. prototype "google.golang.org/protobuf/reflect/prototype"
  7. protoiface "google.golang.org/protobuf/runtime/protoiface"
  8. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  9. sync "sync"
  10. )
  11. const (
  12. // Verify that runtime/protoimpl is sufficiently up-to-date.
  13. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 0)
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(0 - protoimpl.MinVersion)
  16. )
  17. type Enum1 int32
  18. const (
  19. Enum1_ONE Enum1 = 1
  20. )
  21. var Enum1_name = map[int32]string{
  22. 1: "ONE",
  23. }
  24. var Enum1_value = map[string]int32{
  25. "ONE": 1,
  26. }
  27. func (x Enum1) Enum() *Enum1 {
  28. p := new(Enum1)
  29. *p = x
  30. return p
  31. }
  32. func (x Enum1) String() string {
  33. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  34. }
  35. func (Enum1) Descriptor() protoreflect.EnumDescriptor {
  36. return file_test_proto_enumTypes[0].EnumDescriptor
  37. }
  38. func (x Enum1) Number() protoreflect.EnumNumber {
  39. return protoreflect.EnumNumber(x)
  40. }
  41. // Deprecated: Do not use.
  42. func (x *Enum1) UnmarshalJSON(b []byte) error {
  43. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  44. if err != nil {
  45. return err
  46. }
  47. *x = Enum1(num)
  48. return nil
  49. }
  50. // Deprecated: Use Enum1.Type instead.
  51. func (Enum1) EnumDescriptor() ([]byte, []int) {
  52. return file_test_proto_rawDescGZIP(), []int{0}
  53. }
  54. type Enum2 int32
  55. const (
  56. Enum2_UNO Enum2 = 1
  57. )
  58. var Enum2_name = map[int32]string{
  59. 1: "UNO",
  60. }
  61. var Enum2_value = map[string]int32{
  62. "UNO": 1,
  63. }
  64. func (x Enum2) Enum() *Enum2 {
  65. p := new(Enum2)
  66. *p = x
  67. return p
  68. }
  69. func (x Enum2) String() string {
  70. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  71. }
  72. func (Enum2) Descriptor() protoreflect.EnumDescriptor {
  73. return file_test_proto_enumTypes[1].EnumDescriptor
  74. }
  75. func (x Enum2) Number() protoreflect.EnumNumber {
  76. return protoreflect.EnumNumber(x)
  77. }
  78. // Deprecated: Do not use.
  79. func (x *Enum2) UnmarshalJSON(b []byte) error {
  80. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  81. if err != nil {
  82. return err
  83. }
  84. *x = Enum2(num)
  85. return nil
  86. }
  87. // Deprecated: Use Enum2.Type instead.
  88. func (Enum2) EnumDescriptor() ([]byte, []int) {
  89. return file_test_proto_rawDescGZIP(), []int{1}
  90. }
  91. type Enum3 int32
  92. const (
  93. Enum3_YI Enum3 = 1
  94. )
  95. var Enum3_name = map[int32]string{
  96. 1: "YI",
  97. }
  98. var Enum3_value = map[string]int32{
  99. "YI": 1,
  100. }
  101. func (x Enum3) Enum() *Enum3 {
  102. p := new(Enum3)
  103. *p = x
  104. return p
  105. }
  106. func (x Enum3) String() string {
  107. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  108. }
  109. func (Enum3) Descriptor() protoreflect.EnumDescriptor {
  110. return file_test_proto_enumTypes[2].EnumDescriptor
  111. }
  112. func (x Enum3) Number() protoreflect.EnumNumber {
  113. return protoreflect.EnumNumber(x)
  114. }
  115. // Deprecated: Do not use.
  116. func (x *Enum3) UnmarshalJSON(b []byte) error {
  117. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  118. if err != nil {
  119. return err
  120. }
  121. *x = Enum3(num)
  122. return nil
  123. }
  124. // Deprecated: Use Enum3.Type instead.
  125. func (Enum3) EnumDescriptor() ([]byte, []int) {
  126. return file_test_proto_rawDescGZIP(), []int{2}
  127. }
  128. type Message1 struct {
  129. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  130. XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
  131. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  132. XXX_sizecache protoimpl.SizeCache `json:"-"`
  133. }
  134. func (x *Message1) Reset() {
  135. *x = Message1{}
  136. }
  137. func (x *Message1) String() string {
  138. return protoimpl.X.MessageStringOf(x)
  139. }
  140. func (*Message1) ProtoMessage() {}
  141. func (x *Message1) ProtoReflect() protoreflect.Message {
  142. return file_test_proto_msgTypes[0].MessageOf(x)
  143. }
  144. func (m *Message1) XXX_Methods() *protoiface.Methods {
  145. return file_test_proto_msgTypes[0].Methods()
  146. }
  147. // Deprecated: Use Message1.ProtoReflect.Type instead.
  148. func (*Message1) Descriptor() ([]byte, []int) {
  149. return file_test_proto_rawDescGZIP(), []int{0}
  150. }
  151. var extRange_Message1 = []protoiface.ExtensionRangeV1{
  152. {Start: 10, End: 536870911},
  153. }
  154. // Deprecated: Use Message1.ProtoReflect.Type.ExtensionRanges instead.
  155. func (*Message1) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
  156. return extRange_Message1
  157. }
  158. type Message2 struct {
  159. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  160. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  161. XXX_sizecache protoimpl.SizeCache `json:"-"`
  162. }
  163. func (x *Message2) Reset() {
  164. *x = Message2{}
  165. }
  166. func (x *Message2) String() string {
  167. return protoimpl.X.MessageStringOf(x)
  168. }
  169. func (*Message2) ProtoMessage() {}
  170. func (x *Message2) ProtoReflect() protoreflect.Message {
  171. return file_test_proto_msgTypes[1].MessageOf(x)
  172. }
  173. func (m *Message2) XXX_Methods() *protoiface.Methods {
  174. return file_test_proto_msgTypes[1].Methods()
  175. }
  176. // Deprecated: Use Message2.ProtoReflect.Type instead.
  177. func (*Message2) Descriptor() ([]byte, []int) {
  178. return file_test_proto_rawDescGZIP(), []int{1}
  179. }
  180. type Message3 struct {
  181. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  182. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  183. XXX_sizecache protoimpl.SizeCache `json:"-"`
  184. }
  185. func (x *Message3) Reset() {
  186. *x = Message3{}
  187. }
  188. func (x *Message3) String() string {
  189. return protoimpl.X.MessageStringOf(x)
  190. }
  191. func (*Message3) ProtoMessage() {}
  192. func (x *Message3) ProtoReflect() protoreflect.Message {
  193. return file_test_proto_msgTypes[2].MessageOf(x)
  194. }
  195. func (m *Message3) XXX_Methods() *protoiface.Methods {
  196. return file_test_proto_msgTypes[2].Methods()
  197. }
  198. // Deprecated: Use Message3.ProtoReflect.Type instead.
  199. func (*Message3) Descriptor() ([]byte, []int) {
  200. return file_test_proto_rawDescGZIP(), []int{2}
  201. }
  202. type Message4 struct {
  203. BoolField *bool `protobuf:"varint,30,opt,name=bool_field,json=boolField" json:"bool_field,omitempty"`
  204. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  205. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  206. XXX_sizecache protoimpl.SizeCache `json:"-"`
  207. }
  208. func (x *Message4) Reset() {
  209. *x = Message4{}
  210. }
  211. func (x *Message4) String() string {
  212. return protoimpl.X.MessageStringOf(x)
  213. }
  214. func (*Message4) ProtoMessage() {}
  215. func (x *Message4) ProtoReflect() protoreflect.Message {
  216. return file_test_proto_msgTypes[3].MessageOf(x)
  217. }
  218. func (m *Message4) XXX_Methods() *protoiface.Methods {
  219. return file_test_proto_msgTypes[3].Methods()
  220. }
  221. // Deprecated: Use Message4.ProtoReflect.Type instead.
  222. func (*Message4) Descriptor() ([]byte, []int) {
  223. return file_test_proto_rawDescGZIP(), []int{3}
  224. }
  225. func (x *Message4) GetBoolField() bool {
  226. if x != nil && x.BoolField != nil {
  227. return *x.BoolField
  228. }
  229. return false
  230. }
  231. var file_test_proto_extDescs = []protoiface.ExtensionDescV1{
  232. {
  233. ExtendedType: (*Message1)(nil),
  234. ExtensionType: (*string)(nil),
  235. Field: 11,
  236. Name: "testprotos.string_field",
  237. Tag: "bytes,11,opt,name=string_field",
  238. Filename: "test.proto",
  239. },
  240. {
  241. ExtendedType: (*Message1)(nil),
  242. ExtensionType: (*Enum1)(nil),
  243. Field: 12,
  244. Name: "testprotos.enum_field",
  245. Tag: "varint,12,opt,name=enum_field,enum=testprotos.Enum1",
  246. Filename: "test.proto",
  247. },
  248. {
  249. ExtendedType: (*Message1)(nil),
  250. ExtensionType: (*Message2)(nil),
  251. Field: 13,
  252. Name: "testprotos.message_field",
  253. Tag: "bytes,13,opt,name=message_field",
  254. Filename: "test.proto",
  255. },
  256. {
  257. ExtendedType: (*Message1)(nil),
  258. ExtensionType: (*Message2)(nil),
  259. Field: 21,
  260. Name: "testprotos.Message4.message_field",
  261. Tag: "bytes,21,opt,name=message_field",
  262. Filename: "test.proto",
  263. },
  264. {
  265. ExtendedType: (*Message1)(nil),
  266. ExtensionType: (*Enum1)(nil),
  267. Field: 22,
  268. Name: "testprotos.Message4.enum_field",
  269. Tag: "varint,22,opt,name=enum_field,enum=testprotos.Enum1",
  270. Filename: "test.proto",
  271. },
  272. {
  273. ExtendedType: (*Message1)(nil),
  274. ExtensionType: (*string)(nil),
  275. Field: 23,
  276. Name: "testprotos.Message4.string_field",
  277. Tag: "bytes,23,opt,name=string_field",
  278. Filename: "test.proto",
  279. },
  280. }
  281. var (
  282. // extend testprotos.Message1 { optional string string_field = 11; }
  283. E_StringField = &file_test_proto_extDescs[0]
  284. // extend testprotos.Message1 { optional testprotos.Enum1 enum_field = 12; }
  285. E_EnumField = &file_test_proto_extDescs[1]
  286. // extend testprotos.Message1 { optional testprotos.Message2 message_field = 13; }
  287. E_MessageField = &file_test_proto_extDescs[2]
  288. // extend testprotos.Message1 { optional testprotos.Message2 message_field = 21; }
  289. E_Message4_MessageField = &file_test_proto_extDescs[3]
  290. // extend testprotos.Message1 { optional testprotos.Enum1 enum_field = 22; }
  291. E_Message4_EnumField = &file_test_proto_extDescs[4]
  292. // extend testprotos.Message1 { optional string string_field = 23; }
  293. E_Message4_StringField = &file_test_proto_extDescs[5]
  294. )
  295. var File_test_proto protoreflect.FileDescriptor
  296. var file_test_proto_rawDesc = []byte{
  297. 0x0a, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x74, 0x65,
  298. 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x22, 0x14, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73,
  299. 0x61, 0x67, 0x65, 0x31, 0x2a, 0x08, 0x08, 0x0a, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x0a,
  300. 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x22, 0x0a, 0x0a, 0x08, 0x4d, 0x65,
  301. 0x73, 0x73, 0x61, 0x67, 0x65, 0x33, 0x22, 0xfb, 0x01, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61,
  302. 0x67, 0x65, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x66, 0x69, 0x65, 0x6c,
  303. 0x64, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x46, 0x69, 0x65,
  304. 0x6c, 0x64, 0x32, 0x4f, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x69,
  305. 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
  306. 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
  307. 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73,
  308. 0x73, 0x61, 0x67, 0x65, 0x32, 0x52, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x69,
  309. 0x65, 0x6c, 0x64, 0x32, 0x46, 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c,
  310. 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d,
  311. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e,
  312. 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x31,
  313. 0x52, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x37, 0x0a, 0x0c, 0x73,
  314. 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65,
  315. 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  316. 0x31, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x46,
  317. 0x69, 0x65, 0x6c, 0x64, 0x2a, 0x10, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x31, 0x12, 0x07, 0x0a,
  318. 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x2a, 0x10, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x12,
  319. 0x07, 0x0a, 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x2a, 0x0f, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d,
  320. 0x33, 0x12, 0x06, 0x0a, 0x02, 0x59, 0x49, 0x10, 0x01, 0x3a, 0x37, 0x0a, 0x0c, 0x73, 0x74, 0x72,
  321. 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74,
  322. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18,
  323. 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x69, 0x65,
  324. 0x6c, 0x64, 0x3a, 0x46, 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64,
  325. 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65,
  326. 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x74,
  327. 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x31, 0x52,
  328. 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x3a, 0x4f, 0x0a, 0x0d, 0x6d, 0x65,
  329. 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65,
  330. 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  331. 0x31, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72,
  332. 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x52, 0x0c, 0x6d,
  333. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x3d, 0x5a, 0x3b, 0x67,
  334. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67,
  335. 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63,
  336. 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f,
  337. 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
  338. }
  339. var (
  340. file_test_proto_rawDescOnce sync.Once
  341. file_test_proto_rawDescData = file_test_proto_rawDesc
  342. )
  343. func file_test_proto_rawDescGZIP() []byte {
  344. file_test_proto_rawDescOnce.Do(func() {
  345. file_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_proto_rawDescData)
  346. })
  347. return file_test_proto_rawDescData
  348. }
  349. var file_test_proto_enumTypes = make([]prototype.Enum, 3)
  350. var file_test_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  351. var file_test_proto_goTypes = []interface{}{
  352. (Enum1)(0), // 0: testprotos.Enum1
  353. (Enum2)(0), // 1: testprotos.Enum2
  354. (Enum3)(0), // 2: testprotos.Enum3
  355. (*Message1)(nil), // 3: testprotos.Message1
  356. (*Message2)(nil), // 4: testprotos.Message2
  357. (*Message3)(nil), // 5: testprotos.Message3
  358. (*Message4)(nil), // 6: testprotos.Message4
  359. }
  360. var file_test_proto_depIdxs = []int32{
  361. 3, // testprotos.string_field:extendee -> testprotos.Message1
  362. 3, // testprotos.enum_field:extendee -> testprotos.Message1
  363. 3, // testprotos.message_field:extendee -> testprotos.Message1
  364. 3, // testprotos.Message4.message_field:extendee -> testprotos.Message1
  365. 3, // testprotos.Message4.enum_field:extendee -> testprotos.Message1
  366. 3, // testprotos.Message4.string_field:extendee -> testprotos.Message1
  367. 0, // testprotos.enum_field:type_name -> testprotos.Enum1
  368. 4, // testprotos.message_field:type_name -> testprotos.Message2
  369. 4, // testprotos.Message4.message_field:type_name -> testprotos.Message2
  370. 0, // testprotos.Message4.enum_field:type_name -> testprotos.Enum1
  371. 10, // starting offset of method output_type sub-list
  372. 10, // starting offset of method input_type sub-list
  373. 6, // starting offset of extension type_name sub-list
  374. 0, // starting offset of extension extendee sub-list
  375. 0, // starting offset of field type_name sub-list
  376. }
  377. func init() { file_test_proto_init() }
  378. func file_test_proto_init() {
  379. if File_test_proto != nil {
  380. return
  381. }
  382. out := protoimpl.TypeBuilder{
  383. File: protoimpl.DescBuilder{
  384. RawDescriptor: file_test_proto_rawDesc,
  385. NumEnums: 3,
  386. NumMessages: 4,
  387. NumExtensions: 6,
  388. NumServices: 0,
  389. },
  390. GoTypes: file_test_proto_goTypes,
  391. DependencyIndexes: file_test_proto_depIdxs,
  392. MessageInfos: file_test_proto_msgTypes,
  393. LegacyExtensions: file_test_proto_extDescs,
  394. }.Build()
  395. File_test_proto = out.File
  396. file_test_proto_enumTypes = out.Enums
  397. file_test_proto_rawDesc = nil
  398. file_test_proto_goTypes = nil
  399. file_test_proto_depIdxs = nil
  400. }