test.pb.go 95 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: test.proto
  3. package test
  4. import (
  5. proto "github.com/golang/protobuf/proto"
  6. protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
  7. prototype "github.com/golang/protobuf/v2/reflect/prototype"
  8. protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
  9. )
  10. // This is a compile-time assertion to ensure that this generated file
  11. // is compatible with the proto package it is being compiled against.
  12. // A compilation error at this line likely means your copy of the
  13. // proto package needs to be updated.
  14. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  15. type TestAllTypes_NestedEnum int32
  16. const (
  17. TestAllTypes_FOO TestAllTypes_NestedEnum = 0
  18. TestAllTypes_BAR TestAllTypes_NestedEnum = 1
  19. TestAllTypes_BAZ TestAllTypes_NestedEnum = 2
  20. TestAllTypes_NEG TestAllTypes_NestedEnum = -1
  21. )
  22. func (e TestAllTypes_NestedEnum) Type() protoreflect.EnumType {
  23. return xxx_Test_protoFile_EnumTypes[0]
  24. }
  25. func (e TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber {
  26. return protoreflect.EnumNumber(e)
  27. }
  28. var TestAllTypes_NestedEnum_name = map[int32]string{
  29. 0: "FOO",
  30. 1: "BAR",
  31. 2: "BAZ",
  32. -1: "NEG",
  33. }
  34. var TestAllTypes_NestedEnum_value = map[string]int32{
  35. "FOO": 0,
  36. "BAR": 1,
  37. "BAZ": 2,
  38. "NEG": -1,
  39. }
  40. func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum {
  41. p := new(TestAllTypes_NestedEnum)
  42. *p = x
  43. return p
  44. }
  45. func (x TestAllTypes_NestedEnum) String() string {
  46. return proto.EnumName(TestAllTypes_NestedEnum_name, int32(x))
  47. }
  48. func (x *TestAllTypes_NestedEnum) UnmarshalJSON(data []byte) error {
  49. value, err := proto.UnmarshalJSONEnum(TestAllTypes_NestedEnum_value, data, "TestAllTypes_NestedEnum")
  50. if err != nil {
  51. return err
  52. }
  53. *x = TestAllTypes_NestedEnum(value)
  54. return nil
  55. }
  56. func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int) {
  57. return fileDescriptor_c161fcfdc0c3ff1e, []int{0, 0}
  58. }
  59. type TestAllTypes struct {
  60. OptionalInt32 *int32 `protobuf:"varint,1,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
  61. OptionalInt64 *int64 `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
  62. OptionalUint32 *uint32 `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
  63. OptionalUint64 *uint64 `protobuf:"varint,4,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
  64. OptionalSint32 *int32 `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
  65. OptionalSint64 *int64 `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
  66. OptionalFixed32 *uint32 `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
  67. OptionalFixed64 *uint64 `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
  68. OptionalSfixed32 *int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
  69. OptionalSfixed64 *int64 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
  70. OptionalFloat *float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
  71. OptionalDouble *float64 `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
  72. OptionalBool *bool `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
  73. OptionalString *string `protobuf:"bytes,14,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
  74. OptionalBytes []byte `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
  75. Optionalgroup *TestAllTypes_OptionalGroup `protobuf:"group,16,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
  76. OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,18,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
  77. OptionalNestedEnum *TestAllTypes_NestedEnum `protobuf:"varint,21,opt,name=optional_nested_enum,json=optionalNestedEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum" json:"optional_nested_enum,omitempty"`
  78. RepeatedInt32 []int32 `protobuf:"varint,31,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
  79. RepeatedInt64 []int64 `protobuf:"varint,32,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
  80. RepeatedUint32 []uint32 `protobuf:"varint,33,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
  81. RepeatedUint64 []uint64 `protobuf:"varint,34,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
  82. RepeatedSint32 []int32 `protobuf:"zigzag32,35,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
  83. RepeatedSint64 []int64 `protobuf:"zigzag64,36,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
  84. RepeatedFixed32 []uint32 `protobuf:"fixed32,37,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
  85. RepeatedFixed64 []uint64 `protobuf:"fixed64,38,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
  86. RepeatedSfixed32 []int32 `protobuf:"fixed32,39,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
  87. RepeatedSfixed64 []int64 `protobuf:"fixed64,40,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
  88. RepeatedFloat []float32 `protobuf:"fixed32,41,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
  89. RepeatedDouble []float64 `protobuf:"fixed64,42,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
  90. RepeatedBool []bool `protobuf:"varint,43,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
  91. RepeatedString []string `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
  92. RepeatedBytes [][]byte `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
  93. Repeatedgroup []*TestAllTypes_RepeatedGroup `protobuf:"group,46,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
  94. RepeatedNestedMessage []*TestAllTypes_NestedMessage `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage" json:"repeated_nested_message,omitempty"`
  95. RepeatedNestedEnum []TestAllTypes_NestedEnum `protobuf:"varint,51,rep,name=repeated_nested_enum,json=repeatedNestedEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum" json:"repeated_nested_enum,omitempty"`
  96. MapInt32Int32 map[int32]int32 `protobuf:"bytes,56,rep,name=map_int32_int32,json=mapInt32Int32" json:"map_int32_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  97. MapInt64Int64 map[int64]int64 `protobuf:"bytes,57,rep,name=map_int64_int64,json=mapInt64Int64" json:"map_int64_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  98. MapUint32Uint32 map[uint32]uint32 `protobuf:"bytes,58,rep,name=map_uint32_uint32,json=mapUint32Uint32" json:"map_uint32_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  99. MapUint64Uint64 map[uint64]uint64 `protobuf:"bytes,59,rep,name=map_uint64_uint64,json=mapUint64Uint64" json:"map_uint64_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  100. MapSint32Sint32 map[int32]int32 `protobuf:"bytes,60,rep,name=map_sint32_sint32,json=mapSint32Sint32" json:"map_sint32_sint32,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
  101. MapSint64Sint64 map[int64]int64 `protobuf:"bytes,61,rep,name=map_sint64_sint64,json=mapSint64Sint64" json:"map_sint64_sint64,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
  102. MapFixed32Fixed32 map[uint32]uint32 `protobuf:"bytes,62,rep,name=map_fixed32_fixed32,json=mapFixed32Fixed32" json:"map_fixed32_fixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
  103. MapFixed64Fixed64 map[uint64]uint64 `protobuf:"bytes,63,rep,name=map_fixed64_fixed64,json=mapFixed64Fixed64" json:"map_fixed64_fixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
  104. MapSfixed32Sfixed32 map[int32]int32 `protobuf:"bytes,64,rep,name=map_sfixed32_sfixed32,json=mapSfixed32Sfixed32" json:"map_sfixed32_sfixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
  105. MapSfixed64Sfixed64 map[int64]int64 `protobuf:"bytes,65,rep,name=map_sfixed64_sfixed64,json=mapSfixed64Sfixed64" json:"map_sfixed64_sfixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
  106. MapInt32Float map[int32]float32 `protobuf:"bytes,66,rep,name=map_int32_float,json=mapInt32Float" json:"map_int32_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
  107. MapInt32Double map[int32]float64 `protobuf:"bytes,67,rep,name=map_int32_double,json=mapInt32Double" json:"map_int32_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
  108. MapBoolBool map[bool]bool `protobuf:"bytes,68,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  109. MapStringString map[string]string `protobuf:"bytes,69,rep,name=map_string_string,json=mapStringString" json:"map_string_string,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  110. MapStringBytes map[string][]byte `protobuf:"bytes,70,rep,name=map_string_bytes,json=mapStringBytes" json:"map_string_bytes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  111. MapStringNestedMessage map[string]*TestAllTypes_NestedMessage `protobuf:"bytes,71,rep,name=map_string_nested_message,json=mapStringNestedMessage" json:"map_string_nested_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  112. MapStringNestedEnum map[string]TestAllTypes_NestedEnum `protobuf:"bytes,73,rep,name=map_string_nested_enum,json=mapStringNestedEnum" json:"map_string_nested_enum,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=goproto.proto.test.TestAllTypes_NestedEnum"`
  113. // Types that are valid to be assigned to OneofField:
  114. // *TestAllTypes_OneofUint32
  115. // *TestAllTypes_OneofNestedMessage
  116. // *TestAllTypes_OneofString
  117. // *TestAllTypes_OneofBytes
  118. // *TestAllTypes_OneofBool
  119. // *TestAllTypes_OneofUint64
  120. // *TestAllTypes_OneofFloat
  121. // *TestAllTypes_OneofDouble
  122. // *TestAllTypes_OneofEnum
  123. OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"`
  124. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  125. XXX_unrecognized []byte `json:"-"`
  126. XXX_sizecache int32 `json:"-"`
  127. }
  128. type xxx_TestAllTypes struct{ m *TestAllTypes }
  129. func (m *TestAllTypes) ProtoReflect() protoreflect.Message {
  130. return xxx_TestAllTypes{m}
  131. }
  132. func (m xxx_TestAllTypes) Type() protoreflect.MessageType {
  133. return xxx_Test_protoFile_MessageTypes[0].Type
  134. }
  135. func (m xxx_TestAllTypes) KnownFields() protoreflect.KnownFields {
  136. return xxx_Test_protoFile_MessageTypes[0].KnownFieldsOf(m.m)
  137. }
  138. func (m xxx_TestAllTypes) UnknownFields() protoreflect.UnknownFields {
  139. return xxx_Test_protoFile_MessageTypes[0].UnknownFieldsOf(m.m)
  140. }
  141. func (m xxx_TestAllTypes) Interface() protoreflect.ProtoMessage {
  142. return m.m
  143. }
  144. func (m *TestAllTypes) Reset() { *m = TestAllTypes{} }
  145. func (m *TestAllTypes) String() string { return proto.CompactTextString(m) }
  146. func (*TestAllTypes) ProtoMessage() {}
  147. func (*TestAllTypes) Descriptor() ([]byte, []int) {
  148. return fileDescriptor_c161fcfdc0c3ff1e, []int{0}
  149. }
  150. func (m *TestAllTypes) XXX_Unmarshal(b []byte) error {
  151. return xxx_messageInfo_TestAllTypes.Unmarshal(m, b)
  152. }
  153. func (m *TestAllTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  154. return xxx_messageInfo_TestAllTypes.Marshal(b, m, deterministic)
  155. }
  156. func (m *TestAllTypes) XXX_Merge(src proto.Message) {
  157. xxx_messageInfo_TestAllTypes.Merge(m, src)
  158. }
  159. func (m *TestAllTypes) XXX_Size() int {
  160. return xxx_messageInfo_TestAllTypes.Size(m)
  161. }
  162. func (m *TestAllTypes) XXX_DiscardUnknown() {
  163. xxx_messageInfo_TestAllTypes.DiscardUnknown(m)
  164. }
  165. var xxx_messageInfo_TestAllTypes proto.InternalMessageInfo
  166. func (m *TestAllTypes) GetOptionalInt32() int32 {
  167. if m != nil && m.OptionalInt32 != nil {
  168. return *m.OptionalInt32
  169. }
  170. return 0
  171. }
  172. func (m *TestAllTypes) GetOptionalInt64() int64 {
  173. if m != nil && m.OptionalInt64 != nil {
  174. return *m.OptionalInt64
  175. }
  176. return 0
  177. }
  178. func (m *TestAllTypes) GetOptionalUint32() uint32 {
  179. if m != nil && m.OptionalUint32 != nil {
  180. return *m.OptionalUint32
  181. }
  182. return 0
  183. }
  184. func (m *TestAllTypes) GetOptionalUint64() uint64 {
  185. if m != nil && m.OptionalUint64 != nil {
  186. return *m.OptionalUint64
  187. }
  188. return 0
  189. }
  190. func (m *TestAllTypes) GetOptionalSint32() int32 {
  191. if m != nil && m.OptionalSint32 != nil {
  192. return *m.OptionalSint32
  193. }
  194. return 0
  195. }
  196. func (m *TestAllTypes) GetOptionalSint64() int64 {
  197. if m != nil && m.OptionalSint64 != nil {
  198. return *m.OptionalSint64
  199. }
  200. return 0
  201. }
  202. func (m *TestAllTypes) GetOptionalFixed32() uint32 {
  203. if m != nil && m.OptionalFixed32 != nil {
  204. return *m.OptionalFixed32
  205. }
  206. return 0
  207. }
  208. func (m *TestAllTypes) GetOptionalFixed64() uint64 {
  209. if m != nil && m.OptionalFixed64 != nil {
  210. return *m.OptionalFixed64
  211. }
  212. return 0
  213. }
  214. func (m *TestAllTypes) GetOptionalSfixed32() int32 {
  215. if m != nil && m.OptionalSfixed32 != nil {
  216. return *m.OptionalSfixed32
  217. }
  218. return 0
  219. }
  220. func (m *TestAllTypes) GetOptionalSfixed64() int64 {
  221. if m != nil && m.OptionalSfixed64 != nil {
  222. return *m.OptionalSfixed64
  223. }
  224. return 0
  225. }
  226. func (m *TestAllTypes) GetOptionalFloat() float32 {
  227. if m != nil && m.OptionalFloat != nil {
  228. return *m.OptionalFloat
  229. }
  230. return 0
  231. }
  232. func (m *TestAllTypes) GetOptionalDouble() float64 {
  233. if m != nil && m.OptionalDouble != nil {
  234. return *m.OptionalDouble
  235. }
  236. return 0
  237. }
  238. func (m *TestAllTypes) GetOptionalBool() bool {
  239. if m != nil && m.OptionalBool != nil {
  240. return *m.OptionalBool
  241. }
  242. return false
  243. }
  244. func (m *TestAllTypes) GetOptionalString() string {
  245. if m != nil && m.OptionalString != nil {
  246. return *m.OptionalString
  247. }
  248. return ""
  249. }
  250. func (m *TestAllTypes) GetOptionalBytes() []byte {
  251. if m != nil {
  252. return m.OptionalBytes
  253. }
  254. return nil
  255. }
  256. func (m *TestAllTypes) GetOptionalgroup() *TestAllTypes_OptionalGroup {
  257. if m != nil {
  258. return m.Optionalgroup
  259. }
  260. return nil
  261. }
  262. func (m *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage {
  263. if m != nil {
  264. return m.OptionalNestedMessage
  265. }
  266. return nil
  267. }
  268. func (m *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum {
  269. if m != nil && m.OptionalNestedEnum != nil {
  270. return *m.OptionalNestedEnum
  271. }
  272. return TestAllTypes_FOO
  273. }
  274. func (m *TestAllTypes) GetRepeatedInt32() []int32 {
  275. if m != nil {
  276. return m.RepeatedInt32
  277. }
  278. return nil
  279. }
  280. func (m *TestAllTypes) GetRepeatedInt64() []int64 {
  281. if m != nil {
  282. return m.RepeatedInt64
  283. }
  284. return nil
  285. }
  286. func (m *TestAllTypes) GetRepeatedUint32() []uint32 {
  287. if m != nil {
  288. return m.RepeatedUint32
  289. }
  290. return nil
  291. }
  292. func (m *TestAllTypes) GetRepeatedUint64() []uint64 {
  293. if m != nil {
  294. return m.RepeatedUint64
  295. }
  296. return nil
  297. }
  298. func (m *TestAllTypes) GetRepeatedSint32() []int32 {
  299. if m != nil {
  300. return m.RepeatedSint32
  301. }
  302. return nil
  303. }
  304. func (m *TestAllTypes) GetRepeatedSint64() []int64 {
  305. if m != nil {
  306. return m.RepeatedSint64
  307. }
  308. return nil
  309. }
  310. func (m *TestAllTypes) GetRepeatedFixed32() []uint32 {
  311. if m != nil {
  312. return m.RepeatedFixed32
  313. }
  314. return nil
  315. }
  316. func (m *TestAllTypes) GetRepeatedFixed64() []uint64 {
  317. if m != nil {
  318. return m.RepeatedFixed64
  319. }
  320. return nil
  321. }
  322. func (m *TestAllTypes) GetRepeatedSfixed32() []int32 {
  323. if m != nil {
  324. return m.RepeatedSfixed32
  325. }
  326. return nil
  327. }
  328. func (m *TestAllTypes) GetRepeatedSfixed64() []int64 {
  329. if m != nil {
  330. return m.RepeatedSfixed64
  331. }
  332. return nil
  333. }
  334. func (m *TestAllTypes) GetRepeatedFloat() []float32 {
  335. if m != nil {
  336. return m.RepeatedFloat
  337. }
  338. return nil
  339. }
  340. func (m *TestAllTypes) GetRepeatedDouble() []float64 {
  341. if m != nil {
  342. return m.RepeatedDouble
  343. }
  344. return nil
  345. }
  346. func (m *TestAllTypes) GetRepeatedBool() []bool {
  347. if m != nil {
  348. return m.RepeatedBool
  349. }
  350. return nil
  351. }
  352. func (m *TestAllTypes) GetRepeatedString() []string {
  353. if m != nil {
  354. return m.RepeatedString
  355. }
  356. return nil
  357. }
  358. func (m *TestAllTypes) GetRepeatedBytes() [][]byte {
  359. if m != nil {
  360. return m.RepeatedBytes
  361. }
  362. return nil
  363. }
  364. func (m *TestAllTypes) GetRepeatedgroup() []*TestAllTypes_RepeatedGroup {
  365. if m != nil {
  366. return m.Repeatedgroup
  367. }
  368. return nil
  369. }
  370. func (m *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage {
  371. if m != nil {
  372. return m.RepeatedNestedMessage
  373. }
  374. return nil
  375. }
  376. func (m *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum {
  377. if m != nil {
  378. return m.RepeatedNestedEnum
  379. }
  380. return nil
  381. }
  382. func (m *TestAllTypes) GetMapInt32Int32() map[int32]int32 {
  383. if m != nil {
  384. return m.MapInt32Int32
  385. }
  386. return nil
  387. }
  388. func (m *TestAllTypes) GetMapInt64Int64() map[int64]int64 {
  389. if m != nil {
  390. return m.MapInt64Int64
  391. }
  392. return nil
  393. }
  394. func (m *TestAllTypes) GetMapUint32Uint32() map[uint32]uint32 {
  395. if m != nil {
  396. return m.MapUint32Uint32
  397. }
  398. return nil
  399. }
  400. func (m *TestAllTypes) GetMapUint64Uint64() map[uint64]uint64 {
  401. if m != nil {
  402. return m.MapUint64Uint64
  403. }
  404. return nil
  405. }
  406. func (m *TestAllTypes) GetMapSint32Sint32() map[int32]int32 {
  407. if m != nil {
  408. return m.MapSint32Sint32
  409. }
  410. return nil
  411. }
  412. func (m *TestAllTypes) GetMapSint64Sint64() map[int64]int64 {
  413. if m != nil {
  414. return m.MapSint64Sint64
  415. }
  416. return nil
  417. }
  418. func (m *TestAllTypes) GetMapFixed32Fixed32() map[uint32]uint32 {
  419. if m != nil {
  420. return m.MapFixed32Fixed32
  421. }
  422. return nil
  423. }
  424. func (m *TestAllTypes) GetMapFixed64Fixed64() map[uint64]uint64 {
  425. if m != nil {
  426. return m.MapFixed64Fixed64
  427. }
  428. return nil
  429. }
  430. func (m *TestAllTypes) GetMapSfixed32Sfixed32() map[int32]int32 {
  431. if m != nil {
  432. return m.MapSfixed32Sfixed32
  433. }
  434. return nil
  435. }
  436. func (m *TestAllTypes) GetMapSfixed64Sfixed64() map[int64]int64 {
  437. if m != nil {
  438. return m.MapSfixed64Sfixed64
  439. }
  440. return nil
  441. }
  442. func (m *TestAllTypes) GetMapInt32Float() map[int32]float32 {
  443. if m != nil {
  444. return m.MapInt32Float
  445. }
  446. return nil
  447. }
  448. func (m *TestAllTypes) GetMapInt32Double() map[int32]float64 {
  449. if m != nil {
  450. return m.MapInt32Double
  451. }
  452. return nil
  453. }
  454. func (m *TestAllTypes) GetMapBoolBool() map[bool]bool {
  455. if m != nil {
  456. return m.MapBoolBool
  457. }
  458. return nil
  459. }
  460. func (m *TestAllTypes) GetMapStringString() map[string]string {
  461. if m != nil {
  462. return m.MapStringString
  463. }
  464. return nil
  465. }
  466. func (m *TestAllTypes) GetMapStringBytes() map[string][]byte {
  467. if m != nil {
  468. return m.MapStringBytes
  469. }
  470. return nil
  471. }
  472. func (m *TestAllTypes) GetMapStringNestedMessage() map[string]*TestAllTypes_NestedMessage {
  473. if m != nil {
  474. return m.MapStringNestedMessage
  475. }
  476. return nil
  477. }
  478. func (m *TestAllTypes) GetMapStringNestedEnum() map[string]TestAllTypes_NestedEnum {
  479. if m != nil {
  480. return m.MapStringNestedEnum
  481. }
  482. return nil
  483. }
  484. type isTestAllTypes_OneofField interface {
  485. isTestAllTypes_OneofField()
  486. }
  487. type TestAllTypes_OneofUint32 struct {
  488. OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,oneof"`
  489. }
  490. type TestAllTypes_OneofNestedMessage struct {
  491. OneofNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,oneof"`
  492. }
  493. type TestAllTypes_OneofString struct {
  494. OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,oneof"`
  495. }
  496. type TestAllTypes_OneofBytes struct {
  497. OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,oneof"`
  498. }
  499. type TestAllTypes_OneofBool struct {
  500. OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,oneof"`
  501. }
  502. type TestAllTypes_OneofUint64 struct {
  503. OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,oneof"`
  504. }
  505. type TestAllTypes_OneofFloat struct {
  506. OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,oneof"`
  507. }
  508. type TestAllTypes_OneofDouble struct {
  509. OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,oneof"`
  510. }
  511. type TestAllTypes_OneofEnum struct {
  512. OneofEnum TestAllTypes_NestedEnum `protobuf:"varint,119,opt,name=oneof_enum,json=oneofEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum,oneof"`
  513. }
  514. func (*TestAllTypes_OneofUint32) isTestAllTypes_OneofField() {}
  515. func (*TestAllTypes_OneofNestedMessage) isTestAllTypes_OneofField() {}
  516. func (*TestAllTypes_OneofString) isTestAllTypes_OneofField() {}
  517. func (*TestAllTypes_OneofBytes) isTestAllTypes_OneofField() {}
  518. func (*TestAllTypes_OneofBool) isTestAllTypes_OneofField() {}
  519. func (*TestAllTypes_OneofUint64) isTestAllTypes_OneofField() {}
  520. func (*TestAllTypes_OneofFloat) isTestAllTypes_OneofField() {}
  521. func (*TestAllTypes_OneofDouble) isTestAllTypes_OneofField() {}
  522. func (*TestAllTypes_OneofEnum) isTestAllTypes_OneofField() {}
  523. func (m *TestAllTypes) GetOneofField() isTestAllTypes_OneofField {
  524. if m != nil {
  525. return m.OneofField
  526. }
  527. return nil
  528. }
  529. func (m *TestAllTypes) GetOneofUint32() uint32 {
  530. if x, ok := m.GetOneofField().(*TestAllTypes_OneofUint32); ok {
  531. return x.OneofUint32
  532. }
  533. return 0
  534. }
  535. func (m *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage {
  536. if x, ok := m.GetOneofField().(*TestAllTypes_OneofNestedMessage); ok {
  537. return x.OneofNestedMessage
  538. }
  539. return nil
  540. }
  541. func (m *TestAllTypes) GetOneofString() string {
  542. if x, ok := m.GetOneofField().(*TestAllTypes_OneofString); ok {
  543. return x.OneofString
  544. }
  545. return ""
  546. }
  547. func (m *TestAllTypes) GetOneofBytes() []byte {
  548. if x, ok := m.GetOneofField().(*TestAllTypes_OneofBytes); ok {
  549. return x.OneofBytes
  550. }
  551. return nil
  552. }
  553. func (m *TestAllTypes) GetOneofBool() bool {
  554. if x, ok := m.GetOneofField().(*TestAllTypes_OneofBool); ok {
  555. return x.OneofBool
  556. }
  557. return false
  558. }
  559. func (m *TestAllTypes) GetOneofUint64() uint64 {
  560. if x, ok := m.GetOneofField().(*TestAllTypes_OneofUint64); ok {
  561. return x.OneofUint64
  562. }
  563. return 0
  564. }
  565. func (m *TestAllTypes) GetOneofFloat() float32 {
  566. if x, ok := m.GetOneofField().(*TestAllTypes_OneofFloat); ok {
  567. return x.OneofFloat
  568. }
  569. return 0
  570. }
  571. func (m *TestAllTypes) GetOneofDouble() float64 {
  572. if x, ok := m.GetOneofField().(*TestAllTypes_OneofDouble); ok {
  573. return x.OneofDouble
  574. }
  575. return 0
  576. }
  577. func (m *TestAllTypes) GetOneofEnum() TestAllTypes_NestedEnum {
  578. if x, ok := m.GetOneofField().(*TestAllTypes_OneofEnum); ok {
  579. return x.OneofEnum
  580. }
  581. return TestAllTypes_FOO
  582. }
  583. // XXX_OneofWrappers is for the internal use of the proto package.
  584. func (*TestAllTypes) XXX_OneofWrappers() []interface{} {
  585. return []interface{}{
  586. (*TestAllTypes_OneofUint32)(nil),
  587. (*TestAllTypes_OneofNestedMessage)(nil),
  588. (*TestAllTypes_OneofString)(nil),
  589. (*TestAllTypes_OneofBytes)(nil),
  590. (*TestAllTypes_OneofBool)(nil),
  591. (*TestAllTypes_OneofUint64)(nil),
  592. (*TestAllTypes_OneofFloat)(nil),
  593. (*TestAllTypes_OneofDouble)(nil),
  594. (*TestAllTypes_OneofEnum)(nil),
  595. }
  596. }
  597. type TestAllExtensions struct {
  598. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  599. proto.XXX_InternalExtensions `json:"-"`
  600. XXX_unrecognized []byte `json:"-"`
  601. XXX_sizecache int32 `json:"-"`
  602. }
  603. type xxx_TestAllExtensions struct{ m *TestAllExtensions }
  604. func (m *TestAllExtensions) ProtoReflect() protoreflect.Message {
  605. return xxx_TestAllExtensions{m}
  606. }
  607. func (m xxx_TestAllExtensions) Type() protoreflect.MessageType {
  608. return xxx_Test_protoFile_MessageTypes[1].Type
  609. }
  610. func (m xxx_TestAllExtensions) KnownFields() protoreflect.KnownFields {
  611. return xxx_Test_protoFile_MessageTypes[1].KnownFieldsOf(m.m)
  612. }
  613. func (m xxx_TestAllExtensions) UnknownFields() protoreflect.UnknownFields {
  614. return xxx_Test_protoFile_MessageTypes[1].UnknownFieldsOf(m.m)
  615. }
  616. func (m xxx_TestAllExtensions) Interface() protoreflect.ProtoMessage {
  617. return m.m
  618. }
  619. func (m *TestAllExtensions) Reset() { *m = TestAllExtensions{} }
  620. func (m *TestAllExtensions) String() string { return proto.CompactTextString(m) }
  621. func (*TestAllExtensions) ProtoMessage() {}
  622. func (*TestAllExtensions) Descriptor() ([]byte, []int) {
  623. return fileDescriptor_c161fcfdc0c3ff1e, []int{1}
  624. }
  625. var extRange_TestAllExtensions = []proto.ExtensionRange{
  626. {Start: 1, End: 536870911},
  627. }
  628. func (*TestAllExtensions) ExtensionRangeArray() []proto.ExtensionRange {
  629. return extRange_TestAllExtensions
  630. }
  631. func (m *TestAllExtensions) XXX_Unmarshal(b []byte) error {
  632. return xxx_messageInfo_TestAllExtensions.Unmarshal(m, b)
  633. }
  634. func (m *TestAllExtensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  635. return xxx_messageInfo_TestAllExtensions.Marshal(b, m, deterministic)
  636. }
  637. func (m *TestAllExtensions) XXX_Merge(src proto.Message) {
  638. xxx_messageInfo_TestAllExtensions.Merge(m, src)
  639. }
  640. func (m *TestAllExtensions) XXX_Size() int {
  641. return xxx_messageInfo_TestAllExtensions.Size(m)
  642. }
  643. func (m *TestAllExtensions) XXX_DiscardUnknown() {
  644. xxx_messageInfo_TestAllExtensions.DiscardUnknown(m)
  645. }
  646. var xxx_messageInfo_TestAllExtensions proto.InternalMessageInfo
  647. type OptionalGroupExtension struct {
  648. A *int32 `protobuf:"varint,17,opt,name=a" json:"a,omitempty"`
  649. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  650. XXX_unrecognized []byte `json:"-"`
  651. XXX_sizecache int32 `json:"-"`
  652. }
  653. type xxx_OptionalGroupExtension struct{ m *OptionalGroupExtension }
  654. func (m *OptionalGroupExtension) ProtoReflect() protoreflect.Message {
  655. return xxx_OptionalGroupExtension{m}
  656. }
  657. func (m xxx_OptionalGroupExtension) Type() protoreflect.MessageType {
  658. return xxx_Test_protoFile_MessageTypes[2].Type
  659. }
  660. func (m xxx_OptionalGroupExtension) KnownFields() protoreflect.KnownFields {
  661. return xxx_Test_protoFile_MessageTypes[2].KnownFieldsOf(m.m)
  662. }
  663. func (m xxx_OptionalGroupExtension) UnknownFields() protoreflect.UnknownFields {
  664. return xxx_Test_protoFile_MessageTypes[2].UnknownFieldsOf(m.m)
  665. }
  666. func (m xxx_OptionalGroupExtension) Interface() protoreflect.ProtoMessage {
  667. return m.m
  668. }
  669. func (m *OptionalGroupExtension) Reset() { *m = OptionalGroupExtension{} }
  670. func (m *OptionalGroupExtension) String() string { return proto.CompactTextString(m) }
  671. func (*OptionalGroupExtension) ProtoMessage() {}
  672. func (*OptionalGroupExtension) Descriptor() ([]byte, []int) {
  673. return fileDescriptor_c161fcfdc0c3ff1e, []int{2}
  674. }
  675. func (m *OptionalGroupExtension) XXX_Unmarshal(b []byte) error {
  676. return xxx_messageInfo_OptionalGroupExtension.Unmarshal(m, b)
  677. }
  678. func (m *OptionalGroupExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  679. return xxx_messageInfo_OptionalGroupExtension.Marshal(b, m, deterministic)
  680. }
  681. func (m *OptionalGroupExtension) XXX_Merge(src proto.Message) {
  682. xxx_messageInfo_OptionalGroupExtension.Merge(m, src)
  683. }
  684. func (m *OptionalGroupExtension) XXX_Size() int {
  685. return xxx_messageInfo_OptionalGroupExtension.Size(m)
  686. }
  687. func (m *OptionalGroupExtension) XXX_DiscardUnknown() {
  688. xxx_messageInfo_OptionalGroupExtension.DiscardUnknown(m)
  689. }
  690. var xxx_messageInfo_OptionalGroupExtension proto.InternalMessageInfo
  691. func (m *OptionalGroupExtension) GetA() int32 {
  692. if m != nil && m.A != nil {
  693. return *m.A
  694. }
  695. return 0
  696. }
  697. type RepeatedGroupExtension struct {
  698. A *int32 `protobuf:"varint,47,opt,name=a" json:"a,omitempty"`
  699. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  700. XXX_unrecognized []byte `json:"-"`
  701. XXX_sizecache int32 `json:"-"`
  702. }
  703. type xxx_RepeatedGroupExtension struct{ m *RepeatedGroupExtension }
  704. func (m *RepeatedGroupExtension) ProtoReflect() protoreflect.Message {
  705. return xxx_RepeatedGroupExtension{m}
  706. }
  707. func (m xxx_RepeatedGroupExtension) Type() protoreflect.MessageType {
  708. return xxx_Test_protoFile_MessageTypes[3].Type
  709. }
  710. func (m xxx_RepeatedGroupExtension) KnownFields() protoreflect.KnownFields {
  711. return xxx_Test_protoFile_MessageTypes[3].KnownFieldsOf(m.m)
  712. }
  713. func (m xxx_RepeatedGroupExtension) UnknownFields() protoreflect.UnknownFields {
  714. return xxx_Test_protoFile_MessageTypes[3].UnknownFieldsOf(m.m)
  715. }
  716. func (m xxx_RepeatedGroupExtension) Interface() protoreflect.ProtoMessage {
  717. return m.m
  718. }
  719. func (m *RepeatedGroupExtension) Reset() { *m = RepeatedGroupExtension{} }
  720. func (m *RepeatedGroupExtension) String() string { return proto.CompactTextString(m) }
  721. func (*RepeatedGroupExtension) ProtoMessage() {}
  722. func (*RepeatedGroupExtension) Descriptor() ([]byte, []int) {
  723. return fileDescriptor_c161fcfdc0c3ff1e, []int{3}
  724. }
  725. func (m *RepeatedGroupExtension) XXX_Unmarshal(b []byte) error {
  726. return xxx_messageInfo_RepeatedGroupExtension.Unmarshal(m, b)
  727. }
  728. func (m *RepeatedGroupExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  729. return xxx_messageInfo_RepeatedGroupExtension.Marshal(b, m, deterministic)
  730. }
  731. func (m *RepeatedGroupExtension) XXX_Merge(src proto.Message) {
  732. xxx_messageInfo_RepeatedGroupExtension.Merge(m, src)
  733. }
  734. func (m *RepeatedGroupExtension) XXX_Size() int {
  735. return xxx_messageInfo_RepeatedGroupExtension.Size(m)
  736. }
  737. func (m *RepeatedGroupExtension) XXX_DiscardUnknown() {
  738. xxx_messageInfo_RepeatedGroupExtension.DiscardUnknown(m)
  739. }
  740. var xxx_messageInfo_RepeatedGroupExtension proto.InternalMessageInfo
  741. func (m *RepeatedGroupExtension) GetA() int32 {
  742. if m != nil && m.A != nil {
  743. return *m.A
  744. }
  745. return 0
  746. }
  747. type TestAllTypes_NestedMessage struct {
  748. A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"`
  749. Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive" json:"corecursive,omitempty"`
  750. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  751. XXX_unrecognized []byte `json:"-"`
  752. XXX_sizecache int32 `json:"-"`
  753. }
  754. type xxx_TestAllTypes_NestedMessage struct{ m *TestAllTypes_NestedMessage }
  755. func (m *TestAllTypes_NestedMessage) ProtoReflect() protoreflect.Message {
  756. return xxx_TestAllTypes_NestedMessage{m}
  757. }
  758. func (m xxx_TestAllTypes_NestedMessage) Type() protoreflect.MessageType {
  759. return xxx_Test_protoFile_MessageTypes[4].Type
  760. }
  761. func (m xxx_TestAllTypes_NestedMessage) KnownFields() protoreflect.KnownFields {
  762. return xxx_Test_protoFile_MessageTypes[4].KnownFieldsOf(m.m)
  763. }
  764. func (m xxx_TestAllTypes_NestedMessage) UnknownFields() protoreflect.UnknownFields {
  765. return xxx_Test_protoFile_MessageTypes[4].UnknownFieldsOf(m.m)
  766. }
  767. func (m xxx_TestAllTypes_NestedMessage) Interface() protoreflect.ProtoMessage {
  768. return m.m
  769. }
  770. func (m *TestAllTypes_NestedMessage) Reset() { *m = TestAllTypes_NestedMessage{} }
  771. func (m *TestAllTypes_NestedMessage) String() string { return proto.CompactTextString(m) }
  772. func (*TestAllTypes_NestedMessage) ProtoMessage() {}
  773. func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int) {
  774. return fileDescriptor_c161fcfdc0c3ff1e, []int{0, 0}
  775. }
  776. func (m *TestAllTypes_NestedMessage) XXX_Unmarshal(b []byte) error {
  777. return xxx_messageInfo_TestAllTypes_NestedMessage.Unmarshal(m, b)
  778. }
  779. func (m *TestAllTypes_NestedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  780. return xxx_messageInfo_TestAllTypes_NestedMessage.Marshal(b, m, deterministic)
  781. }
  782. func (m *TestAllTypes_NestedMessage) XXX_Merge(src proto.Message) {
  783. xxx_messageInfo_TestAllTypes_NestedMessage.Merge(m, src)
  784. }
  785. func (m *TestAllTypes_NestedMessage) XXX_Size() int {
  786. return xxx_messageInfo_TestAllTypes_NestedMessage.Size(m)
  787. }
  788. func (m *TestAllTypes_NestedMessage) XXX_DiscardUnknown() {
  789. xxx_messageInfo_TestAllTypes_NestedMessage.DiscardUnknown(m)
  790. }
  791. var xxx_messageInfo_TestAllTypes_NestedMessage proto.InternalMessageInfo
  792. func (m *TestAllTypes_NestedMessage) GetA() int32 {
  793. if m != nil && m.A != nil {
  794. return *m.A
  795. }
  796. return 0
  797. }
  798. func (m *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes {
  799. if m != nil {
  800. return m.Corecursive
  801. }
  802. return nil
  803. }
  804. type TestAllTypes_OptionalGroup struct {
  805. A *int32 `protobuf:"varint,17,opt,name=a" json:"a,omitempty"`
  806. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  807. XXX_unrecognized []byte `json:"-"`
  808. XXX_sizecache int32 `json:"-"`
  809. }
  810. type xxx_TestAllTypes_OptionalGroup struct{ m *TestAllTypes_OptionalGroup }
  811. func (m *TestAllTypes_OptionalGroup) ProtoReflect() protoreflect.Message {
  812. return xxx_TestAllTypes_OptionalGroup{m}
  813. }
  814. func (m xxx_TestAllTypes_OptionalGroup) Type() protoreflect.MessageType {
  815. return xxx_Test_protoFile_MessageTypes[5].Type
  816. }
  817. func (m xxx_TestAllTypes_OptionalGroup) KnownFields() protoreflect.KnownFields {
  818. return xxx_Test_protoFile_MessageTypes[5].KnownFieldsOf(m.m)
  819. }
  820. func (m xxx_TestAllTypes_OptionalGroup) UnknownFields() protoreflect.UnknownFields {
  821. return xxx_Test_protoFile_MessageTypes[5].UnknownFieldsOf(m.m)
  822. }
  823. func (m xxx_TestAllTypes_OptionalGroup) Interface() protoreflect.ProtoMessage {
  824. return m.m
  825. }
  826. func (m *TestAllTypes_OptionalGroup) Reset() { *m = TestAllTypes_OptionalGroup{} }
  827. func (m *TestAllTypes_OptionalGroup) String() string { return proto.CompactTextString(m) }
  828. func (*TestAllTypes_OptionalGroup) ProtoMessage() {}
  829. func (*TestAllTypes_OptionalGroup) Descriptor() ([]byte, []int) {
  830. return fileDescriptor_c161fcfdc0c3ff1e, []int{0, 1}
  831. }
  832. func (m *TestAllTypes_OptionalGroup) XXX_Unmarshal(b []byte) error {
  833. return xxx_messageInfo_TestAllTypes_OptionalGroup.Unmarshal(m, b)
  834. }
  835. func (m *TestAllTypes_OptionalGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  836. return xxx_messageInfo_TestAllTypes_OptionalGroup.Marshal(b, m, deterministic)
  837. }
  838. func (m *TestAllTypes_OptionalGroup) XXX_Merge(src proto.Message) {
  839. xxx_messageInfo_TestAllTypes_OptionalGroup.Merge(m, src)
  840. }
  841. func (m *TestAllTypes_OptionalGroup) XXX_Size() int {
  842. return xxx_messageInfo_TestAllTypes_OptionalGroup.Size(m)
  843. }
  844. func (m *TestAllTypes_OptionalGroup) XXX_DiscardUnknown() {
  845. xxx_messageInfo_TestAllTypes_OptionalGroup.DiscardUnknown(m)
  846. }
  847. var xxx_messageInfo_TestAllTypes_OptionalGroup proto.InternalMessageInfo
  848. func (m *TestAllTypes_OptionalGroup) GetA() int32 {
  849. if m != nil && m.A != nil {
  850. return *m.A
  851. }
  852. return 0
  853. }
  854. type TestAllTypes_RepeatedGroup struct {
  855. A *int32 `protobuf:"varint,47,opt,name=a" json:"a,omitempty"`
  856. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  857. XXX_unrecognized []byte `json:"-"`
  858. XXX_sizecache int32 `json:"-"`
  859. }
  860. type xxx_TestAllTypes_RepeatedGroup struct{ m *TestAllTypes_RepeatedGroup }
  861. func (m *TestAllTypes_RepeatedGroup) ProtoReflect() protoreflect.Message {
  862. return xxx_TestAllTypes_RepeatedGroup{m}
  863. }
  864. func (m xxx_TestAllTypes_RepeatedGroup) Type() protoreflect.MessageType {
  865. return xxx_Test_protoFile_MessageTypes[6].Type
  866. }
  867. func (m xxx_TestAllTypes_RepeatedGroup) KnownFields() protoreflect.KnownFields {
  868. return xxx_Test_protoFile_MessageTypes[6].KnownFieldsOf(m.m)
  869. }
  870. func (m xxx_TestAllTypes_RepeatedGroup) UnknownFields() protoreflect.UnknownFields {
  871. return xxx_Test_protoFile_MessageTypes[6].UnknownFieldsOf(m.m)
  872. }
  873. func (m xxx_TestAllTypes_RepeatedGroup) Interface() protoreflect.ProtoMessage {
  874. return m.m
  875. }
  876. func (m *TestAllTypes_RepeatedGroup) Reset() { *m = TestAllTypes_RepeatedGroup{} }
  877. func (m *TestAllTypes_RepeatedGroup) String() string { return proto.CompactTextString(m) }
  878. func (*TestAllTypes_RepeatedGroup) ProtoMessage() {}
  879. func (*TestAllTypes_RepeatedGroup) Descriptor() ([]byte, []int) {
  880. return fileDescriptor_c161fcfdc0c3ff1e, []int{0, 2}
  881. }
  882. func (m *TestAllTypes_RepeatedGroup) XXX_Unmarshal(b []byte) error {
  883. return xxx_messageInfo_TestAllTypes_RepeatedGroup.Unmarshal(m, b)
  884. }
  885. func (m *TestAllTypes_RepeatedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  886. return xxx_messageInfo_TestAllTypes_RepeatedGroup.Marshal(b, m, deterministic)
  887. }
  888. func (m *TestAllTypes_RepeatedGroup) XXX_Merge(src proto.Message) {
  889. xxx_messageInfo_TestAllTypes_RepeatedGroup.Merge(m, src)
  890. }
  891. func (m *TestAllTypes_RepeatedGroup) XXX_Size() int {
  892. return xxx_messageInfo_TestAllTypes_RepeatedGroup.Size(m)
  893. }
  894. func (m *TestAllTypes_RepeatedGroup) XXX_DiscardUnknown() {
  895. xxx_messageInfo_TestAllTypes_RepeatedGroup.DiscardUnknown(m)
  896. }
  897. var xxx_messageInfo_TestAllTypes_RepeatedGroup proto.InternalMessageInfo
  898. func (m *TestAllTypes_RepeatedGroup) GetA() int32 {
  899. if m != nil && m.A != nil {
  900. return *m.A
  901. }
  902. return 0
  903. }
  904. var E_OptionalInt32Extension = &proto.ExtensionDesc{
  905. ExtendedType: (*TestAllExtensions)(nil),
  906. ExtensionType: (*int32)(nil),
  907. Field: 1,
  908. Name: "goproto.proto.test.optional_int32_extension",
  909. Tag: "varint,1,opt,name=optional_int32_extension",
  910. Filename: "test.proto",
  911. }
  912. var E_OptionalInt64Extension = &proto.ExtensionDesc{
  913. ExtendedType: (*TestAllExtensions)(nil),
  914. ExtensionType: (*int64)(nil),
  915. Field: 2,
  916. Name: "goproto.proto.test.optional_int64_extension",
  917. Tag: "varint,2,opt,name=optional_int64_extension",
  918. Filename: "test.proto",
  919. }
  920. var E_OptionalUint32Extension = &proto.ExtensionDesc{
  921. ExtendedType: (*TestAllExtensions)(nil),
  922. ExtensionType: (*uint32)(nil),
  923. Field: 3,
  924. Name: "goproto.proto.test.optional_uint32_extension",
  925. Tag: "varint,3,opt,name=optional_uint32_extension",
  926. Filename: "test.proto",
  927. }
  928. var E_OptionalUint64Extension = &proto.ExtensionDesc{
  929. ExtendedType: (*TestAllExtensions)(nil),
  930. ExtensionType: (*uint64)(nil),
  931. Field: 4,
  932. Name: "goproto.proto.test.optional_uint64_extension",
  933. Tag: "varint,4,opt,name=optional_uint64_extension",
  934. Filename: "test.proto",
  935. }
  936. var E_OptionalSint32Extension = &proto.ExtensionDesc{
  937. ExtendedType: (*TestAllExtensions)(nil),
  938. ExtensionType: (*int32)(nil),
  939. Field: 5,
  940. Name: "goproto.proto.test.optional_sint32_extension",
  941. Tag: "zigzag32,5,opt,name=optional_sint32_extension",
  942. Filename: "test.proto",
  943. }
  944. var E_OptionalSint64Extension = &proto.ExtensionDesc{
  945. ExtendedType: (*TestAllExtensions)(nil),
  946. ExtensionType: (*int64)(nil),
  947. Field: 6,
  948. Name: "goproto.proto.test.optional_sint64_extension",
  949. Tag: "zigzag64,6,opt,name=optional_sint64_extension",
  950. Filename: "test.proto",
  951. }
  952. var E_OptionalFixed32Extension = &proto.ExtensionDesc{
  953. ExtendedType: (*TestAllExtensions)(nil),
  954. ExtensionType: (*uint32)(nil),
  955. Field: 7,
  956. Name: "goproto.proto.test.optional_fixed32_extension",
  957. Tag: "fixed32,7,opt,name=optional_fixed32_extension",
  958. Filename: "test.proto",
  959. }
  960. var E_OptionalFixed64Extension = &proto.ExtensionDesc{
  961. ExtendedType: (*TestAllExtensions)(nil),
  962. ExtensionType: (*uint64)(nil),
  963. Field: 8,
  964. Name: "goproto.proto.test.optional_fixed64_extension",
  965. Tag: "fixed64,8,opt,name=optional_fixed64_extension",
  966. Filename: "test.proto",
  967. }
  968. var E_OptionalSfixed32Extension = &proto.ExtensionDesc{
  969. ExtendedType: (*TestAllExtensions)(nil),
  970. ExtensionType: (*int32)(nil),
  971. Field: 9,
  972. Name: "goproto.proto.test.optional_sfixed32_extension",
  973. Tag: "fixed32,9,opt,name=optional_sfixed32_extension",
  974. Filename: "test.proto",
  975. }
  976. var E_OptionalSfixed64Extension = &proto.ExtensionDesc{
  977. ExtendedType: (*TestAllExtensions)(nil),
  978. ExtensionType: (*int64)(nil),
  979. Field: 10,
  980. Name: "goproto.proto.test.optional_sfixed64_extension",
  981. Tag: "fixed64,10,opt,name=optional_sfixed64_extension",
  982. Filename: "test.proto",
  983. }
  984. var E_OptionalFloatExtension = &proto.ExtensionDesc{
  985. ExtendedType: (*TestAllExtensions)(nil),
  986. ExtensionType: (*float32)(nil),
  987. Field: 11,
  988. Name: "goproto.proto.test.optional_float_extension",
  989. Tag: "fixed32,11,opt,name=optional_float_extension",
  990. Filename: "test.proto",
  991. }
  992. var E_OptionalDoubleExtension = &proto.ExtensionDesc{
  993. ExtendedType: (*TestAllExtensions)(nil),
  994. ExtensionType: (*float64)(nil),
  995. Field: 12,
  996. Name: "goproto.proto.test.optional_double_extension",
  997. Tag: "fixed64,12,opt,name=optional_double_extension",
  998. Filename: "test.proto",
  999. }
  1000. var E_OptionalBoolExtension = &proto.ExtensionDesc{
  1001. ExtendedType: (*TestAllExtensions)(nil),
  1002. ExtensionType: (*bool)(nil),
  1003. Field: 13,
  1004. Name: "goproto.proto.test.optional_bool_extension",
  1005. Tag: "varint,13,opt,name=optional_bool_extension",
  1006. Filename: "test.proto",
  1007. }
  1008. var E_OptionalStringExtension = &proto.ExtensionDesc{
  1009. ExtendedType: (*TestAllExtensions)(nil),
  1010. ExtensionType: (*string)(nil),
  1011. Field: 14,
  1012. Name: "goproto.proto.test.optional_string_extension",
  1013. Tag: "bytes,14,opt,name=optional_string_extension",
  1014. Filename: "test.proto",
  1015. }
  1016. var E_OptionalBytesExtension = &proto.ExtensionDesc{
  1017. ExtendedType: (*TestAllExtensions)(nil),
  1018. ExtensionType: ([]byte)(nil),
  1019. Field: 15,
  1020. Name: "goproto.proto.test.optional_bytes_extension",
  1021. Tag: "bytes,15,opt,name=optional_bytes_extension",
  1022. Filename: "test.proto",
  1023. }
  1024. var E_OptionalgroupExtension = &proto.ExtensionDesc{
  1025. ExtendedType: (*TestAllExtensions)(nil),
  1026. ExtensionType: (*OptionalGroupExtension)(nil),
  1027. Field: 16,
  1028. Name: "goproto.proto.test.optionalgroup_extension",
  1029. Tag: "group,16,opt,name=OptionalGroup_extension",
  1030. Filename: "test.proto",
  1031. }
  1032. var E_OptionalNestedMessageExtension = &proto.ExtensionDesc{
  1033. ExtendedType: (*TestAllExtensions)(nil),
  1034. ExtensionType: (*TestAllTypes_NestedMessage)(nil),
  1035. Field: 18,
  1036. Name: "goproto.proto.test.optional_nested_message_extension",
  1037. Tag: "bytes,18,opt,name=optional_nested_message_extension",
  1038. Filename: "test.proto",
  1039. }
  1040. var E_OptionalNestedEnumExtension = &proto.ExtensionDesc{
  1041. ExtendedType: (*TestAllExtensions)(nil),
  1042. ExtensionType: (*TestAllTypes_NestedEnum)(nil),
  1043. Field: 21,
  1044. Name: "goproto.proto.test.optional_nested_enum_extension",
  1045. Tag: "varint,21,opt,name=optional_nested_enum_extension,enum=goproto.proto.test.TestAllTypes_NestedEnum",
  1046. Filename: "test.proto",
  1047. }
  1048. var E_RepeatedInt32Extension = &proto.ExtensionDesc{
  1049. ExtendedType: (*TestAllExtensions)(nil),
  1050. ExtensionType: ([]int32)(nil),
  1051. Field: 31,
  1052. Name: "goproto.proto.test.repeated_int32_extension",
  1053. Tag: "varint,31,rep,name=repeated_int32_extension",
  1054. Filename: "test.proto",
  1055. }
  1056. var E_RepeatedInt64Extension = &proto.ExtensionDesc{
  1057. ExtendedType: (*TestAllExtensions)(nil),
  1058. ExtensionType: ([]int64)(nil),
  1059. Field: 32,
  1060. Name: "goproto.proto.test.repeated_int64_extension",
  1061. Tag: "varint,32,rep,name=repeated_int64_extension",
  1062. Filename: "test.proto",
  1063. }
  1064. var E_RepeatedUint32Extension = &proto.ExtensionDesc{
  1065. ExtendedType: (*TestAllExtensions)(nil),
  1066. ExtensionType: ([]uint32)(nil),
  1067. Field: 33,
  1068. Name: "goproto.proto.test.repeated_uint32_extension",
  1069. Tag: "varint,33,rep,name=repeated_uint32_extension",
  1070. Filename: "test.proto",
  1071. }
  1072. var E_RepeatedUint64Extension = &proto.ExtensionDesc{
  1073. ExtendedType: (*TestAllExtensions)(nil),
  1074. ExtensionType: ([]uint64)(nil),
  1075. Field: 34,
  1076. Name: "goproto.proto.test.repeated_uint64_extension",
  1077. Tag: "varint,34,rep,name=repeated_uint64_extension",
  1078. Filename: "test.proto",
  1079. }
  1080. var E_RepeatedSint32Extension = &proto.ExtensionDesc{
  1081. ExtendedType: (*TestAllExtensions)(nil),
  1082. ExtensionType: ([]int32)(nil),
  1083. Field: 35,
  1084. Name: "goproto.proto.test.repeated_sint32_extension",
  1085. Tag: "zigzag32,35,rep,name=repeated_sint32_extension",
  1086. Filename: "test.proto",
  1087. }
  1088. var E_RepeatedSint64Extension = &proto.ExtensionDesc{
  1089. ExtendedType: (*TestAllExtensions)(nil),
  1090. ExtensionType: ([]int64)(nil),
  1091. Field: 36,
  1092. Name: "goproto.proto.test.repeated_sint64_extension",
  1093. Tag: "zigzag64,36,rep,name=repeated_sint64_extension",
  1094. Filename: "test.proto",
  1095. }
  1096. var E_RepeatedFixed32Extension = &proto.ExtensionDesc{
  1097. ExtendedType: (*TestAllExtensions)(nil),
  1098. ExtensionType: ([]uint32)(nil),
  1099. Field: 37,
  1100. Name: "goproto.proto.test.repeated_fixed32_extension",
  1101. Tag: "fixed32,37,rep,name=repeated_fixed32_extension",
  1102. Filename: "test.proto",
  1103. }
  1104. var E_RepeatedFixed64Extension = &proto.ExtensionDesc{
  1105. ExtendedType: (*TestAllExtensions)(nil),
  1106. ExtensionType: ([]uint64)(nil),
  1107. Field: 38,
  1108. Name: "goproto.proto.test.repeated_fixed64_extension",
  1109. Tag: "fixed64,38,rep,name=repeated_fixed64_extension",
  1110. Filename: "test.proto",
  1111. }
  1112. var E_RepeatedSfixed32Extension = &proto.ExtensionDesc{
  1113. ExtendedType: (*TestAllExtensions)(nil),
  1114. ExtensionType: ([]int32)(nil),
  1115. Field: 39,
  1116. Name: "goproto.proto.test.repeated_sfixed32_extension",
  1117. Tag: "fixed32,39,rep,name=repeated_sfixed32_extension",
  1118. Filename: "test.proto",
  1119. }
  1120. var E_RepeatedSfixed64Extension = &proto.ExtensionDesc{
  1121. ExtendedType: (*TestAllExtensions)(nil),
  1122. ExtensionType: ([]int64)(nil),
  1123. Field: 40,
  1124. Name: "goproto.proto.test.repeated_sfixed64_extension",
  1125. Tag: "fixed64,40,rep,name=repeated_sfixed64_extension",
  1126. Filename: "test.proto",
  1127. }
  1128. var E_RepeatedFloatExtension = &proto.ExtensionDesc{
  1129. ExtendedType: (*TestAllExtensions)(nil),
  1130. ExtensionType: ([]float32)(nil),
  1131. Field: 41,
  1132. Name: "goproto.proto.test.repeated_float_extension",
  1133. Tag: "fixed32,41,rep,name=repeated_float_extension",
  1134. Filename: "test.proto",
  1135. }
  1136. var E_RepeatedDoubleExtension = &proto.ExtensionDesc{
  1137. ExtendedType: (*TestAllExtensions)(nil),
  1138. ExtensionType: ([]float64)(nil),
  1139. Field: 42,
  1140. Name: "goproto.proto.test.repeated_double_extension",
  1141. Tag: "fixed64,42,rep,name=repeated_double_extension",
  1142. Filename: "test.proto",
  1143. }
  1144. var E_RepeatedBoolExtension = &proto.ExtensionDesc{
  1145. ExtendedType: (*TestAllExtensions)(nil),
  1146. ExtensionType: ([]bool)(nil),
  1147. Field: 43,
  1148. Name: "goproto.proto.test.repeated_bool_extension",
  1149. Tag: "varint,43,rep,name=repeated_bool_extension",
  1150. Filename: "test.proto",
  1151. }
  1152. var E_RepeatedStringExtension = &proto.ExtensionDesc{
  1153. ExtendedType: (*TestAllExtensions)(nil),
  1154. ExtensionType: ([]string)(nil),
  1155. Field: 44,
  1156. Name: "goproto.proto.test.repeated_string_extension",
  1157. Tag: "bytes,44,rep,name=repeated_string_extension",
  1158. Filename: "test.proto",
  1159. }
  1160. var E_RepeatedBytesExtension = &proto.ExtensionDesc{
  1161. ExtendedType: (*TestAllExtensions)(nil),
  1162. ExtensionType: ([][]byte)(nil),
  1163. Field: 45,
  1164. Name: "goproto.proto.test.repeated_bytes_extension",
  1165. Tag: "bytes,45,rep,name=repeated_bytes_extension",
  1166. Filename: "test.proto",
  1167. }
  1168. var E_RepeatedgroupExtension = &proto.ExtensionDesc{
  1169. ExtendedType: (*TestAllExtensions)(nil),
  1170. ExtensionType: ([]*RepeatedGroupExtension)(nil),
  1171. Field: 46,
  1172. Name: "goproto.proto.test.repeatedgroup_extension",
  1173. Tag: "group,46,rep,name=RepeatedGroup_extension",
  1174. Filename: "test.proto",
  1175. }
  1176. var E_RepeatedNestedMessageExtension = &proto.ExtensionDesc{
  1177. ExtendedType: (*TestAllExtensions)(nil),
  1178. ExtensionType: ([]*TestAllTypes_NestedMessage)(nil),
  1179. Field: 48,
  1180. Name: "goproto.proto.test.repeated_nested_message_extension",
  1181. Tag: "bytes,48,rep,name=repeated_nested_message_extension",
  1182. Filename: "test.proto",
  1183. }
  1184. var E_RepeatedNestedEnumExtension = &proto.ExtensionDesc{
  1185. ExtendedType: (*TestAllExtensions)(nil),
  1186. ExtensionType: ([]TestAllTypes_NestedEnum)(nil),
  1187. Field: 51,
  1188. Name: "goproto.proto.test.repeated_nested_enum_extension",
  1189. Tag: "varint,51,rep,name=repeated_nested_enum_extension,enum=goproto.proto.test.TestAllTypes_NestedEnum",
  1190. Filename: "test.proto",
  1191. }
  1192. func init() {
  1193. proto.RegisterFile("test.proto", fileDescriptor_c161fcfdc0c3ff1e)
  1194. proto.RegisterEnum("goproto.proto.test.TestAllTypes_NestedEnum", TestAllTypes_NestedEnum_name, TestAllTypes_NestedEnum_value)
  1195. proto.RegisterType((*TestAllTypes)(nil), "goproto.proto.test.TestAllTypes")
  1196. proto.RegisterMapType((map[bool]bool)(nil), "goproto.proto.test.TestAllTypes.MapBoolBoolEntry")
  1197. proto.RegisterMapType((map[uint32]uint32)(nil), "goproto.proto.test.TestAllTypes.MapFixed32Fixed32Entry")
  1198. proto.RegisterMapType((map[uint64]uint64)(nil), "goproto.proto.test.TestAllTypes.MapFixed64Fixed64Entry")
  1199. proto.RegisterMapType((map[int32]float64)(nil), "goproto.proto.test.TestAllTypes.MapInt32DoubleEntry")
  1200. proto.RegisterMapType((map[int32]float32)(nil), "goproto.proto.test.TestAllTypes.MapInt32FloatEntry")
  1201. proto.RegisterMapType((map[int32]int32)(nil), "goproto.proto.test.TestAllTypes.MapInt32Int32Entry")
  1202. proto.RegisterMapType((map[int64]int64)(nil), "goproto.proto.test.TestAllTypes.MapInt64Int64Entry")
  1203. proto.RegisterMapType((map[int32]int32)(nil), "goproto.proto.test.TestAllTypes.MapSfixed32Sfixed32Entry")
  1204. proto.RegisterMapType((map[int64]int64)(nil), "goproto.proto.test.TestAllTypes.MapSfixed64Sfixed64Entry")
  1205. proto.RegisterMapType((map[int32]int32)(nil), "goproto.proto.test.TestAllTypes.MapSint32Sint32Entry")
  1206. proto.RegisterMapType((map[int64]int64)(nil), "goproto.proto.test.TestAllTypes.MapSint64Sint64Entry")
  1207. proto.RegisterMapType((map[string][]byte)(nil), "goproto.proto.test.TestAllTypes.MapStringBytesEntry")
  1208. proto.RegisterMapType((map[string]TestAllTypes_NestedEnum)(nil), "goproto.proto.test.TestAllTypes.MapStringNestedEnumEntry")
  1209. proto.RegisterMapType((map[string]*TestAllTypes_NestedMessage)(nil), "goproto.proto.test.TestAllTypes.MapStringNestedMessageEntry")
  1210. proto.RegisterMapType((map[string]string)(nil), "goproto.proto.test.TestAllTypes.MapStringStringEntry")
  1211. proto.RegisterMapType((map[uint32]uint32)(nil), "goproto.proto.test.TestAllTypes.MapUint32Uint32Entry")
  1212. proto.RegisterMapType((map[uint64]uint64)(nil), "goproto.proto.test.TestAllTypes.MapUint64Uint64Entry")
  1213. proto.RegisterType((*TestAllExtensions)(nil), "goproto.proto.test.TestAllExtensions")
  1214. proto.RegisterType((*OptionalGroupExtension)(nil), "goproto.proto.test.OptionalGroup_extension")
  1215. proto.RegisterType((*RepeatedGroupExtension)(nil), "goproto.proto.test.RepeatedGroup_extension")
  1216. proto.RegisterType((*TestAllTypes_NestedMessage)(nil), "goproto.proto.test.TestAllTypes.NestedMessage")
  1217. proto.RegisterType((*TestAllTypes_OptionalGroup)(nil), "goproto.proto.test.TestAllTypes.OptionalGroup")
  1218. proto.RegisterType((*TestAllTypes_RepeatedGroup)(nil), "goproto.proto.test.TestAllTypes.RepeatedGroup")
  1219. proto.RegisterExtension(E_OptionalInt32Extension)
  1220. proto.RegisterExtension(E_OptionalInt64Extension)
  1221. proto.RegisterExtension(E_OptionalUint32Extension)
  1222. proto.RegisterExtension(E_OptionalUint64Extension)
  1223. proto.RegisterExtension(E_OptionalSint32Extension)
  1224. proto.RegisterExtension(E_OptionalSint64Extension)
  1225. proto.RegisterExtension(E_OptionalFixed32Extension)
  1226. proto.RegisterExtension(E_OptionalFixed64Extension)
  1227. proto.RegisterExtension(E_OptionalSfixed32Extension)
  1228. proto.RegisterExtension(E_OptionalSfixed64Extension)
  1229. proto.RegisterExtension(E_OptionalFloatExtension)
  1230. proto.RegisterExtension(E_OptionalDoubleExtension)
  1231. proto.RegisterExtension(E_OptionalBoolExtension)
  1232. proto.RegisterExtension(E_OptionalStringExtension)
  1233. proto.RegisterExtension(E_OptionalBytesExtension)
  1234. proto.RegisterExtension(E_OptionalgroupExtension)
  1235. proto.RegisterExtension(E_OptionalNestedMessageExtension)
  1236. proto.RegisterExtension(E_OptionalNestedEnumExtension)
  1237. proto.RegisterExtension(E_RepeatedInt32Extension)
  1238. proto.RegisterExtension(E_RepeatedInt64Extension)
  1239. proto.RegisterExtension(E_RepeatedUint32Extension)
  1240. proto.RegisterExtension(E_RepeatedUint64Extension)
  1241. proto.RegisterExtension(E_RepeatedSint32Extension)
  1242. proto.RegisterExtension(E_RepeatedSint64Extension)
  1243. proto.RegisterExtension(E_RepeatedFixed32Extension)
  1244. proto.RegisterExtension(E_RepeatedFixed64Extension)
  1245. proto.RegisterExtension(E_RepeatedSfixed32Extension)
  1246. proto.RegisterExtension(E_RepeatedSfixed64Extension)
  1247. proto.RegisterExtension(E_RepeatedFloatExtension)
  1248. proto.RegisterExtension(E_RepeatedDoubleExtension)
  1249. proto.RegisterExtension(E_RepeatedBoolExtension)
  1250. proto.RegisterExtension(E_RepeatedStringExtension)
  1251. proto.RegisterExtension(E_RepeatedBytesExtension)
  1252. proto.RegisterExtension(E_RepeatedgroupExtension)
  1253. proto.RegisterExtension(E_RepeatedNestedMessageExtension)
  1254. proto.RegisterExtension(E_RepeatedNestedEnumExtension)
  1255. }
  1256. var fileDescriptor_c161fcfdc0c3ff1e = []byte{
  1257. // 2015 bytes of a gzipped FileDescriptorProto
  1258. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x59, 0x5f, 0x53, 0xdb, 0xce,
  1259. 0x15, 0x45, 0x88, 0xbf, 0x0b, 0x06, 0xa3, 0x1f, 0xd8, 0x22, 0xcc, 0x2f, 0xd9, 0x90, 0xa6, 0x51,
  1260. 0x92, 0xd6, 0xb4, 0xa0, 0xaa, 0x49, 0x9a, 0xa6, 0xc1, 0x05, 0x42, 0x66, 0x9a, 0x64, 0x46, 0x24,
  1261. 0x2f, 0xe9, 0xa4, 0x8c, 0x01, 0xe1, 0x7a, 0x6a, 0x5b, 0xae, 0x65, 0x93, 0xf0, 0xc6, 0x7b, 0x3f,
  1262. 0x40, 0x5f, 0xfb, 0x91, 0xfa, 0x8d, 0xda, 0xd9, 0xbd, 0xda, 0xd5, 0xde, 0xf5, 0x1a, 0x2c, 0x65,
  1263. 0x26, 0xc6, 0xbe, 0xba, 0x3a, 0x67, 0x77, 0xb5, 0x67, 0xaf, 0x76, 0x0f, 0x21, 0x83, 0x28, 0x19,
  1264. 0xd4, 0x7a, 0xfd, 0x78, 0x10, 0x3b, 0x4e, 0x33, 0xe6, 0x5f, 0xe0, 0x67, 0x8d, 0x5d, 0xd9, 0xfe,
  1265. 0xef, 0x33, 0xb2, 0xfc, 0x39, 0x4a, 0x06, 0xfb, 0xed, 0xf6, 0xe7, 0xeb, 0x5e, 0x94, 0x38, 0x8f,
  1266. 0xc9, 0x4a, 0xdc, 0x1b, 0xb4, 0xe2, 0x6e, 0xa3, 0x7d, 0xda, 0xea, 0x0e, 0xf6, 0x76, 0x5d, 0x8b,
  1267. 0x5a, 0xde, 0x6c, 0x58, 0x12, 0xd1, 0xf7, 0x2c, 0xa8, 0xa7, 0x05, 0xbe, 0x3b, 0x4d, 0x2d, 0xcf,
  1268. 0x46, 0x69, 0x81, 0xef, 0x3c, 0x21, 0xab, 0x32, 0x6d, 0x08, 0x70, 0x36, 0xb5, 0xbc, 0x52, 0x28,
  1269. 0xef, 0xfe, 0xc2, 0xa3, 0x23, 0x89, 0x81, 0xef, 0xce, 0x50, 0xcb, 0x9b, 0xc1, 0x89, 0x1a, 0x62,
  1270. 0x02, 0x88, 0xb3, 0xd4, 0xf2, 0xd6, 0xb2, 0xc4, 0x93, 0x51, 0xc4, 0x04, 0x10, 0xe7, 0xa8, 0xe5,
  1271. 0x39, 0x38, 0x31, 0xf0, 0x9d, 0xa7, 0xa4, 0x2c, 0x13, 0x2f, 0x5b, 0x3f, 0xa2, 0x8b, 0xbd, 0x5d,
  1272. 0x77, 0x9e, 0x5a, 0xde, 0x7c, 0x28, 0x01, 0x8e, 0x20, 0x3c, 0x9a, 0x1a, 0xf8, 0xee, 0x02, 0xb5,
  1273. 0xbc, 0x39, 0x2d, 0x35, 0xf0, 0x9d, 0xe7, 0x64, 0x2d, 0xa3, 0x17, 0xb0, 0x8b, 0xd4, 0xf2, 0x56,
  1274. 0x43, 0x89, 0x71, 0x92, 0xc6, 0x0d, 0xc9, 0x81, 0xef, 0x12, 0x6a, 0x79, 0x65, 0x3d, 0x39, 0xf0,
  1275. 0xd1, 0xd0, 0x5f, 0xb6, 0xe3, 0xc6, 0xc0, 0x5d, 0xa2, 0x96, 0x37, 0x9d, 0x0d, 0xfd, 0x11, 0x0b,
  1276. 0xa2, 0xfe, 0x5f, 0xc4, 0xc3, 0xb3, 0x76, 0xe4, 0x2e, 0x53, 0xcb, 0xb3, 0xb2, 0xfe, 0x1f, 0xf0,
  1277. 0xa8, 0xf3, 0x88, 0xc8, 0x3b, 0x4f, 0xcf, 0xe2, 0xb8, 0xed, 0x96, 0xa8, 0xe5, 0x2d, 0x84, 0xcb,
  1278. 0x22, 0x58, 0x8f, 0xe3, 0x36, 0x1e, 0xcd, 0x41, 0xbf, 0xd5, 0x6d, 0xba, 0x2b, 0xd4, 0xf2, 0x16,
  1279. 0x95, 0xd1, 0xe4, 0x51, 0xd4, 0xba, 0xb3, 0xeb, 0x41, 0x94, 0xb8, 0xab, 0xd4, 0xf2, 0x96, 0xb3,
  1280. 0xd6, 0xd5, 0x59, 0xd0, 0xf9, 0x9c, 0x91, 0x36, 0xfb, 0xf1, 0xb0, 0xe7, 0x96, 0xa9, 0xe5, 0x91,
  1281. 0xdd, 0x5a, 0x6d, 0x74, 0x8e, 0xd6, 0xd4, 0xf9, 0x59, 0xfb, 0x94, 0xde, 0xf5, 0x8e, 0xdd, 0x15,
  1282. 0x62, 0x10, 0xe7, 0x92, 0x54, 0x25, 0x79, 0x37, 0x4a, 0x06, 0xd1, 0xc5, 0x69, 0x27, 0x4a, 0x92,
  1283. 0x46, 0x33, 0x72, 0x1d, 0x6a, 0x79, 0x4b, 0x13, 0xe0, 0x7f, 0xe4, 0xb7, 0x7d, 0x80, 0xbb, 0xc2,
  1284. 0x0d, 0x01, 0x87, 0xc2, 0xce, 0x37, 0xb2, 0xae, 0xf3, 0x44, 0xdd, 0x61, 0xc7, 0xdd, 0xa0, 0x96,
  1285. 0xb7, 0xb2, 0xfb, 0x7c, 0x42, 0x92, 0xc3, 0xee, 0xb0, 0x13, 0x3a, 0x98, 0x81, 0xc5, 0xd8, 0x18,
  1286. 0xf6, 0xa3, 0x5e, 0xd4, 0x60, 0xb8, 0x30, 0xc5, 0x1f, 0x50, 0x9b, 0x69, 0x50, 0x44, 0xa5, 0x06,
  1287. 0xd5, 0xb4, 0xc0, 0x77, 0x29, 0xb5, 0x99, 0x06, 0x95, 0x34, 0x50, 0x8c, 0x4c, 0x4b, 0x35, 0xf8,
  1288. 0x90, 0xda, 0x4c, 0x83, 0x22, 0x9c, 0x69, 0x10, 0x25, 0x06, 0xbe, 0xbb, 0x4d, 0x6d, 0xa6, 0x41,
  1289. 0x35, 0x51, 0x43, 0x4c, 0x35, 0xf8, 0x88, 0xda, 0x4c, 0x83, 0x22, 0x7c, 0x32, 0x8a, 0x98, 0x6a,
  1290. 0xf0, 0x17, 0xd4, 0x66, 0x1a, 0x54, 0x13, 0x41, 0x83, 0x32, 0x51, 0x88, 0xe5, 0x31, 0xb5, 0x99,
  1291. 0x06, 0x45, 0x5c, 0xd1, 0x20, 0x4e, 0x0d, 0x7c, 0xf7, 0x97, 0xd4, 0x66, 0x1a, 0x44, 0xa9, 0xa0,
  1292. 0xc1, 0x8c, 0x5e, 0xc0, 0x3e, 0xa1, 0x36, 0xd3, 0xa0, 0x6c, 0x80, 0xa2, 0x41, 0x2d, 0x39, 0xf0,
  1293. 0x5d, 0x8f, 0xda, 0x4c, 0x83, 0x38, 0x19, 0x34, 0x98, 0x35, 0x82, 0x6b, 0xf0, 0x29, 0xb5, 0x99,
  1294. 0x06, 0x65, 0x13, 0x84, 0x06, 0x65, 0x5a, 0xaa, 0xc1, 0x67, 0xd4, 0x66, 0x1a, 0x14, 0xe1, 0x4c,
  1295. 0x83, 0x32, 0x91, 0x6b, 0xf0, 0x39, 0xb5, 0x99, 0x06, 0x45, 0x50, 0x68, 0x30, 0x6b, 0x21, 0x68,
  1296. 0xf0, 0x57, 0xd4, 0x66, 0x1a, 0x94, 0xed, 0x93, 0x1a, 0xcc, 0xd0, 0xb8, 0x06, 0x7f, 0x4d, 0x6d,
  1297. 0xa6, 0x41, 0x09, 0x27, 0x34, 0x28, 0x02, 0xa0, 0xc1, 0x1a, 0xb5, 0x27, 0xd2, 0x60, 0x98, 0xde,
  1298. 0x95, 0x6a, 0x10, 0x81, 0x30, 0x0d, 0x4a, 0x72, 0x4d, 0x83, 0xbf, 0xa1, 0x76, 0x11, 0x0d, 0x0a,
  1299. 0xb8, 0x11, 0x0d, 0xea, 0x3c, 0x5c, 0x83, 0x7b, 0xd4, 0xce, 0xad, 0x41, 0xcc, 0xc0, 0x35, 0xf8,
  1300. 0x57, 0xb2, 0xda, 0x69, 0xf4, 0x40, 0x7e, 0xa9, 0x08, 0x5f, 0xf0, 0xe6, 0xef, 0xdd, 0x89, 0xfc,
  1301. 0xa1, 0xd1, 0xe3, 0x02, 0xe5, 0x1f, 0x87, 0xdd, 0x41, 0xff, 0x3a, 0x2c, 0x75, 0xd4, 0x98, 0x02,
  1302. 0x1e, 0xf8, 0xa9, 0x74, 0x5f, 0xe6, 0x02, 0x0f, 0x7c, 0xfe, 0x81, 0xc0, 0xd3, 0x98, 0xd3, 0x20,
  1303. 0x6b, 0x0c, 0x1c, 0xa4, 0x2e, 0x14, 0xff, 0x8a, 0xc3, 0xff, 0x6e, 0x12, 0x78, 0x58, 0x0d, 0xe0,
  1304. 0x13, 0x08, 0x58, 0x63, 0xd5, 0xa8, 0x4a, 0x11, 0xf8, 0x62, 0xad, 0xf8, 0x43, 0x3e, 0x8a, 0xc0,
  1305. 0x87, 0x4f, 0x4c, 0x21, 0xa2, 0x82, 0x02, 0x96, 0x17, 0xb1, 0xca, 0xbc, 0x9e, 0x9c, 0x02, 0x56,
  1306. 0xa0, 0x13, 0xad, 0x17, 0x6a, 0x54, 0xa5, 0x08, 0x7c, 0xb1, 0x3e, 0xfd, 0x31, 0x1f, 0x45, 0xe0,
  1307. 0x9f, 0x68, 0xbd, 0x50, 0xa3, 0x4e, 0x93, 0xfc, 0xc4, 0x28, 0xd2, 0x35, 0x46, 0x2e, 0x6d, 0x6f,
  1308. 0x38, 0xc9, 0xef, 0x27, 0x21, 0x49, 0x97, 0xbd, 0xf4, 0x0f, 0xd0, 0xb0, 0x66, 0xe3, 0x38, 0x22,
  1309. 0x0a, 0x7c, 0xb9, 0x30, 0xfe, 0x29, 0x27, 0x51, 0xe0, 0xa7, 0x7f, 0x34, 0x22, 0x19, 0x77, 0x3a,
  1310. 0x64, 0x83, 0x0f, 0x9a, 0xe8, 0x92, 0x5c, 0x57, 0xdf, 0x72, 0xaa, 0x97, 0x13, 0x0d, 0x5c, 0x7a,
  1311. 0x8f, 0xf8, 0x0b, 0x64, 0xac, 0x03, 0xfa, 0x15, 0x4c, 0xc7, 0x9e, 0x92, 0xe8, 0xd9, 0x7e, 0x5e,
  1312. 0xba, 0xc0, 0x17, 0x7f, 0x75, 0xba, 0xec, 0x0a, 0x56, 0x3d, 0x2c, 0xec, 0xf5, 0x9c, 0xaa, 0xe7,
  1313. 0x2b, 0xbf, 0xa6, 0x7a, 0xa8, 0x06, 0x7f, 0x23, 0xe5, 0x0c, 0x3c, 0x2d, 0x07, 0x7f, 0xe6, 0xe8,
  1314. 0xfe, 0xc4, 0xe8, 0x50, 0x2f, 0x00, 0x7e, 0xa5, 0x83, 0x82, 0xce, 0x17, 0xc2, 0x08, 0x79, 0xfd,
  1315. 0x80, 0x22, 0x72, 0xc0, 0xc1, 0x7f, 0x3b, 0x09, 0x38, 0x2b, 0x30, 0xec, 0x3f, 0x20, 0x2f, 0x75,
  1316. 0xb2, 0x88, 0x94, 0x09, 0xaf, 0x2d, 0xa2, 0xf0, 0x1c, 0xe6, 0x90, 0x09, 0xbf, 0x03, 0x3e, 0x15,
  1317. 0x99, 0x28, 0x51, 0x31, 0x32, 0x29, 0x05, 0x94, 0xac, 0xa3, 0xc9, 0x47, 0x06, 0x50, 0x78, 0x51,
  1318. 0xcb, 0x46, 0x46, 0x09, 0x3a, 0xdf, 0xc9, 0xa6, 0x82, 0xaf, 0x55, 0xa5, 0x77, 0x9c, 0xe8, 0xf5,
  1319. 0xe4, 0x44, 0xa8, 0x0e, 0x01, 0x61, 0xa5, 0x63, 0xbc, 0xe8, 0x74, 0x49, 0x65, 0x94, 0x98, 0x97,
  1320. 0xa9, 0xf7, 0x39, 0xe6, 0xaf, 0x02, 0xcc, 0x6a, 0x93, 0x32, 0x7f, 0xb5, 0x2b, 0xce, 0x23, 0xb2,
  1321. 0x1c, 0x77, 0xa3, 0xf8, 0x52, 0x2c, 0xfb, 0x31, 0xdb, 0x6c, 0x1d, 0x4f, 0x85, 0x4b, 0x3c, 0x9a,
  1322. 0xae, 0xde, 0x67, 0x64, 0x1d, 0x92, 0xb4, 0x81, 0xe8, 0x15, 0x79, 0x45, 0x3e, 0x9e, 0x0a, 0x1d,
  1323. 0x8e, 0x86, 0x3b, 0x2e, 0x1b, 0x92, 0xce, 0x97, 0x7f, 0xb2, 0xcd, 0x82, 0x6c, 0x48, 0xfa, 0xd8,
  1324. 0x1f, 0x12, 0xf8, 0x99, 0x3e, 0xf1, 0x3e, 0xdb, 0x28, 0x1c, 0x4f, 0x85, 0x84, 0x07, 0xe1, 0xc9,
  1325. 0x3d, 0x20, 0x24, 0x4d, 0x61, 0x13, 0x3a, 0x61, 0x3b, 0x93, 0xe3, 0xa9, 0x70, 0x11, 0x32, 0xd8,
  1326. 0xec, 0x44, 0x3d, 0x0e, 0x7c, 0x77, 0xc0, 0x76, 0x8d, 0xa8, 0xc7, 0x81, 0x9f, 0x11, 0x81, 0xa4,
  1327. 0x87, 0x6c, 0xbf, 0x24, 0x89, 0x40, 0x9c, 0x12, 0x27, 0x15, 0xe6, 0x15, 0xdb, 0x2b, 0x49, 0x9c,
  1328. 0x54, 0x61, 0x7f, 0x11, 0xad, 0xe1, 0x8f, 0xf0, 0x7b, 0xee, 0xb7, 0x7d, 0xd9, 0x74, 0xf6, 0xe3,
  1329. 0x5e, 0x83, 0x94, 0xf0, 0xa0, 0x2d, 0x13, 0xab, 0x91, 0x6e, 0xb7, 0xad, 0x86, 0x53, 0x27, 0x4b,
  1330. 0xe7, 0x71, 0x3f, 0x3a, 0x1f, 0xf6, 0x93, 0xd6, 0x55, 0xc4, 0xf7, 0xd7, 0x4b, 0xbb, 0xf4, 0x2e,
  1331. 0xb6, 0x50, 0xbd, 0xe9, 0xde, 0xcf, 0xa4, 0x84, 0x36, 0x4c, 0x40, 0xb1, 0x96, 0x52, 0xb0, 0xcb,
  1332. 0xe8, 0x5d, 0x0e, 0x2e, 0xef, 0x88, 0xcb, 0x6f, 0x89, 0x33, 0xfa, 0x2e, 0xe3, 0x94, 0x89, 0xfd,
  1333. 0x8f, 0xe8, 0x3a, 0x6d, 0x27, 0xfb, 0xea, 0xac, 0x93, 0xd9, 0xab, 0x46, 0x7b, 0x08, 0x6d, 0x9c,
  1334. 0x0d, 0xe1, 0xc7, 0xab, 0xe9, 0x17, 0x56, 0x86, 0xa0, 0xbe, 0xb0, 0xa8, 0x08, 0xb6, 0x01, 0xc1,
  1335. 0x56, 0x11, 0xea, 0x64, 0xdd, 0xf4, 0x4e, 0xa2, 0x62, 0x94, 0x0c, 0x18, 0x25, 0x33, 0x06, 0x7a,
  1336. 0xe9, 0x50, 0x31, 0x66, 0x0c, 0x18, 0x33, 0xa3, 0x18, 0x23, 0x6f, 0x15, 0x2a, 0xc6, 0x9a, 0x01,
  1337. 0x63, 0xcd, 0x8c, 0x81, 0x5e, 0x1b, 0x54, 0x0c, 0xc7, 0x80, 0xe1, 0xa8, 0x18, 0x07, 0xa4, 0x62,
  1338. 0x7e, 0x2b, 0x50, 0x51, 0xe6, 0x0d, 0x28, 0xf3, 0x63, 0x50, 0x70, 0xc9, 0x57, 0x51, 0xe6, 0x0c,
  1339. 0x28, 0x73, 0x2a, 0xca, 0x11, 0x71, 0xc7, 0x55, 0x73, 0x15, 0x67, 0xd5, 0x80, 0xb3, 0x3a, 0x0e,
  1340. 0x47, 0x2b, 0xd3, 0x2a, 0x4e, 0xd9, 0x80, 0x53, 0x36, 0xce, 0x36, 0xb5, 0x0a, 0xdf, 0x35, 0x5f,
  1341. 0xa7, 0x55, 0x84, 0x7d, 0xf2, 0x93, 0xa1, 0xd2, 0xde, 0x05, 0x61, 0xa9, 0x10, 0x6f, 0x48, 0x59,
  1342. 0xaf, 0xa7, 0xea, 0xfd, 0x0b, 0x86, 0xfb, 0x17, 0x0c, 0x93, 0x44, 0x2f, 0x9a, 0x2a, 0xc6, 0xa2,
  1343. 0x01, 0x63, 0x71, 0xb4, 0x1b, 0x7a, 0x59, 0xbc, 0x0b, 0x62, 0x59, 0x85, 0xb8, 0x26, 0x5b, 0xb7,
  1344. 0x14, 0x3c, 0x03, 0xd4, 0x81, 0x0a, 0x95, 0x7f, 0x97, 0xa7, 0x50, 0x27, 0x30, 0x1d, 0x4c, 0x55,
  1345. 0xcf, 0xc0, 0xbb, 0xaf, 0xf2, 0xe6, 0xdc, 0xf8, 0x65, 0xa4, 0xdb, 0x2f, 0x09, 0x51, 0xea, 0xe8,
  1346. 0x3c, 0xb1, 0x8f, 0x3e, 0x7d, 0x2a, 0x4f, 0xb1, 0x2f, 0xf5, 0xfd, 0xb0, 0x6c, 0xc1, 0x97, 0xaf,
  1347. 0xe5, 0x69, 0xd6, 0x82, 0x8f, 0x87, 0xef, 0xca, 0xff, 0x13, 0xff, 0xac, 0x7a, 0x49, 0x56, 0x97,
  1348. 0x56, 0xd4, 0xbe, 0xd8, 0xfe, 0x99, 0xac, 0xa5, 0x7c, 0x87, 0x3f, 0x06, 0x51, 0x37, 0x69, 0xc5,
  1349. 0xdd, 0xe4, 0xd9, 0xc2, 0x82, 0x55, 0xbe, 0xb9, 0xb9, 0xb9, 0x99, 0xde, 0x7e, 0x42, 0xaa, 0x68,
  1350. 0x49, 0x3e, 0x8d, 0x44, 0x16, 0x5e, 0x9c, 0x59, 0x22, 0x5a, 0x9c, 0xf5, 0x44, 0xb1, 0x4c, 0xbf,
  1351. 0x3a, 0x25, 0x2e, 0x3e, 0xb2, 0x55, 0x32, 0x1f, 0xdf, 0x32, 0x1c, 0x59, 0xf3, 0xd2, 0x99, 0x5d,
  1352. 0x41, 0x67, 0xbc, 0xf2, 0xb2, 0x4e, 0x10, 0xf8, 0xf9, 0x09, 0x60, 0x5d, 0xaf, 0xa0, 0xd3, 0xe1,
  1353. 0x8c, 0xa0, 0x41, 0x36, 0xb5, 0x63, 0xe2, 0xfc, 0x0c, 0x70, 0xae, 0x5c, 0xc5, 0xe7, 0xca, 0xe3,
  1354. 0x29, 0x8a, 0x74, 0x02, 0x4e, 0xa4, 0xab, 0xf8, 0x44, 0xda, 0x4c, 0x91, 0x14, 0xec, 0x05, 0x9c,
  1355. 0x65, 0x57, 0xf1, 0x59, 0xf6, 0x78, 0x8a, 0x22, 0xbd, 0x80, 0x53, 0xf0, 0x2a, 0x3e, 0x05, 0xcf,
  1356. 0x28, 0xce, 0xc9, 0x3d, 0xfd, 0x38, 0x3c, 0x3f, 0x07, 0x9c, 0x9f, 0xbb, 0xda, 0xf9, 0xf9, 0x2d,
  1357. 0x24, 0x45, 0x3a, 0x02, 0x27, 0xef, 0xae, 0x76, 0xf2, 0x9e, 0x91, 0x44, 0x64, 0x6b, 0xe4, 0x08,
  1358. 0x3e, 0x3f, 0x0b, 0x9c, 0xd9, 0x6f, 0xea, 0x67, 0xf6, 0xb7, 0xd1, 0x14, 0xe9, 0x0c, 0x9c, 0xf6,
  1359. 0x6f, 0xea, 0xa7, 0xfd, 0x66, 0x11, 0xf2, 0xd7, 0xd8, 0xfc, 0x1c, 0xe0, 0x13, 0x54, 0x90, 0x4f,
  1360. 0x60, 0x9e, 0x5b, 0xf0, 0x12, 0x9c, 0x9f, 0x01, 0x1c, 0x86, 0x2a, 0x76, 0x18, 0x32, 0x8a, 0x6f,
  1361. 0xca, 0xf9, 0x3c, 0xdf, 0xa6, 0xe6, 0x26, 0x00, 0x6f, 0x62, 0x43, 0xf5, 0x26, 0xc6, 0xa8, 0x03,
  1362. 0xb6, 0x5c, 0xb9, 0x09, 0xc0, 0xd5, 0xa8, 0x62, 0x57, 0xc3, 0xfc, 0x14, 0xf8, 0xae, 0x25, 0x3f,
  1363. 0x03, 0xf8, 0x21, 0x15, 0xe4, 0x87, 0x64, 0x04, 0xff, 0xb2, 0xb2, 0x31, 0x6a, 0x6a, 0xcb, 0xfe,
  1364. 0x84, 0x04, 0x60, 0xa5, 0x18, 0x0b, 0xe1, 0x98, 0xca, 0x93, 0xb5, 0x86, 0x53, 0x66, 0xad, 0xf9,
  1365. 0x8f, 0x45, 0x1e, 0x8e, 0x71, 0x54, 0xf2, 0xb7, 0xab, 0x98, 0x05, 0x73, 0xdf, 0x68, 0xc1, 0x64,
  1366. 0x4d, 0xfc, 0xb7, 0x45, 0xee, 0x9b, 0xcc, 0x98, 0xfc, 0xed, 0x2b, 0xe0, 0xde, 0x6c, 0x8d, 0xba,
  1367. 0x37, 0x68, 0xae, 0x60, 0x1b, 0x27, 0x7f, 0x93, 0xc0, 0xf7, 0xa9, 0x20, 0xdf, 0x67, 0x2c, 0x41,
  1368. 0x91, 0x65, 0x07, 0x1c, 0xa3, 0x0a, 0x72, 0x8c, 0x90, 0xa0, 0x34, 0xeb, 0x28, 0x3f, 0x03, 0x78,
  1369. 0x4d, 0x55, 0xec, 0x35, 0x8d, 0xa7, 0x28, 0xd2, 0x09, 0x70, 0xa9, 0xaa, 0xd8, 0xa5, 0x32, 0x53,
  1370. 0x14, 0xad, 0xcb, 0xe0, 0x6f, 0x55, 0xb1, 0xbf, 0x35, 0x9e, 0xa2, 0x48, 0x2f, 0xc0, 0x19, 0xab,
  1371. 0x62, 0x67, 0x0c, 0x95, 0x4c, 0xdd, 0x22, 0xcb, 0xcf, 0x01, 0x9e, 0x9a, 0xab, 0x79, 0x6a, 0xb7,
  1372. 0x90, 0x14, 0xe9, 0x08, 0xb8, 0x71, 0xae, 0xe6, 0xc6, 0xa1, 0x82, 0x39, 0x62, 0xcb, 0xe5, 0x67,
  1373. 0x01, 0x1f, 0x6f, 0x53, 0xf7, 0xf1, 0x6e, 0xa3, 0x29, 0xd2, 0x19, 0x70, 0x00, 0x37, 0x75, 0x07,
  1374. 0xd0, 0x2c, 0xc2, 0x82, 0x75, 0x19, 0xbc, 0xc3, 0x0a, 0xf2, 0x0e, 0xcd, 0x73, 0xab, 0x68, 0x5d,
  1375. 0x06, 0xd7, 0xb1, 0x8a, 0x5d, 0x47, 0x54, 0x97, 0x91, 0xfd, 0x98, 0x9f, 0x00, 0xfc, 0xca, 0x0d,
  1376. 0xd5, 0xaf, 0x1c, 0xa3, 0x8e, 0x82, 0x75, 0x19, 0x9c, 0xce, 0x2a, 0x76, 0x3a, 0xcd, 0x4f, 0xa1,
  1377. 0x60, 0x5d, 0x06, 0x8f, 0xb4, 0x82, 0x3c, 0x52, 0x5c, 0x97, 0x91, 0xd1, 0x99, 0x9f, 0x00, 0xec,
  1378. 0x55, 0x63, 0x7d, 0x19, 0xb3, 0xd1, 0xcb, 0x5a, 0x63, 0xa8, 0xcb, 0x63, 0x5c, 0xd6, 0xfc, 0xed,
  1379. 0x2a, 0x66, 0xcb, 0xde, 0x37, 0xda, 0xb2, 0xb8, 0x2e, 0x9b, 0x0c, 0xda, 0xfc, 0xed, 0x2b, 0xe0,
  1380. 0xe8, 0x6e, 0x8d, 0x3a, 0xba, 0x12, 0xb0, 0xfe, 0xe2, 0x6b, 0xd0, 0x6c, 0x0d, 0xfe, 0x3e, 0x3c,
  1381. 0xab, 0x9d, 0xc7, 0x9d, 0x9d, 0x66, 0xdc, 0x6e, 0x74, 0x9b, 0x3b, 0x1c, 0xf4, 0x6c, 0x78, 0xb9,
  1382. 0x73, 0xb5, 0xbb, 0xd3, 0xea, 0x0e, 0xa2, 0x7e, 0xb7, 0xd1, 0xde, 0x61, 0x1c, 0xfc, 0x42, 0xc2,
  1383. 0xbf, 0xfe, 0x3f, 0x00, 0x00, 0xff, 0xff, 0xf6, 0x2d, 0x9b, 0x88, 0x4e, 0x25, 0x00, 0x00,
  1384. }
  1385. func init() {
  1386. xxx_Test_protoFile_FileDesc.Messages = xxx_Test_protoFile_MessageDescs[0:4]
  1387. xxx_Test_protoFile_MessageDescs[0].Enums = xxx_Test_protoFile_EnumDescs[0:1]
  1388. xxx_Test_protoFile_MessageDescs[0].Messages = xxx_Test_protoFile_MessageDescs[4:24]
  1389. xxx_Test_protoFile_MessageDescs[0].Fields[15].MessageType = xxx_Test_protoFile_MessageTypes[5].Type
  1390. xxx_Test_protoFile_MessageDescs[0].Fields[16].MessageType = xxx_Test_protoFile_MessageTypes[4].Type
  1391. xxx_Test_protoFile_MessageDescs[0].Fields[17].EnumType = xxx_Test_protoFile_EnumTypes[0]
  1392. xxx_Test_protoFile_MessageDescs[0].Fields[33].MessageType = xxx_Test_protoFile_MessageTypes[6].Type
  1393. xxx_Test_protoFile_MessageDescs[0].Fields[34].MessageType = xxx_Test_protoFile_MessageTypes[4].Type
  1394. xxx_Test_protoFile_MessageDescs[0].Fields[35].EnumType = xxx_Test_protoFile_EnumTypes[0]
  1395. xxx_Test_protoFile_MessageDescs[0].Fields[36].MessageType = xxx_Test_protoFile_MessageDescs[7].Reference()
  1396. xxx_Test_protoFile_MessageDescs[0].Fields[37].MessageType = xxx_Test_protoFile_MessageDescs[8].Reference()
  1397. xxx_Test_protoFile_MessageDescs[0].Fields[38].MessageType = xxx_Test_protoFile_MessageDescs[9].Reference()
  1398. xxx_Test_protoFile_MessageDescs[0].Fields[39].MessageType = xxx_Test_protoFile_MessageDescs[10].Reference()
  1399. xxx_Test_protoFile_MessageDescs[0].Fields[40].MessageType = xxx_Test_protoFile_MessageDescs[11].Reference()
  1400. xxx_Test_protoFile_MessageDescs[0].Fields[41].MessageType = xxx_Test_protoFile_MessageDescs[12].Reference()
  1401. xxx_Test_protoFile_MessageDescs[0].Fields[42].MessageType = xxx_Test_protoFile_MessageDescs[13].Reference()
  1402. xxx_Test_protoFile_MessageDescs[0].Fields[43].MessageType = xxx_Test_protoFile_MessageDescs[14].Reference()
  1403. xxx_Test_protoFile_MessageDescs[0].Fields[44].MessageType = xxx_Test_protoFile_MessageDescs[15].Reference()
  1404. xxx_Test_protoFile_MessageDescs[0].Fields[45].MessageType = xxx_Test_protoFile_MessageDescs[16].Reference()
  1405. xxx_Test_protoFile_MessageDescs[0].Fields[46].MessageType = xxx_Test_protoFile_MessageDescs[17].Reference()
  1406. xxx_Test_protoFile_MessageDescs[0].Fields[47].MessageType = xxx_Test_protoFile_MessageDescs[18].Reference()
  1407. xxx_Test_protoFile_MessageDescs[0].Fields[48].MessageType = xxx_Test_protoFile_MessageDescs[19].Reference()
  1408. xxx_Test_protoFile_MessageDescs[0].Fields[49].MessageType = xxx_Test_protoFile_MessageDescs[20].Reference()
  1409. xxx_Test_protoFile_MessageDescs[0].Fields[50].MessageType = xxx_Test_protoFile_MessageDescs[21].Reference()
  1410. xxx_Test_protoFile_MessageDescs[0].Fields[51].MessageType = xxx_Test_protoFile_MessageDescs[22].Reference()
  1411. xxx_Test_protoFile_MessageDescs[0].Fields[52].MessageType = xxx_Test_protoFile_MessageDescs[23].Reference()
  1412. xxx_Test_protoFile_MessageDescs[0].Fields[54].MessageType = xxx_Test_protoFile_MessageTypes[4].Type
  1413. xxx_Test_protoFile_MessageDescs[0].Fields[61].EnumType = xxx_Test_protoFile_EnumTypes[0]
  1414. xxx_Test_protoFile_MessageDescs[4].Fields[1].MessageType = xxx_Test_protoFile_MessageTypes[0].Type
  1415. xxx_Test_protoFile_MessageDescs[22].Fields[1].MessageType = xxx_Test_protoFile_MessageTypes[4].Type
  1416. xxx_Test_protoFile_MessageDescs[23].Fields[1].EnumType = xxx_Test_protoFile_EnumTypes[0]
  1417. var err error
  1418. Test_protoFile, err = prototype.NewFile(&xxx_Test_protoFile_FileDesc)
  1419. if err != nil {
  1420. panic(err)
  1421. }
  1422. }
  1423. const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
  1424. var Test_protoFile protoreflect.FileDescriptor
  1425. var xxx_Test_protoFile_FileDesc = prototype.File{
  1426. Syntax: protoreflect.Proto2,
  1427. Path: "test.proto",
  1428. Package: "goproto.proto.test",
  1429. }
  1430. var xxx_Test_protoFile_EnumTypes = [1]protoreflect.EnumType{
  1431. prototype.GoEnum(
  1432. xxx_Test_protoFile_EnumDescs[0].Reference(),
  1433. func(_ protoreflect.EnumType, n protoreflect.EnumNumber) protoreflect.Enum {
  1434. return TestAllTypes_NestedEnum(n)
  1435. },
  1436. ),
  1437. }
  1438. var xxx_Test_protoFile_EnumDescs = [1]prototype.Enum{
  1439. {
  1440. Name: "NestedEnum",
  1441. Values: []prototype.EnumValue{
  1442. {Name: "FOO", Number: 0},
  1443. {Name: "BAR", Number: 1},
  1444. {Name: "BAZ", Number: 2},
  1445. {Name: "NEG", Number: -1},
  1446. },
  1447. },
  1448. }
  1449. var xxx_Test_protoFile_MessageTypes = [24]protoimpl.MessageType{
  1450. {Type: prototype.GoMessage(
  1451. xxx_Test_protoFile_MessageDescs[0].Reference(),
  1452. func(protoreflect.MessageType) protoreflect.Message {
  1453. return xxx_TestAllTypes{new(TestAllTypes)}
  1454. },
  1455. )},
  1456. {Type: prototype.GoMessage(
  1457. xxx_Test_protoFile_MessageDescs[1].Reference(),
  1458. func(protoreflect.MessageType) protoreflect.Message {
  1459. return xxx_TestAllExtensions{new(TestAllExtensions)}
  1460. },
  1461. )},
  1462. {Type: prototype.GoMessage(
  1463. xxx_Test_protoFile_MessageDescs[2].Reference(),
  1464. func(protoreflect.MessageType) protoreflect.Message {
  1465. return xxx_OptionalGroupExtension{new(OptionalGroupExtension)}
  1466. },
  1467. )},
  1468. {Type: prototype.GoMessage(
  1469. xxx_Test_protoFile_MessageDescs[3].Reference(),
  1470. func(protoreflect.MessageType) protoreflect.Message {
  1471. return xxx_RepeatedGroupExtension{new(RepeatedGroupExtension)}
  1472. },
  1473. )},
  1474. {Type: prototype.GoMessage(
  1475. xxx_Test_protoFile_MessageDescs[4].Reference(),
  1476. func(protoreflect.MessageType) protoreflect.Message {
  1477. return xxx_TestAllTypes_NestedMessage{new(TestAllTypes_NestedMessage)}
  1478. },
  1479. )},
  1480. {Type: prototype.GoMessage(
  1481. xxx_Test_protoFile_MessageDescs[5].Reference(),
  1482. func(protoreflect.MessageType) protoreflect.Message {
  1483. return xxx_TestAllTypes_OptionalGroup{new(TestAllTypes_OptionalGroup)}
  1484. },
  1485. )},
  1486. {Type: prototype.GoMessage(
  1487. xxx_Test_protoFile_MessageDescs[6].Reference(),
  1488. func(protoreflect.MessageType) protoreflect.Message {
  1489. return xxx_TestAllTypes_RepeatedGroup{new(TestAllTypes_RepeatedGroup)}
  1490. },
  1491. )},
  1492. { /* no message type for TestAllTypes_MapInt32Int32Entry */ },
  1493. { /* no message type for TestAllTypes_MapInt64Int64Entry */ },
  1494. { /* no message type for TestAllTypes_MapUint32Uint32Entry */ },
  1495. { /* no message type for TestAllTypes_MapUint64Uint64Entry */ },
  1496. { /* no message type for TestAllTypes_MapSint32Sint32Entry */ },
  1497. { /* no message type for TestAllTypes_MapSint64Sint64Entry */ },
  1498. { /* no message type for TestAllTypes_MapFixed32Fixed32Entry */ },
  1499. { /* no message type for TestAllTypes_MapFixed64Fixed64Entry */ },
  1500. { /* no message type for TestAllTypes_MapSfixed32Sfixed32Entry */ },
  1501. { /* no message type for TestAllTypes_MapSfixed64Sfixed64Entry */ },
  1502. { /* no message type for TestAllTypes_MapInt32FloatEntry */ },
  1503. { /* no message type for TestAllTypes_MapInt32DoubleEntry */ },
  1504. { /* no message type for TestAllTypes_MapBoolBoolEntry */ },
  1505. { /* no message type for TestAllTypes_MapStringStringEntry */ },
  1506. { /* no message type for TestAllTypes_MapStringBytesEntry */ },
  1507. { /* no message type for TestAllTypes_MapStringNestedMessageEntry */ },
  1508. { /* no message type for TestAllTypes_MapStringNestedEnumEntry */ },
  1509. }
  1510. var xxx_Test_protoFile_MessageDescs = [24]prototype.Message{
  1511. {
  1512. Name: "TestAllTypes",
  1513. Fields: []prototype.Field{
  1514. {
  1515. Name: "optional_int32",
  1516. Number: 1,
  1517. Cardinality: protoreflect.Optional,
  1518. Kind: protoreflect.Int32Kind,
  1519. JSONName: "optionalInt32",
  1520. IsPacked: prototype.False,
  1521. },
  1522. {
  1523. Name: "optional_int64",
  1524. Number: 2,
  1525. Cardinality: protoreflect.Optional,
  1526. Kind: protoreflect.Int64Kind,
  1527. JSONName: "optionalInt64",
  1528. IsPacked: prototype.False,
  1529. },
  1530. {
  1531. Name: "optional_uint32",
  1532. Number: 3,
  1533. Cardinality: protoreflect.Optional,
  1534. Kind: protoreflect.Uint32Kind,
  1535. JSONName: "optionalUint32",
  1536. IsPacked: prototype.False,
  1537. },
  1538. {
  1539. Name: "optional_uint64",
  1540. Number: 4,
  1541. Cardinality: protoreflect.Optional,
  1542. Kind: protoreflect.Uint64Kind,
  1543. JSONName: "optionalUint64",
  1544. IsPacked: prototype.False,
  1545. },
  1546. {
  1547. Name: "optional_sint32",
  1548. Number: 5,
  1549. Cardinality: protoreflect.Optional,
  1550. Kind: protoreflect.Sint32Kind,
  1551. JSONName: "optionalSint32",
  1552. IsPacked: prototype.False,
  1553. },
  1554. {
  1555. Name: "optional_sint64",
  1556. Number: 6,
  1557. Cardinality: protoreflect.Optional,
  1558. Kind: protoreflect.Sint64Kind,
  1559. JSONName: "optionalSint64",
  1560. IsPacked: prototype.False,
  1561. },
  1562. {
  1563. Name: "optional_fixed32",
  1564. Number: 7,
  1565. Cardinality: protoreflect.Optional,
  1566. Kind: protoreflect.Fixed32Kind,
  1567. JSONName: "optionalFixed32",
  1568. IsPacked: prototype.False,
  1569. },
  1570. {
  1571. Name: "optional_fixed64",
  1572. Number: 8,
  1573. Cardinality: protoreflect.Optional,
  1574. Kind: protoreflect.Fixed64Kind,
  1575. JSONName: "optionalFixed64",
  1576. IsPacked: prototype.False,
  1577. },
  1578. {
  1579. Name: "optional_sfixed32",
  1580. Number: 9,
  1581. Cardinality: protoreflect.Optional,
  1582. Kind: protoreflect.Sfixed32Kind,
  1583. JSONName: "optionalSfixed32",
  1584. IsPacked: prototype.False,
  1585. },
  1586. {
  1587. Name: "optional_sfixed64",
  1588. Number: 10,
  1589. Cardinality: protoreflect.Optional,
  1590. Kind: protoreflect.Sfixed64Kind,
  1591. JSONName: "optionalSfixed64",
  1592. IsPacked: prototype.False,
  1593. },
  1594. {
  1595. Name: "optional_float",
  1596. Number: 11,
  1597. Cardinality: protoreflect.Optional,
  1598. Kind: protoreflect.FloatKind,
  1599. JSONName: "optionalFloat",
  1600. IsPacked: prototype.False,
  1601. },
  1602. {
  1603. Name: "optional_double",
  1604. Number: 12,
  1605. Cardinality: protoreflect.Optional,
  1606. Kind: protoreflect.DoubleKind,
  1607. JSONName: "optionalDouble",
  1608. IsPacked: prototype.False,
  1609. },
  1610. {
  1611. Name: "optional_bool",
  1612. Number: 13,
  1613. Cardinality: protoreflect.Optional,
  1614. Kind: protoreflect.BoolKind,
  1615. JSONName: "optionalBool",
  1616. IsPacked: prototype.False,
  1617. },
  1618. {
  1619. Name: "optional_string",
  1620. Number: 14,
  1621. Cardinality: protoreflect.Optional,
  1622. Kind: protoreflect.StringKind,
  1623. JSONName: "optionalString",
  1624. IsPacked: prototype.False,
  1625. },
  1626. {
  1627. Name: "optional_bytes",
  1628. Number: 15,
  1629. Cardinality: protoreflect.Optional,
  1630. Kind: protoreflect.BytesKind,
  1631. JSONName: "optionalBytes",
  1632. IsPacked: prototype.False,
  1633. },
  1634. {
  1635. Name: "optionalgroup",
  1636. Number: 16,
  1637. Cardinality: protoreflect.Optional,
  1638. Kind: protoreflect.GroupKind,
  1639. JSONName: "optionalgroup",
  1640. IsPacked: prototype.False,
  1641. },
  1642. {
  1643. Name: "optional_nested_message",
  1644. Number: 18,
  1645. Cardinality: protoreflect.Optional,
  1646. Kind: protoreflect.MessageKind,
  1647. JSONName: "optionalNestedMessage",
  1648. IsPacked: prototype.False,
  1649. },
  1650. {
  1651. Name: "optional_nested_enum",
  1652. Number: 21,
  1653. Cardinality: protoreflect.Optional,
  1654. Kind: protoreflect.EnumKind,
  1655. JSONName: "optionalNestedEnum",
  1656. IsPacked: prototype.False,
  1657. },
  1658. {
  1659. Name: "repeated_int32",
  1660. Number: 31,
  1661. Cardinality: protoreflect.Repeated,
  1662. Kind: protoreflect.Int32Kind,
  1663. JSONName: "repeatedInt32",
  1664. IsPacked: prototype.False,
  1665. },
  1666. {
  1667. Name: "repeated_int64",
  1668. Number: 32,
  1669. Cardinality: protoreflect.Repeated,
  1670. Kind: protoreflect.Int64Kind,
  1671. JSONName: "repeatedInt64",
  1672. IsPacked: prototype.False,
  1673. },
  1674. {
  1675. Name: "repeated_uint32",
  1676. Number: 33,
  1677. Cardinality: protoreflect.Repeated,
  1678. Kind: protoreflect.Uint32Kind,
  1679. JSONName: "repeatedUint32",
  1680. IsPacked: prototype.False,
  1681. },
  1682. {
  1683. Name: "repeated_uint64",
  1684. Number: 34,
  1685. Cardinality: protoreflect.Repeated,
  1686. Kind: protoreflect.Uint64Kind,
  1687. JSONName: "repeatedUint64",
  1688. IsPacked: prototype.False,
  1689. },
  1690. {
  1691. Name: "repeated_sint32",
  1692. Number: 35,
  1693. Cardinality: protoreflect.Repeated,
  1694. Kind: protoreflect.Sint32Kind,
  1695. JSONName: "repeatedSint32",
  1696. IsPacked: prototype.False,
  1697. },
  1698. {
  1699. Name: "repeated_sint64",
  1700. Number: 36,
  1701. Cardinality: protoreflect.Repeated,
  1702. Kind: protoreflect.Sint64Kind,
  1703. JSONName: "repeatedSint64",
  1704. IsPacked: prototype.False,
  1705. },
  1706. {
  1707. Name: "repeated_fixed32",
  1708. Number: 37,
  1709. Cardinality: protoreflect.Repeated,
  1710. Kind: protoreflect.Fixed32Kind,
  1711. JSONName: "repeatedFixed32",
  1712. IsPacked: prototype.False,
  1713. },
  1714. {
  1715. Name: "repeated_fixed64",
  1716. Number: 38,
  1717. Cardinality: protoreflect.Repeated,
  1718. Kind: protoreflect.Fixed64Kind,
  1719. JSONName: "repeatedFixed64",
  1720. IsPacked: prototype.False,
  1721. },
  1722. {
  1723. Name: "repeated_sfixed32",
  1724. Number: 39,
  1725. Cardinality: protoreflect.Repeated,
  1726. Kind: protoreflect.Sfixed32Kind,
  1727. JSONName: "repeatedSfixed32",
  1728. IsPacked: prototype.False,
  1729. },
  1730. {
  1731. Name: "repeated_sfixed64",
  1732. Number: 40,
  1733. Cardinality: protoreflect.Repeated,
  1734. Kind: protoreflect.Sfixed64Kind,
  1735. JSONName: "repeatedSfixed64",
  1736. IsPacked: prototype.False,
  1737. },
  1738. {
  1739. Name: "repeated_float",
  1740. Number: 41,
  1741. Cardinality: protoreflect.Repeated,
  1742. Kind: protoreflect.FloatKind,
  1743. JSONName: "repeatedFloat",
  1744. IsPacked: prototype.False,
  1745. },
  1746. {
  1747. Name: "repeated_double",
  1748. Number: 42,
  1749. Cardinality: protoreflect.Repeated,
  1750. Kind: protoreflect.DoubleKind,
  1751. JSONName: "repeatedDouble",
  1752. IsPacked: prototype.False,
  1753. },
  1754. {
  1755. Name: "repeated_bool",
  1756. Number: 43,
  1757. Cardinality: protoreflect.Repeated,
  1758. Kind: protoreflect.BoolKind,
  1759. JSONName: "repeatedBool",
  1760. IsPacked: prototype.False,
  1761. },
  1762. {
  1763. Name: "repeated_string",
  1764. Number: 44,
  1765. Cardinality: protoreflect.Repeated,
  1766. Kind: protoreflect.StringKind,
  1767. JSONName: "repeatedString",
  1768. IsPacked: prototype.False,
  1769. },
  1770. {
  1771. Name: "repeated_bytes",
  1772. Number: 45,
  1773. Cardinality: protoreflect.Repeated,
  1774. Kind: protoreflect.BytesKind,
  1775. JSONName: "repeatedBytes",
  1776. IsPacked: prototype.False,
  1777. },
  1778. {
  1779. Name: "repeatedgroup",
  1780. Number: 46,
  1781. Cardinality: protoreflect.Repeated,
  1782. Kind: protoreflect.GroupKind,
  1783. JSONName: "repeatedgroup",
  1784. IsPacked: prototype.False,
  1785. },
  1786. {
  1787. Name: "repeated_nested_message",
  1788. Number: 48,
  1789. Cardinality: protoreflect.Repeated,
  1790. Kind: protoreflect.MessageKind,
  1791. JSONName: "repeatedNestedMessage",
  1792. IsPacked: prototype.False,
  1793. },
  1794. {
  1795. Name: "repeated_nested_enum",
  1796. Number: 51,
  1797. Cardinality: protoreflect.Repeated,
  1798. Kind: protoreflect.EnumKind,
  1799. JSONName: "repeatedNestedEnum",
  1800. IsPacked: prototype.False,
  1801. },
  1802. {
  1803. Name: "map_int32_int32",
  1804. Number: 56,
  1805. Cardinality: protoreflect.Repeated,
  1806. Kind: protoreflect.MessageKind,
  1807. JSONName: "mapInt32Int32",
  1808. IsPacked: prototype.False,
  1809. },
  1810. {
  1811. Name: "map_int64_int64",
  1812. Number: 57,
  1813. Cardinality: protoreflect.Repeated,
  1814. Kind: protoreflect.MessageKind,
  1815. JSONName: "mapInt64Int64",
  1816. IsPacked: prototype.False,
  1817. },
  1818. {
  1819. Name: "map_uint32_uint32",
  1820. Number: 58,
  1821. Cardinality: protoreflect.Repeated,
  1822. Kind: protoreflect.MessageKind,
  1823. JSONName: "mapUint32Uint32",
  1824. IsPacked: prototype.False,
  1825. },
  1826. {
  1827. Name: "map_uint64_uint64",
  1828. Number: 59,
  1829. Cardinality: protoreflect.Repeated,
  1830. Kind: protoreflect.MessageKind,
  1831. JSONName: "mapUint64Uint64",
  1832. IsPacked: prototype.False,
  1833. },
  1834. {
  1835. Name: "map_sint32_sint32",
  1836. Number: 60,
  1837. Cardinality: protoreflect.Repeated,
  1838. Kind: protoreflect.MessageKind,
  1839. JSONName: "mapSint32Sint32",
  1840. IsPacked: prototype.False,
  1841. },
  1842. {
  1843. Name: "map_sint64_sint64",
  1844. Number: 61,
  1845. Cardinality: protoreflect.Repeated,
  1846. Kind: protoreflect.MessageKind,
  1847. JSONName: "mapSint64Sint64",
  1848. IsPacked: prototype.False,
  1849. },
  1850. {
  1851. Name: "map_fixed32_fixed32",
  1852. Number: 62,
  1853. Cardinality: protoreflect.Repeated,
  1854. Kind: protoreflect.MessageKind,
  1855. JSONName: "mapFixed32Fixed32",
  1856. IsPacked: prototype.False,
  1857. },
  1858. {
  1859. Name: "map_fixed64_fixed64",
  1860. Number: 63,
  1861. Cardinality: protoreflect.Repeated,
  1862. Kind: protoreflect.MessageKind,
  1863. JSONName: "mapFixed64Fixed64",
  1864. IsPacked: prototype.False,
  1865. },
  1866. {
  1867. Name: "map_sfixed32_sfixed32",
  1868. Number: 64,
  1869. Cardinality: protoreflect.Repeated,
  1870. Kind: protoreflect.MessageKind,
  1871. JSONName: "mapSfixed32Sfixed32",
  1872. IsPacked: prototype.False,
  1873. },
  1874. {
  1875. Name: "map_sfixed64_sfixed64",
  1876. Number: 65,
  1877. Cardinality: protoreflect.Repeated,
  1878. Kind: protoreflect.MessageKind,
  1879. JSONName: "mapSfixed64Sfixed64",
  1880. IsPacked: prototype.False,
  1881. },
  1882. {
  1883. Name: "map_int32_float",
  1884. Number: 66,
  1885. Cardinality: protoreflect.Repeated,
  1886. Kind: protoreflect.MessageKind,
  1887. JSONName: "mapInt32Float",
  1888. IsPacked: prototype.False,
  1889. },
  1890. {
  1891. Name: "map_int32_double",
  1892. Number: 67,
  1893. Cardinality: protoreflect.Repeated,
  1894. Kind: protoreflect.MessageKind,
  1895. JSONName: "mapInt32Double",
  1896. IsPacked: prototype.False,
  1897. },
  1898. {
  1899. Name: "map_bool_bool",
  1900. Number: 68,
  1901. Cardinality: protoreflect.Repeated,
  1902. Kind: protoreflect.MessageKind,
  1903. JSONName: "mapBoolBool",
  1904. IsPacked: prototype.False,
  1905. },
  1906. {
  1907. Name: "map_string_string",
  1908. Number: 69,
  1909. Cardinality: protoreflect.Repeated,
  1910. Kind: protoreflect.MessageKind,
  1911. JSONName: "mapStringString",
  1912. IsPacked: prototype.False,
  1913. },
  1914. {
  1915. Name: "map_string_bytes",
  1916. Number: 70,
  1917. Cardinality: protoreflect.Repeated,
  1918. Kind: protoreflect.MessageKind,
  1919. JSONName: "mapStringBytes",
  1920. IsPacked: prototype.False,
  1921. },
  1922. {
  1923. Name: "map_string_nested_message",
  1924. Number: 71,
  1925. Cardinality: protoreflect.Repeated,
  1926. Kind: protoreflect.MessageKind,
  1927. JSONName: "mapStringNestedMessage",
  1928. IsPacked: prototype.False,
  1929. },
  1930. {
  1931. Name: "map_string_nested_enum",
  1932. Number: 73,
  1933. Cardinality: protoreflect.Repeated,
  1934. Kind: protoreflect.MessageKind,
  1935. JSONName: "mapStringNestedEnum",
  1936. IsPacked: prototype.False,
  1937. },
  1938. {
  1939. Name: "oneof_uint32",
  1940. Number: 111,
  1941. Cardinality: protoreflect.Optional,
  1942. Kind: protoreflect.Uint32Kind,
  1943. JSONName: "oneofUint32",
  1944. OneofName: "oneof_field",
  1945. IsPacked: prototype.False,
  1946. },
  1947. {
  1948. Name: "oneof_nested_message",
  1949. Number: 112,
  1950. Cardinality: protoreflect.Optional,
  1951. Kind: protoreflect.MessageKind,
  1952. JSONName: "oneofNestedMessage",
  1953. OneofName: "oneof_field",
  1954. IsPacked: prototype.False,
  1955. },
  1956. {
  1957. Name: "oneof_string",
  1958. Number: 113,
  1959. Cardinality: protoreflect.Optional,
  1960. Kind: protoreflect.StringKind,
  1961. JSONName: "oneofString",
  1962. OneofName: "oneof_field",
  1963. IsPacked: prototype.False,
  1964. },
  1965. {
  1966. Name: "oneof_bytes",
  1967. Number: 114,
  1968. Cardinality: protoreflect.Optional,
  1969. Kind: protoreflect.BytesKind,
  1970. JSONName: "oneofBytes",
  1971. OneofName: "oneof_field",
  1972. IsPacked: prototype.False,
  1973. },
  1974. {
  1975. Name: "oneof_bool",
  1976. Number: 115,
  1977. Cardinality: protoreflect.Optional,
  1978. Kind: protoreflect.BoolKind,
  1979. JSONName: "oneofBool",
  1980. OneofName: "oneof_field",
  1981. IsPacked: prototype.False,
  1982. },
  1983. {
  1984. Name: "oneof_uint64",
  1985. Number: 116,
  1986. Cardinality: protoreflect.Optional,
  1987. Kind: protoreflect.Uint64Kind,
  1988. JSONName: "oneofUint64",
  1989. OneofName: "oneof_field",
  1990. IsPacked: prototype.False,
  1991. },
  1992. {
  1993. Name: "oneof_float",
  1994. Number: 117,
  1995. Cardinality: protoreflect.Optional,
  1996. Kind: protoreflect.FloatKind,
  1997. JSONName: "oneofFloat",
  1998. OneofName: "oneof_field",
  1999. IsPacked: prototype.False,
  2000. },
  2001. {
  2002. Name: "oneof_double",
  2003. Number: 118,
  2004. Cardinality: protoreflect.Optional,
  2005. Kind: protoreflect.DoubleKind,
  2006. JSONName: "oneofDouble",
  2007. OneofName: "oneof_field",
  2008. IsPacked: prototype.False,
  2009. },
  2010. {
  2011. Name: "oneof_enum",
  2012. Number: 119,
  2013. Cardinality: protoreflect.Optional,
  2014. Kind: protoreflect.EnumKind,
  2015. JSONName: "oneofEnum",
  2016. OneofName: "oneof_field",
  2017. IsPacked: prototype.False,
  2018. },
  2019. },
  2020. Oneofs: []prototype.Oneof{
  2021. {Name: "oneof_field"},
  2022. },
  2023. },
  2024. {
  2025. Name: "TestAllExtensions",
  2026. ExtensionRanges: [][2]protoreflect.FieldNumber{{1, 536870912}},
  2027. },
  2028. {
  2029. Name: "OptionalGroup_extension",
  2030. Fields: []prototype.Field{
  2031. {
  2032. Name: "a",
  2033. Number: 17,
  2034. Cardinality: protoreflect.Optional,
  2035. Kind: protoreflect.Int32Kind,
  2036. JSONName: "a",
  2037. IsPacked: prototype.False,
  2038. },
  2039. },
  2040. },
  2041. {
  2042. Name: "RepeatedGroup_extension",
  2043. Fields: []prototype.Field{
  2044. {
  2045. Name: "a",
  2046. Number: 47,
  2047. Cardinality: protoreflect.Optional,
  2048. Kind: protoreflect.Int32Kind,
  2049. JSONName: "a",
  2050. IsPacked: prototype.False,
  2051. },
  2052. },
  2053. },
  2054. {
  2055. Name: "NestedMessage",
  2056. Fields: []prototype.Field{
  2057. {
  2058. Name: "a",
  2059. Number: 1,
  2060. Cardinality: protoreflect.Optional,
  2061. Kind: protoreflect.Int32Kind,
  2062. JSONName: "a",
  2063. IsPacked: prototype.False,
  2064. },
  2065. {
  2066. Name: "corecursive",
  2067. Number: 2,
  2068. Cardinality: protoreflect.Optional,
  2069. Kind: protoreflect.MessageKind,
  2070. JSONName: "corecursive",
  2071. IsPacked: prototype.False,
  2072. },
  2073. },
  2074. },
  2075. {
  2076. Name: "OptionalGroup",
  2077. Fields: []prototype.Field{
  2078. {
  2079. Name: "a",
  2080. Number: 17,
  2081. Cardinality: protoreflect.Optional,
  2082. Kind: protoreflect.Int32Kind,
  2083. JSONName: "a",
  2084. IsPacked: prototype.False,
  2085. },
  2086. },
  2087. },
  2088. {
  2089. Name: "RepeatedGroup",
  2090. Fields: []prototype.Field{
  2091. {
  2092. Name: "a",
  2093. Number: 47,
  2094. Cardinality: protoreflect.Optional,
  2095. Kind: protoreflect.Int32Kind,
  2096. JSONName: "a",
  2097. IsPacked: prototype.False,
  2098. },
  2099. },
  2100. },
  2101. {
  2102. Name: "MapInt32Int32Entry",
  2103. Fields: []prototype.Field{
  2104. {
  2105. Name: "key",
  2106. Number: 1,
  2107. Cardinality: protoreflect.Optional,
  2108. Kind: protoreflect.Int32Kind,
  2109. JSONName: "key",
  2110. IsPacked: prototype.False,
  2111. },
  2112. {
  2113. Name: "value",
  2114. Number: 2,
  2115. Cardinality: protoreflect.Optional,
  2116. Kind: protoreflect.Int32Kind,
  2117. JSONName: "value",
  2118. IsPacked: prototype.False,
  2119. },
  2120. },
  2121. IsMapEntry: true,
  2122. },
  2123. {
  2124. Name: "MapInt64Int64Entry",
  2125. Fields: []prototype.Field{
  2126. {
  2127. Name: "key",
  2128. Number: 1,
  2129. Cardinality: protoreflect.Optional,
  2130. Kind: protoreflect.Int64Kind,
  2131. JSONName: "key",
  2132. IsPacked: prototype.False,
  2133. },
  2134. {
  2135. Name: "value",
  2136. Number: 2,
  2137. Cardinality: protoreflect.Optional,
  2138. Kind: protoreflect.Int64Kind,
  2139. JSONName: "value",
  2140. IsPacked: prototype.False,
  2141. },
  2142. },
  2143. IsMapEntry: true,
  2144. },
  2145. {
  2146. Name: "MapUint32Uint32Entry",
  2147. Fields: []prototype.Field{
  2148. {
  2149. Name: "key",
  2150. Number: 1,
  2151. Cardinality: protoreflect.Optional,
  2152. Kind: protoreflect.Uint32Kind,
  2153. JSONName: "key",
  2154. IsPacked: prototype.False,
  2155. },
  2156. {
  2157. Name: "value",
  2158. Number: 2,
  2159. Cardinality: protoreflect.Optional,
  2160. Kind: protoreflect.Uint32Kind,
  2161. JSONName: "value",
  2162. IsPacked: prototype.False,
  2163. },
  2164. },
  2165. IsMapEntry: true,
  2166. },
  2167. {
  2168. Name: "MapUint64Uint64Entry",
  2169. Fields: []prototype.Field{
  2170. {
  2171. Name: "key",
  2172. Number: 1,
  2173. Cardinality: protoreflect.Optional,
  2174. Kind: protoreflect.Uint64Kind,
  2175. JSONName: "key",
  2176. IsPacked: prototype.False,
  2177. },
  2178. {
  2179. Name: "value",
  2180. Number: 2,
  2181. Cardinality: protoreflect.Optional,
  2182. Kind: protoreflect.Uint64Kind,
  2183. JSONName: "value",
  2184. IsPacked: prototype.False,
  2185. },
  2186. },
  2187. IsMapEntry: true,
  2188. },
  2189. {
  2190. Name: "MapSint32Sint32Entry",
  2191. Fields: []prototype.Field{
  2192. {
  2193. Name: "key",
  2194. Number: 1,
  2195. Cardinality: protoreflect.Optional,
  2196. Kind: protoreflect.Sint32Kind,
  2197. JSONName: "key",
  2198. IsPacked: prototype.False,
  2199. },
  2200. {
  2201. Name: "value",
  2202. Number: 2,
  2203. Cardinality: protoreflect.Optional,
  2204. Kind: protoreflect.Sint32Kind,
  2205. JSONName: "value",
  2206. IsPacked: prototype.False,
  2207. },
  2208. },
  2209. IsMapEntry: true,
  2210. },
  2211. {
  2212. Name: "MapSint64Sint64Entry",
  2213. Fields: []prototype.Field{
  2214. {
  2215. Name: "key",
  2216. Number: 1,
  2217. Cardinality: protoreflect.Optional,
  2218. Kind: protoreflect.Sint64Kind,
  2219. JSONName: "key",
  2220. IsPacked: prototype.False,
  2221. },
  2222. {
  2223. Name: "value",
  2224. Number: 2,
  2225. Cardinality: protoreflect.Optional,
  2226. Kind: protoreflect.Sint64Kind,
  2227. JSONName: "value",
  2228. IsPacked: prototype.False,
  2229. },
  2230. },
  2231. IsMapEntry: true,
  2232. },
  2233. {
  2234. Name: "MapFixed32Fixed32Entry",
  2235. Fields: []prototype.Field{
  2236. {
  2237. Name: "key",
  2238. Number: 1,
  2239. Cardinality: protoreflect.Optional,
  2240. Kind: protoreflect.Fixed32Kind,
  2241. JSONName: "key",
  2242. IsPacked: prototype.False,
  2243. },
  2244. {
  2245. Name: "value",
  2246. Number: 2,
  2247. Cardinality: protoreflect.Optional,
  2248. Kind: protoreflect.Fixed32Kind,
  2249. JSONName: "value",
  2250. IsPacked: prototype.False,
  2251. },
  2252. },
  2253. IsMapEntry: true,
  2254. },
  2255. {
  2256. Name: "MapFixed64Fixed64Entry",
  2257. Fields: []prototype.Field{
  2258. {
  2259. Name: "key",
  2260. Number: 1,
  2261. Cardinality: protoreflect.Optional,
  2262. Kind: protoreflect.Fixed64Kind,
  2263. JSONName: "key",
  2264. IsPacked: prototype.False,
  2265. },
  2266. {
  2267. Name: "value",
  2268. Number: 2,
  2269. Cardinality: protoreflect.Optional,
  2270. Kind: protoreflect.Fixed64Kind,
  2271. JSONName: "value",
  2272. IsPacked: prototype.False,
  2273. },
  2274. },
  2275. IsMapEntry: true,
  2276. },
  2277. {
  2278. Name: "MapSfixed32Sfixed32Entry",
  2279. Fields: []prototype.Field{
  2280. {
  2281. Name: "key",
  2282. Number: 1,
  2283. Cardinality: protoreflect.Optional,
  2284. Kind: protoreflect.Sfixed32Kind,
  2285. JSONName: "key",
  2286. IsPacked: prototype.False,
  2287. },
  2288. {
  2289. Name: "value",
  2290. Number: 2,
  2291. Cardinality: protoreflect.Optional,
  2292. Kind: protoreflect.Sfixed32Kind,
  2293. JSONName: "value",
  2294. IsPacked: prototype.False,
  2295. },
  2296. },
  2297. IsMapEntry: true,
  2298. },
  2299. {
  2300. Name: "MapSfixed64Sfixed64Entry",
  2301. Fields: []prototype.Field{
  2302. {
  2303. Name: "key",
  2304. Number: 1,
  2305. Cardinality: protoreflect.Optional,
  2306. Kind: protoreflect.Sfixed64Kind,
  2307. JSONName: "key",
  2308. IsPacked: prototype.False,
  2309. },
  2310. {
  2311. Name: "value",
  2312. Number: 2,
  2313. Cardinality: protoreflect.Optional,
  2314. Kind: protoreflect.Sfixed64Kind,
  2315. JSONName: "value",
  2316. IsPacked: prototype.False,
  2317. },
  2318. },
  2319. IsMapEntry: true,
  2320. },
  2321. {
  2322. Name: "MapInt32FloatEntry",
  2323. Fields: []prototype.Field{
  2324. {
  2325. Name: "key",
  2326. Number: 1,
  2327. Cardinality: protoreflect.Optional,
  2328. Kind: protoreflect.Int32Kind,
  2329. JSONName: "key",
  2330. IsPacked: prototype.False,
  2331. },
  2332. {
  2333. Name: "value",
  2334. Number: 2,
  2335. Cardinality: protoreflect.Optional,
  2336. Kind: protoreflect.FloatKind,
  2337. JSONName: "value",
  2338. IsPacked: prototype.False,
  2339. },
  2340. },
  2341. IsMapEntry: true,
  2342. },
  2343. {
  2344. Name: "MapInt32DoubleEntry",
  2345. Fields: []prototype.Field{
  2346. {
  2347. Name: "key",
  2348. Number: 1,
  2349. Cardinality: protoreflect.Optional,
  2350. Kind: protoreflect.Int32Kind,
  2351. JSONName: "key",
  2352. IsPacked: prototype.False,
  2353. },
  2354. {
  2355. Name: "value",
  2356. Number: 2,
  2357. Cardinality: protoreflect.Optional,
  2358. Kind: protoreflect.DoubleKind,
  2359. JSONName: "value",
  2360. IsPacked: prototype.False,
  2361. },
  2362. },
  2363. IsMapEntry: true,
  2364. },
  2365. {
  2366. Name: "MapBoolBoolEntry",
  2367. Fields: []prototype.Field{
  2368. {
  2369. Name: "key",
  2370. Number: 1,
  2371. Cardinality: protoreflect.Optional,
  2372. Kind: protoreflect.BoolKind,
  2373. JSONName: "key",
  2374. IsPacked: prototype.False,
  2375. },
  2376. {
  2377. Name: "value",
  2378. Number: 2,
  2379. Cardinality: protoreflect.Optional,
  2380. Kind: protoreflect.BoolKind,
  2381. JSONName: "value",
  2382. IsPacked: prototype.False,
  2383. },
  2384. },
  2385. IsMapEntry: true,
  2386. },
  2387. {
  2388. Name: "MapStringStringEntry",
  2389. Fields: []prototype.Field{
  2390. {
  2391. Name: "key",
  2392. Number: 1,
  2393. Cardinality: protoreflect.Optional,
  2394. Kind: protoreflect.StringKind,
  2395. JSONName: "key",
  2396. IsPacked: prototype.False,
  2397. },
  2398. {
  2399. Name: "value",
  2400. Number: 2,
  2401. Cardinality: protoreflect.Optional,
  2402. Kind: protoreflect.StringKind,
  2403. JSONName: "value",
  2404. IsPacked: prototype.False,
  2405. },
  2406. },
  2407. IsMapEntry: true,
  2408. },
  2409. {
  2410. Name: "MapStringBytesEntry",
  2411. Fields: []prototype.Field{
  2412. {
  2413. Name: "key",
  2414. Number: 1,
  2415. Cardinality: protoreflect.Optional,
  2416. Kind: protoreflect.StringKind,
  2417. JSONName: "key",
  2418. IsPacked: prototype.False,
  2419. },
  2420. {
  2421. Name: "value",
  2422. Number: 2,
  2423. Cardinality: protoreflect.Optional,
  2424. Kind: protoreflect.BytesKind,
  2425. JSONName: "value",
  2426. IsPacked: prototype.False,
  2427. },
  2428. },
  2429. IsMapEntry: true,
  2430. },
  2431. {
  2432. Name: "MapStringNestedMessageEntry",
  2433. Fields: []prototype.Field{
  2434. {
  2435. Name: "key",
  2436. Number: 1,
  2437. Cardinality: protoreflect.Optional,
  2438. Kind: protoreflect.StringKind,
  2439. JSONName: "key",
  2440. IsPacked: prototype.False,
  2441. },
  2442. {
  2443. Name: "value",
  2444. Number: 2,
  2445. Cardinality: protoreflect.Optional,
  2446. Kind: protoreflect.MessageKind,
  2447. JSONName: "value",
  2448. IsPacked: prototype.False,
  2449. },
  2450. },
  2451. IsMapEntry: true,
  2452. },
  2453. {
  2454. Name: "MapStringNestedEnumEntry",
  2455. Fields: []prototype.Field{
  2456. {
  2457. Name: "key",
  2458. Number: 1,
  2459. Cardinality: protoreflect.Optional,
  2460. Kind: protoreflect.StringKind,
  2461. JSONName: "key",
  2462. IsPacked: prototype.False,
  2463. },
  2464. {
  2465. Name: "value",
  2466. Number: 2,
  2467. Cardinality: protoreflect.Optional,
  2468. Kind: protoreflect.EnumKind,
  2469. JSONName: "value",
  2470. IsPacked: prototype.False,
  2471. },
  2472. },
  2473. IsMapEntry: true,
  2474. },
  2475. }