test.pb.go 29 KB

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