test.pb.go 29 KB

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