test.pb.go 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: pb3/test.proto
  3. package pb3
  4. import (
  5. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  6. protoregistry "google.golang.org/protobuf/reflect/protoregistry"
  7. protoiface "google.golang.org/protobuf/runtime/protoiface"
  8. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  9. sync "sync"
  10. )
  11. const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
  12. type Enum int32
  13. const (
  14. Enum_ZERO Enum = 0
  15. Enum_ONE Enum = 1
  16. Enum_TWO Enum = 2
  17. Enum_TEN Enum = 10
  18. )
  19. // Deprecated: Use Enum.Type.Values instead.
  20. var Enum_name = map[int32]string{
  21. 0: "ZERO",
  22. 1: "ONE",
  23. 2: "TWO",
  24. 10: "TEN",
  25. }
  26. // Deprecated: Use Enum.Type.Values instead.
  27. var Enum_value = map[string]int32{
  28. "ZERO": 0,
  29. "ONE": 1,
  30. "TWO": 2,
  31. "TEN": 10,
  32. }
  33. func (x Enum) Enum() *Enum {
  34. p := new(Enum)
  35. *p = x
  36. return p
  37. }
  38. func (x Enum) String() string {
  39. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  40. }
  41. func (Enum) Descriptor() protoreflect.EnumDescriptor {
  42. return file_pb3_test_proto_enumTypes[0].Descriptor()
  43. }
  44. // Deprecated: Use Descriptor instead.
  45. func (Enum) Type() protoreflect.EnumType {
  46. return file_pb3_test_proto_enumTypes[0]
  47. }
  48. func (x Enum) Number() protoreflect.EnumNumber {
  49. return protoreflect.EnumNumber(x)
  50. }
  51. // Deprecated: Use Enum.Type instead.
  52. func (Enum) EnumDescriptor() ([]byte, []int) {
  53. return file_pb3_test_proto_rawDescGZIP(), []int{0}
  54. }
  55. type Enums_NestedEnum int32
  56. const (
  57. Enums_CERO Enums_NestedEnum = 0
  58. Enums_UNO Enums_NestedEnum = 1
  59. Enums_DOS Enums_NestedEnum = 2
  60. Enums_DIEZ Enums_NestedEnum = 10
  61. )
  62. // Deprecated: Use Enums_NestedEnum.Type.Values instead.
  63. var Enums_NestedEnum_name = map[int32]string{
  64. 0: "CERO",
  65. 1: "UNO",
  66. 2: "DOS",
  67. 10: "DIEZ",
  68. }
  69. // Deprecated: Use Enums_NestedEnum.Type.Values instead.
  70. var Enums_NestedEnum_value = map[string]int32{
  71. "CERO": 0,
  72. "UNO": 1,
  73. "DOS": 2,
  74. "DIEZ": 10,
  75. }
  76. func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
  77. p := new(Enums_NestedEnum)
  78. *p = x
  79. return p
  80. }
  81. func (x Enums_NestedEnum) String() string {
  82. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  83. }
  84. func (Enums_NestedEnum) Descriptor() protoreflect.EnumDescriptor {
  85. return file_pb3_test_proto_enumTypes[1].Descriptor()
  86. }
  87. // Deprecated: Use Descriptor instead.
  88. func (Enums_NestedEnum) Type() protoreflect.EnumType {
  89. return file_pb3_test_proto_enumTypes[1]
  90. }
  91. func (x Enums_NestedEnum) Number() protoreflect.EnumNumber {
  92. return protoreflect.EnumNumber(x)
  93. }
  94. // Deprecated: Use Enums_NestedEnum.Type instead.
  95. func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
  96. return file_pb3_test_proto_rawDescGZIP(), []int{1, 0}
  97. }
  98. // Scalars contains scalar field types.
  99. type Scalars struct {
  100. SBool bool `protobuf:"varint,1,opt,name=s_bool,json=sBool,proto3" json:"s_bool,omitempty"`
  101. SInt32 int32 `protobuf:"varint,2,opt,name=s_int32,json=sInt32,proto3" json:"s_int32,omitempty"`
  102. SInt64 int64 `protobuf:"varint,3,opt,name=s_int64,json=sInt64,proto3" json:"s_int64,omitempty"`
  103. SUint32 uint32 `protobuf:"varint,4,opt,name=s_uint32,json=sUint32,proto3" json:"s_uint32,omitempty"`
  104. SUint64 uint64 `protobuf:"varint,5,opt,name=s_uint64,json=sUint64,proto3" json:"s_uint64,omitempty"`
  105. SSint32 int32 `protobuf:"zigzag32,6,opt,name=s_sint32,json=sSint32,proto3" json:"s_sint32,omitempty"`
  106. SSint64 int64 `protobuf:"zigzag64,7,opt,name=s_sint64,json=sSint64,proto3" json:"s_sint64,omitempty"`
  107. SFixed32 uint32 `protobuf:"fixed32,8,opt,name=s_fixed32,json=sFixed32,proto3" json:"s_fixed32,omitempty"`
  108. SFixed64 uint64 `protobuf:"fixed64,9,opt,name=s_fixed64,json=sFixed64,proto3" json:"s_fixed64,omitempty"`
  109. SSfixed32 int32 `protobuf:"fixed32,10,opt,name=s_sfixed32,json=sSfixed32,proto3" json:"s_sfixed32,omitempty"`
  110. SSfixed64 int64 `protobuf:"fixed64,11,opt,name=s_sfixed64,json=sSfixed64,proto3" json:"s_sfixed64,omitempty"`
  111. SFloat float32 `protobuf:"fixed32,20,opt,name=s_float,json=sFloat,proto3" json:"s_float,omitempty"`
  112. SDouble float64 `protobuf:"fixed64,21,opt,name=s_double,json=sDouble,proto3" json:"s_double,omitempty"`
  113. SBytes []byte `protobuf:"bytes,14,opt,name=s_bytes,json=sBytes,proto3" json:"s_bytes,omitempty"`
  114. SString string `protobuf:"bytes,13,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
  115. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  116. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  117. XXX_sizecache protoimpl.SizeCache `json:"-"`
  118. }
  119. func (x *Scalars) Reset() {
  120. *x = Scalars{}
  121. }
  122. func (x *Scalars) String() string {
  123. return protoimpl.X.MessageStringOf(x)
  124. }
  125. func (*Scalars) ProtoMessage() {}
  126. func (x *Scalars) ProtoReflect() protoreflect.Message {
  127. return file_pb3_test_proto_msgTypes[0].MessageOf(x)
  128. }
  129. func (m *Scalars) XXX_Methods() *protoiface.Methods {
  130. return file_pb3_test_proto_msgTypes[0].Methods()
  131. }
  132. // Deprecated: Use Scalars.ProtoReflect.Type instead.
  133. func (*Scalars) Descriptor() ([]byte, []int) {
  134. return file_pb3_test_proto_rawDescGZIP(), []int{0}
  135. }
  136. func (x *Scalars) GetSBool() bool {
  137. if x != nil {
  138. return x.SBool
  139. }
  140. return false
  141. }
  142. func (x *Scalars) GetSInt32() int32 {
  143. if x != nil {
  144. return x.SInt32
  145. }
  146. return 0
  147. }
  148. func (x *Scalars) GetSInt64() int64 {
  149. if x != nil {
  150. return x.SInt64
  151. }
  152. return 0
  153. }
  154. func (x *Scalars) GetSUint32() uint32 {
  155. if x != nil {
  156. return x.SUint32
  157. }
  158. return 0
  159. }
  160. func (x *Scalars) GetSUint64() uint64 {
  161. if x != nil {
  162. return x.SUint64
  163. }
  164. return 0
  165. }
  166. func (x *Scalars) GetSSint32() int32 {
  167. if x != nil {
  168. return x.SSint32
  169. }
  170. return 0
  171. }
  172. func (x *Scalars) GetSSint64() int64 {
  173. if x != nil {
  174. return x.SSint64
  175. }
  176. return 0
  177. }
  178. func (x *Scalars) GetSFixed32() uint32 {
  179. if x != nil {
  180. return x.SFixed32
  181. }
  182. return 0
  183. }
  184. func (x *Scalars) GetSFixed64() uint64 {
  185. if x != nil {
  186. return x.SFixed64
  187. }
  188. return 0
  189. }
  190. func (x *Scalars) GetSSfixed32() int32 {
  191. if x != nil {
  192. return x.SSfixed32
  193. }
  194. return 0
  195. }
  196. func (x *Scalars) GetSSfixed64() int64 {
  197. if x != nil {
  198. return x.SSfixed64
  199. }
  200. return 0
  201. }
  202. func (x *Scalars) GetSFloat() float32 {
  203. if x != nil {
  204. return x.SFloat
  205. }
  206. return 0
  207. }
  208. func (x *Scalars) GetSDouble() float64 {
  209. if x != nil {
  210. return x.SDouble
  211. }
  212. return 0
  213. }
  214. func (x *Scalars) GetSBytes() []byte {
  215. if x != nil {
  216. return x.SBytes
  217. }
  218. return nil
  219. }
  220. func (x *Scalars) GetSString() string {
  221. if x != nil {
  222. return x.SString
  223. }
  224. return ""
  225. }
  226. // Message contains enum fields.
  227. type Enums struct {
  228. SEnum Enum `protobuf:"varint,1,opt,name=s_enum,json=sEnum,proto3,enum=pb3.Enum" json:"s_enum,omitempty"`
  229. SNestedEnum Enums_NestedEnum `protobuf:"varint,3,opt,name=s_nested_enum,json=sNestedEnum,proto3,enum=pb3.Enums_NestedEnum" json:"s_nested_enum,omitempty"`
  230. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  231. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  232. XXX_sizecache protoimpl.SizeCache `json:"-"`
  233. }
  234. func (x *Enums) Reset() {
  235. *x = Enums{}
  236. }
  237. func (x *Enums) String() string {
  238. return protoimpl.X.MessageStringOf(x)
  239. }
  240. func (*Enums) ProtoMessage() {}
  241. func (x *Enums) ProtoReflect() protoreflect.Message {
  242. return file_pb3_test_proto_msgTypes[1].MessageOf(x)
  243. }
  244. func (m *Enums) XXX_Methods() *protoiface.Methods {
  245. return file_pb3_test_proto_msgTypes[1].Methods()
  246. }
  247. // Deprecated: Use Enums.ProtoReflect.Type instead.
  248. func (*Enums) Descriptor() ([]byte, []int) {
  249. return file_pb3_test_proto_rawDescGZIP(), []int{1}
  250. }
  251. func (x *Enums) GetSEnum() Enum {
  252. if x != nil {
  253. return x.SEnum
  254. }
  255. return Enum_ZERO
  256. }
  257. func (x *Enums) GetSNestedEnum() Enums_NestedEnum {
  258. if x != nil {
  259. return x.SNestedEnum
  260. }
  261. return Enums_CERO
  262. }
  263. // Message contains nested message field.
  264. type Nests struct {
  265. SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
  266. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  267. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  268. XXX_sizecache protoimpl.SizeCache `json:"-"`
  269. }
  270. func (x *Nests) Reset() {
  271. *x = Nests{}
  272. }
  273. func (x *Nests) String() string {
  274. return protoimpl.X.MessageStringOf(x)
  275. }
  276. func (*Nests) ProtoMessage() {}
  277. func (x *Nests) ProtoReflect() protoreflect.Message {
  278. return file_pb3_test_proto_msgTypes[2].MessageOf(x)
  279. }
  280. func (m *Nests) XXX_Methods() *protoiface.Methods {
  281. return file_pb3_test_proto_msgTypes[2].Methods()
  282. }
  283. // Deprecated: Use Nests.ProtoReflect.Type instead.
  284. func (*Nests) Descriptor() ([]byte, []int) {
  285. return file_pb3_test_proto_rawDescGZIP(), []int{2}
  286. }
  287. func (x *Nests) GetSNested() *Nested {
  288. if x != nil {
  289. return x.SNested
  290. }
  291. return nil
  292. }
  293. // Message type used as submessage.
  294. type Nested struct {
  295. SString string `protobuf:"bytes,1,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
  296. SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
  297. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  298. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  299. XXX_sizecache protoimpl.SizeCache `json:"-"`
  300. }
  301. func (x *Nested) Reset() {
  302. *x = Nested{}
  303. }
  304. func (x *Nested) String() string {
  305. return protoimpl.X.MessageStringOf(x)
  306. }
  307. func (*Nested) ProtoMessage() {}
  308. func (x *Nested) ProtoReflect() protoreflect.Message {
  309. return file_pb3_test_proto_msgTypes[3].MessageOf(x)
  310. }
  311. func (m *Nested) XXX_Methods() *protoiface.Methods {
  312. return file_pb3_test_proto_msgTypes[3].Methods()
  313. }
  314. // Deprecated: Use Nested.ProtoReflect.Type instead.
  315. func (*Nested) Descriptor() ([]byte, []int) {
  316. return file_pb3_test_proto_rawDescGZIP(), []int{3}
  317. }
  318. func (x *Nested) GetSString() string {
  319. if x != nil {
  320. return x.SString
  321. }
  322. return ""
  323. }
  324. func (x *Nested) GetSNested() *Nested {
  325. if x != nil {
  326. return x.SNested
  327. }
  328. return nil
  329. }
  330. // Message contains oneof field.
  331. type Oneofs struct {
  332. // Types that are valid to be assigned to Union:
  333. // *Oneofs_OneofEnum
  334. // *Oneofs_OneofString
  335. // *Oneofs_OneofNested
  336. Union isOneofs_Union `protobuf_oneof:"union"`
  337. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  338. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  339. XXX_sizecache protoimpl.SizeCache `json:"-"`
  340. }
  341. func (x *Oneofs) Reset() {
  342. *x = Oneofs{}
  343. }
  344. func (x *Oneofs) String() string {
  345. return protoimpl.X.MessageStringOf(x)
  346. }
  347. func (*Oneofs) ProtoMessage() {}
  348. func (x *Oneofs) ProtoReflect() protoreflect.Message {
  349. return file_pb3_test_proto_msgTypes[4].MessageOf(x)
  350. }
  351. func (m *Oneofs) XXX_Methods() *protoiface.Methods {
  352. return file_pb3_test_proto_msgTypes[4].Methods()
  353. }
  354. // Deprecated: Use Oneofs.ProtoReflect.Type instead.
  355. func (*Oneofs) Descriptor() ([]byte, []int) {
  356. return file_pb3_test_proto_rawDescGZIP(), []int{4}
  357. }
  358. func (m *Oneofs) GetUnion() isOneofs_Union {
  359. if m != nil {
  360. return m.Union
  361. }
  362. return nil
  363. }
  364. func (x *Oneofs) GetOneofEnum() Enum {
  365. if x, ok := x.GetUnion().(*Oneofs_OneofEnum); ok {
  366. return x.OneofEnum
  367. }
  368. return Enum_ZERO
  369. }
  370. func (x *Oneofs) GetOneofString() string {
  371. if x, ok := x.GetUnion().(*Oneofs_OneofString); ok {
  372. return x.OneofString
  373. }
  374. return ""
  375. }
  376. func (x *Oneofs) GetOneofNested() *Nested {
  377. if x, ok := x.GetUnion().(*Oneofs_OneofNested); ok {
  378. return x.OneofNested
  379. }
  380. return nil
  381. }
  382. // XXX_OneofWrappers is for the internal use of the proto package.
  383. func (*Oneofs) XXX_OneofWrappers() []interface{} {
  384. return []interface{}{
  385. (*Oneofs_OneofEnum)(nil),
  386. (*Oneofs_OneofString)(nil),
  387. (*Oneofs_OneofNested)(nil),
  388. }
  389. }
  390. type isOneofs_Union interface {
  391. isOneofs_Union()
  392. }
  393. type Oneofs_OneofEnum struct {
  394. OneofEnum Enum `protobuf:"varint,1,opt,name=oneof_enum,json=oneofEnum,proto3,enum=pb3.Enum,oneof"`
  395. }
  396. type Oneofs_OneofString struct {
  397. OneofString string `protobuf:"bytes,2,opt,name=oneof_string,json=oneofString,proto3,oneof"`
  398. }
  399. type Oneofs_OneofNested struct {
  400. OneofNested *Nested `protobuf:"bytes,3,opt,name=oneof_nested,json=oneofNested,proto3,oneof"`
  401. }
  402. func (*Oneofs_OneofEnum) isOneofs_Union() {}
  403. func (*Oneofs_OneofString) isOneofs_Union() {}
  404. func (*Oneofs_OneofNested) isOneofs_Union() {}
  405. // Message contains map fields.
  406. type Maps struct {
  407. Int32ToStr map[int32]string `protobuf:"bytes,1,rep,name=int32_to_str,json=int32ToStr,proto3" json:"int32_to_str,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  408. BoolToUint32 map[bool]uint32 `protobuf:"bytes,2,rep,name=bool_to_uint32,json=boolToUint32,proto3" json:"bool_to_uint32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  409. Uint64ToEnum map[uint64]Enum `protobuf:"bytes,3,rep,name=uint64_to_enum,json=uint64ToEnum,proto3" json:"uint64_to_enum,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=pb3.Enum"`
  410. StrToNested map[string]*Nested `protobuf:"bytes,4,rep,name=str_to_nested,json=strToNested,proto3" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  411. StrToOneofs map[string]*Oneofs `protobuf:"bytes,5,rep,name=str_to_oneofs,json=strToOneofs,proto3" json:"str_to_oneofs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  412. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  413. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  414. XXX_sizecache protoimpl.SizeCache `json:"-"`
  415. }
  416. func (x *Maps) Reset() {
  417. *x = Maps{}
  418. }
  419. func (x *Maps) String() string {
  420. return protoimpl.X.MessageStringOf(x)
  421. }
  422. func (*Maps) ProtoMessage() {}
  423. func (x *Maps) ProtoReflect() protoreflect.Message {
  424. return file_pb3_test_proto_msgTypes[5].MessageOf(x)
  425. }
  426. func (m *Maps) XXX_Methods() *protoiface.Methods {
  427. return file_pb3_test_proto_msgTypes[5].Methods()
  428. }
  429. // Deprecated: Use Maps.ProtoReflect.Type instead.
  430. func (*Maps) Descriptor() ([]byte, []int) {
  431. return file_pb3_test_proto_rawDescGZIP(), []int{5}
  432. }
  433. func (x *Maps) GetInt32ToStr() map[int32]string {
  434. if x != nil {
  435. return x.Int32ToStr
  436. }
  437. return nil
  438. }
  439. func (x *Maps) GetBoolToUint32() map[bool]uint32 {
  440. if x != nil {
  441. return x.BoolToUint32
  442. }
  443. return nil
  444. }
  445. func (x *Maps) GetUint64ToEnum() map[uint64]Enum {
  446. if x != nil {
  447. return x.Uint64ToEnum
  448. }
  449. return nil
  450. }
  451. func (x *Maps) GetStrToNested() map[string]*Nested {
  452. if x != nil {
  453. return x.StrToNested
  454. }
  455. return nil
  456. }
  457. func (x *Maps) GetStrToOneofs() map[string]*Oneofs {
  458. if x != nil {
  459. return x.StrToOneofs
  460. }
  461. return nil
  462. }
  463. // Message for testing json_name option.
  464. type JSONNames struct {
  465. SString string `protobuf:"bytes,1,opt,name=s_string,json=foo_bar,proto3" json:"s_string,omitempty"`
  466. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  467. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  468. XXX_sizecache protoimpl.SizeCache `json:"-"`
  469. }
  470. func (x *JSONNames) Reset() {
  471. *x = JSONNames{}
  472. }
  473. func (x *JSONNames) String() string {
  474. return protoimpl.X.MessageStringOf(x)
  475. }
  476. func (*JSONNames) ProtoMessage() {}
  477. func (x *JSONNames) ProtoReflect() protoreflect.Message {
  478. return file_pb3_test_proto_msgTypes[6].MessageOf(x)
  479. }
  480. func (m *JSONNames) XXX_Methods() *protoiface.Methods {
  481. return file_pb3_test_proto_msgTypes[6].Methods()
  482. }
  483. // Deprecated: Use JSONNames.ProtoReflect.Type instead.
  484. func (*JSONNames) Descriptor() ([]byte, []int) {
  485. return file_pb3_test_proto_rawDescGZIP(), []int{6}
  486. }
  487. func (x *JSONNames) GetSString() string {
  488. if x != nil {
  489. return x.SString
  490. }
  491. return ""
  492. }
  493. var File_pb3_test_proto protoreflect.FileDescriptor
  494. var file_pb3_test_proto_rawDesc = []byte{
  495. 0x0a, 0x0e, 0x70, 0x62, 0x33, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  496. 0x12, 0x03, 0x70, 0x62, 0x33, 0x22, 0x9e, 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72,
  497. 0x73, 0x12, 0x15, 0x0a, 0x06, 0x73, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
  498. 0x08, 0x52, 0x05, 0x73, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x69, 0x6e,
  499. 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x49, 0x6e, 0x74, 0x33,
  500. 0x32, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01,
  501. 0x28, 0x03, 0x52, 0x06, 0x73, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f,
  502. 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x55,
  503. 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36,
  504. 0x34, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x73, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34,
  505. 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01,
  506. 0x28, 0x11, 0x52, 0x07, 0x73, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x19, 0x0a, 0x08, 0x73,
  507. 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x73,
  508. 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x5f, 0x66, 0x69, 0x78, 0x65,
  509. 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07, 0x52, 0x08, 0x73, 0x46, 0x69, 0x78, 0x65,
  510. 0x64, 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
  511. 0x18, 0x09, 0x20, 0x01, 0x28, 0x06, 0x52, 0x08, 0x73, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
  512. 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a,
  513. 0x20, 0x01, 0x28, 0x0f, 0x52, 0x09, 0x73, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12,
  514. 0x1d, 0x0a, 0x0a, 0x73, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x0b, 0x20,
  515. 0x01, 0x28, 0x10, 0x52, 0x09, 0x73, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x17,
  516. 0x0a, 0x07, 0x73, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52,
  517. 0x06, 0x73, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x64, 0x6f, 0x75,
  518. 0x62, 0x6c, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x73, 0x44, 0x6f, 0x75, 0x62,
  519. 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20,
  520. 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73,
  521. 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73,
  522. 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x98, 0x01, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x73,
  523. 0x12, 0x20, 0x0a, 0x06, 0x73, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
  524. 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x73, 0x45, 0x6e,
  525. 0x75, 0x6d, 0x12, 0x39, 0x0a, 0x0d, 0x73, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65,
  526. 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x33, 0x2e,
  527. 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
  528. 0x52, 0x0b, 0x73, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22, 0x32, 0x0a,
  529. 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x08, 0x0a, 0x04, 0x43,
  530. 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07,
  531. 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10,
  532. 0x0a, 0x22, 0x2f, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x08, 0x73, 0x5f,
  533. 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70,
  534. 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x07, 0x73, 0x4e, 0x65, 0x73, 0x74,
  535. 0x65, 0x64, 0x22, 0x4b, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08,
  536. 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
  537. 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x0a, 0x08, 0x73, 0x5f, 0x6e, 0x65, 0x73,
  538. 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e,
  539. 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x07, 0x73, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22,
  540. 0x94, 0x01, 0x0a, 0x06, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x6e,
  541. 0x65, 0x6f, 0x66, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09,
  542. 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x48, 0x00, 0x52, 0x09, 0x6f, 0x6e, 0x65,
  543. 0x6f, 0x66, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x23, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f,
  544. 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b,
  545. 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x30, 0x0a, 0x0c, 0x6f,
  546. 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
  547. 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x48, 0x00,
  548. 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x42, 0x07, 0x0a,
  549. 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0xaf, 0x05, 0x0a, 0x04, 0x4d, 0x61, 0x70, 0x73, 0x12,
  550. 0x3b, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x72, 0x18,
  551. 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73,
  552. 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79,
  553. 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x12, 0x41, 0x0a, 0x0e,
  554. 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x74, 0x6f, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02,
  555. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e,
  556. 0x42, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72,
  557. 0x79, 0x52, 0x0c, 0x62, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
  558. 0x41, 0x0a, 0x0e, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x74, 0x6f, 0x5f, 0x65, 0x6e, 0x75,
  559. 0x6d, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61,
  560. 0x70, 0x73, 0x2e, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x45,
  561. 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x54, 0x6f, 0x45, 0x6e,
  562. 0x75, 0x6d, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73,
  563. 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x33, 0x2e,
  564. 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
  565. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74,
  566. 0x65, 0x64, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6f, 0x6e, 0x65,
  567. 0x6f, 0x66, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x33, 0x2e,
  568. 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73,
  569. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f,
  570. 0x66, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72,
  571. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
  572. 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  573. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
  574. 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x42, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e, 0x74, 0x33,
  575. 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
  576. 0x01, 0x28, 0x08, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
  577. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
  578. 0x38, 0x01, 0x1a, 0x4a, 0x0a, 0x11, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x54, 0x6f, 0x45, 0x6e,
  579. 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
  580. 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x05, 0x76, 0x61, 0x6c,
  581. 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45,
  582. 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b,
  583. 0x0a, 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74,
  584. 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  585. 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
  586. 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
  587. 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b, 0x0a, 0x10, 0x53,
  588. 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
  589. 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
  590. 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
  591. 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x52, 0x05, 0x76,
  592. 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x26, 0x0a, 0x09, 0x4a, 0x53, 0x4f, 0x4e,
  593. 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
  594. 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x6f, 0x6f, 0x5f, 0x62, 0x61, 0x72,
  595. 0x2a, 0x2b, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x08, 0x0a, 0x04, 0x5a, 0x45, 0x52, 0x4f,
  596. 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54,
  597. 0x57, 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a, 0x42, 0x34, 0x5a,
  598. 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
  599. 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6e, 0x63, 0x6f,
  600. 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f,
  601. 0x70, 0x62, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  602. }
  603. var (
  604. file_pb3_test_proto_rawDescOnce sync.Once
  605. file_pb3_test_proto_rawDescData = file_pb3_test_proto_rawDesc
  606. )
  607. func file_pb3_test_proto_rawDescGZIP() []byte {
  608. file_pb3_test_proto_rawDescOnce.Do(func() {
  609. file_pb3_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb3_test_proto_rawDescData)
  610. })
  611. return file_pb3_test_proto_rawDescData
  612. }
  613. var file_pb3_test_proto_enumTypes = make([]protoreflect.EnumType, 2)
  614. var file_pb3_test_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
  615. var file_pb3_test_proto_goTypes = []interface{}{
  616. (Enum)(0), // 0: pb3.Enum
  617. (Enums_NestedEnum)(0), // 1: pb3.Enums.NestedEnum
  618. (*Scalars)(nil), // 2: pb3.Scalars
  619. (*Enums)(nil), // 3: pb3.Enums
  620. (*Nests)(nil), // 4: pb3.Nests
  621. (*Nested)(nil), // 5: pb3.Nested
  622. (*Oneofs)(nil), // 6: pb3.Oneofs
  623. (*Maps)(nil), // 7: pb3.Maps
  624. (*JSONNames)(nil), // 8: pb3.JSONNames
  625. nil, // 9: pb3.Maps.Int32ToStrEntry
  626. nil, // 10: pb3.Maps.BoolToUint32Entry
  627. nil, // 11: pb3.Maps.Uint64ToEnumEntry
  628. nil, // 12: pb3.Maps.StrToNestedEntry
  629. nil, // 13: pb3.Maps.StrToOneofsEntry
  630. }
  631. var file_pb3_test_proto_depIdxs = []int32{
  632. 0, // pb3.Enums.s_enum:type_name -> pb3.Enum
  633. 1, // pb3.Enums.s_nested_enum:type_name -> pb3.Enums.NestedEnum
  634. 5, // pb3.Nests.s_nested:type_name -> pb3.Nested
  635. 5, // pb3.Nested.s_nested:type_name -> pb3.Nested
  636. 0, // pb3.Oneofs.oneof_enum:type_name -> pb3.Enum
  637. 5, // pb3.Oneofs.oneof_nested:type_name -> pb3.Nested
  638. 9, // pb3.Maps.int32_to_str:type_name -> pb3.Maps.Int32ToStrEntry
  639. 10, // pb3.Maps.bool_to_uint32:type_name -> pb3.Maps.BoolToUint32Entry
  640. 11, // pb3.Maps.uint64_to_enum:type_name -> pb3.Maps.Uint64ToEnumEntry
  641. 12, // pb3.Maps.str_to_nested:type_name -> pb3.Maps.StrToNestedEntry
  642. 13, // pb3.Maps.str_to_oneofs:type_name -> pb3.Maps.StrToOneofsEntry
  643. 0, // pb3.Maps.Uint64ToEnumEntry.value:type_name -> pb3.Enum
  644. 5, // pb3.Maps.StrToNestedEntry.value:type_name -> pb3.Nested
  645. 6, // pb3.Maps.StrToOneofsEntry.value:type_name -> pb3.Oneofs
  646. }
  647. func init() { file_pb3_test_proto_init() }
  648. func file_pb3_test_proto_init() {
  649. if File_pb3_test_proto != nil {
  650. return
  651. }
  652. File_pb3_test_proto = protoimpl.FileBuilder{
  653. RawDescriptor: file_pb3_test_proto_rawDesc,
  654. GoTypes: file_pb3_test_proto_goTypes,
  655. DependencyIndexes: file_pb3_test_proto_depIdxs,
  656. EnumOutputTypes: file_pb3_test_proto_enumTypes,
  657. MessageOutputTypes: file_pb3_test_proto_msgTypes,
  658. FilesRegistry: protoregistry.GlobalFiles,
  659. TypesRegistry: protoregistry.GlobalTypes,
  660. }.Init()
  661. file_pb3_test_proto_rawDesc = nil
  662. file_pb3_test_proto_goTypes = nil
  663. file_pb3_test_proto_depIdxs = nil
  664. }