test.pb.go 108 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: encoding/textpb/testprotos/pb2/test.proto
  3. package pb2
  4. import (
  5. proto "github.com/golang/protobuf/proto"
  6. any "github.com/golang/protobuf/ptypes/any"
  7. duration "github.com/golang/protobuf/ptypes/duration"
  8. empty "github.com/golang/protobuf/ptypes/empty"
  9. _struct "github.com/golang/protobuf/ptypes/struct"
  10. timestamp "github.com/golang/protobuf/ptypes/timestamp"
  11. wrappers "github.com/golang/protobuf/ptypes/wrappers"
  12. protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
  13. prototype "github.com/golang/protobuf/v2/reflect/prototype"
  14. protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
  15. )
  16. // This is a compile-time assertion to ensure that this generated file
  17. // is compatible with the proto package it is being compiled against.
  18. // A compilation error at this line likely means your copy of the
  19. // proto package needs to be updated.
  20. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  21. type Enum int32
  22. const (
  23. Enum_UNKNOWN Enum = 0
  24. Enum_FIRST Enum = 1
  25. Enum_SECOND Enum = 2
  26. Enum_TENTH Enum = 10
  27. )
  28. func (e Enum) Type() protoreflect.EnumType {
  29. return xxx_Test_protoFile_EnumTypes[0]
  30. }
  31. func (e Enum) Number() protoreflect.EnumNumber {
  32. return protoreflect.EnumNumber(e)
  33. }
  34. var Enum_name = map[int32]string{
  35. 0: "UNKNOWN",
  36. 1: "FIRST",
  37. 2: "SECOND",
  38. 10: "TENTH",
  39. }
  40. var Enum_value = map[string]int32{
  41. "UNKNOWN": 0,
  42. "FIRST": 1,
  43. "SECOND": 2,
  44. "TENTH": 10,
  45. }
  46. func (x Enum) Enum() *Enum {
  47. p := new(Enum)
  48. *p = x
  49. return p
  50. }
  51. func (x Enum) String() string {
  52. return proto.EnumName(Enum_name, int32(x))
  53. }
  54. func (x *Enum) UnmarshalJSON(data []byte) error {
  55. value, err := proto.UnmarshalJSONEnum(Enum_value, data, "Enum")
  56. if err != nil {
  57. return err
  58. }
  59. *x = Enum(value)
  60. return nil
  61. }
  62. func (Enum) EnumDescriptor() ([]byte, []int) {
  63. return fileDescriptor_c8d7acc1bcec9a72, []int{0}
  64. }
  65. type Enums_NestedEnum int32
  66. const (
  67. Enums_UNO Enums_NestedEnum = 1
  68. Enums_DOS Enums_NestedEnum = 2
  69. Enums_DIEZ Enums_NestedEnum = 10
  70. )
  71. func (e Enums_NestedEnum) Type() protoreflect.EnumType {
  72. return xxx_Test_protoFile_EnumTypes[1]
  73. }
  74. func (e Enums_NestedEnum) Number() protoreflect.EnumNumber {
  75. return protoreflect.EnumNumber(e)
  76. }
  77. var Enums_NestedEnum_name = map[int32]string{
  78. 1: "UNO",
  79. 2: "DOS",
  80. 10: "DIEZ",
  81. }
  82. var Enums_NestedEnum_value = map[string]int32{
  83. "UNO": 1,
  84. "DOS": 2,
  85. "DIEZ": 10,
  86. }
  87. func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
  88. p := new(Enums_NestedEnum)
  89. *p = x
  90. return p
  91. }
  92. func (x Enums_NestedEnum) String() string {
  93. return proto.EnumName(Enums_NestedEnum_name, int32(x))
  94. }
  95. func (x *Enums_NestedEnum) UnmarshalJSON(data []byte) error {
  96. value, err := proto.UnmarshalJSONEnum(Enums_NestedEnum_value, data, "Enums_NestedEnum")
  97. if err != nil {
  98. return err
  99. }
  100. *x = Enums_NestedEnum(value)
  101. return nil
  102. }
  103. func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
  104. return fileDescriptor_c8d7acc1bcec9a72, []int{2, 0}
  105. }
  106. // Scalars contains optional scalar fields.
  107. type Scalars struct {
  108. OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
  109. OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
  110. OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
  111. OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
  112. OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
  113. OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"`
  114. OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"`
  115. OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
  116. OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"`
  117. OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"`
  118. OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"`
  119. OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
  120. OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
  121. OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
  122. OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
  123. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  124. XXX_unrecognized []byte `json:"-"`
  125. XXX_sizecache int32 `json:"-"`
  126. }
  127. type xxx_Scalars struct{ m *Scalars }
  128. func (m *Scalars) ProtoReflect() protoreflect.Message {
  129. return xxx_Scalars{m}
  130. }
  131. func (m xxx_Scalars) Type() protoreflect.MessageType {
  132. return xxx_Test_protoFile_MessageTypes[0].Type
  133. }
  134. func (m xxx_Scalars) KnownFields() protoreflect.KnownFields {
  135. return xxx_Test_protoFile_MessageTypes[0].KnownFieldsOf(m.m)
  136. }
  137. func (m xxx_Scalars) UnknownFields() protoreflect.UnknownFields {
  138. return xxx_Test_protoFile_MessageTypes[0].UnknownFieldsOf(m.m)
  139. }
  140. func (m xxx_Scalars) Interface() protoreflect.ProtoMessage {
  141. return m.m
  142. }
  143. func (m *Scalars) Reset() { *m = Scalars{} }
  144. func (m *Scalars) String() string { return proto.CompactTextString(m) }
  145. func (*Scalars) ProtoMessage() {}
  146. func (*Scalars) Descriptor() ([]byte, []int) {
  147. return fileDescriptor_c8d7acc1bcec9a72, []int{0}
  148. }
  149. func (m *Scalars) XXX_Unmarshal(b []byte) error {
  150. return xxx_messageInfo_Scalars.Unmarshal(m, b)
  151. }
  152. func (m *Scalars) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  153. return xxx_messageInfo_Scalars.Marshal(b, m, deterministic)
  154. }
  155. func (m *Scalars) XXX_Merge(src proto.Message) {
  156. xxx_messageInfo_Scalars.Merge(m, src)
  157. }
  158. func (m *Scalars) XXX_Size() int {
  159. return xxx_messageInfo_Scalars.Size(m)
  160. }
  161. func (m *Scalars) XXX_DiscardUnknown() {
  162. xxx_messageInfo_Scalars.DiscardUnknown(m)
  163. }
  164. var xxx_messageInfo_Scalars proto.InternalMessageInfo
  165. func (m *Scalars) GetOptBool() bool {
  166. if m != nil && m.OptBool != nil {
  167. return *m.OptBool
  168. }
  169. return false
  170. }
  171. func (m *Scalars) GetOptInt32() int32 {
  172. if m != nil && m.OptInt32 != nil {
  173. return *m.OptInt32
  174. }
  175. return 0
  176. }
  177. func (m *Scalars) GetOptInt64() int64 {
  178. if m != nil && m.OptInt64 != nil {
  179. return *m.OptInt64
  180. }
  181. return 0
  182. }
  183. func (m *Scalars) GetOptUint32() uint32 {
  184. if m != nil && m.OptUint32 != nil {
  185. return *m.OptUint32
  186. }
  187. return 0
  188. }
  189. func (m *Scalars) GetOptUint64() uint64 {
  190. if m != nil && m.OptUint64 != nil {
  191. return *m.OptUint64
  192. }
  193. return 0
  194. }
  195. func (m *Scalars) GetOptSint32() int32 {
  196. if m != nil && m.OptSint32 != nil {
  197. return *m.OptSint32
  198. }
  199. return 0
  200. }
  201. func (m *Scalars) GetOptSint64() int64 {
  202. if m != nil && m.OptSint64 != nil {
  203. return *m.OptSint64
  204. }
  205. return 0
  206. }
  207. func (m *Scalars) GetOptFixed32() uint32 {
  208. if m != nil && m.OptFixed32 != nil {
  209. return *m.OptFixed32
  210. }
  211. return 0
  212. }
  213. func (m *Scalars) GetOptFixed64() uint64 {
  214. if m != nil && m.OptFixed64 != nil {
  215. return *m.OptFixed64
  216. }
  217. return 0
  218. }
  219. func (m *Scalars) GetOptSfixed32() int32 {
  220. if m != nil && m.OptSfixed32 != nil {
  221. return *m.OptSfixed32
  222. }
  223. return 0
  224. }
  225. func (m *Scalars) GetOptSfixed64() int64 {
  226. if m != nil && m.OptSfixed64 != nil {
  227. return *m.OptSfixed64
  228. }
  229. return 0
  230. }
  231. func (m *Scalars) GetOptFloat() float32 {
  232. if m != nil && m.OptFloat != nil {
  233. return *m.OptFloat
  234. }
  235. return 0
  236. }
  237. func (m *Scalars) GetOptDouble() float64 {
  238. if m != nil && m.OptDouble != nil {
  239. return *m.OptDouble
  240. }
  241. return 0
  242. }
  243. func (m *Scalars) GetOptBytes() []byte {
  244. if m != nil {
  245. return m.OptBytes
  246. }
  247. return nil
  248. }
  249. func (m *Scalars) GetOptString() string {
  250. if m != nil && m.OptString != nil {
  251. return *m.OptString
  252. }
  253. return ""
  254. }
  255. // Message contains repeated fields.
  256. type Repeats struct {
  257. RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
  258. RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
  259. RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
  260. RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
  261. RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
  262. RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
  263. RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"`
  264. RptString []string `protobuf:"bytes,15,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
  265. RptBytes [][]byte `protobuf:"bytes,14,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
  266. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  267. XXX_unrecognized []byte `json:"-"`
  268. XXX_sizecache int32 `json:"-"`
  269. }
  270. type xxx_Repeats struct{ m *Repeats }
  271. func (m *Repeats) ProtoReflect() protoreflect.Message {
  272. return xxx_Repeats{m}
  273. }
  274. func (m xxx_Repeats) Type() protoreflect.MessageType {
  275. return xxx_Test_protoFile_MessageTypes[1].Type
  276. }
  277. func (m xxx_Repeats) KnownFields() protoreflect.KnownFields {
  278. return xxx_Test_protoFile_MessageTypes[1].KnownFieldsOf(m.m)
  279. }
  280. func (m xxx_Repeats) UnknownFields() protoreflect.UnknownFields {
  281. return xxx_Test_protoFile_MessageTypes[1].UnknownFieldsOf(m.m)
  282. }
  283. func (m xxx_Repeats) Interface() protoreflect.ProtoMessage {
  284. return m.m
  285. }
  286. func (m *Repeats) Reset() { *m = Repeats{} }
  287. func (m *Repeats) String() string { return proto.CompactTextString(m) }
  288. func (*Repeats) ProtoMessage() {}
  289. func (*Repeats) Descriptor() ([]byte, []int) {
  290. return fileDescriptor_c8d7acc1bcec9a72, []int{1}
  291. }
  292. func (m *Repeats) XXX_Unmarshal(b []byte) error {
  293. return xxx_messageInfo_Repeats.Unmarshal(m, b)
  294. }
  295. func (m *Repeats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  296. return xxx_messageInfo_Repeats.Marshal(b, m, deterministic)
  297. }
  298. func (m *Repeats) XXX_Merge(src proto.Message) {
  299. xxx_messageInfo_Repeats.Merge(m, src)
  300. }
  301. func (m *Repeats) XXX_Size() int {
  302. return xxx_messageInfo_Repeats.Size(m)
  303. }
  304. func (m *Repeats) XXX_DiscardUnknown() {
  305. xxx_messageInfo_Repeats.DiscardUnknown(m)
  306. }
  307. var xxx_messageInfo_Repeats proto.InternalMessageInfo
  308. func (m *Repeats) GetRptBool() []bool {
  309. if m != nil {
  310. return m.RptBool
  311. }
  312. return nil
  313. }
  314. func (m *Repeats) GetRptInt32() []int32 {
  315. if m != nil {
  316. return m.RptInt32
  317. }
  318. return nil
  319. }
  320. func (m *Repeats) GetRptInt64() []int64 {
  321. if m != nil {
  322. return m.RptInt64
  323. }
  324. return nil
  325. }
  326. func (m *Repeats) GetRptUint32() []uint32 {
  327. if m != nil {
  328. return m.RptUint32
  329. }
  330. return nil
  331. }
  332. func (m *Repeats) GetRptUint64() []uint64 {
  333. if m != nil {
  334. return m.RptUint64
  335. }
  336. return nil
  337. }
  338. func (m *Repeats) GetRptFloat() []float32 {
  339. if m != nil {
  340. return m.RptFloat
  341. }
  342. return nil
  343. }
  344. func (m *Repeats) GetRptDouble() []float64 {
  345. if m != nil {
  346. return m.RptDouble
  347. }
  348. return nil
  349. }
  350. func (m *Repeats) GetRptString() []string {
  351. if m != nil {
  352. return m.RptString
  353. }
  354. return nil
  355. }
  356. func (m *Repeats) GetRptBytes() [][]byte {
  357. if m != nil {
  358. return m.RptBytes
  359. }
  360. return nil
  361. }
  362. // Message contains enum fields.
  363. type Enums struct {
  364. OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
  365. RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"`
  366. OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
  367. RptNestedEnum []Enums_NestedEnum `protobuf:"varint,4,rep,name=rpt_nested_enum,json=rptNestedEnum,enum=pb2.Enums_NestedEnum" json:"rpt_nested_enum,omitempty"`
  368. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  369. XXX_unrecognized []byte `json:"-"`
  370. XXX_sizecache int32 `json:"-"`
  371. }
  372. type xxx_Enums struct{ m *Enums }
  373. func (m *Enums) ProtoReflect() protoreflect.Message {
  374. return xxx_Enums{m}
  375. }
  376. func (m xxx_Enums) Type() protoreflect.MessageType {
  377. return xxx_Test_protoFile_MessageTypes[2].Type
  378. }
  379. func (m xxx_Enums) KnownFields() protoreflect.KnownFields {
  380. return xxx_Test_protoFile_MessageTypes[2].KnownFieldsOf(m.m)
  381. }
  382. func (m xxx_Enums) UnknownFields() protoreflect.UnknownFields {
  383. return xxx_Test_protoFile_MessageTypes[2].UnknownFieldsOf(m.m)
  384. }
  385. func (m xxx_Enums) Interface() protoreflect.ProtoMessage {
  386. return m.m
  387. }
  388. func (m *Enums) Reset() { *m = Enums{} }
  389. func (m *Enums) String() string { return proto.CompactTextString(m) }
  390. func (*Enums) ProtoMessage() {}
  391. func (*Enums) Descriptor() ([]byte, []int) {
  392. return fileDescriptor_c8d7acc1bcec9a72, []int{2}
  393. }
  394. func (m *Enums) XXX_Unmarshal(b []byte) error {
  395. return xxx_messageInfo_Enums.Unmarshal(m, b)
  396. }
  397. func (m *Enums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  398. return xxx_messageInfo_Enums.Marshal(b, m, deterministic)
  399. }
  400. func (m *Enums) XXX_Merge(src proto.Message) {
  401. xxx_messageInfo_Enums.Merge(m, src)
  402. }
  403. func (m *Enums) XXX_Size() int {
  404. return xxx_messageInfo_Enums.Size(m)
  405. }
  406. func (m *Enums) XXX_DiscardUnknown() {
  407. xxx_messageInfo_Enums.DiscardUnknown(m)
  408. }
  409. var xxx_messageInfo_Enums proto.InternalMessageInfo
  410. func (m *Enums) GetOptEnum() Enum {
  411. if m != nil && m.OptEnum != nil {
  412. return *m.OptEnum
  413. }
  414. return Enum_UNKNOWN
  415. }
  416. func (m *Enums) GetRptEnum() []Enum {
  417. if m != nil {
  418. return m.RptEnum
  419. }
  420. return nil
  421. }
  422. func (m *Enums) GetOptNestedEnum() Enums_NestedEnum {
  423. if m != nil && m.OptNestedEnum != nil {
  424. return *m.OptNestedEnum
  425. }
  426. return Enums_UNO
  427. }
  428. func (m *Enums) GetRptNestedEnum() []Enums_NestedEnum {
  429. if m != nil {
  430. return m.RptNestedEnum
  431. }
  432. return nil
  433. }
  434. // Message contains message and group fields.
  435. type Nests struct {
  436. OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
  437. Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"`
  438. RptNested []*Nested `protobuf:"bytes,3,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
  439. Rptgroup []*Nests_RptGroup `protobuf:"group,4,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
  440. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  441. XXX_unrecognized []byte `json:"-"`
  442. XXX_sizecache int32 `json:"-"`
  443. }
  444. type xxx_Nests struct{ m *Nests }
  445. func (m *Nests) ProtoReflect() protoreflect.Message {
  446. return xxx_Nests{m}
  447. }
  448. func (m xxx_Nests) Type() protoreflect.MessageType {
  449. return xxx_Test_protoFile_MessageTypes[3].Type
  450. }
  451. func (m xxx_Nests) KnownFields() protoreflect.KnownFields {
  452. return xxx_Test_protoFile_MessageTypes[3].KnownFieldsOf(m.m)
  453. }
  454. func (m xxx_Nests) UnknownFields() protoreflect.UnknownFields {
  455. return xxx_Test_protoFile_MessageTypes[3].UnknownFieldsOf(m.m)
  456. }
  457. func (m xxx_Nests) Interface() protoreflect.ProtoMessage {
  458. return m.m
  459. }
  460. func (m *Nests) Reset() { *m = Nests{} }
  461. func (m *Nests) String() string { return proto.CompactTextString(m) }
  462. func (*Nests) ProtoMessage() {}
  463. func (*Nests) Descriptor() ([]byte, []int) {
  464. return fileDescriptor_c8d7acc1bcec9a72, []int{3}
  465. }
  466. func (m *Nests) XXX_Unmarshal(b []byte) error {
  467. return xxx_messageInfo_Nests.Unmarshal(m, b)
  468. }
  469. func (m *Nests) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  470. return xxx_messageInfo_Nests.Marshal(b, m, deterministic)
  471. }
  472. func (m *Nests) XXX_Merge(src proto.Message) {
  473. xxx_messageInfo_Nests.Merge(m, src)
  474. }
  475. func (m *Nests) XXX_Size() int {
  476. return xxx_messageInfo_Nests.Size(m)
  477. }
  478. func (m *Nests) XXX_DiscardUnknown() {
  479. xxx_messageInfo_Nests.DiscardUnknown(m)
  480. }
  481. var xxx_messageInfo_Nests proto.InternalMessageInfo
  482. func (m *Nests) GetOptNested() *Nested {
  483. if m != nil {
  484. return m.OptNested
  485. }
  486. return nil
  487. }
  488. func (m *Nests) GetOptgroup() *Nests_OptGroup {
  489. if m != nil {
  490. return m.Optgroup
  491. }
  492. return nil
  493. }
  494. func (m *Nests) GetRptNested() []*Nested {
  495. if m != nil {
  496. return m.RptNested
  497. }
  498. return nil
  499. }
  500. func (m *Nests) GetRptgroup() []*Nests_RptGroup {
  501. if m != nil {
  502. return m.Rptgroup
  503. }
  504. return nil
  505. }
  506. // Message type used as submessage.
  507. type Nested struct {
  508. OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
  509. OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
  510. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  511. XXX_unrecognized []byte `json:"-"`
  512. XXX_sizecache int32 `json:"-"`
  513. }
  514. type xxx_Nested struct{ m *Nested }
  515. func (m *Nested) ProtoReflect() protoreflect.Message {
  516. return xxx_Nested{m}
  517. }
  518. func (m xxx_Nested) Type() protoreflect.MessageType {
  519. return xxx_Test_protoFile_MessageTypes[4].Type
  520. }
  521. func (m xxx_Nested) KnownFields() protoreflect.KnownFields {
  522. return xxx_Test_protoFile_MessageTypes[4].KnownFieldsOf(m.m)
  523. }
  524. func (m xxx_Nested) UnknownFields() protoreflect.UnknownFields {
  525. return xxx_Test_protoFile_MessageTypes[4].UnknownFieldsOf(m.m)
  526. }
  527. func (m xxx_Nested) Interface() protoreflect.ProtoMessage {
  528. return m.m
  529. }
  530. func (m *Nested) Reset() { *m = Nested{} }
  531. func (m *Nested) String() string { return proto.CompactTextString(m) }
  532. func (*Nested) ProtoMessage() {}
  533. func (*Nested) Descriptor() ([]byte, []int) {
  534. return fileDescriptor_c8d7acc1bcec9a72, []int{4}
  535. }
  536. func (m *Nested) XXX_Unmarshal(b []byte) error {
  537. return xxx_messageInfo_Nested.Unmarshal(m, b)
  538. }
  539. func (m *Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  540. return xxx_messageInfo_Nested.Marshal(b, m, deterministic)
  541. }
  542. func (m *Nested) XXX_Merge(src proto.Message) {
  543. xxx_messageInfo_Nested.Merge(m, src)
  544. }
  545. func (m *Nested) XXX_Size() int {
  546. return xxx_messageInfo_Nested.Size(m)
  547. }
  548. func (m *Nested) XXX_DiscardUnknown() {
  549. xxx_messageInfo_Nested.DiscardUnknown(m)
  550. }
  551. var xxx_messageInfo_Nested proto.InternalMessageInfo
  552. func (m *Nested) GetOptString() string {
  553. if m != nil && m.OptString != nil {
  554. return *m.OptString
  555. }
  556. return ""
  557. }
  558. func (m *Nested) GetOptNested() *Nested {
  559. if m != nil {
  560. return m.OptNested
  561. }
  562. return nil
  563. }
  564. // Message contains required fields.
  565. type Requireds struct {
  566. ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"`
  567. ReqFixed32 *uint32 `protobuf:"fixed32,2,req,name=req_fixed32,json=reqFixed32" json:"req_fixed32,omitempty"`
  568. ReqFixed64 *uint64 `protobuf:"fixed64,3,req,name=req_fixed64,json=reqFixed64" json:"req_fixed64,omitempty"`
  569. ReqSfixed32 *int32 `protobuf:"fixed32,4,req,name=req_sfixed32,json=reqSfixed32" json:"req_sfixed32,omitempty"`
  570. ReqSfixed64 *int64 `protobuf:"fixed64,5,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"`
  571. ReqFloat *float32 `protobuf:"fixed32,6,req,name=req_float,json=reqFloat" json:"req_float,omitempty"`
  572. ReqDouble *float64 `protobuf:"fixed64,7,req,name=req_double,json=reqDouble" json:"req_double,omitempty"`
  573. ReqString *string `protobuf:"bytes,8,req,name=req_string,json=reqString" json:"req_string,omitempty"`
  574. ReqBytes []byte `protobuf:"bytes,9,req,name=req_bytes,json=reqBytes" json:"req_bytes,omitempty"`
  575. ReqEnum *Enum `protobuf:"varint,10,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
  576. ReqNested *Nested `protobuf:"bytes,11,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
  577. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  578. XXX_unrecognized []byte `json:"-"`
  579. XXX_sizecache int32 `json:"-"`
  580. }
  581. type xxx_Requireds struct{ m *Requireds }
  582. func (m *Requireds) ProtoReflect() protoreflect.Message {
  583. return xxx_Requireds{m}
  584. }
  585. func (m xxx_Requireds) Type() protoreflect.MessageType {
  586. return xxx_Test_protoFile_MessageTypes[5].Type
  587. }
  588. func (m xxx_Requireds) KnownFields() protoreflect.KnownFields {
  589. return xxx_Test_protoFile_MessageTypes[5].KnownFieldsOf(m.m)
  590. }
  591. func (m xxx_Requireds) UnknownFields() protoreflect.UnknownFields {
  592. return xxx_Test_protoFile_MessageTypes[5].UnknownFieldsOf(m.m)
  593. }
  594. func (m xxx_Requireds) Interface() protoreflect.ProtoMessage {
  595. return m.m
  596. }
  597. func (m *Requireds) Reset() { *m = Requireds{} }
  598. func (m *Requireds) String() string { return proto.CompactTextString(m) }
  599. func (*Requireds) ProtoMessage() {}
  600. func (*Requireds) Descriptor() ([]byte, []int) {
  601. return fileDescriptor_c8d7acc1bcec9a72, []int{5}
  602. }
  603. func (m *Requireds) XXX_Unmarshal(b []byte) error {
  604. return xxx_messageInfo_Requireds.Unmarshal(m, b)
  605. }
  606. func (m *Requireds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  607. return xxx_messageInfo_Requireds.Marshal(b, m, deterministic)
  608. }
  609. func (m *Requireds) XXX_Merge(src proto.Message) {
  610. xxx_messageInfo_Requireds.Merge(m, src)
  611. }
  612. func (m *Requireds) XXX_Size() int {
  613. return xxx_messageInfo_Requireds.Size(m)
  614. }
  615. func (m *Requireds) XXX_DiscardUnknown() {
  616. xxx_messageInfo_Requireds.DiscardUnknown(m)
  617. }
  618. var xxx_messageInfo_Requireds proto.InternalMessageInfo
  619. func (m *Requireds) GetReqBool() bool {
  620. if m != nil && m.ReqBool != nil {
  621. return *m.ReqBool
  622. }
  623. return false
  624. }
  625. func (m *Requireds) GetReqFixed32() uint32 {
  626. if m != nil && m.ReqFixed32 != nil {
  627. return *m.ReqFixed32
  628. }
  629. return 0
  630. }
  631. func (m *Requireds) GetReqFixed64() uint64 {
  632. if m != nil && m.ReqFixed64 != nil {
  633. return *m.ReqFixed64
  634. }
  635. return 0
  636. }
  637. func (m *Requireds) GetReqSfixed32() int32 {
  638. if m != nil && m.ReqSfixed32 != nil {
  639. return *m.ReqSfixed32
  640. }
  641. return 0
  642. }
  643. func (m *Requireds) GetReqSfixed64() int64 {
  644. if m != nil && m.ReqSfixed64 != nil {
  645. return *m.ReqSfixed64
  646. }
  647. return 0
  648. }
  649. func (m *Requireds) GetReqFloat() float32 {
  650. if m != nil && m.ReqFloat != nil {
  651. return *m.ReqFloat
  652. }
  653. return 0
  654. }
  655. func (m *Requireds) GetReqDouble() float64 {
  656. if m != nil && m.ReqDouble != nil {
  657. return *m.ReqDouble
  658. }
  659. return 0
  660. }
  661. func (m *Requireds) GetReqString() string {
  662. if m != nil && m.ReqString != nil {
  663. return *m.ReqString
  664. }
  665. return ""
  666. }
  667. func (m *Requireds) GetReqBytes() []byte {
  668. if m != nil {
  669. return m.ReqBytes
  670. }
  671. return nil
  672. }
  673. func (m *Requireds) GetReqEnum() Enum {
  674. if m != nil && m.ReqEnum != nil {
  675. return *m.ReqEnum
  676. }
  677. return Enum_UNKNOWN
  678. }
  679. func (m *Requireds) GetReqNested() *Nested {
  680. if m != nil {
  681. return m.ReqNested
  682. }
  683. return nil
  684. }
  685. // Message contains both required and optional fields.
  686. type PartialRequired struct {
  687. ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
  688. OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
  689. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  690. XXX_unrecognized []byte `json:"-"`
  691. XXX_sizecache int32 `json:"-"`
  692. }
  693. type xxx_PartialRequired struct{ m *PartialRequired }
  694. func (m *PartialRequired) ProtoReflect() protoreflect.Message {
  695. return xxx_PartialRequired{m}
  696. }
  697. func (m xxx_PartialRequired) Type() protoreflect.MessageType {
  698. return xxx_Test_protoFile_MessageTypes[6].Type
  699. }
  700. func (m xxx_PartialRequired) KnownFields() protoreflect.KnownFields {
  701. return xxx_Test_protoFile_MessageTypes[6].KnownFieldsOf(m.m)
  702. }
  703. func (m xxx_PartialRequired) UnknownFields() protoreflect.UnknownFields {
  704. return xxx_Test_protoFile_MessageTypes[6].UnknownFieldsOf(m.m)
  705. }
  706. func (m xxx_PartialRequired) Interface() protoreflect.ProtoMessage {
  707. return m.m
  708. }
  709. func (m *PartialRequired) Reset() { *m = PartialRequired{} }
  710. func (m *PartialRequired) String() string { return proto.CompactTextString(m) }
  711. func (*PartialRequired) ProtoMessage() {}
  712. func (*PartialRequired) Descriptor() ([]byte, []int) {
  713. return fileDescriptor_c8d7acc1bcec9a72, []int{6}
  714. }
  715. func (m *PartialRequired) XXX_Unmarshal(b []byte) error {
  716. return xxx_messageInfo_PartialRequired.Unmarshal(m, b)
  717. }
  718. func (m *PartialRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  719. return xxx_messageInfo_PartialRequired.Marshal(b, m, deterministic)
  720. }
  721. func (m *PartialRequired) XXX_Merge(src proto.Message) {
  722. xxx_messageInfo_PartialRequired.Merge(m, src)
  723. }
  724. func (m *PartialRequired) XXX_Size() int {
  725. return xxx_messageInfo_PartialRequired.Size(m)
  726. }
  727. func (m *PartialRequired) XXX_DiscardUnknown() {
  728. xxx_messageInfo_PartialRequired.DiscardUnknown(m)
  729. }
  730. var xxx_messageInfo_PartialRequired proto.InternalMessageInfo
  731. func (m *PartialRequired) GetReqString() string {
  732. if m != nil && m.ReqString != nil {
  733. return *m.ReqString
  734. }
  735. return ""
  736. }
  737. func (m *PartialRequired) GetOptString() string {
  738. if m != nil && m.OptString != nil {
  739. return *m.OptString
  740. }
  741. return ""
  742. }
  743. // Message contains oneof field.
  744. type Oneofs struct {
  745. // Types that are valid to be assigned to Union:
  746. // *Oneofs_Str
  747. // *Oneofs_Msg
  748. Union isOneofs_Union `protobuf_oneof:"union"`
  749. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  750. XXX_unrecognized []byte `json:"-"`
  751. XXX_sizecache int32 `json:"-"`
  752. }
  753. type xxx_Oneofs struct{ m *Oneofs }
  754. func (m *Oneofs) ProtoReflect() protoreflect.Message {
  755. return xxx_Oneofs{m}
  756. }
  757. func (m xxx_Oneofs) Type() protoreflect.MessageType {
  758. return xxx_Test_protoFile_MessageTypes[7].Type
  759. }
  760. func (m xxx_Oneofs) KnownFields() protoreflect.KnownFields {
  761. return xxx_Test_protoFile_MessageTypes[7].KnownFieldsOf(m.m)
  762. }
  763. func (m xxx_Oneofs) UnknownFields() protoreflect.UnknownFields {
  764. return xxx_Test_protoFile_MessageTypes[7].UnknownFieldsOf(m.m)
  765. }
  766. func (m xxx_Oneofs) Interface() protoreflect.ProtoMessage {
  767. return m.m
  768. }
  769. func (m *Oneofs) Reset() { *m = Oneofs{} }
  770. func (m *Oneofs) String() string { return proto.CompactTextString(m) }
  771. func (*Oneofs) ProtoMessage() {}
  772. func (*Oneofs) Descriptor() ([]byte, []int) {
  773. return fileDescriptor_c8d7acc1bcec9a72, []int{7}
  774. }
  775. func (m *Oneofs) XXX_Unmarshal(b []byte) error {
  776. return xxx_messageInfo_Oneofs.Unmarshal(m, b)
  777. }
  778. func (m *Oneofs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  779. return xxx_messageInfo_Oneofs.Marshal(b, m, deterministic)
  780. }
  781. func (m *Oneofs) XXX_Merge(src proto.Message) {
  782. xxx_messageInfo_Oneofs.Merge(m, src)
  783. }
  784. func (m *Oneofs) XXX_Size() int {
  785. return xxx_messageInfo_Oneofs.Size(m)
  786. }
  787. func (m *Oneofs) XXX_DiscardUnknown() {
  788. xxx_messageInfo_Oneofs.DiscardUnknown(m)
  789. }
  790. var xxx_messageInfo_Oneofs proto.InternalMessageInfo
  791. type isOneofs_Union interface {
  792. isOneofs_Union()
  793. }
  794. type Oneofs_Str struct {
  795. Str string `protobuf:"bytes,1,opt,name=str,oneof"`
  796. }
  797. type Oneofs_Msg struct {
  798. Msg *Nested `protobuf:"bytes,2,opt,name=msg,oneof"`
  799. }
  800. func (*Oneofs_Str) isOneofs_Union() {}
  801. func (*Oneofs_Msg) isOneofs_Union() {}
  802. func (m *Oneofs) GetUnion() isOneofs_Union {
  803. if m != nil {
  804. return m.Union
  805. }
  806. return nil
  807. }
  808. func (m *Oneofs) GetStr() string {
  809. if x, ok := m.GetUnion().(*Oneofs_Str); ok {
  810. return x.Str
  811. }
  812. return ""
  813. }
  814. func (m *Oneofs) GetMsg() *Nested {
  815. if x, ok := m.GetUnion().(*Oneofs_Msg); ok {
  816. return x.Msg
  817. }
  818. return nil
  819. }
  820. // XXX_OneofWrappers is for the internal use of the proto package.
  821. func (*Oneofs) XXX_OneofWrappers() []interface{} {
  822. return []interface{}{
  823. (*Oneofs_Str)(nil),
  824. (*Oneofs_Msg)(nil),
  825. }
  826. }
  827. // Message contains map fields.
  828. type Maps struct {
  829. Int32ToStr map[int32]string `protobuf:"bytes,1,rep,name=int32_to_str,json=int32ToStr" json:"int32_to_str,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  830. Sfixed64ToBool map[int64]bool `protobuf:"bytes,2,rep,name=sfixed64_to_bool,json=sfixed64ToBool" json:"sfixed64_to_bool,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  831. BoolToUint32 map[bool]uint32 `protobuf:"bytes,3,rep,name=bool_to_uint32,json=boolToUint32" json:"bool_to_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  832. Uint64ToEnum map[uint64]Enum `protobuf:"bytes,4,rep,name=uint64_to_enum,json=uint64ToEnum" json:"uint64_to_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=pb2.Enum"`
  833. StrToNested map[string]*Nested `protobuf:"bytes,5,rep,name=str_to_nested,json=strToNested" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  834. StrToOneofs map[string]*Oneofs `protobuf:"bytes,6,rep,name=str_to_oneofs,json=strToOneofs" json:"str_to_oneofs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  835. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  836. XXX_unrecognized []byte `json:"-"`
  837. XXX_sizecache int32 `json:"-"`
  838. }
  839. type xxx_Maps struct{ m *Maps }
  840. func (m *Maps) ProtoReflect() protoreflect.Message {
  841. return xxx_Maps{m}
  842. }
  843. func (m xxx_Maps) Type() protoreflect.MessageType {
  844. return xxx_Test_protoFile_MessageTypes[8].Type
  845. }
  846. func (m xxx_Maps) KnownFields() protoreflect.KnownFields {
  847. return xxx_Test_protoFile_MessageTypes[8].KnownFieldsOf(m.m)
  848. }
  849. func (m xxx_Maps) UnknownFields() protoreflect.UnknownFields {
  850. return xxx_Test_protoFile_MessageTypes[8].UnknownFieldsOf(m.m)
  851. }
  852. func (m xxx_Maps) Interface() protoreflect.ProtoMessage {
  853. return m.m
  854. }
  855. func (m *Maps) Reset() { *m = Maps{} }
  856. func (m *Maps) String() string { return proto.CompactTextString(m) }
  857. func (*Maps) ProtoMessage() {}
  858. func (*Maps) Descriptor() ([]byte, []int) {
  859. return fileDescriptor_c8d7acc1bcec9a72, []int{8}
  860. }
  861. func (m *Maps) XXX_Unmarshal(b []byte) error {
  862. return xxx_messageInfo_Maps.Unmarshal(m, b)
  863. }
  864. func (m *Maps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  865. return xxx_messageInfo_Maps.Marshal(b, m, deterministic)
  866. }
  867. func (m *Maps) XXX_Merge(src proto.Message) {
  868. xxx_messageInfo_Maps.Merge(m, src)
  869. }
  870. func (m *Maps) XXX_Size() int {
  871. return xxx_messageInfo_Maps.Size(m)
  872. }
  873. func (m *Maps) XXX_DiscardUnknown() {
  874. xxx_messageInfo_Maps.DiscardUnknown(m)
  875. }
  876. var xxx_messageInfo_Maps proto.InternalMessageInfo
  877. func (m *Maps) GetInt32ToStr() map[int32]string {
  878. if m != nil {
  879. return m.Int32ToStr
  880. }
  881. return nil
  882. }
  883. func (m *Maps) GetSfixed64ToBool() map[int64]bool {
  884. if m != nil {
  885. return m.Sfixed64ToBool
  886. }
  887. return nil
  888. }
  889. func (m *Maps) GetBoolToUint32() map[bool]uint32 {
  890. if m != nil {
  891. return m.BoolToUint32
  892. }
  893. return nil
  894. }
  895. func (m *Maps) GetUint64ToEnum() map[uint64]Enum {
  896. if m != nil {
  897. return m.Uint64ToEnum
  898. }
  899. return nil
  900. }
  901. func (m *Maps) GetStrToNested() map[string]*Nested {
  902. if m != nil {
  903. return m.StrToNested
  904. }
  905. return nil
  906. }
  907. func (m *Maps) GetStrToOneofs() map[string]*Oneofs {
  908. if m != nil {
  909. return m.StrToOneofs
  910. }
  911. return nil
  912. }
  913. type NestedWithRequired struct {
  914. ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
  915. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  916. XXX_unrecognized []byte `json:"-"`
  917. XXX_sizecache int32 `json:"-"`
  918. }
  919. type xxx_NestedWithRequired struct{ m *NestedWithRequired }
  920. func (m *NestedWithRequired) ProtoReflect() protoreflect.Message {
  921. return xxx_NestedWithRequired{m}
  922. }
  923. func (m xxx_NestedWithRequired) Type() protoreflect.MessageType {
  924. return xxx_Test_protoFile_MessageTypes[9].Type
  925. }
  926. func (m xxx_NestedWithRequired) KnownFields() protoreflect.KnownFields {
  927. return xxx_Test_protoFile_MessageTypes[9].KnownFieldsOf(m.m)
  928. }
  929. func (m xxx_NestedWithRequired) UnknownFields() protoreflect.UnknownFields {
  930. return xxx_Test_protoFile_MessageTypes[9].UnknownFieldsOf(m.m)
  931. }
  932. func (m xxx_NestedWithRequired) Interface() protoreflect.ProtoMessage {
  933. return m.m
  934. }
  935. func (m *NestedWithRequired) Reset() { *m = NestedWithRequired{} }
  936. func (m *NestedWithRequired) String() string { return proto.CompactTextString(m) }
  937. func (*NestedWithRequired) ProtoMessage() {}
  938. func (*NestedWithRequired) Descriptor() ([]byte, []int) {
  939. return fileDescriptor_c8d7acc1bcec9a72, []int{9}
  940. }
  941. func (m *NestedWithRequired) XXX_Unmarshal(b []byte) error {
  942. return xxx_messageInfo_NestedWithRequired.Unmarshal(m, b)
  943. }
  944. func (m *NestedWithRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  945. return xxx_messageInfo_NestedWithRequired.Marshal(b, m, deterministic)
  946. }
  947. func (m *NestedWithRequired) XXX_Merge(src proto.Message) {
  948. xxx_messageInfo_NestedWithRequired.Merge(m, src)
  949. }
  950. func (m *NestedWithRequired) XXX_Size() int {
  951. return xxx_messageInfo_NestedWithRequired.Size(m)
  952. }
  953. func (m *NestedWithRequired) XXX_DiscardUnknown() {
  954. xxx_messageInfo_NestedWithRequired.DiscardUnknown(m)
  955. }
  956. var xxx_messageInfo_NestedWithRequired proto.InternalMessageInfo
  957. func (m *NestedWithRequired) GetReqString() string {
  958. if m != nil && m.ReqString != nil {
  959. return *m.ReqString
  960. }
  961. return ""
  962. }
  963. type IndirectRequired struct {
  964. OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
  965. RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
  966. StrToNested map[string]*NestedWithRequired `protobuf:"bytes,3,rep,name=str_to_nested,json=strToNested" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  967. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  968. XXX_unrecognized []byte `json:"-"`
  969. XXX_sizecache int32 `json:"-"`
  970. }
  971. type xxx_IndirectRequired struct{ m *IndirectRequired }
  972. func (m *IndirectRequired) ProtoReflect() protoreflect.Message {
  973. return xxx_IndirectRequired{m}
  974. }
  975. func (m xxx_IndirectRequired) Type() protoreflect.MessageType {
  976. return xxx_Test_protoFile_MessageTypes[10].Type
  977. }
  978. func (m xxx_IndirectRequired) KnownFields() protoreflect.KnownFields {
  979. return xxx_Test_protoFile_MessageTypes[10].KnownFieldsOf(m.m)
  980. }
  981. func (m xxx_IndirectRequired) UnknownFields() protoreflect.UnknownFields {
  982. return xxx_Test_protoFile_MessageTypes[10].UnknownFieldsOf(m.m)
  983. }
  984. func (m xxx_IndirectRequired) Interface() protoreflect.ProtoMessage {
  985. return m.m
  986. }
  987. func (m *IndirectRequired) Reset() { *m = IndirectRequired{} }
  988. func (m *IndirectRequired) String() string { return proto.CompactTextString(m) }
  989. func (*IndirectRequired) ProtoMessage() {}
  990. func (*IndirectRequired) Descriptor() ([]byte, []int) {
  991. return fileDescriptor_c8d7acc1bcec9a72, []int{10}
  992. }
  993. func (m *IndirectRequired) XXX_Unmarshal(b []byte) error {
  994. return xxx_messageInfo_IndirectRequired.Unmarshal(m, b)
  995. }
  996. func (m *IndirectRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  997. return xxx_messageInfo_IndirectRequired.Marshal(b, m, deterministic)
  998. }
  999. func (m *IndirectRequired) XXX_Merge(src proto.Message) {
  1000. xxx_messageInfo_IndirectRequired.Merge(m, src)
  1001. }
  1002. func (m *IndirectRequired) XXX_Size() int {
  1003. return xxx_messageInfo_IndirectRequired.Size(m)
  1004. }
  1005. func (m *IndirectRequired) XXX_DiscardUnknown() {
  1006. xxx_messageInfo_IndirectRequired.DiscardUnknown(m)
  1007. }
  1008. var xxx_messageInfo_IndirectRequired proto.InternalMessageInfo
  1009. func (m *IndirectRequired) GetOptNested() *NestedWithRequired {
  1010. if m != nil {
  1011. return m.OptNested
  1012. }
  1013. return nil
  1014. }
  1015. func (m *IndirectRequired) GetRptNested() []*NestedWithRequired {
  1016. if m != nil {
  1017. return m.RptNested
  1018. }
  1019. return nil
  1020. }
  1021. func (m *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired {
  1022. if m != nil {
  1023. return m.StrToNested
  1024. }
  1025. return nil
  1026. }
  1027. type Extensions struct {
  1028. OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
  1029. OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
  1030. OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
  1031. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1032. proto.XXX_InternalExtensions `json:"-"`
  1033. XXX_unrecognized []byte `json:"-"`
  1034. XXX_sizecache int32 `json:"-"`
  1035. }
  1036. type xxx_Extensions struct{ m *Extensions }
  1037. func (m *Extensions) ProtoReflect() protoreflect.Message {
  1038. return xxx_Extensions{m}
  1039. }
  1040. func (m xxx_Extensions) Type() protoreflect.MessageType {
  1041. return xxx_Test_protoFile_MessageTypes[11].Type
  1042. }
  1043. func (m xxx_Extensions) KnownFields() protoreflect.KnownFields {
  1044. return xxx_Test_protoFile_MessageTypes[11].KnownFieldsOf(m.m)
  1045. }
  1046. func (m xxx_Extensions) UnknownFields() protoreflect.UnknownFields {
  1047. return xxx_Test_protoFile_MessageTypes[11].UnknownFieldsOf(m.m)
  1048. }
  1049. func (m xxx_Extensions) Interface() protoreflect.ProtoMessage {
  1050. return m.m
  1051. }
  1052. func (m *Extensions) Reset() { *m = Extensions{} }
  1053. func (m *Extensions) String() string { return proto.CompactTextString(m) }
  1054. func (*Extensions) ProtoMessage() {}
  1055. func (*Extensions) Descriptor() ([]byte, []int) {
  1056. return fileDescriptor_c8d7acc1bcec9a72, []int{11}
  1057. }
  1058. var extRange_Extensions = []proto.ExtensionRange{
  1059. {Start: 20, End: 100},
  1060. }
  1061. func (*Extensions) ExtensionRangeArray() []proto.ExtensionRange {
  1062. return extRange_Extensions
  1063. }
  1064. func (m *Extensions) XXX_Unmarshal(b []byte) error {
  1065. return xxx_messageInfo_Extensions.Unmarshal(m, b)
  1066. }
  1067. func (m *Extensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1068. return xxx_messageInfo_Extensions.Marshal(b, m, deterministic)
  1069. }
  1070. func (m *Extensions) XXX_Merge(src proto.Message) {
  1071. xxx_messageInfo_Extensions.Merge(m, src)
  1072. }
  1073. func (m *Extensions) XXX_Size() int {
  1074. return xxx_messageInfo_Extensions.Size(m)
  1075. }
  1076. func (m *Extensions) XXX_DiscardUnknown() {
  1077. xxx_messageInfo_Extensions.DiscardUnknown(m)
  1078. }
  1079. var xxx_messageInfo_Extensions proto.InternalMessageInfo
  1080. func (m *Extensions) GetOptString() string {
  1081. if m != nil && m.OptString != nil {
  1082. return *m.OptString
  1083. }
  1084. return ""
  1085. }
  1086. func (m *Extensions) GetOptBool() bool {
  1087. if m != nil && m.OptBool != nil {
  1088. return *m.OptBool
  1089. }
  1090. return false
  1091. }
  1092. func (m *Extensions) GetOptInt32() int32 {
  1093. if m != nil && m.OptInt32 != nil {
  1094. return *m.OptInt32
  1095. }
  1096. return 0
  1097. }
  1098. type ExtensionsContainer struct {
  1099. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1100. XXX_unrecognized []byte `json:"-"`
  1101. XXX_sizecache int32 `json:"-"`
  1102. }
  1103. type xxx_ExtensionsContainer struct{ m *ExtensionsContainer }
  1104. func (m *ExtensionsContainer) ProtoReflect() protoreflect.Message {
  1105. return xxx_ExtensionsContainer{m}
  1106. }
  1107. func (m xxx_ExtensionsContainer) Type() protoreflect.MessageType {
  1108. return xxx_Test_protoFile_MessageTypes[12].Type
  1109. }
  1110. func (m xxx_ExtensionsContainer) KnownFields() protoreflect.KnownFields {
  1111. return xxx_Test_protoFile_MessageTypes[12].KnownFieldsOf(m.m)
  1112. }
  1113. func (m xxx_ExtensionsContainer) UnknownFields() protoreflect.UnknownFields {
  1114. return xxx_Test_protoFile_MessageTypes[12].UnknownFieldsOf(m.m)
  1115. }
  1116. func (m xxx_ExtensionsContainer) Interface() protoreflect.ProtoMessage {
  1117. return m.m
  1118. }
  1119. func (m *ExtensionsContainer) Reset() { *m = ExtensionsContainer{} }
  1120. func (m *ExtensionsContainer) String() string { return proto.CompactTextString(m) }
  1121. func (*ExtensionsContainer) ProtoMessage() {}
  1122. func (*ExtensionsContainer) Descriptor() ([]byte, []int) {
  1123. return fileDescriptor_c8d7acc1bcec9a72, []int{12}
  1124. }
  1125. func (m *ExtensionsContainer) XXX_Unmarshal(b []byte) error {
  1126. return xxx_messageInfo_ExtensionsContainer.Unmarshal(m, b)
  1127. }
  1128. func (m *ExtensionsContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1129. return xxx_messageInfo_ExtensionsContainer.Marshal(b, m, deterministic)
  1130. }
  1131. func (m *ExtensionsContainer) XXX_Merge(src proto.Message) {
  1132. xxx_messageInfo_ExtensionsContainer.Merge(m, src)
  1133. }
  1134. func (m *ExtensionsContainer) XXX_Size() int {
  1135. return xxx_messageInfo_ExtensionsContainer.Size(m)
  1136. }
  1137. func (m *ExtensionsContainer) XXX_DiscardUnknown() {
  1138. xxx_messageInfo_ExtensionsContainer.DiscardUnknown(m)
  1139. }
  1140. var xxx_messageInfo_ExtensionsContainer proto.InternalMessageInfo
  1141. type MessageSet struct {
  1142. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1143. proto.XXX_InternalExtensions `protobuf_messageset:"1" json:"-"`
  1144. XXX_unrecognized []byte `json:"-"`
  1145. XXX_sizecache int32 `json:"-"`
  1146. }
  1147. type xxx_MessageSet struct{ m *MessageSet }
  1148. func (m *MessageSet) ProtoReflect() protoreflect.Message {
  1149. return xxx_MessageSet{m}
  1150. }
  1151. func (m xxx_MessageSet) Type() protoreflect.MessageType {
  1152. return xxx_Test_protoFile_MessageTypes[13].Type
  1153. }
  1154. func (m xxx_MessageSet) KnownFields() protoreflect.KnownFields {
  1155. return xxx_Test_protoFile_MessageTypes[13].KnownFieldsOf(m.m)
  1156. }
  1157. func (m xxx_MessageSet) UnknownFields() protoreflect.UnknownFields {
  1158. return xxx_Test_protoFile_MessageTypes[13].UnknownFieldsOf(m.m)
  1159. }
  1160. func (m xxx_MessageSet) Interface() protoreflect.ProtoMessage {
  1161. return m.m
  1162. }
  1163. func (m *MessageSet) Reset() { *m = MessageSet{} }
  1164. func (m *MessageSet) String() string { return proto.CompactTextString(m) }
  1165. func (*MessageSet) ProtoMessage() {}
  1166. func (*MessageSet) Descriptor() ([]byte, []int) {
  1167. return fileDescriptor_c8d7acc1bcec9a72, []int{13}
  1168. }
  1169. var extRange_MessageSet = []proto.ExtensionRange{
  1170. {Start: 4, End: 2147483646},
  1171. }
  1172. func (*MessageSet) ExtensionRangeArray() []proto.ExtensionRange {
  1173. return extRange_MessageSet
  1174. }
  1175. func (m *MessageSet) XXX_Unmarshal(b []byte) error {
  1176. return xxx_messageInfo_MessageSet.Unmarshal(m, b)
  1177. }
  1178. func (m *MessageSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1179. return xxx_messageInfo_MessageSet.Marshal(b, m, deterministic)
  1180. }
  1181. func (m *MessageSet) XXX_Merge(src proto.Message) {
  1182. xxx_messageInfo_MessageSet.Merge(m, src)
  1183. }
  1184. func (m *MessageSet) XXX_Size() int {
  1185. return xxx_messageInfo_MessageSet.Size(m)
  1186. }
  1187. func (m *MessageSet) XXX_DiscardUnknown() {
  1188. xxx_messageInfo_MessageSet.DiscardUnknown(m)
  1189. }
  1190. var xxx_messageInfo_MessageSet proto.InternalMessageInfo
  1191. type MessageSetExtension struct {
  1192. OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
  1193. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1194. XXX_unrecognized []byte `json:"-"`
  1195. XXX_sizecache int32 `json:"-"`
  1196. }
  1197. type xxx_MessageSetExtension struct{ m *MessageSetExtension }
  1198. func (m *MessageSetExtension) ProtoReflect() protoreflect.Message {
  1199. return xxx_MessageSetExtension{m}
  1200. }
  1201. func (m xxx_MessageSetExtension) Type() protoreflect.MessageType {
  1202. return xxx_Test_protoFile_MessageTypes[14].Type
  1203. }
  1204. func (m xxx_MessageSetExtension) KnownFields() protoreflect.KnownFields {
  1205. return xxx_Test_protoFile_MessageTypes[14].KnownFieldsOf(m.m)
  1206. }
  1207. func (m xxx_MessageSetExtension) UnknownFields() protoreflect.UnknownFields {
  1208. return xxx_Test_protoFile_MessageTypes[14].UnknownFieldsOf(m.m)
  1209. }
  1210. func (m xxx_MessageSetExtension) Interface() protoreflect.ProtoMessage {
  1211. return m.m
  1212. }
  1213. func (m *MessageSetExtension) Reset() { *m = MessageSetExtension{} }
  1214. func (m *MessageSetExtension) String() string { return proto.CompactTextString(m) }
  1215. func (*MessageSetExtension) ProtoMessage() {}
  1216. func (*MessageSetExtension) Descriptor() ([]byte, []int) {
  1217. return fileDescriptor_c8d7acc1bcec9a72, []int{14}
  1218. }
  1219. func (m *MessageSetExtension) XXX_Unmarshal(b []byte) error {
  1220. return xxx_messageInfo_MessageSetExtension.Unmarshal(m, b)
  1221. }
  1222. func (m *MessageSetExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1223. return xxx_messageInfo_MessageSetExtension.Marshal(b, m, deterministic)
  1224. }
  1225. func (m *MessageSetExtension) XXX_Merge(src proto.Message) {
  1226. xxx_messageInfo_MessageSetExtension.Merge(m, src)
  1227. }
  1228. func (m *MessageSetExtension) XXX_Size() int {
  1229. return xxx_messageInfo_MessageSetExtension.Size(m)
  1230. }
  1231. func (m *MessageSetExtension) XXX_DiscardUnknown() {
  1232. xxx_messageInfo_MessageSetExtension.DiscardUnknown(m)
  1233. }
  1234. var xxx_messageInfo_MessageSetExtension proto.InternalMessageInfo
  1235. func (m *MessageSetExtension) GetOptString() string {
  1236. if m != nil && m.OptString != nil {
  1237. return *m.OptString
  1238. }
  1239. return ""
  1240. }
  1241. // Message contains well-known type fields.
  1242. type KnownTypes struct {
  1243. OptBool *wrappers.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
  1244. OptInt32 *wrappers.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
  1245. OptInt64 *wrappers.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
  1246. OptUint32 *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
  1247. OptUint64 *wrappers.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
  1248. OptFloat *wrappers.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
  1249. OptDouble *wrappers.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
  1250. OptString *wrappers.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
  1251. OptBytes *wrappers.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
  1252. OptDuration *duration.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
  1253. OptTimestamp *timestamp.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
  1254. OptStruct *_struct.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
  1255. OptList *_struct.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
  1256. OptValue *_struct.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
  1257. OptEmpty *empty.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
  1258. OptAny *any.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
  1259. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1260. XXX_unrecognized []byte `json:"-"`
  1261. XXX_sizecache int32 `json:"-"`
  1262. }
  1263. type xxx_KnownTypes struct{ m *KnownTypes }
  1264. func (m *KnownTypes) ProtoReflect() protoreflect.Message {
  1265. return xxx_KnownTypes{m}
  1266. }
  1267. func (m xxx_KnownTypes) Type() protoreflect.MessageType {
  1268. return xxx_Test_protoFile_MessageTypes[15].Type
  1269. }
  1270. func (m xxx_KnownTypes) KnownFields() protoreflect.KnownFields {
  1271. return xxx_Test_protoFile_MessageTypes[15].KnownFieldsOf(m.m)
  1272. }
  1273. func (m xxx_KnownTypes) UnknownFields() protoreflect.UnknownFields {
  1274. return xxx_Test_protoFile_MessageTypes[15].UnknownFieldsOf(m.m)
  1275. }
  1276. func (m xxx_KnownTypes) Interface() protoreflect.ProtoMessage {
  1277. return m.m
  1278. }
  1279. func (m *KnownTypes) Reset() { *m = KnownTypes{} }
  1280. func (m *KnownTypes) String() string { return proto.CompactTextString(m) }
  1281. func (*KnownTypes) ProtoMessage() {}
  1282. func (*KnownTypes) Descriptor() ([]byte, []int) {
  1283. return fileDescriptor_c8d7acc1bcec9a72, []int{15}
  1284. }
  1285. func (m *KnownTypes) XXX_Unmarshal(b []byte) error {
  1286. return xxx_messageInfo_KnownTypes.Unmarshal(m, b)
  1287. }
  1288. func (m *KnownTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1289. return xxx_messageInfo_KnownTypes.Marshal(b, m, deterministic)
  1290. }
  1291. func (m *KnownTypes) XXX_Merge(src proto.Message) {
  1292. xxx_messageInfo_KnownTypes.Merge(m, src)
  1293. }
  1294. func (m *KnownTypes) XXX_Size() int {
  1295. return xxx_messageInfo_KnownTypes.Size(m)
  1296. }
  1297. func (m *KnownTypes) XXX_DiscardUnknown() {
  1298. xxx_messageInfo_KnownTypes.DiscardUnknown(m)
  1299. }
  1300. var xxx_messageInfo_KnownTypes proto.InternalMessageInfo
  1301. func (m *KnownTypes) GetOptBool() *wrappers.BoolValue {
  1302. if m != nil {
  1303. return m.OptBool
  1304. }
  1305. return nil
  1306. }
  1307. func (m *KnownTypes) GetOptInt32() *wrappers.Int32Value {
  1308. if m != nil {
  1309. return m.OptInt32
  1310. }
  1311. return nil
  1312. }
  1313. func (m *KnownTypes) GetOptInt64() *wrappers.Int64Value {
  1314. if m != nil {
  1315. return m.OptInt64
  1316. }
  1317. return nil
  1318. }
  1319. func (m *KnownTypes) GetOptUint32() *wrappers.UInt32Value {
  1320. if m != nil {
  1321. return m.OptUint32
  1322. }
  1323. return nil
  1324. }
  1325. func (m *KnownTypes) GetOptUint64() *wrappers.UInt64Value {
  1326. if m != nil {
  1327. return m.OptUint64
  1328. }
  1329. return nil
  1330. }
  1331. func (m *KnownTypes) GetOptFloat() *wrappers.FloatValue {
  1332. if m != nil {
  1333. return m.OptFloat
  1334. }
  1335. return nil
  1336. }
  1337. func (m *KnownTypes) GetOptDouble() *wrappers.DoubleValue {
  1338. if m != nil {
  1339. return m.OptDouble
  1340. }
  1341. return nil
  1342. }
  1343. func (m *KnownTypes) GetOptString() *wrappers.StringValue {
  1344. if m != nil {
  1345. return m.OptString
  1346. }
  1347. return nil
  1348. }
  1349. func (m *KnownTypes) GetOptBytes() *wrappers.BytesValue {
  1350. if m != nil {
  1351. return m.OptBytes
  1352. }
  1353. return nil
  1354. }
  1355. func (m *KnownTypes) GetOptDuration() *duration.Duration {
  1356. if m != nil {
  1357. return m.OptDuration
  1358. }
  1359. return nil
  1360. }
  1361. func (m *KnownTypes) GetOptTimestamp() *timestamp.Timestamp {
  1362. if m != nil {
  1363. return m.OptTimestamp
  1364. }
  1365. return nil
  1366. }
  1367. func (m *KnownTypes) GetOptStruct() *_struct.Struct {
  1368. if m != nil {
  1369. return m.OptStruct
  1370. }
  1371. return nil
  1372. }
  1373. func (m *KnownTypes) GetOptList() *_struct.ListValue {
  1374. if m != nil {
  1375. return m.OptList
  1376. }
  1377. return nil
  1378. }
  1379. func (m *KnownTypes) GetOptValue() *_struct.Value {
  1380. if m != nil {
  1381. return m.OptValue
  1382. }
  1383. return nil
  1384. }
  1385. func (m *KnownTypes) GetOptEmpty() *empty.Empty {
  1386. if m != nil {
  1387. return m.OptEmpty
  1388. }
  1389. return nil
  1390. }
  1391. func (m *KnownTypes) GetOptAny() *any.Any {
  1392. if m != nil {
  1393. return m.OptAny
  1394. }
  1395. return nil
  1396. }
  1397. type Nests_OptGroup struct {
  1398. OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
  1399. OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
  1400. OptNested *Nested `protobuf:"bytes,3,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
  1401. Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,4,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
  1402. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1403. XXX_unrecognized []byte `json:"-"`
  1404. XXX_sizecache int32 `json:"-"`
  1405. }
  1406. type xxx_Nests_OptGroup struct{ m *Nests_OptGroup }
  1407. func (m *Nests_OptGroup) ProtoReflect() protoreflect.Message {
  1408. return xxx_Nests_OptGroup{m}
  1409. }
  1410. func (m xxx_Nests_OptGroup) Type() protoreflect.MessageType {
  1411. return xxx_Test_protoFile_MessageTypes[16].Type
  1412. }
  1413. func (m xxx_Nests_OptGroup) KnownFields() protoreflect.KnownFields {
  1414. return xxx_Test_protoFile_MessageTypes[16].KnownFieldsOf(m.m)
  1415. }
  1416. func (m xxx_Nests_OptGroup) UnknownFields() protoreflect.UnknownFields {
  1417. return xxx_Test_protoFile_MessageTypes[16].UnknownFieldsOf(m.m)
  1418. }
  1419. func (m xxx_Nests_OptGroup) Interface() protoreflect.ProtoMessage {
  1420. return m.m
  1421. }
  1422. func (m *Nests_OptGroup) Reset() { *m = Nests_OptGroup{} }
  1423. func (m *Nests_OptGroup) String() string { return proto.CompactTextString(m) }
  1424. func (*Nests_OptGroup) ProtoMessage() {}
  1425. func (*Nests_OptGroup) Descriptor() ([]byte, []int) {
  1426. return fileDescriptor_c8d7acc1bcec9a72, []int{3, 0}
  1427. }
  1428. func (m *Nests_OptGroup) XXX_Unmarshal(b []byte) error {
  1429. return xxx_messageInfo_Nests_OptGroup.Unmarshal(m, b)
  1430. }
  1431. func (m *Nests_OptGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1432. return xxx_messageInfo_Nests_OptGroup.Marshal(b, m, deterministic)
  1433. }
  1434. func (m *Nests_OptGroup) XXX_Merge(src proto.Message) {
  1435. xxx_messageInfo_Nests_OptGroup.Merge(m, src)
  1436. }
  1437. func (m *Nests_OptGroup) XXX_Size() int {
  1438. return xxx_messageInfo_Nests_OptGroup.Size(m)
  1439. }
  1440. func (m *Nests_OptGroup) XXX_DiscardUnknown() {
  1441. xxx_messageInfo_Nests_OptGroup.DiscardUnknown(m)
  1442. }
  1443. var xxx_messageInfo_Nests_OptGroup proto.InternalMessageInfo
  1444. func (m *Nests_OptGroup) GetOptBool() bool {
  1445. if m != nil && m.OptBool != nil {
  1446. return *m.OptBool
  1447. }
  1448. return false
  1449. }
  1450. func (m *Nests_OptGroup) GetOptString() string {
  1451. if m != nil && m.OptString != nil {
  1452. return *m.OptString
  1453. }
  1454. return ""
  1455. }
  1456. func (m *Nests_OptGroup) GetOptNested() *Nested {
  1457. if m != nil {
  1458. return m.OptNested
  1459. }
  1460. return nil
  1461. }
  1462. func (m *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup {
  1463. if m != nil {
  1464. return m.Optnestedgroup
  1465. }
  1466. return nil
  1467. }
  1468. type Nests_RptGroup struct {
  1469. RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
  1470. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1471. XXX_unrecognized []byte `json:"-"`
  1472. XXX_sizecache int32 `json:"-"`
  1473. }
  1474. type xxx_Nests_RptGroup struct{ m *Nests_RptGroup }
  1475. func (m *Nests_RptGroup) ProtoReflect() protoreflect.Message {
  1476. return xxx_Nests_RptGroup{m}
  1477. }
  1478. func (m xxx_Nests_RptGroup) Type() protoreflect.MessageType {
  1479. return xxx_Test_protoFile_MessageTypes[17].Type
  1480. }
  1481. func (m xxx_Nests_RptGroup) KnownFields() protoreflect.KnownFields {
  1482. return xxx_Test_protoFile_MessageTypes[17].KnownFieldsOf(m.m)
  1483. }
  1484. func (m xxx_Nests_RptGroup) UnknownFields() protoreflect.UnknownFields {
  1485. return xxx_Test_protoFile_MessageTypes[17].UnknownFieldsOf(m.m)
  1486. }
  1487. func (m xxx_Nests_RptGroup) Interface() protoreflect.ProtoMessage {
  1488. return m.m
  1489. }
  1490. func (m *Nests_RptGroup) Reset() { *m = Nests_RptGroup{} }
  1491. func (m *Nests_RptGroup) String() string { return proto.CompactTextString(m) }
  1492. func (*Nests_RptGroup) ProtoMessage() {}
  1493. func (*Nests_RptGroup) Descriptor() ([]byte, []int) {
  1494. return fileDescriptor_c8d7acc1bcec9a72, []int{3, 1}
  1495. }
  1496. func (m *Nests_RptGroup) XXX_Unmarshal(b []byte) error {
  1497. return xxx_messageInfo_Nests_RptGroup.Unmarshal(m, b)
  1498. }
  1499. func (m *Nests_RptGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1500. return xxx_messageInfo_Nests_RptGroup.Marshal(b, m, deterministic)
  1501. }
  1502. func (m *Nests_RptGroup) XXX_Merge(src proto.Message) {
  1503. xxx_messageInfo_Nests_RptGroup.Merge(m, src)
  1504. }
  1505. func (m *Nests_RptGroup) XXX_Size() int {
  1506. return xxx_messageInfo_Nests_RptGroup.Size(m)
  1507. }
  1508. func (m *Nests_RptGroup) XXX_DiscardUnknown() {
  1509. xxx_messageInfo_Nests_RptGroup.DiscardUnknown(m)
  1510. }
  1511. var xxx_messageInfo_Nests_RptGroup proto.InternalMessageInfo
  1512. func (m *Nests_RptGroup) GetRptBool() []bool {
  1513. if m != nil {
  1514. return m.RptBool
  1515. }
  1516. return nil
  1517. }
  1518. type Nests_OptGroup_OptNestedGroup struct {
  1519. OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
  1520. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1521. XXX_unrecognized []byte `json:"-"`
  1522. XXX_sizecache int32 `json:"-"`
  1523. }
  1524. type xxx_Nests_OptGroup_OptNestedGroup struct {
  1525. m *Nests_OptGroup_OptNestedGroup
  1526. }
  1527. func (m *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message {
  1528. return xxx_Nests_OptGroup_OptNestedGroup{m}
  1529. }
  1530. func (m xxx_Nests_OptGroup_OptNestedGroup) Type() protoreflect.MessageType {
  1531. return xxx_Test_protoFile_MessageTypes[18].Type
  1532. }
  1533. func (m xxx_Nests_OptGroup_OptNestedGroup) KnownFields() protoreflect.KnownFields {
  1534. return xxx_Test_protoFile_MessageTypes[18].KnownFieldsOf(m.m)
  1535. }
  1536. func (m xxx_Nests_OptGroup_OptNestedGroup) UnknownFields() protoreflect.UnknownFields {
  1537. return xxx_Test_protoFile_MessageTypes[18].UnknownFieldsOf(m.m)
  1538. }
  1539. func (m xxx_Nests_OptGroup_OptNestedGroup) Interface() protoreflect.ProtoMessage {
  1540. return m.m
  1541. }
  1542. func (m *Nests_OptGroup_OptNestedGroup) Reset() { *m = Nests_OptGroup_OptNestedGroup{} }
  1543. func (m *Nests_OptGroup_OptNestedGroup) String() string { return proto.CompactTextString(m) }
  1544. func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {}
  1545. func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) {
  1546. return fileDescriptor_c8d7acc1bcec9a72, []int{3, 0, 0}
  1547. }
  1548. func (m *Nests_OptGroup_OptNestedGroup) XXX_Unmarshal(b []byte) error {
  1549. return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Unmarshal(m, b)
  1550. }
  1551. func (m *Nests_OptGroup_OptNestedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1552. return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Marshal(b, m, deterministic)
  1553. }
  1554. func (m *Nests_OptGroup_OptNestedGroup) XXX_Merge(src proto.Message) {
  1555. xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Merge(m, src)
  1556. }
  1557. func (m *Nests_OptGroup_OptNestedGroup) XXX_Size() int {
  1558. return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Size(m)
  1559. }
  1560. func (m *Nests_OptGroup_OptNestedGroup) XXX_DiscardUnknown() {
  1561. xxx_messageInfo_Nests_OptGroup_OptNestedGroup.DiscardUnknown(m)
  1562. }
  1563. var xxx_messageInfo_Nests_OptGroup_OptNestedGroup proto.InternalMessageInfo
  1564. func (m *Nests_OptGroup_OptNestedGroup) GetOptEnum() Enum {
  1565. if m != nil && m.OptEnum != nil {
  1566. return *m.OptEnum
  1567. }
  1568. return Enum_UNKNOWN
  1569. }
  1570. var E_OptExtBool = &proto.ExtensionDesc{
  1571. ExtendedType: (*Extensions)(nil),
  1572. ExtensionType: (*bool)(nil),
  1573. Field: 21,
  1574. Name: "pb2.opt_ext_bool",
  1575. Tag: "varint,21,opt,name=opt_ext_bool",
  1576. Filename: "encoding/textpb/testprotos/pb2/test.proto",
  1577. }
  1578. var E_OptExtString = &proto.ExtensionDesc{
  1579. ExtendedType: (*Extensions)(nil),
  1580. ExtensionType: (*string)(nil),
  1581. Field: 22,
  1582. Name: "pb2.opt_ext_string",
  1583. Tag: "bytes,22,opt,name=opt_ext_string",
  1584. Filename: "encoding/textpb/testprotos/pb2/test.proto",
  1585. }
  1586. var E_OptExtEnum = &proto.ExtensionDesc{
  1587. ExtendedType: (*Extensions)(nil),
  1588. ExtensionType: (*Enum)(nil),
  1589. Field: 23,
  1590. Name: "pb2.opt_ext_enum",
  1591. Tag: "varint,23,opt,name=opt_ext_enum,enum=pb2.Enum",
  1592. Filename: "encoding/textpb/testprotos/pb2/test.proto",
  1593. }
  1594. var E_OptExtNested = &proto.ExtensionDesc{
  1595. ExtendedType: (*Extensions)(nil),
  1596. ExtensionType: (*Nested)(nil),
  1597. Field: 24,
  1598. Name: "pb2.opt_ext_nested",
  1599. Tag: "bytes,24,opt,name=opt_ext_nested",
  1600. Filename: "encoding/textpb/testprotos/pb2/test.proto",
  1601. }
  1602. var E_RptExtFixed32 = &proto.ExtensionDesc{
  1603. ExtendedType: (*Extensions)(nil),
  1604. ExtensionType: ([]uint32)(nil),
  1605. Field: 31,
  1606. Name: "pb2.rpt_ext_fixed32",
  1607. Tag: "fixed32,31,rep,name=rpt_ext_fixed32",
  1608. Filename: "encoding/textpb/testprotos/pb2/test.proto",
  1609. }
  1610. var E_RptExtEnum = &proto.ExtensionDesc{
  1611. ExtendedType: (*Extensions)(nil),
  1612. ExtensionType: ([]Enum)(nil),
  1613. Field: 32,
  1614. Name: "pb2.rpt_ext_enum",
  1615. Tag: "varint,32,rep,name=rpt_ext_enum,enum=pb2.Enum",
  1616. Filename: "encoding/textpb/testprotos/pb2/test.proto",
  1617. }
  1618. var E_RptExtNested = &proto.ExtensionDesc{
  1619. ExtendedType: (*Extensions)(nil),
  1620. ExtensionType: ([]*Nested)(nil),
  1621. Field: 33,
  1622. Name: "pb2.rpt_ext_nested",
  1623. Tag: "bytes,33,rep,name=rpt_ext_nested",
  1624. Filename: "encoding/textpb/testprotos/pb2/test.proto",
  1625. }
  1626. var E_ExtensionsContainer_OptExtBool = &proto.ExtensionDesc{
  1627. ExtendedType: (*Extensions)(nil),
  1628. ExtensionType: (*bool)(nil),
  1629. Field: 51,
  1630. Name: "pb2.ExtensionsContainer.opt_ext_bool",
  1631. Tag: "varint,51,opt,name=opt_ext_bool",
  1632. Filename: "encoding/textpb/testprotos/pb2/test.proto",
  1633. }
  1634. var E_ExtensionsContainer_OptExtString = &proto.ExtensionDesc{
  1635. ExtendedType: (*Extensions)(nil),
  1636. ExtensionType: (*string)(nil),
  1637. Field: 52,
  1638. Name: "pb2.ExtensionsContainer.opt_ext_string",
  1639. Tag: "bytes,52,opt,name=opt_ext_string",
  1640. Filename: "encoding/textpb/testprotos/pb2/test.proto",
  1641. }
  1642. var E_ExtensionsContainer_OptExtEnum = &proto.ExtensionDesc{
  1643. ExtendedType: (*Extensions)(nil),
  1644. ExtensionType: (*Enum)(nil),
  1645. Field: 53,
  1646. Name: "pb2.ExtensionsContainer.opt_ext_enum",
  1647. Tag: "varint,53,opt,name=opt_ext_enum,enum=pb2.Enum",
  1648. Filename: "encoding/textpb/testprotos/pb2/test.proto",
  1649. }
  1650. var E_ExtensionsContainer_OptExtNested = &proto.ExtensionDesc{
  1651. ExtendedType: (*Extensions)(nil),
  1652. ExtensionType: (*Nested)(nil),
  1653. Field: 54,
  1654. Name: "pb2.ExtensionsContainer.opt_ext_nested",
  1655. Tag: "bytes,54,opt,name=opt_ext_nested",
  1656. Filename: "encoding/textpb/testprotos/pb2/test.proto",
  1657. }
  1658. var E_ExtensionsContainer_RptExtString = &proto.ExtensionDesc{
  1659. ExtendedType: (*Extensions)(nil),
  1660. ExtensionType: ([]string)(nil),
  1661. Field: 61,
  1662. Name: "pb2.ExtensionsContainer.rpt_ext_string",
  1663. Tag: "bytes,61,rep,name=rpt_ext_string",
  1664. Filename: "encoding/textpb/testprotos/pb2/test.proto",
  1665. }
  1666. var E_ExtensionsContainer_RptExtEnum = &proto.ExtensionDesc{
  1667. ExtendedType: (*Extensions)(nil),
  1668. ExtensionType: ([]Enum)(nil),
  1669. Field: 62,
  1670. Name: "pb2.ExtensionsContainer.rpt_ext_enum",
  1671. Tag: "varint,62,rep,name=rpt_ext_enum,enum=pb2.Enum",
  1672. Filename: "encoding/textpb/testprotos/pb2/test.proto",
  1673. }
  1674. var E_ExtensionsContainer_RptExtNested = &proto.ExtensionDesc{
  1675. ExtendedType: (*Extensions)(nil),
  1676. ExtensionType: ([]*Nested)(nil),
  1677. Field: 63,
  1678. Name: "pb2.ExtensionsContainer.rpt_ext_nested",
  1679. Tag: "bytes,63,rep,name=rpt_ext_nested",
  1680. Filename: "encoding/textpb/testprotos/pb2/test.proto",
  1681. }
  1682. var E_MessageSetExtension_MessageSetExtension = &proto.ExtensionDesc{
  1683. ExtendedType: (*MessageSet)(nil),
  1684. ExtensionType: (*MessageSetExtension)(nil),
  1685. Field: 10,
  1686. Name: "pb2.MessageSetExtension",
  1687. Tag: "bytes,10,opt,name=message_set_extension",
  1688. Filename: "encoding/textpb/testprotos/pb2/test.proto",
  1689. }
  1690. var E_MessageSetExtension_NotMessageSetExtension = &proto.ExtensionDesc{
  1691. ExtendedType: (*MessageSet)(nil),
  1692. ExtensionType: (*MessageSetExtension)(nil),
  1693. Field: 20,
  1694. Name: "pb2.MessageSetExtension.not_message_set_extension",
  1695. Tag: "bytes,20,opt,name=not_message_set_extension",
  1696. Filename: "encoding/textpb/testprotos/pb2/test.proto",
  1697. }
  1698. var E_MessageSetExtension_ExtNested = &proto.ExtensionDesc{
  1699. ExtendedType: (*MessageSet)(nil),
  1700. ExtensionType: (*Nested)(nil),
  1701. Field: 30,
  1702. Name: "pb2.MessageSetExtension.ext_nested",
  1703. Tag: "bytes,30,opt,name=ext_nested",
  1704. Filename: "encoding/textpb/testprotos/pb2/test.proto",
  1705. }
  1706. func init() {
  1707. proto.RegisterFile("encoding/textpb/testprotos/pb2/test.proto", fileDescriptor_c8d7acc1bcec9a72)
  1708. proto.RegisterEnum("pb2.Enum", Enum_name, Enum_value)
  1709. proto.RegisterEnum("pb2.Enums_NestedEnum", Enums_NestedEnum_name, Enums_NestedEnum_value)
  1710. proto.RegisterType((*Scalars)(nil), "pb2.Scalars")
  1711. proto.RegisterType((*Repeats)(nil), "pb2.Repeats")
  1712. proto.RegisterType((*Enums)(nil), "pb2.Enums")
  1713. proto.RegisterType((*Nests)(nil), "pb2.Nests")
  1714. proto.RegisterType((*Nested)(nil), "pb2.Nested")
  1715. proto.RegisterType((*Requireds)(nil), "pb2.Requireds")
  1716. proto.RegisterType((*PartialRequired)(nil), "pb2.PartialRequired")
  1717. proto.RegisterType((*Oneofs)(nil), "pb2.Oneofs")
  1718. proto.RegisterType((*Maps)(nil), "pb2.Maps")
  1719. proto.RegisterMapType((map[bool]uint32)(nil), "pb2.Maps.BoolToUint32Entry")
  1720. proto.RegisterMapType((map[int32]string)(nil), "pb2.Maps.Int32ToStrEntry")
  1721. proto.RegisterMapType((map[int64]bool)(nil), "pb2.Maps.Sfixed64ToBoolEntry")
  1722. proto.RegisterMapType((map[string]*Nested)(nil), "pb2.Maps.StrToNestedEntry")
  1723. proto.RegisterMapType((map[string]*Oneofs)(nil), "pb2.Maps.StrToOneofsEntry")
  1724. proto.RegisterMapType((map[uint64]Enum)(nil), "pb2.Maps.Uint64ToEnumEntry")
  1725. proto.RegisterType((*NestedWithRequired)(nil), "pb2.NestedWithRequired")
  1726. proto.RegisterType((*IndirectRequired)(nil), "pb2.IndirectRequired")
  1727. proto.RegisterMapType((map[string]*NestedWithRequired)(nil), "pb2.IndirectRequired.StrToNestedEntry")
  1728. proto.RegisterType((*Extensions)(nil), "pb2.Extensions")
  1729. proto.RegisterType((*ExtensionsContainer)(nil), "pb2.ExtensionsContainer")
  1730. proto.RegisterType((*MessageSet)(nil), "pb2.MessageSet")
  1731. proto.RegisterType((*MessageSetExtension)(nil), "pb2.MessageSetExtension")
  1732. proto.RegisterType((*KnownTypes)(nil), "pb2.KnownTypes")
  1733. proto.RegisterType((*Nests_OptGroup)(nil), "pb2.Nests.OptGroup")
  1734. proto.RegisterType((*Nests_RptGroup)(nil), "pb2.Nests.RptGroup")
  1735. proto.RegisterType((*Nests_OptGroup_OptNestedGroup)(nil), "pb2.Nests.OptGroup.OptNestedGroup")
  1736. proto.RegisterExtension(E_OptExtBool)
  1737. proto.RegisterExtension(E_OptExtString)
  1738. proto.RegisterExtension(E_OptExtEnum)
  1739. proto.RegisterExtension(E_OptExtNested)
  1740. proto.RegisterExtension(E_RptExtFixed32)
  1741. proto.RegisterExtension(E_RptExtEnum)
  1742. proto.RegisterExtension(E_RptExtNested)
  1743. proto.RegisterExtension(E_ExtensionsContainer_OptExtBool)
  1744. proto.RegisterExtension(E_ExtensionsContainer_OptExtString)
  1745. proto.RegisterExtension(E_ExtensionsContainer_OptExtEnum)
  1746. proto.RegisterExtension(E_ExtensionsContainer_OptExtNested)
  1747. proto.RegisterExtension(E_ExtensionsContainer_RptExtString)
  1748. proto.RegisterExtension(E_ExtensionsContainer_RptExtEnum)
  1749. proto.RegisterExtension(E_ExtensionsContainer_RptExtNested)
  1750. proto.RegisterExtension(E_MessageSetExtension_MessageSetExtension)
  1751. proto.RegisterExtension(E_MessageSetExtension_NotMessageSetExtension)
  1752. proto.RegisterExtension(E_MessageSetExtension_ExtNested)
  1753. }
  1754. var fileDescriptor_c8d7acc1bcec9a72 = []byte{
  1755. // 1945 bytes of a gzipped FileDescriptorProto
  1756. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x58, 0xdb, 0x6e, 0x1b, 0xc9,
  1757. 0x11, 0xdd, 0x99, 0xe1, 0xb5, 0xa9, 0x0b, 0x3d, 0x92, 0xbd, 0x14, 0xbd, 0xbb, 0x1a, 0x13, 0x9b,
  1758. 0x80, 0x11, 0xb0, 0x12, 0x32, 0xa2, 0x19, 0x81, 0x5a, 0xdb, 0xb0, 0xd6, 0xf4, 0xae, 0xd7, 0x59,
  1759. 0x29, 0x20, 0xe9, 0x18, 0x58, 0x20, 0x10, 0x48, 0xb1, 0xc5, 0x1d, 0x84, 0x9c, 0x1e, 0xf6, 0x34,
  1760. 0x6d, 0xe9, 0x3f, 0xf2, 0x0d, 0xc9, 0x1f, 0xe4, 0x21, 0xf9, 0x93, 0xfc, 0x44, 0x5e, 0xf2, 0x10,
  1761. 0x20, 0x0f, 0x0e, 0xaa, 0x7a, 0x2e, 0xcd, 0x19, 0xde, 0xde, 0xa6, 0xbb, 0xea, 0x9c, 0xaa, 0xae,
  1762. 0xea, 0xae, 0xea, 0x69, 0xf2, 0x1b, 0xea, 0xde, 0xb0, 0xa1, 0xe3, 0x8e, 0x4e, 0x04, 0xbd, 0x13,
  1763. 0xde, 0xe0, 0x44, 0x50, 0x5f, 0x78, 0x9c, 0x09, 0xe6, 0x9f, 0x78, 0x03, 0x1b, 0x87, 0xc7, 0x38,
  1764. 0x36, 0x0d, 0x6f, 0x60, 0x57, 0x0f, 0x46, 0x8c, 0x8d, 0xc6, 0xf4, 0x04, 0xa7, 0x06, 0xb3, 0xdb,
  1765. 0x93, 0xbe, 0x7b, 0x2f, 0xe5, 0xd5, 0xc7, 0x49, 0x11, 0x9d, 0x78, 0x22, 0x14, 0x7e, 0x95, 0x14,
  1766. 0x0e, 0x67, 0xbc, 0x2f, 0x1c, 0xe6, 0x06, 0xf2, 0x2f, 0x92, 0x72, 0x5f, 0xf0, 0xd9, 0x4d, 0x60,
  1767. 0xba, 0x7a, 0x98, 0x94, 0x0a, 0x67, 0x42, 0x7d, 0xd1, 0x9f, 0x78, 0xcb, 0xe8, 0x3f, 0xf2, 0xbe,
  1768. 0xe7, 0x51, 0xee, 0x4b, 0x79, 0xed, 0x5f, 0x06, 0xc9, 0x77, 0x6f, 0xfa, 0xe3, 0x3e, 0xf7, 0xcd,
  1769. 0x03, 0x52, 0x60, 0x9e, 0xb8, 0x1e, 0x30, 0x36, 0xae, 0x68, 0x96, 0x56, 0x2f, 0x74, 0xf2, 0xcc,
  1770. 0x13, 0x17, 0x8c, 0x8d, 0xcd, 0xc7, 0xa4, 0x08, 0x22, 0xc7, 0x15, 0xa7, 0x76, 0x45, 0xb7, 0xb4,
  1771. 0x7a, 0xb6, 0x03, 0xba, 0x6f, 0x60, 0xac, 0x08, 0x9b, 0x8d, 0x8a, 0x61, 0x69, 0x75, 0x23, 0x14,
  1772. 0x36, 0x1b, 0xe6, 0x97, 0x84, 0x80, 0x70, 0x26, 0xa1, 0x19, 0x4b, 0xab, 0x6f, 0x77, 0x40, 0xfd,
  1773. 0x1d, 0x4e, 0xa8, 0xe2, 0x66, 0xa3, 0x92, 0xb5, 0xb4, 0x7a, 0x26, 0x12, 0xc7, 0x68, 0x5f, 0xa2,
  1774. 0x73, 0x96, 0x56, 0x7f, 0x80, 0xe2, 0xee, 0x1c, 0xda, 0x97, 0xe8, 0xbc, 0xa5, 0xd5, 0xcd, 0x48,
  1775. 0xdc, 0x6c, 0x98, 0x87, 0xa4, 0x04, 0xe2, 0x5b, 0xe7, 0x8e, 0x0e, 0x4f, 0xed, 0x4a, 0xc1, 0xd2,
  1776. 0xea, 0xf9, 0x0e, 0x20, 0x5e, 0xcb, 0x99, 0x39, 0x85, 0x66, 0xa3, 0x52, 0xb4, 0xb4, 0x7a, 0x2e,
  1777. 0x56, 0x68, 0x36, 0xcc, 0x27, 0x64, 0x0b, 0x0d, 0x84, 0x14, 0xc4, 0xd2, 0xea, 0xbb, 0x1d, 0x00,
  1778. 0x75, 0x83, 0xa9, 0x79, 0x95, 0x66, 0xa3, 0x52, 0xb2, 0xb4, 0x7a, 0x59, 0x51, 0x69, 0x36, 0xc2,
  1779. 0x00, 0xdd, 0x8e, 0x59, 0x5f, 0x54, 0xf6, 0x2d, 0xad, 0xae, 0x63, 0x80, 0x5e, 0xc3, 0x38, 0x5c,
  1780. 0xc3, 0x90, 0xcd, 0x06, 0x63, 0x5a, 0x79, 0x68, 0x69, 0x75, 0x0d, 0xd7, 0xf0, 0x0a, 0x27, 0x42,
  1781. 0xec, 0xe0, 0x5e, 0x50, 0xbf, 0xb2, 0x63, 0x69, 0xf5, 0x2d, 0xc4, 0x5e, 0xc0, 0x38, 0x5a, 0xbf,
  1782. 0xe0, 0x8e, 0x3b, 0xaa, 0x6c, 0x5b, 0x5a, 0xbd, 0x28, 0xd7, 0x8f, 0x13, 0xb5, 0xbf, 0xe8, 0x24,
  1783. 0xdf, 0xa1, 0x1e, 0xed, 0x0b, 0x4c, 0x2e, 0x8f, 0x93, 0x6b, 0x40, 0x72, 0x79, 0x9c, 0x5c, 0xae,
  1784. 0x24, 0xd7, 0x80, 0xe4, 0x72, 0x25, 0xb9, 0x5c, 0x49, 0xae, 0x01, 0xc9, 0xe5, 0x4a, 0x72, 0xb9,
  1785. 0x9a, 0x5c, 0x03, 0x92, 0xcb, 0xd5, 0xe4, 0x72, 0x35, 0xb9, 0x06, 0x24, 0x97, 0x47, 0xc9, 0x0d,
  1786. 0xa8, 0x65, 0x58, 0x72, 0x96, 0x01, 0x61, 0xe1, 0x4a, 0x58, 0x78, 0x1c, 0x96, 0xbc, 0x65, 0x40,
  1787. 0x58, 0x78, 0x14, 0x96, 0x40, 0x1c, 0xac, 0x7c, 0xd7, 0x32, 0x60, 0xe5, 0x3c, 0x5c, 0x79, 0x48,
  1788. 0x1d, 0x46, 0xcd, 0x80, 0xa8, 0xf1, 0x20, 0x6a, 0xb5, 0xff, 0x69, 0x24, 0xdb, 0x76, 0x67, 0x13,
  1789. 0xdf, 0xfc, 0x5a, 0xee, 0x78, 0xea, 0xce, 0x26, 0xb8, 0xe3, 0x77, 0xec, 0xe2, 0xb1, 0x37, 0xb0,
  1790. 0x8f, 0x41, 0x8a, 0x9b, 0x1f, 0x3e, 0x40, 0x8b, 0x87, 0x5a, 0x10, 0x9e, 0x79, 0x2d, 0x1e, 0x68,
  1791. 0x3d, 0x23, 0xbb, 0xc0, 0xe5, 0x52, 0x5f, 0xd0, 0xa1, 0x54, 0x36, 0x90, 0xf2, 0x61, 0xa4, 0xec,
  1792. 0x1f, 0x5f, 0xa2, 0x14, 0x81, 0xdb, 0xcc, 0x13, 0xf1, 0x10, 0xe0, 0x3c, 0x01, 0xcf, 0xa0, 0xad,
  1793. 0x65, 0x70, 0xae, 0xc2, 0x6b, 0x75, 0x42, 0x14, 0xb2, 0x3c, 0x31, 0xde, 0x5d, 0x5e, 0x95, 0x35,
  1794. 0xf8, 0x78, 0x75, 0xd5, 0x2d, 0xeb, 0x66, 0x81, 0x64, 0x5e, 0xbd, 0x69, 0xff, 0x5c, 0x26, 0xb5,
  1795. 0x7f, 0x1b, 0x24, 0x0b, 0xaa, 0xbe, 0x79, 0x24, 0x77, 0x8f, 0x34, 0x89, 0xeb, 0x2f, 0xd9, 0x25,
  1796. 0xb4, 0x26, 0xa9, 0x70, 0x2b, 0xc9, 0x4f, 0xf3, 0x04, 0x23, 0x35, 0xe2, 0x6c, 0xe6, 0xe1, 0xf9,
  1797. 0x27, 0xf6, 0x5e, 0xa4, 0xe9, 0x1f, 0x5f, 0x79, 0xe2, 0x7b, 0x10, 0x75, 0x22, 0x25, 0x20, 0x8f,
  1798. 0xd7, 0x83, 0x1b, 0x27, 0x49, 0xce, 0x55, 0x72, 0x1e, 0x92, 0xc3, 0xa2, 0xe7, 0xc9, 0x3b, 0x11,
  1799. 0x79, 0xa8, 0x54, 0xfd, 0x8f, 0x46, 0x0a, 0xa1, 0xcd, 0x55, 0x65, 0x6b, 0xfe, 0x7c, 0xe8, 0x89,
  1800. 0xf3, 0x91, 0x08, 0x80, 0xb1, 0x32, 0x00, 0x3f, 0x92, 0x1d, 0xe6, 0x09, 0xa9, 0x1a, 0x7a, 0x0a,
  1801. 0x61, 0xa8, 0x2d, 0x08, 0x03, 0x7c, 0x48, 0x98, 0x74, 0x3c, 0x81, 0xac, 0x36, 0xc9, 0xce, 0xbc,
  1802. 0xc6, 0x66, 0x1b, 0xb1, 0xfa, 0x2b, 0x52, 0xe8, 0x28, 0xab, 0x5e, 0x72, 0x9e, 0x3b, 0x3b, 0x9c,
  1803. 0xfa, 0x94, 0x7f, 0xa0, 0xc3, 0xeb, 0x5b, 0x87, 0x8e, 0x87, 0xb5, 0x2e, 0xc9, 0x05, 0x8b, 0x98,
  1804. 0x8f, 0x87, 0xb6, 0x3a, 0x1e, 0xfa, 0xaa, 0x78, 0xd4, 0xfe, 0xab, 0x93, 0x62, 0x87, 0x4e, 0x67,
  1805. 0x0e, 0xa7, 0x43, 0x59, 0x5d, 0xe8, 0x34, 0xf4, 0x46, 0x47, 0x6f, 0xe8, 0x14, 0x73, 0x70, 0x48,
  1806. 0x4a, 0x20, 0x0a, 0x2b, 0xa8, 0x6e, 0xe9, 0x50, 0x84, 0x39, 0x9d, 0x2a, 0x45, 0x38, 0x52, 0xc0,
  1807. 0x1a, 0xa3, 0x43, 0x11, 0x0e, 0x15, 0x64, 0x11, 0x06, 0x85, 0xa8, 0x08, 0x67, 0x2c, 0x1d, 0x8a,
  1808. 0x30, 0xa7, 0x53, 0xb5, 0x08, 0xc7, 0x2a, 0x58, 0x6b, 0x74, 0x28, 0xc2, 0x91, 0x4a, 0x50, 0x6d,
  1809. 0xc0, 0x4c, 0x50, 0x6d, 0x74, 0xac, 0x36, 0x74, 0x1a, 0x57, 0x1b, 0x3a, 0x8d, 0xab, 0x8d, 0x8e,
  1810. 0xd5, 0x86, 0x4e, 0x95, 0x6a, 0x03, 0xf4, 0x32, 0x6e, 0x05, 0x4b, 0xc7, 0x6a, 0x43, 0xa7, 0x4a,
  1811. 0xb5, 0x81, 0xd5, 0x63, 0xb5, 0x29, 0x5a, 0x3a, 0x56, 0x1b, 0x3a, 0x95, 0x35, 0xfa, 0x6b, 0x19,
  1812. 0x1a, 0x4c, 0x2d, 0xb1, 0xf4, 0x64, 0xf5, 0xa0, 0x53, 0x3c, 0xb1, 0x47, 0xd2, 0x42, 0x10, 0xfa,
  1813. 0x92, 0xa5, 0xa7, 0x8f, 0x0b, 0x9d, 0x06, 0xa1, 0xbf, 0x22, 0xbb, 0x7f, 0xe8, 0x73, 0xe1, 0xf4,
  1814. 0xc7, 0x61, 0x02, 0x12, 0x0e, 0x6a, 0x49, 0x07, 0x57, 0x9f, 0x83, 0xda, 0x6b, 0x92, 0xbb, 0x72,
  1815. 0x29, 0xbb, 0xf5, 0x4d, 0x93, 0x18, 0xbe, 0xe0, 0x72, 0x67, 0xfc, 0xf0, 0x59, 0x07, 0x06, 0xe6,
  1816. 0x21, 0x31, 0x26, 0xfe, 0x68, 0xc1, 0x76, 0x00, 0x85, 0x89, 0x3f, 0xba, 0xc8, 0x93, 0xec, 0xcc,
  1817. 0x75, 0x98, 0x5b, 0xfb, 0x67, 0x8e, 0x64, 0x7e, 0xea, 0x7b, 0xbe, 0x79, 0x4e, 0xb6, 0xb0, 0x03,
  1818. 0x5c, 0x0b, 0x76, 0x2d, 0xf9, 0xe0, 0xf8, 0x1f, 0x20, 0x16, 0x14, 0x8e, 0xb1, 0xb7, 0xf4, 0x58,
  1819. 0x57, 0xf0, 0xb6, 0x2b, 0xf8, 0x7d, 0x87, 0x38, 0xd1, 0x84, 0xf9, 0x3d, 0x29, 0x87, 0x79, 0x04,
  1820. 0x3c, 0xee, 0x29, 0x1d, 0x09, 0xbe, 0x8c, 0x09, 0xc2, 0xb4, 0xf6, 0x18, 0x6c, 0x32, 0x49, 0xb2,
  1821. 0xe3, 0xcf, 0x4d, 0x9a, 0x2f, 0xc9, 0x0e, 0x80, 0x81, 0x24, 0xe8, 0x50, 0xb2, 0x0c, 0x3d, 0x8e,
  1822. 0x69, 0x40, 0xaf, 0xc7, 0x64, 0xbb, 0x92, 0x24, 0x5b, 0x03, 0x65, 0x0a, 0x28, 0x64, 0xf7, 0x02,
  1823. 0x92, 0xa8, 0x28, 0xcf, 0x51, 0xc8, 0x66, 0xd6, 0x63, 0x90, 0xc6, 0x80, 0x62, 0xa6, 0x4c, 0x99,
  1824. 0xcf, 0xc9, 0xb6, 0x2f, 0x38, 0xe0, 0x83, 0xe4, 0x66, 0x91, 0xa1, 0xaa, 0xac, 0x45, 0xf0, 0x1e,
  1825. 0x0b, 0xab, 0x37, 0x10, 0x94, 0xfc, 0x78, 0x46, 0xc1, 0x33, 0xcc, 0x11, 0x76, 0xca, 0x34, 0x5e,
  1826. 0x26, 0x50, 0xc5, 0xcb, 0x99, 0xea, 0x33, 0xb2, 0x9b, 0x88, 0xb6, 0x59, 0x26, 0xc6, 0x9f, 0xe9,
  1827. 0x3d, 0x66, 0x39, 0xdb, 0x81, 0x4f, 0x73, 0x9f, 0x64, 0x3f, 0xf4, 0xc7, 0x33, 0x1a, 0xec, 0x0d,
  1828. 0x39, 0x68, 0xe9, 0x67, 0x5a, 0xf5, 0x25, 0xd9, 0x5b, 0x10, 0x6b, 0x95, 0xa2, 0xbc, 0x80, 0xa2,
  1829. 0xa0, 0x52, 0xbc, 0x20, 0x0f, 0x52, 0x71, 0x56, 0x09, 0x0a, 0x0b, 0x08, 0xb6, 0x55, 0x82, 0x1f,
  1830. 0xc9, 0x83, 0x54, 0x94, 0x55, 0x82, 0x8c, 0x24, 0x38, 0x54, 0x09, 0xe6, 0x8e, 0x99, 0xc2, 0xf5,
  1831. 0x96, 0x94, 0x93, 0xf1, 0x56, 0xa9, 0x8a, 0x92, 0xea, 0x89, 0x4a, 0x95, 0x38, 0x89, 0x0b, 0xc8,
  1832. 0x94, 0xe0, 0x6f, 0x4a, 0x26, 0x21, 0x0a, 0x59, 0xed, 0x94, 0x98, 0xd2, 0xc2, 0x7b, 0x47, 0xfc,
  1833. 0xb2, 0xe1, 0xc9, 0xae, 0xfd, 0x4d, 0x27, 0xe5, 0x37, 0xee, 0xd0, 0xe1, 0xf4, 0x46, 0x44, 0x98,
  1834. 0xe6, 0x82, 0xc6, 0xfe, 0xb9, 0xb2, 0x04, 0xd5, 0x80, 0xda, 0xe3, 0x9a, 0x73, 0x3d, 0x5b, 0x9e,
  1835. 0xb9, 0xe5, 0x38, 0xae, 0xf4, 0xc6, 0xc4, 0x16, 0x97, 0xe7, 0xec, 0xd7, 0x08, 0x4d, 0x7a, 0xb7,
  1836. 0x7a, 0xbb, 0x57, 0xdf, 0x6f, 0x94, 0x9f, 0x6f, 0xe6, 0x43, 0xba, 0xd4, 0x49, 0x25, 0xbc, 0x0e,
  1837. 0x21, 0xed, 0x3b, 0x41, 0x5d, 0xdf, 0x61, 0xae, 0xbf, 0xae, 0x13, 0xaa, 0x77, 0x0a, 0xba, 0xf9,
  1838. 0xaf, 0xd0, 0x51, 0xa6, 0xb0, 0x5f, 0xa6, 0xb5, 0x7f, 0x18, 0x64, 0x2f, 0xb6, 0xf5, 0x1d, 0x73,
  1839. 0x45, 0xdf, 0x71, 0x29, 0xb7, 0x7f, 0x2b, 0x7f, 0x15, 0xe8, 0x9d, 0x64, 0x36, 0x77, 0xe5, 0x0e,
  1840. 0x8d, 0x34, 0x2b, 0xa7, 0x68, 0x0a, 0x3c, 0x6b, 0xdf, 0xa1, 0x35, 0xfb, 0x29, 0x5e, 0x3b, 0x10,
  1841. 0x22, 0x7d, 0x4d, 0x83, 0x1a, 0xe8, 0xfc, 0x96, 0x04, 0x49, 0xff, 0xed, 0x6f, 0x63, 0x4b, 0x50,
  1842. 0xb5, 0xd2, 0xa0, 0xa7, 0xc9, 0x23, 0x12, 0x18, 0x85, 0x6f, 0xfb, 0x22, 0x36, 0x2a, 0x13, 0x9a,
  1843. 0xc6, 0x37, 0xd3, 0xe7, 0x22, 0xf0, 0x40, 0x8e, 0xc0, 0x71, 0xbe, 0xc6, 0xf1, 0x67, 0x78, 0x6b,
  1844. 0xdf, 0xe2, 0x09, 0xc7, 0xf9, 0x4a, 0xc7, 0x9f, 0x27, 0x2f, 0xe0, 0x84, 0xcf, 0x39, 0xce, 0xd7,
  1845. 0x38, 0xfe, 0x22, 0x7d, 0x13, 0x0d, 0x3c, 0x08, 0xba, 0x6b, 0x95, 0x90, 0x9f, 0xa8, 0xef, 0xf7,
  1846. 0x47, 0xb4, 0x4b, 0xc5, 0x51, 0xa1, 0x90, 0x29, 0x7f, 0xfa, 0xf4, 0xe9, 0x53, 0xbe, 0xa5, 0x17,
  1847. 0xb4, 0xda, 0xdf, 0x75, 0xb2, 0x17, 0x0b, 0x23, 0xd6, 0x35, 0xbb, 0xc9, 0xfe, 0x13, 0x79, 0x38,
  1848. 0x91, 0xa8, 0x6b, 0x9f, 0xa2, 0x7b, 0x01, 0x4e, 0x7a, 0x17, 0x33, 0xe2, 0xff, 0x65, 0xc9, 0xae,
  1849. 0x24, 0xa6, 0x23, 0x43, 0x9d, 0xbd, 0x49, 0x7a, 0xd2, 0x1e, 0x92, 0x03, 0x97, 0x89, 0xeb, 0x0d,
  1850. 0x4d, 0xec, 0xaf, 0x31, 0xf1, 0xc8, 0x65, 0x62, 0xc1, 0xbc, 0x7d, 0x4e, 0x48, 0x2a, 0xae, 0x0a,
  1851. 0xed, 0x57, 0x0b, 0x6e, 0x8b, 0x34, 0x0a, 0xea, 0x5f, 0xf3, 0x84, 0xbc, 0x75, 0xd9, 0x47, 0xb7,
  1852. 0x77, 0xef, 0x51, 0xdf, 0x7c, 0x9a, 0xb8, 0xb2, 0x43, 0x3b, 0x93, 0x0f, 0x15, 0xc7, 0xe1, 0x43,
  1853. 0x05, 0xb6, 0xe6, 0x3f, 0xc2, 0xe9, 0x8d, 0x8f, 0xde, 0x59, 0xf2, 0xe8, 0x41, 0x23, 0x4e, 0xe2,
  1854. 0xf0, 0x20, 0x4a, 0x60, 0xfc, 0x44, 0x71, 0x96, 0x7c, 0xa2, 0x58, 0x82, 0x6c, 0x36, 0xe6, 0x90,
  1855. 0xcd, 0x86, 0x79, 0x9e, 0x7a, 0xbf, 0x28, 0xd9, 0x5f, 0xa4, 0xa0, 0xef, 0x14, 0xab, 0xca, 0xeb,
  1856. 0xc6, 0x79, 0xea, 0x75, 0x63, 0x19, 0x38, 0x34, 0xac, 0xbc, 0x7d, 0x9c, 0xa9, 0xaf, 0x06, 0xb9,
  1857. 0x25, 0x3e, 0xe3, 0xf5, 0x35, 0xf6, 0x59, 0xde, 0x66, 0xcf, 0xe7, 0x9e, 0x14, 0xf2, 0x4b, 0xcc,
  1858. 0xca, 0xbb, 0x6d, 0x6c, 0x36, 0xb8, 0xeb, 0x9e, 0xcf, 0xed, 0xe5, 0xc2, 0x12, 0xb0, 0xdc, 0xd9,
  1859. 0x31, 0x38, 0xa8, 0x9b, 0x67, 0xea, 0x6b, 0x45, 0x71, 0x89, 0xcf, 0x78, 0x2f, 0x8e, 0x7d, 0x96,
  1860. 0xd7, 0xe4, 0xa0, 0x62, 0x85, 0xaf, 0x5f, 0xc1, 0x36, 0x3d, 0x48, 0x7b, 0x1d, 0x28, 0xe0, 0x0b,
  1861. 0x4b, 0x38, 0x30, 0x5f, 0x10, 0xf8, 0x9d, 0xbe, 0x8e, 0x5e, 0xbf, 0xf0, 0x1d, 0x65, 0xd1, 0xae,
  1862. 0xea, 0x85, 0x1a, 0x58, 0xae, 0xa2, 0x51, 0xd8, 0x32, 0xe5, 0xe3, 0x5a, 0xe5, 0x20, 0xe8, 0x2a,
  1863. 0x0b, 0x56, 0x3d, 0xbb, 0x11, 0xe1, 0x82, 0x67, 0x37, 0x22, 0xdc, 0xc9, 0x63, 0xc7, 0x17, 0x95,
  1864. 0xea, 0x12, 0x9b, 0xbf, 0x77, 0x7c, 0x11, 0xef, 0x64, 0x18, 0x99, 0xa7, 0x32, 0x4e, 0xb2, 0x87,
  1865. 0x3d, 0x46, 0xdc, 0xa3, 0x14, 0x2e, 0x0e, 0x11, 0x7e, 0x85, 0x20, 0x7c, 0x3d, 0x0c, 0xce, 0x5b,
  1866. 0x1a, 0xd4, 0x06, 0x29, 0x82, 0xf0, 0xcb, 0xfc, 0x86, 0x80, 0xd1, 0xeb, 0xbe, 0x7b, 0x5f, 0xb1,
  1867. 0x10, 0xb2, 0x9f, 0x82, 0xbc, 0x74, 0xef, 0x3b, 0x39, 0xe6, 0x89, 0x97, 0xee, 0xfd, 0xd1, 0x53,
  1868. 0x92, 0xc1, 0x5b, 0x6b, 0x89, 0xe4, 0xdf, 0x5d, 0xbe, 0xbd, 0xbc, 0x7a, 0x7f, 0x59, 0xfe, 0xcc,
  1869. 0x2c, 0x92, 0xec, 0xeb, 0x37, 0x9d, 0x6e, 0xaf, 0xac, 0x99, 0x84, 0xe4, 0xba, 0xed, 0xef, 0xae,
  1870. 0x2e, 0x5f, 0x95, 0x75, 0x98, 0xee, 0xb5, 0x2f, 0x7b, 0x3f, 0x94, 0x49, 0x6b, 0x6d, 0x67, 0x7b,
  1871. 0x98, 0xec, 0x6c, 0xad, 0x0d, 0x3a, 0xdb, 0xa3, 0x74, 0x67, 0x6b, 0xad, 0xed, 0x6c, 0x9f, 0xaf,
  1872. 0xe8, 0x6c, 0xad, 0x0d, 0x3a, 0x5b, 0x65, 0x4d, 0x67, 0x6b, 0xfd, 0x4e, 0xbe, 0xd4, 0x00, 0x47,
  1873. 0xf8, 0xfb, 0x99, 0x22, 0x39, 0xb4, 0x8c, 0x7a, 0x1e, 0xdf, 0x68, 0xda, 0x77, 0xe1, 0x6b, 0x63,
  1874. 0x6b, 0x6d, 0x6f, 0xb3, 0x56, 0xf4, 0xb6, 0xd6, 0x06, 0xbd, 0xed, 0xc9, 0x9a, 0xde, 0x76, 0xf1,
  1875. 0xfc, 0xe7, 0x6f, 0x47, 0x8e, 0xf8, 0x65, 0x36, 0x38, 0xbe, 0x61, 0x93, 0x93, 0x11, 0x1b, 0xf7,
  1876. 0xdd, 0x51, 0xfc, 0x34, 0xfc, 0xc1, 0x3e, 0x59, 0xfd, 0xe8, 0xfd, 0xff, 0x00, 0x00, 0x00, 0xff,
  1877. 0xff, 0x59, 0x20, 0x4f, 0x36, 0x15, 0x17, 0x00, 0x00,
  1878. }
  1879. func init() {
  1880. xxx_Test_protoFile_FileDesc.Enums = xxx_Test_protoFile_EnumDescs[0:1]
  1881. xxx_Test_protoFile_FileDesc.Messages = xxx_Test_protoFile_MessageDescs[0:16]
  1882. xxx_Test_protoFile_MessageDescs[2].Enums = xxx_Test_protoFile_EnumDescs[1:2]
  1883. xxx_Test_protoFile_MessageDescs[3].Messages = xxx_Test_protoFile_MessageDescs[16:18]
  1884. xxx_Test_protoFile_MessageDescs[8].Messages = xxx_Test_protoFile_MessageDescs[19:25]
  1885. xxx_Test_protoFile_MessageDescs[10].Messages = xxx_Test_protoFile_MessageDescs[25:26]
  1886. xxx_Test_protoFile_MessageDescs[16].Messages = xxx_Test_protoFile_MessageDescs[18:19]
  1887. xxx_Test_protoFile_MessageDescs[2].Fields[0].EnumType = xxx_Test_protoFile_EnumTypes[0]
  1888. xxx_Test_protoFile_MessageDescs[2].Fields[1].EnumType = xxx_Test_protoFile_EnumTypes[0]
  1889. xxx_Test_protoFile_MessageDescs[2].Fields[2].EnumType = xxx_Test_protoFile_EnumTypes[1]
  1890. xxx_Test_protoFile_MessageDescs[2].Fields[3].EnumType = xxx_Test_protoFile_EnumTypes[1]
  1891. xxx_Test_protoFile_MessageDescs[3].Fields[0].MessageType = xxx_Test_protoFile_MessageTypes[4].Type
  1892. xxx_Test_protoFile_MessageDescs[3].Fields[1].MessageType = xxx_Test_protoFile_MessageTypes[16].Type
  1893. xxx_Test_protoFile_MessageDescs[3].Fields[2].MessageType = xxx_Test_protoFile_MessageTypes[4].Type
  1894. xxx_Test_protoFile_MessageDescs[3].Fields[3].MessageType = xxx_Test_protoFile_MessageTypes[17].Type
  1895. xxx_Test_protoFile_MessageDescs[4].Fields[1].MessageType = xxx_Test_protoFile_MessageTypes[4].Type
  1896. xxx_Test_protoFile_MessageDescs[5].Fields[9].EnumType = xxx_Test_protoFile_EnumTypes[0]
  1897. xxx_Test_protoFile_MessageDescs[5].Fields[10].MessageType = xxx_Test_protoFile_MessageTypes[4].Type
  1898. xxx_Test_protoFile_MessageDescs[7].Fields[1].MessageType = xxx_Test_protoFile_MessageTypes[4].Type
  1899. xxx_Test_protoFile_MessageDescs[8].Fields[0].MessageType = xxx_Test_protoFile_MessageDescs[19].Reference()
  1900. xxx_Test_protoFile_MessageDescs[8].Fields[1].MessageType = xxx_Test_protoFile_MessageDescs[20].Reference()
  1901. xxx_Test_protoFile_MessageDescs[8].Fields[2].MessageType = xxx_Test_protoFile_MessageDescs[21].Reference()
  1902. xxx_Test_protoFile_MessageDescs[8].Fields[3].MessageType = xxx_Test_protoFile_MessageDescs[22].Reference()
  1903. xxx_Test_protoFile_MessageDescs[8].Fields[4].MessageType = xxx_Test_protoFile_MessageDescs[23].Reference()
  1904. xxx_Test_protoFile_MessageDescs[8].Fields[5].MessageType = xxx_Test_protoFile_MessageDescs[24].Reference()
  1905. xxx_Test_protoFile_MessageDescs[10].Fields[0].MessageType = xxx_Test_protoFile_MessageTypes[9].Type
  1906. xxx_Test_protoFile_MessageDescs[10].Fields[1].MessageType = xxx_Test_protoFile_MessageTypes[9].Type
  1907. xxx_Test_protoFile_MessageDescs[10].Fields[2].MessageType = xxx_Test_protoFile_MessageDescs[25].Reference()
  1908. xxx_Test_protoFile_MessageDescs[15].Fields[0].MessageType = protoimpl.X.MessageTypeOf((*wrappers.BoolValue)(nil))
  1909. xxx_Test_protoFile_MessageDescs[15].Fields[1].MessageType = protoimpl.X.MessageTypeOf((*wrappers.Int32Value)(nil))
  1910. xxx_Test_protoFile_MessageDescs[15].Fields[2].MessageType = protoimpl.X.MessageTypeOf((*wrappers.Int64Value)(nil))
  1911. xxx_Test_protoFile_MessageDescs[15].Fields[3].MessageType = protoimpl.X.MessageTypeOf((*wrappers.UInt32Value)(nil))
  1912. xxx_Test_protoFile_MessageDescs[15].Fields[4].MessageType = protoimpl.X.MessageTypeOf((*wrappers.UInt64Value)(nil))
  1913. xxx_Test_protoFile_MessageDescs[15].Fields[5].MessageType = protoimpl.X.MessageTypeOf((*wrappers.FloatValue)(nil))
  1914. xxx_Test_protoFile_MessageDescs[15].Fields[6].MessageType = protoimpl.X.MessageTypeOf((*wrappers.DoubleValue)(nil))
  1915. xxx_Test_protoFile_MessageDescs[15].Fields[7].MessageType = protoimpl.X.MessageTypeOf((*wrappers.StringValue)(nil))
  1916. xxx_Test_protoFile_MessageDescs[15].Fields[8].MessageType = protoimpl.X.MessageTypeOf((*wrappers.BytesValue)(nil))
  1917. xxx_Test_protoFile_MessageDescs[15].Fields[9].MessageType = protoimpl.X.MessageTypeOf((*duration.Duration)(nil))
  1918. xxx_Test_protoFile_MessageDescs[15].Fields[10].MessageType = protoimpl.X.MessageTypeOf((*timestamp.Timestamp)(nil))
  1919. xxx_Test_protoFile_MessageDescs[15].Fields[11].MessageType = protoimpl.X.MessageTypeOf((*_struct.Struct)(nil))
  1920. xxx_Test_protoFile_MessageDescs[15].Fields[12].MessageType = protoimpl.X.MessageTypeOf((*_struct.ListValue)(nil))
  1921. xxx_Test_protoFile_MessageDescs[15].Fields[13].MessageType = protoimpl.X.MessageTypeOf((*_struct.Value)(nil))
  1922. xxx_Test_protoFile_MessageDescs[15].Fields[14].MessageType = protoimpl.X.MessageTypeOf((*empty.Empty)(nil))
  1923. xxx_Test_protoFile_MessageDescs[15].Fields[15].MessageType = protoimpl.X.MessageTypeOf((*any.Any)(nil))
  1924. xxx_Test_protoFile_MessageDescs[16].Fields[2].MessageType = xxx_Test_protoFile_MessageTypes[4].Type
  1925. xxx_Test_protoFile_MessageDescs[16].Fields[3].MessageType = xxx_Test_protoFile_MessageTypes[18].Type
  1926. xxx_Test_protoFile_MessageDescs[18].Fields[0].EnumType = xxx_Test_protoFile_EnumTypes[0]
  1927. xxx_Test_protoFile_MessageDescs[22].Fields[1].EnumType = xxx_Test_protoFile_EnumTypes[0]
  1928. xxx_Test_protoFile_MessageDescs[23].Fields[1].MessageType = xxx_Test_protoFile_MessageTypes[4].Type
  1929. xxx_Test_protoFile_MessageDescs[24].Fields[1].MessageType = xxx_Test_protoFile_MessageTypes[7].Type
  1930. xxx_Test_protoFile_MessageDescs[25].Fields[1].MessageType = xxx_Test_protoFile_MessageTypes[9].Type
  1931. var err error
  1932. Test_protoFile, err = prototype.NewFile(&xxx_Test_protoFile_FileDesc)
  1933. if err != nil {
  1934. panic(err)
  1935. }
  1936. }
  1937. const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
  1938. var Test_protoFile protoreflect.FileDescriptor
  1939. var xxx_Test_protoFile_FileDesc = prototype.File{
  1940. Syntax: protoreflect.Proto2,
  1941. Path: "encoding/textpb/testprotos/pb2/test.proto",
  1942. Package: "pb2",
  1943. Imports: []protoreflect.FileImport{
  1944. {FileDescriptor: prototype.PlaceholderFile("google/protobuf/any.proto", "google.protobuf")},
  1945. {FileDescriptor: prototype.PlaceholderFile("google/protobuf/empty.proto", "google.protobuf")},
  1946. {FileDescriptor: prototype.PlaceholderFile("google/protobuf/duration.proto", "google.protobuf")},
  1947. {FileDescriptor: prototype.PlaceholderFile("google/protobuf/struct.proto", "google.protobuf")},
  1948. {FileDescriptor: prototype.PlaceholderFile("google/protobuf/timestamp.proto", "google.protobuf")},
  1949. {FileDescriptor: prototype.PlaceholderFile("google/protobuf/wrappers.proto", "google.protobuf")},
  1950. },
  1951. }
  1952. var xxx_Test_protoFile_EnumTypes = [2]protoreflect.EnumType{
  1953. prototype.GoEnum(
  1954. xxx_Test_protoFile_EnumDescs[0].Reference(),
  1955. func(_ protoreflect.EnumType, n protoreflect.EnumNumber) protoreflect.Enum {
  1956. return Enum(n)
  1957. },
  1958. ),
  1959. prototype.GoEnum(
  1960. xxx_Test_protoFile_EnumDescs[1].Reference(),
  1961. func(_ protoreflect.EnumType, n protoreflect.EnumNumber) protoreflect.Enum {
  1962. return Enums_NestedEnum(n)
  1963. },
  1964. ),
  1965. }
  1966. var xxx_Test_protoFile_EnumDescs = [2]prototype.Enum{
  1967. {
  1968. Name: "Enum",
  1969. Values: []prototype.EnumValue{
  1970. {Name: "UNKNOWN", Number: 0},
  1971. {Name: "FIRST", Number: 1},
  1972. {Name: "SECOND", Number: 2},
  1973. {Name: "TENTH", Number: 10},
  1974. },
  1975. },
  1976. {
  1977. Name: "NestedEnum",
  1978. Values: []prototype.EnumValue{
  1979. {Name: "UNO", Number: 1},
  1980. {Name: "DOS", Number: 2},
  1981. {Name: "DIEZ", Number: 10},
  1982. },
  1983. },
  1984. }
  1985. var xxx_Test_protoFile_MessageTypes = [26]protoimpl.MessageType{
  1986. {Type: prototype.GoMessage(
  1987. xxx_Test_protoFile_MessageDescs[0].Reference(),
  1988. func(protoreflect.MessageType) protoreflect.Message {
  1989. return xxx_Scalars{new(Scalars)}
  1990. },
  1991. )},
  1992. {Type: prototype.GoMessage(
  1993. xxx_Test_protoFile_MessageDescs[1].Reference(),
  1994. func(protoreflect.MessageType) protoreflect.Message {
  1995. return xxx_Repeats{new(Repeats)}
  1996. },
  1997. )},
  1998. {Type: prototype.GoMessage(
  1999. xxx_Test_protoFile_MessageDescs[2].Reference(),
  2000. func(protoreflect.MessageType) protoreflect.Message {
  2001. return xxx_Enums{new(Enums)}
  2002. },
  2003. )},
  2004. {Type: prototype.GoMessage(
  2005. xxx_Test_protoFile_MessageDescs[3].Reference(),
  2006. func(protoreflect.MessageType) protoreflect.Message {
  2007. return xxx_Nests{new(Nests)}
  2008. },
  2009. )},
  2010. {Type: prototype.GoMessage(
  2011. xxx_Test_protoFile_MessageDescs[4].Reference(),
  2012. func(protoreflect.MessageType) protoreflect.Message {
  2013. return xxx_Nested{new(Nested)}
  2014. },
  2015. )},
  2016. {Type: prototype.GoMessage(
  2017. xxx_Test_protoFile_MessageDescs[5].Reference(),
  2018. func(protoreflect.MessageType) protoreflect.Message {
  2019. return xxx_Requireds{new(Requireds)}
  2020. },
  2021. )},
  2022. {Type: prototype.GoMessage(
  2023. xxx_Test_protoFile_MessageDescs[6].Reference(),
  2024. func(protoreflect.MessageType) protoreflect.Message {
  2025. return xxx_PartialRequired{new(PartialRequired)}
  2026. },
  2027. )},
  2028. {Type: prototype.GoMessage(
  2029. xxx_Test_protoFile_MessageDescs[7].Reference(),
  2030. func(protoreflect.MessageType) protoreflect.Message {
  2031. return xxx_Oneofs{new(Oneofs)}
  2032. },
  2033. )},
  2034. {Type: prototype.GoMessage(
  2035. xxx_Test_protoFile_MessageDescs[8].Reference(),
  2036. func(protoreflect.MessageType) protoreflect.Message {
  2037. return xxx_Maps{new(Maps)}
  2038. },
  2039. )},
  2040. {Type: prototype.GoMessage(
  2041. xxx_Test_protoFile_MessageDescs[9].Reference(),
  2042. func(protoreflect.MessageType) protoreflect.Message {
  2043. return xxx_NestedWithRequired{new(NestedWithRequired)}
  2044. },
  2045. )},
  2046. {Type: prototype.GoMessage(
  2047. xxx_Test_protoFile_MessageDescs[10].Reference(),
  2048. func(protoreflect.MessageType) protoreflect.Message {
  2049. return xxx_IndirectRequired{new(IndirectRequired)}
  2050. },
  2051. )},
  2052. {Type: prototype.GoMessage(
  2053. xxx_Test_protoFile_MessageDescs[11].Reference(),
  2054. func(protoreflect.MessageType) protoreflect.Message {
  2055. return xxx_Extensions{new(Extensions)}
  2056. },
  2057. )},
  2058. {Type: prototype.GoMessage(
  2059. xxx_Test_protoFile_MessageDescs[12].Reference(),
  2060. func(protoreflect.MessageType) protoreflect.Message {
  2061. return xxx_ExtensionsContainer{new(ExtensionsContainer)}
  2062. },
  2063. )},
  2064. {Type: prototype.GoMessage(
  2065. xxx_Test_protoFile_MessageDescs[13].Reference(),
  2066. func(protoreflect.MessageType) protoreflect.Message {
  2067. return xxx_MessageSet{new(MessageSet)}
  2068. },
  2069. )},
  2070. {Type: prototype.GoMessage(
  2071. xxx_Test_protoFile_MessageDescs[14].Reference(),
  2072. func(protoreflect.MessageType) protoreflect.Message {
  2073. return xxx_MessageSetExtension{new(MessageSetExtension)}
  2074. },
  2075. )},
  2076. {Type: prototype.GoMessage(
  2077. xxx_Test_protoFile_MessageDescs[15].Reference(),
  2078. func(protoreflect.MessageType) protoreflect.Message {
  2079. return xxx_KnownTypes{new(KnownTypes)}
  2080. },
  2081. )},
  2082. {Type: prototype.GoMessage(
  2083. xxx_Test_protoFile_MessageDescs[16].Reference(),
  2084. func(protoreflect.MessageType) protoreflect.Message {
  2085. return xxx_Nests_OptGroup{new(Nests_OptGroup)}
  2086. },
  2087. )},
  2088. {Type: prototype.GoMessage(
  2089. xxx_Test_protoFile_MessageDescs[17].Reference(),
  2090. func(protoreflect.MessageType) protoreflect.Message {
  2091. return xxx_Nests_RptGroup{new(Nests_RptGroup)}
  2092. },
  2093. )},
  2094. {Type: prototype.GoMessage(
  2095. xxx_Test_protoFile_MessageDescs[18].Reference(),
  2096. func(protoreflect.MessageType) protoreflect.Message {
  2097. return xxx_Nests_OptGroup_OptNestedGroup{new(Nests_OptGroup_OptNestedGroup)}
  2098. },
  2099. )},
  2100. { /* no message type for Maps_Int32ToStrEntry */ },
  2101. { /* no message type for Maps_Sfixed64ToBoolEntry */ },
  2102. { /* no message type for Maps_BoolToUint32Entry */ },
  2103. { /* no message type for Maps_Uint64ToEnumEntry */ },
  2104. { /* no message type for Maps_StrToNestedEntry */ },
  2105. { /* no message type for Maps_StrToOneofsEntry */ },
  2106. { /* no message type for IndirectRequired_StrToNestedEntry */ },
  2107. }
  2108. var xxx_Test_protoFile_MessageDescs = [26]prototype.Message{
  2109. {
  2110. Name: "Scalars",
  2111. Fields: []prototype.Field{
  2112. {
  2113. Name: "opt_bool",
  2114. Number: 1,
  2115. Cardinality: protoreflect.Optional,
  2116. Kind: protoreflect.BoolKind,
  2117. JSONName: "optBool",
  2118. IsPacked: prototype.False,
  2119. },
  2120. {
  2121. Name: "opt_int32",
  2122. Number: 2,
  2123. Cardinality: protoreflect.Optional,
  2124. Kind: protoreflect.Int32Kind,
  2125. JSONName: "optInt32",
  2126. IsPacked: prototype.False,
  2127. },
  2128. {
  2129. Name: "opt_int64",
  2130. Number: 3,
  2131. Cardinality: protoreflect.Optional,
  2132. Kind: protoreflect.Int64Kind,
  2133. JSONName: "optInt64",
  2134. IsPacked: prototype.False,
  2135. },
  2136. {
  2137. Name: "opt_uint32",
  2138. Number: 4,
  2139. Cardinality: protoreflect.Optional,
  2140. Kind: protoreflect.Uint32Kind,
  2141. JSONName: "optUint32",
  2142. IsPacked: prototype.False,
  2143. },
  2144. {
  2145. Name: "opt_uint64",
  2146. Number: 5,
  2147. Cardinality: protoreflect.Optional,
  2148. Kind: protoreflect.Uint64Kind,
  2149. JSONName: "optUint64",
  2150. IsPacked: prototype.False,
  2151. },
  2152. {
  2153. Name: "opt_sint32",
  2154. Number: 6,
  2155. Cardinality: protoreflect.Optional,
  2156. Kind: protoreflect.Sint32Kind,
  2157. JSONName: "optSint32",
  2158. IsPacked: prototype.False,
  2159. },
  2160. {
  2161. Name: "opt_sint64",
  2162. Number: 7,
  2163. Cardinality: protoreflect.Optional,
  2164. Kind: protoreflect.Sint64Kind,
  2165. JSONName: "optSint64",
  2166. IsPacked: prototype.False,
  2167. },
  2168. {
  2169. Name: "opt_fixed32",
  2170. Number: 8,
  2171. Cardinality: protoreflect.Optional,
  2172. Kind: protoreflect.Fixed32Kind,
  2173. JSONName: "optFixed32",
  2174. IsPacked: prototype.False,
  2175. },
  2176. {
  2177. Name: "opt_fixed64",
  2178. Number: 9,
  2179. Cardinality: protoreflect.Optional,
  2180. Kind: protoreflect.Fixed64Kind,
  2181. JSONName: "optFixed64",
  2182. IsPacked: prototype.False,
  2183. },
  2184. {
  2185. Name: "opt_sfixed32",
  2186. Number: 10,
  2187. Cardinality: protoreflect.Optional,
  2188. Kind: protoreflect.Sfixed32Kind,
  2189. JSONName: "optSfixed32",
  2190. IsPacked: prototype.False,
  2191. },
  2192. {
  2193. Name: "opt_sfixed64",
  2194. Number: 11,
  2195. Cardinality: protoreflect.Optional,
  2196. Kind: protoreflect.Sfixed64Kind,
  2197. JSONName: "optSfixed64",
  2198. IsPacked: prototype.False,
  2199. },
  2200. {
  2201. Name: "opt_float",
  2202. Number: 20,
  2203. Cardinality: protoreflect.Optional,
  2204. Kind: protoreflect.FloatKind,
  2205. JSONName: "optFloat",
  2206. IsPacked: prototype.False,
  2207. },
  2208. {
  2209. Name: "opt_double",
  2210. Number: 21,
  2211. Cardinality: protoreflect.Optional,
  2212. Kind: protoreflect.DoubleKind,
  2213. JSONName: "optDouble",
  2214. IsPacked: prototype.False,
  2215. },
  2216. {
  2217. Name: "opt_bytes",
  2218. Number: 14,
  2219. Cardinality: protoreflect.Optional,
  2220. Kind: protoreflect.BytesKind,
  2221. JSONName: "optBytes",
  2222. IsPacked: prototype.False,
  2223. },
  2224. {
  2225. Name: "opt_string",
  2226. Number: 13,
  2227. Cardinality: protoreflect.Optional,
  2228. Kind: protoreflect.StringKind,
  2229. JSONName: "optString",
  2230. IsPacked: prototype.False,
  2231. },
  2232. },
  2233. },
  2234. {
  2235. Name: "Repeats",
  2236. Fields: []prototype.Field{
  2237. {
  2238. Name: "rpt_bool",
  2239. Number: 1,
  2240. Cardinality: protoreflect.Repeated,
  2241. Kind: protoreflect.BoolKind,
  2242. JSONName: "rptBool",
  2243. IsPacked: prototype.False,
  2244. },
  2245. {
  2246. Name: "rpt_int32",
  2247. Number: 2,
  2248. Cardinality: protoreflect.Repeated,
  2249. Kind: protoreflect.Int32Kind,
  2250. JSONName: "rptInt32",
  2251. IsPacked: prototype.False,
  2252. },
  2253. {
  2254. Name: "rpt_int64",
  2255. Number: 3,
  2256. Cardinality: protoreflect.Repeated,
  2257. Kind: protoreflect.Int64Kind,
  2258. JSONName: "rptInt64",
  2259. IsPacked: prototype.False,
  2260. },
  2261. {
  2262. Name: "rpt_uint32",
  2263. Number: 4,
  2264. Cardinality: protoreflect.Repeated,
  2265. Kind: protoreflect.Uint32Kind,
  2266. JSONName: "rptUint32",
  2267. IsPacked: prototype.False,
  2268. },
  2269. {
  2270. Name: "rpt_uint64",
  2271. Number: 5,
  2272. Cardinality: protoreflect.Repeated,
  2273. Kind: protoreflect.Uint64Kind,
  2274. JSONName: "rptUint64",
  2275. IsPacked: prototype.False,
  2276. },
  2277. {
  2278. Name: "rpt_float",
  2279. Number: 6,
  2280. Cardinality: protoreflect.Repeated,
  2281. Kind: protoreflect.FloatKind,
  2282. JSONName: "rptFloat",
  2283. IsPacked: prototype.False,
  2284. },
  2285. {
  2286. Name: "rpt_double",
  2287. Number: 7,
  2288. Cardinality: protoreflect.Repeated,
  2289. Kind: protoreflect.DoubleKind,
  2290. JSONName: "rptDouble",
  2291. IsPacked: prototype.False,
  2292. },
  2293. {
  2294. Name: "rpt_string",
  2295. Number: 15,
  2296. Cardinality: protoreflect.Repeated,
  2297. Kind: protoreflect.StringKind,
  2298. JSONName: "rptString",
  2299. IsPacked: prototype.False,
  2300. },
  2301. {
  2302. Name: "rpt_bytes",
  2303. Number: 14,
  2304. Cardinality: protoreflect.Repeated,
  2305. Kind: protoreflect.BytesKind,
  2306. JSONName: "rptBytes",
  2307. IsPacked: prototype.False,
  2308. },
  2309. },
  2310. },
  2311. {
  2312. Name: "Enums",
  2313. Fields: []prototype.Field{
  2314. {
  2315. Name: "opt_enum",
  2316. Number: 1,
  2317. Cardinality: protoreflect.Optional,
  2318. Kind: protoreflect.EnumKind,
  2319. JSONName: "optEnum",
  2320. IsPacked: prototype.False,
  2321. },
  2322. {
  2323. Name: "rpt_enum",
  2324. Number: 2,
  2325. Cardinality: protoreflect.Repeated,
  2326. Kind: protoreflect.EnumKind,
  2327. JSONName: "rptEnum",
  2328. IsPacked: prototype.False,
  2329. },
  2330. {
  2331. Name: "opt_nested_enum",
  2332. Number: 3,
  2333. Cardinality: protoreflect.Optional,
  2334. Kind: protoreflect.EnumKind,
  2335. JSONName: "optNestedEnum",
  2336. IsPacked: prototype.False,
  2337. },
  2338. {
  2339. Name: "rpt_nested_enum",
  2340. Number: 4,
  2341. Cardinality: protoreflect.Repeated,
  2342. Kind: protoreflect.EnumKind,
  2343. JSONName: "rptNestedEnum",
  2344. IsPacked: prototype.False,
  2345. },
  2346. },
  2347. },
  2348. {
  2349. Name: "Nests",
  2350. Fields: []prototype.Field{
  2351. {
  2352. Name: "opt_nested",
  2353. Number: 1,
  2354. Cardinality: protoreflect.Optional,
  2355. Kind: protoreflect.MessageKind,
  2356. JSONName: "optNested",
  2357. IsPacked: prototype.False,
  2358. },
  2359. {
  2360. Name: "optgroup",
  2361. Number: 2,
  2362. Cardinality: protoreflect.Optional,
  2363. Kind: protoreflect.GroupKind,
  2364. JSONName: "optgroup",
  2365. IsPacked: prototype.False,
  2366. },
  2367. {
  2368. Name: "rpt_nested",
  2369. Number: 3,
  2370. Cardinality: protoreflect.Repeated,
  2371. Kind: protoreflect.MessageKind,
  2372. JSONName: "rptNested",
  2373. IsPacked: prototype.False,
  2374. },
  2375. {
  2376. Name: "rptgroup",
  2377. Number: 4,
  2378. Cardinality: protoreflect.Repeated,
  2379. Kind: protoreflect.GroupKind,
  2380. JSONName: "rptgroup",
  2381. IsPacked: prototype.False,
  2382. },
  2383. },
  2384. ReservedNames: []protoreflect.Name{"reserved_field"},
  2385. },
  2386. {
  2387. Name: "Nested",
  2388. Fields: []prototype.Field{
  2389. {
  2390. Name: "opt_string",
  2391. Number: 1,
  2392. Cardinality: protoreflect.Optional,
  2393. Kind: protoreflect.StringKind,
  2394. JSONName: "optString",
  2395. IsPacked: prototype.False,
  2396. },
  2397. {
  2398. Name: "opt_nested",
  2399. Number: 2,
  2400. Cardinality: protoreflect.Optional,
  2401. Kind: protoreflect.MessageKind,
  2402. JSONName: "optNested",
  2403. IsPacked: prototype.False,
  2404. },
  2405. },
  2406. },
  2407. {
  2408. Name: "Requireds",
  2409. Fields: []prototype.Field{
  2410. {
  2411. Name: "req_bool",
  2412. Number: 1,
  2413. Cardinality: protoreflect.Required,
  2414. Kind: protoreflect.BoolKind,
  2415. JSONName: "reqBool",
  2416. IsPacked: prototype.False,
  2417. },
  2418. {
  2419. Name: "req_fixed32",
  2420. Number: 2,
  2421. Cardinality: protoreflect.Required,
  2422. Kind: protoreflect.Fixed32Kind,
  2423. JSONName: "reqFixed32",
  2424. IsPacked: prototype.False,
  2425. },
  2426. {
  2427. Name: "req_fixed64",
  2428. Number: 3,
  2429. Cardinality: protoreflect.Required,
  2430. Kind: protoreflect.Fixed64Kind,
  2431. JSONName: "reqFixed64",
  2432. IsPacked: prototype.False,
  2433. },
  2434. {
  2435. Name: "req_sfixed32",
  2436. Number: 4,
  2437. Cardinality: protoreflect.Required,
  2438. Kind: protoreflect.Sfixed32Kind,
  2439. JSONName: "reqSfixed32",
  2440. IsPacked: prototype.False,
  2441. },
  2442. {
  2443. Name: "req_sfixed64",
  2444. Number: 5,
  2445. Cardinality: protoreflect.Required,
  2446. Kind: protoreflect.Sfixed64Kind,
  2447. JSONName: "reqSfixed64",
  2448. IsPacked: prototype.False,
  2449. },
  2450. {
  2451. Name: "req_float",
  2452. Number: 6,
  2453. Cardinality: protoreflect.Required,
  2454. Kind: protoreflect.FloatKind,
  2455. JSONName: "reqFloat",
  2456. IsPacked: prototype.False,
  2457. },
  2458. {
  2459. Name: "req_double",
  2460. Number: 7,
  2461. Cardinality: protoreflect.Required,
  2462. Kind: protoreflect.DoubleKind,
  2463. JSONName: "reqDouble",
  2464. IsPacked: prototype.False,
  2465. },
  2466. {
  2467. Name: "req_string",
  2468. Number: 8,
  2469. Cardinality: protoreflect.Required,
  2470. Kind: protoreflect.StringKind,
  2471. JSONName: "reqString",
  2472. IsPacked: prototype.False,
  2473. },
  2474. {
  2475. Name: "req_bytes",
  2476. Number: 9,
  2477. Cardinality: protoreflect.Required,
  2478. Kind: protoreflect.BytesKind,
  2479. JSONName: "reqBytes",
  2480. IsPacked: prototype.False,
  2481. },
  2482. {
  2483. Name: "req_enum",
  2484. Number: 10,
  2485. Cardinality: protoreflect.Required,
  2486. Kind: protoreflect.EnumKind,
  2487. JSONName: "reqEnum",
  2488. IsPacked: prototype.False,
  2489. },
  2490. {
  2491. Name: "req_nested",
  2492. Number: 11,
  2493. Cardinality: protoreflect.Required,
  2494. Kind: protoreflect.MessageKind,
  2495. JSONName: "reqNested",
  2496. IsPacked: prototype.False,
  2497. },
  2498. },
  2499. },
  2500. {
  2501. Name: "PartialRequired",
  2502. Fields: []prototype.Field{
  2503. {
  2504. Name: "req_string",
  2505. Number: 1,
  2506. Cardinality: protoreflect.Required,
  2507. Kind: protoreflect.StringKind,
  2508. JSONName: "reqString",
  2509. IsPacked: prototype.False,
  2510. },
  2511. {
  2512. Name: "opt_string",
  2513. Number: 2,
  2514. Cardinality: protoreflect.Optional,
  2515. Kind: protoreflect.StringKind,
  2516. JSONName: "optString",
  2517. IsPacked: prototype.False,
  2518. },
  2519. },
  2520. },
  2521. {
  2522. Name: "Oneofs",
  2523. Fields: []prototype.Field{
  2524. {
  2525. Name: "str",
  2526. Number: 1,
  2527. Cardinality: protoreflect.Optional,
  2528. Kind: protoreflect.StringKind,
  2529. JSONName: "str",
  2530. OneofName: "union",
  2531. IsPacked: prototype.False,
  2532. },
  2533. {
  2534. Name: "msg",
  2535. Number: 2,
  2536. Cardinality: protoreflect.Optional,
  2537. Kind: protoreflect.MessageKind,
  2538. JSONName: "msg",
  2539. OneofName: "union",
  2540. IsPacked: prototype.False,
  2541. },
  2542. },
  2543. Oneofs: []prototype.Oneof{
  2544. {Name: "union"},
  2545. },
  2546. },
  2547. {
  2548. Name: "Maps",
  2549. Fields: []prototype.Field{
  2550. {
  2551. Name: "int32_to_str",
  2552. Number: 1,
  2553. Cardinality: protoreflect.Repeated,
  2554. Kind: protoreflect.MessageKind,
  2555. JSONName: "int32ToStr",
  2556. IsPacked: prototype.False,
  2557. },
  2558. {
  2559. Name: "sfixed64_to_bool",
  2560. Number: 2,
  2561. Cardinality: protoreflect.Repeated,
  2562. Kind: protoreflect.MessageKind,
  2563. JSONName: "sfixed64ToBool",
  2564. IsPacked: prototype.False,
  2565. },
  2566. {
  2567. Name: "bool_to_uint32",
  2568. Number: 3,
  2569. Cardinality: protoreflect.Repeated,
  2570. Kind: protoreflect.MessageKind,
  2571. JSONName: "boolToUint32",
  2572. IsPacked: prototype.False,
  2573. },
  2574. {
  2575. Name: "uint64_to_enum",
  2576. Number: 4,
  2577. Cardinality: protoreflect.Repeated,
  2578. Kind: protoreflect.MessageKind,
  2579. JSONName: "uint64ToEnum",
  2580. IsPacked: prototype.False,
  2581. },
  2582. {
  2583. Name: "str_to_nested",
  2584. Number: 5,
  2585. Cardinality: protoreflect.Repeated,
  2586. Kind: protoreflect.MessageKind,
  2587. JSONName: "strToNested",
  2588. IsPacked: prototype.False,
  2589. },
  2590. {
  2591. Name: "str_to_oneofs",
  2592. Number: 6,
  2593. Cardinality: protoreflect.Repeated,
  2594. Kind: protoreflect.MessageKind,
  2595. JSONName: "strToOneofs",
  2596. IsPacked: prototype.False,
  2597. },
  2598. },
  2599. },
  2600. {
  2601. Name: "NestedWithRequired",
  2602. Fields: []prototype.Field{
  2603. {
  2604. Name: "req_string",
  2605. Number: 1,
  2606. Cardinality: protoreflect.Required,
  2607. Kind: protoreflect.StringKind,
  2608. JSONName: "reqString",
  2609. IsPacked: prototype.False,
  2610. },
  2611. },
  2612. },
  2613. {
  2614. Name: "IndirectRequired",
  2615. Fields: []prototype.Field{
  2616. {
  2617. Name: "opt_nested",
  2618. Number: 1,
  2619. Cardinality: protoreflect.Optional,
  2620. Kind: protoreflect.MessageKind,
  2621. JSONName: "optNested",
  2622. IsPacked: prototype.False,
  2623. },
  2624. {
  2625. Name: "rpt_nested",
  2626. Number: 2,
  2627. Cardinality: protoreflect.Repeated,
  2628. Kind: protoreflect.MessageKind,
  2629. JSONName: "rptNested",
  2630. IsPacked: prototype.False,
  2631. },
  2632. {
  2633. Name: "str_to_nested",
  2634. Number: 3,
  2635. Cardinality: protoreflect.Repeated,
  2636. Kind: protoreflect.MessageKind,
  2637. JSONName: "strToNested",
  2638. IsPacked: prototype.False,
  2639. },
  2640. },
  2641. },
  2642. {
  2643. Name: "Extensions",
  2644. Fields: []prototype.Field{
  2645. {
  2646. Name: "opt_string",
  2647. Number: 1,
  2648. Cardinality: protoreflect.Optional,
  2649. Kind: protoreflect.StringKind,
  2650. JSONName: "optString",
  2651. IsPacked: prototype.False,
  2652. },
  2653. {
  2654. Name: "opt_bool",
  2655. Number: 101,
  2656. Cardinality: protoreflect.Optional,
  2657. Kind: protoreflect.BoolKind,
  2658. JSONName: "optBool",
  2659. IsPacked: prototype.False,
  2660. },
  2661. {
  2662. Name: "opt_int32",
  2663. Number: 2,
  2664. Cardinality: protoreflect.Optional,
  2665. Kind: protoreflect.Int32Kind,
  2666. JSONName: "optInt32",
  2667. IsPacked: prototype.False,
  2668. },
  2669. },
  2670. ExtensionRanges: [][2]protoreflect.FieldNumber{{20, 101}},
  2671. },
  2672. {
  2673. Name: "ExtensionsContainer",
  2674. },
  2675. {
  2676. Name: "MessageSet",
  2677. ExtensionRanges: [][2]protoreflect.FieldNumber{{4, 2147483647}},
  2678. },
  2679. {
  2680. Name: "MessageSetExtension",
  2681. Fields: []prototype.Field{
  2682. {
  2683. Name: "opt_string",
  2684. Number: 1,
  2685. Cardinality: protoreflect.Optional,
  2686. Kind: protoreflect.StringKind,
  2687. JSONName: "optString",
  2688. IsPacked: prototype.False,
  2689. },
  2690. },
  2691. },
  2692. {
  2693. Name: "KnownTypes",
  2694. Fields: []prototype.Field{
  2695. {
  2696. Name: "opt_bool",
  2697. Number: 1,
  2698. Cardinality: protoreflect.Optional,
  2699. Kind: protoreflect.MessageKind,
  2700. JSONName: "optBool",
  2701. IsPacked: prototype.False,
  2702. },
  2703. {
  2704. Name: "opt_int32",
  2705. Number: 2,
  2706. Cardinality: protoreflect.Optional,
  2707. Kind: protoreflect.MessageKind,
  2708. JSONName: "optInt32",
  2709. IsPacked: prototype.False,
  2710. },
  2711. {
  2712. Name: "opt_int64",
  2713. Number: 3,
  2714. Cardinality: protoreflect.Optional,
  2715. Kind: protoreflect.MessageKind,
  2716. JSONName: "optInt64",
  2717. IsPacked: prototype.False,
  2718. },
  2719. {
  2720. Name: "opt_uint32",
  2721. Number: 4,
  2722. Cardinality: protoreflect.Optional,
  2723. Kind: protoreflect.MessageKind,
  2724. JSONName: "optUint32",
  2725. IsPacked: prototype.False,
  2726. },
  2727. {
  2728. Name: "opt_uint64",
  2729. Number: 5,
  2730. Cardinality: protoreflect.Optional,
  2731. Kind: protoreflect.MessageKind,
  2732. JSONName: "optUint64",
  2733. IsPacked: prototype.False,
  2734. },
  2735. {
  2736. Name: "opt_float",
  2737. Number: 6,
  2738. Cardinality: protoreflect.Optional,
  2739. Kind: protoreflect.MessageKind,
  2740. JSONName: "optFloat",
  2741. IsPacked: prototype.False,
  2742. },
  2743. {
  2744. Name: "opt_double",
  2745. Number: 7,
  2746. Cardinality: protoreflect.Optional,
  2747. Kind: protoreflect.MessageKind,
  2748. JSONName: "optDouble",
  2749. IsPacked: prototype.False,
  2750. },
  2751. {
  2752. Name: "opt_string",
  2753. Number: 8,
  2754. Cardinality: protoreflect.Optional,
  2755. Kind: protoreflect.MessageKind,
  2756. JSONName: "optString",
  2757. IsPacked: prototype.False,
  2758. },
  2759. {
  2760. Name: "opt_bytes",
  2761. Number: 9,
  2762. Cardinality: protoreflect.Optional,
  2763. Kind: protoreflect.MessageKind,
  2764. JSONName: "optBytes",
  2765. IsPacked: prototype.False,
  2766. },
  2767. {
  2768. Name: "opt_duration",
  2769. Number: 20,
  2770. Cardinality: protoreflect.Optional,
  2771. Kind: protoreflect.MessageKind,
  2772. JSONName: "optDuration",
  2773. IsPacked: prototype.False,
  2774. },
  2775. {
  2776. Name: "opt_timestamp",
  2777. Number: 21,
  2778. Cardinality: protoreflect.Optional,
  2779. Kind: protoreflect.MessageKind,
  2780. JSONName: "optTimestamp",
  2781. IsPacked: prototype.False,
  2782. },
  2783. {
  2784. Name: "opt_struct",
  2785. Number: 25,
  2786. Cardinality: protoreflect.Optional,
  2787. Kind: protoreflect.MessageKind,
  2788. JSONName: "optStruct",
  2789. IsPacked: prototype.False,
  2790. },
  2791. {
  2792. Name: "opt_list",
  2793. Number: 26,
  2794. Cardinality: protoreflect.Optional,
  2795. Kind: protoreflect.MessageKind,
  2796. JSONName: "optList",
  2797. IsPacked: prototype.False,
  2798. },
  2799. {
  2800. Name: "opt_value",
  2801. Number: 27,
  2802. Cardinality: protoreflect.Optional,
  2803. Kind: protoreflect.MessageKind,
  2804. JSONName: "optValue",
  2805. IsPacked: prototype.False,
  2806. },
  2807. {
  2808. Name: "opt_empty",
  2809. Number: 30,
  2810. Cardinality: protoreflect.Optional,
  2811. Kind: protoreflect.MessageKind,
  2812. JSONName: "optEmpty",
  2813. IsPacked: prototype.False,
  2814. },
  2815. {
  2816. Name: "opt_any",
  2817. Number: 32,
  2818. Cardinality: protoreflect.Optional,
  2819. Kind: protoreflect.MessageKind,
  2820. JSONName: "optAny",
  2821. IsPacked: prototype.False,
  2822. },
  2823. },
  2824. },
  2825. {
  2826. Name: "OptGroup",
  2827. Fields: []prototype.Field{
  2828. {
  2829. Name: "opt_bool",
  2830. Number: 1,
  2831. Cardinality: protoreflect.Optional,
  2832. Kind: protoreflect.BoolKind,
  2833. JSONName: "optBool",
  2834. IsPacked: prototype.False,
  2835. },
  2836. {
  2837. Name: "opt_string",
  2838. Number: 2,
  2839. Cardinality: protoreflect.Optional,
  2840. Kind: protoreflect.StringKind,
  2841. JSONName: "optString",
  2842. IsPacked: prototype.False,
  2843. },
  2844. {
  2845. Name: "opt_nested",
  2846. Number: 3,
  2847. Cardinality: protoreflect.Optional,
  2848. Kind: protoreflect.MessageKind,
  2849. JSONName: "optNested",
  2850. IsPacked: prototype.False,
  2851. },
  2852. {
  2853. Name: "optnestedgroup",
  2854. Number: 4,
  2855. Cardinality: protoreflect.Optional,
  2856. Kind: protoreflect.GroupKind,
  2857. JSONName: "optnestedgroup",
  2858. IsPacked: prototype.False,
  2859. },
  2860. },
  2861. },
  2862. {
  2863. Name: "RptGroup",
  2864. Fields: []prototype.Field{
  2865. {
  2866. Name: "rpt_bool",
  2867. Number: 1,
  2868. Cardinality: protoreflect.Repeated,
  2869. Kind: protoreflect.BoolKind,
  2870. JSONName: "rptBool",
  2871. IsPacked: prototype.False,
  2872. },
  2873. },
  2874. },
  2875. {
  2876. Name: "OptNestedGroup",
  2877. Fields: []prototype.Field{
  2878. {
  2879. Name: "opt_enum",
  2880. Number: 1,
  2881. Cardinality: protoreflect.Optional,
  2882. Kind: protoreflect.EnumKind,
  2883. JSONName: "optEnum",
  2884. IsPacked: prototype.False,
  2885. },
  2886. },
  2887. },
  2888. {
  2889. Name: "Int32ToStrEntry",
  2890. Fields: []prototype.Field{
  2891. {
  2892. Name: "key",
  2893. Number: 1,
  2894. Cardinality: protoreflect.Optional,
  2895. Kind: protoreflect.Int32Kind,
  2896. JSONName: "key",
  2897. IsPacked: prototype.False,
  2898. },
  2899. {
  2900. Name: "value",
  2901. Number: 2,
  2902. Cardinality: protoreflect.Optional,
  2903. Kind: protoreflect.StringKind,
  2904. JSONName: "value",
  2905. IsPacked: prototype.False,
  2906. },
  2907. },
  2908. IsMapEntry: true,
  2909. },
  2910. {
  2911. Name: "Sfixed64ToBoolEntry",
  2912. Fields: []prototype.Field{
  2913. {
  2914. Name: "key",
  2915. Number: 1,
  2916. Cardinality: protoreflect.Optional,
  2917. Kind: protoreflect.Sfixed64Kind,
  2918. JSONName: "key",
  2919. IsPacked: prototype.False,
  2920. },
  2921. {
  2922. Name: "value",
  2923. Number: 2,
  2924. Cardinality: protoreflect.Optional,
  2925. Kind: protoreflect.BoolKind,
  2926. JSONName: "value",
  2927. IsPacked: prototype.False,
  2928. },
  2929. },
  2930. IsMapEntry: true,
  2931. },
  2932. {
  2933. Name: "BoolToUint32Entry",
  2934. Fields: []prototype.Field{
  2935. {
  2936. Name: "key",
  2937. Number: 1,
  2938. Cardinality: protoreflect.Optional,
  2939. Kind: protoreflect.BoolKind,
  2940. JSONName: "key",
  2941. IsPacked: prototype.False,
  2942. },
  2943. {
  2944. Name: "value",
  2945. Number: 2,
  2946. Cardinality: protoreflect.Optional,
  2947. Kind: protoreflect.Uint32Kind,
  2948. JSONName: "value",
  2949. IsPacked: prototype.False,
  2950. },
  2951. },
  2952. IsMapEntry: true,
  2953. },
  2954. {
  2955. Name: "Uint64ToEnumEntry",
  2956. Fields: []prototype.Field{
  2957. {
  2958. Name: "key",
  2959. Number: 1,
  2960. Cardinality: protoreflect.Optional,
  2961. Kind: protoreflect.Uint64Kind,
  2962. JSONName: "key",
  2963. IsPacked: prototype.False,
  2964. },
  2965. {
  2966. Name: "value",
  2967. Number: 2,
  2968. Cardinality: protoreflect.Optional,
  2969. Kind: protoreflect.EnumKind,
  2970. JSONName: "value",
  2971. IsPacked: prototype.False,
  2972. },
  2973. },
  2974. IsMapEntry: true,
  2975. },
  2976. {
  2977. Name: "StrToNestedEntry",
  2978. Fields: []prototype.Field{
  2979. {
  2980. Name: "key",
  2981. Number: 1,
  2982. Cardinality: protoreflect.Optional,
  2983. Kind: protoreflect.StringKind,
  2984. JSONName: "key",
  2985. IsPacked: prototype.False,
  2986. },
  2987. {
  2988. Name: "value",
  2989. Number: 2,
  2990. Cardinality: protoreflect.Optional,
  2991. Kind: protoreflect.MessageKind,
  2992. JSONName: "value",
  2993. IsPacked: prototype.False,
  2994. },
  2995. },
  2996. IsMapEntry: true,
  2997. },
  2998. {
  2999. Name: "StrToOneofsEntry",
  3000. Fields: []prototype.Field{
  3001. {
  3002. Name: "key",
  3003. Number: 1,
  3004. Cardinality: protoreflect.Optional,
  3005. Kind: protoreflect.StringKind,
  3006. JSONName: "key",
  3007. IsPacked: prototype.False,
  3008. },
  3009. {
  3010. Name: "value",
  3011. Number: 2,
  3012. Cardinality: protoreflect.Optional,
  3013. Kind: protoreflect.MessageKind,
  3014. JSONName: "value",
  3015. IsPacked: prototype.False,
  3016. },
  3017. },
  3018. IsMapEntry: true,
  3019. },
  3020. {
  3021. Name: "StrToNestedEntry",
  3022. Fields: []prototype.Field{
  3023. {
  3024. Name: "key",
  3025. Number: 1,
  3026. Cardinality: protoreflect.Optional,
  3027. Kind: protoreflect.StringKind,
  3028. JSONName: "key",
  3029. IsPacked: prototype.False,
  3030. },
  3031. {
  3032. Name: "value",
  3033. Number: 2,
  3034. Cardinality: protoreflect.Optional,
  3035. Kind: protoreflect.MessageKind,
  3036. JSONName: "value",
  3037. IsPacked: prototype.False,
  3038. },
  3039. },
  3040. IsMapEntry: true,
  3041. },
  3042. }