test.pb.go 181 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: test_proto/test.proto
  3. package test_proto
  4. import (
  5. fmt "fmt"
  6. proto "github.com/golang/protobuf/proto"
  7. math "math"
  8. )
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  18. type FOO int32
  19. const (
  20. FOO_FOO1 FOO = 1
  21. )
  22. var FOO_name = map[int32]string{
  23. 1: "FOO1",
  24. }
  25. var FOO_value = map[string]int32{
  26. "FOO1": 1,
  27. }
  28. func (x FOO) Enum() *FOO {
  29. p := new(FOO)
  30. *p = x
  31. return p
  32. }
  33. func (x FOO) String() string {
  34. return proto.EnumName(FOO_name, int32(x))
  35. }
  36. func (x *FOO) UnmarshalJSON(data []byte) error {
  37. value, err := proto.UnmarshalJSONEnum(FOO_value, data, "FOO")
  38. if err != nil {
  39. return err
  40. }
  41. *x = FOO(value)
  42. return nil
  43. }
  44. func (FOO) EnumDescriptor() ([]byte, []int) {
  45. return fileDescriptor_8ca34d01332f1402, []int{0}
  46. }
  47. // An enum, for completeness.
  48. type GoTest_KIND int32
  49. const (
  50. GoTest_VOID GoTest_KIND = 0
  51. // Basic types
  52. GoTest_BOOL GoTest_KIND = 1
  53. GoTest_BYTES GoTest_KIND = 2
  54. GoTest_FINGERPRINT GoTest_KIND = 3
  55. GoTest_FLOAT GoTest_KIND = 4
  56. GoTest_INT GoTest_KIND = 5
  57. GoTest_STRING GoTest_KIND = 6
  58. GoTest_TIME GoTest_KIND = 7
  59. // Groupings
  60. GoTest_TUPLE GoTest_KIND = 8
  61. GoTest_ARRAY GoTest_KIND = 9
  62. GoTest_MAP GoTest_KIND = 10
  63. // Table types
  64. GoTest_TABLE GoTest_KIND = 11
  65. // Functions
  66. GoTest_FUNCTION GoTest_KIND = 12
  67. )
  68. var GoTest_KIND_name = map[int32]string{
  69. 0: "VOID",
  70. 1: "BOOL",
  71. 2: "BYTES",
  72. 3: "FINGERPRINT",
  73. 4: "FLOAT",
  74. 5: "INT",
  75. 6: "STRING",
  76. 7: "TIME",
  77. 8: "TUPLE",
  78. 9: "ARRAY",
  79. 10: "MAP",
  80. 11: "TABLE",
  81. 12: "FUNCTION",
  82. }
  83. var GoTest_KIND_value = map[string]int32{
  84. "VOID": 0,
  85. "BOOL": 1,
  86. "BYTES": 2,
  87. "FINGERPRINT": 3,
  88. "FLOAT": 4,
  89. "INT": 5,
  90. "STRING": 6,
  91. "TIME": 7,
  92. "TUPLE": 8,
  93. "ARRAY": 9,
  94. "MAP": 10,
  95. "TABLE": 11,
  96. "FUNCTION": 12,
  97. }
  98. func (x GoTest_KIND) Enum() *GoTest_KIND {
  99. p := new(GoTest_KIND)
  100. *p = x
  101. return p
  102. }
  103. func (x GoTest_KIND) String() string {
  104. return proto.EnumName(GoTest_KIND_name, int32(x))
  105. }
  106. func (x *GoTest_KIND) UnmarshalJSON(data []byte) error {
  107. value, err := proto.UnmarshalJSONEnum(GoTest_KIND_value, data, "GoTest_KIND")
  108. if err != nil {
  109. return err
  110. }
  111. *x = GoTest_KIND(value)
  112. return nil
  113. }
  114. func (GoTest_KIND) EnumDescriptor() ([]byte, []int) {
  115. return fileDescriptor_8ca34d01332f1402, []int{2, 0}
  116. }
  117. type MyMessage_Color int32
  118. const (
  119. MyMessage_RED MyMessage_Color = 0
  120. MyMessage_GREEN MyMessage_Color = 1
  121. MyMessage_BLUE MyMessage_Color = 2
  122. )
  123. var MyMessage_Color_name = map[int32]string{
  124. 0: "RED",
  125. 1: "GREEN",
  126. 2: "BLUE",
  127. }
  128. var MyMessage_Color_value = map[string]int32{
  129. "RED": 0,
  130. "GREEN": 1,
  131. "BLUE": 2,
  132. }
  133. func (x MyMessage_Color) Enum() *MyMessage_Color {
  134. p := new(MyMessage_Color)
  135. *p = x
  136. return p
  137. }
  138. func (x MyMessage_Color) String() string {
  139. return proto.EnumName(MyMessage_Color_name, int32(x))
  140. }
  141. func (x *MyMessage_Color) UnmarshalJSON(data []byte) error {
  142. value, err := proto.UnmarshalJSONEnum(MyMessage_Color_value, data, "MyMessage_Color")
  143. if err != nil {
  144. return err
  145. }
  146. *x = MyMessage_Color(value)
  147. return nil
  148. }
  149. func (MyMessage_Color) EnumDescriptor() ([]byte, []int) {
  150. return fileDescriptor_8ca34d01332f1402, []int{13, 0}
  151. }
  152. type DefaultsMessage_DefaultsEnum int32
  153. const (
  154. DefaultsMessage_ZERO DefaultsMessage_DefaultsEnum = 0
  155. DefaultsMessage_ONE DefaultsMessage_DefaultsEnum = 1
  156. DefaultsMessage_TWO DefaultsMessage_DefaultsEnum = 2
  157. )
  158. var DefaultsMessage_DefaultsEnum_name = map[int32]string{
  159. 0: "ZERO",
  160. 1: "ONE",
  161. 2: "TWO",
  162. }
  163. var DefaultsMessage_DefaultsEnum_value = map[string]int32{
  164. "ZERO": 0,
  165. "ONE": 1,
  166. "TWO": 2,
  167. }
  168. func (x DefaultsMessage_DefaultsEnum) Enum() *DefaultsMessage_DefaultsEnum {
  169. p := new(DefaultsMessage_DefaultsEnum)
  170. *p = x
  171. return p
  172. }
  173. func (x DefaultsMessage_DefaultsEnum) String() string {
  174. return proto.EnumName(DefaultsMessage_DefaultsEnum_name, int32(x))
  175. }
  176. func (x *DefaultsMessage_DefaultsEnum) UnmarshalJSON(data []byte) error {
  177. value, err := proto.UnmarshalJSONEnum(DefaultsMessage_DefaultsEnum_value, data, "DefaultsMessage_DefaultsEnum")
  178. if err != nil {
  179. return err
  180. }
  181. *x = DefaultsMessage_DefaultsEnum(value)
  182. return nil
  183. }
  184. func (DefaultsMessage_DefaultsEnum) EnumDescriptor() ([]byte, []int) {
  185. return fileDescriptor_8ca34d01332f1402, []int{16, 0}
  186. }
  187. type Defaults_Color int32
  188. const (
  189. Defaults_RED Defaults_Color = 0
  190. Defaults_GREEN Defaults_Color = 1
  191. Defaults_BLUE Defaults_Color = 2
  192. )
  193. var Defaults_Color_name = map[int32]string{
  194. 0: "RED",
  195. 1: "GREEN",
  196. 2: "BLUE",
  197. }
  198. var Defaults_Color_value = map[string]int32{
  199. "RED": 0,
  200. "GREEN": 1,
  201. "BLUE": 2,
  202. }
  203. func (x Defaults_Color) Enum() *Defaults_Color {
  204. p := new(Defaults_Color)
  205. *p = x
  206. return p
  207. }
  208. func (x Defaults_Color) String() string {
  209. return proto.EnumName(Defaults_Color_name, int32(x))
  210. }
  211. func (x *Defaults_Color) UnmarshalJSON(data []byte) error {
  212. value, err := proto.UnmarshalJSONEnum(Defaults_Color_value, data, "Defaults_Color")
  213. if err != nil {
  214. return err
  215. }
  216. *x = Defaults_Color(value)
  217. return nil
  218. }
  219. func (Defaults_Color) EnumDescriptor() ([]byte, []int) {
  220. return fileDescriptor_8ca34d01332f1402, []int{21, 0}
  221. }
  222. type RepeatedEnum_Color int32
  223. const (
  224. RepeatedEnum_RED RepeatedEnum_Color = 1
  225. )
  226. var RepeatedEnum_Color_name = map[int32]string{
  227. 1: "RED",
  228. }
  229. var RepeatedEnum_Color_value = map[string]int32{
  230. "RED": 1,
  231. }
  232. func (x RepeatedEnum_Color) Enum() *RepeatedEnum_Color {
  233. p := new(RepeatedEnum_Color)
  234. *p = x
  235. return p
  236. }
  237. func (x RepeatedEnum_Color) String() string {
  238. return proto.EnumName(RepeatedEnum_Color_name, int32(x))
  239. }
  240. func (x *RepeatedEnum_Color) UnmarshalJSON(data []byte) error {
  241. value, err := proto.UnmarshalJSONEnum(RepeatedEnum_Color_value, data, "RepeatedEnum_Color")
  242. if err != nil {
  243. return err
  244. }
  245. *x = RepeatedEnum_Color(value)
  246. return nil
  247. }
  248. func (RepeatedEnum_Color) EnumDescriptor() ([]byte, []int) {
  249. return fileDescriptor_8ca34d01332f1402, []int{23, 0}
  250. }
  251. type GoEnum struct {
  252. Foo *FOO `protobuf:"varint,1,req,name=foo,enum=test_proto.FOO" json:"foo,omitempty"`
  253. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  254. XXX_unrecognized []byte `json:"-"`
  255. XXX_sizecache int32 `json:"-"`
  256. }
  257. func (m *GoEnum) Reset() { *m = GoEnum{} }
  258. func (m *GoEnum) String() string { return proto.CompactTextString(m) }
  259. func (*GoEnum) ProtoMessage() {}
  260. func (*GoEnum) Descriptor() ([]byte, []int) {
  261. return fileDescriptor_8ca34d01332f1402, []int{0}
  262. }
  263. func (m *GoEnum) XXX_Unmarshal(b []byte) error {
  264. return xxx_messageInfo_GoEnum.Unmarshal(m, b)
  265. }
  266. func (m *GoEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  267. return xxx_messageInfo_GoEnum.Marshal(b, m, deterministic)
  268. }
  269. func (m *GoEnum) XXX_Merge(src proto.Message) {
  270. xxx_messageInfo_GoEnum.Merge(m, src)
  271. }
  272. func (m *GoEnum) XXX_Size() int {
  273. return xxx_messageInfo_GoEnum.Size(m)
  274. }
  275. func (m *GoEnum) XXX_DiscardUnknown() {
  276. xxx_messageInfo_GoEnum.DiscardUnknown(m)
  277. }
  278. var xxx_messageInfo_GoEnum proto.InternalMessageInfo
  279. func (m *GoEnum) GetFoo() FOO {
  280. if m != nil && m.Foo != nil {
  281. return *m.Foo
  282. }
  283. return FOO_FOO1
  284. }
  285. type GoTestField struct {
  286. Label *string `protobuf:"bytes,1,req,name=Label" json:"Label,omitempty"`
  287. Type *string `protobuf:"bytes,2,req,name=Type" json:"Type,omitempty"`
  288. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  289. XXX_unrecognized []byte `json:"-"`
  290. XXX_sizecache int32 `json:"-"`
  291. }
  292. func (m *GoTestField) Reset() { *m = GoTestField{} }
  293. func (m *GoTestField) String() string { return proto.CompactTextString(m) }
  294. func (*GoTestField) ProtoMessage() {}
  295. func (*GoTestField) Descriptor() ([]byte, []int) {
  296. return fileDescriptor_8ca34d01332f1402, []int{1}
  297. }
  298. func (m *GoTestField) XXX_Unmarshal(b []byte) error {
  299. return xxx_messageInfo_GoTestField.Unmarshal(m, b)
  300. }
  301. func (m *GoTestField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  302. return xxx_messageInfo_GoTestField.Marshal(b, m, deterministic)
  303. }
  304. func (m *GoTestField) XXX_Merge(src proto.Message) {
  305. xxx_messageInfo_GoTestField.Merge(m, src)
  306. }
  307. func (m *GoTestField) XXX_Size() int {
  308. return xxx_messageInfo_GoTestField.Size(m)
  309. }
  310. func (m *GoTestField) XXX_DiscardUnknown() {
  311. xxx_messageInfo_GoTestField.DiscardUnknown(m)
  312. }
  313. var xxx_messageInfo_GoTestField proto.InternalMessageInfo
  314. func (m *GoTestField) GetLabel() string {
  315. if m != nil && m.Label != nil {
  316. return *m.Label
  317. }
  318. return ""
  319. }
  320. func (m *GoTestField) GetType() string {
  321. if m != nil && m.Type != nil {
  322. return *m.Type
  323. }
  324. return ""
  325. }
  326. type GoTest struct {
  327. // Some typical parameters
  328. Kind *GoTest_KIND `protobuf:"varint,1,req,name=Kind,enum=test_proto.GoTest_KIND" json:"Kind,omitempty"`
  329. Table *string `protobuf:"bytes,2,opt,name=Table" json:"Table,omitempty"`
  330. Param *int32 `protobuf:"varint,3,opt,name=Param" json:"Param,omitempty"`
  331. // Required, repeated and optional foreign fields.
  332. RequiredField *GoTestField `protobuf:"bytes,4,req,name=RequiredField" json:"RequiredField,omitempty"`
  333. RepeatedField []*GoTestField `protobuf:"bytes,5,rep,name=RepeatedField" json:"RepeatedField,omitempty"`
  334. OptionalField *GoTestField `protobuf:"bytes,6,opt,name=OptionalField" json:"OptionalField,omitempty"`
  335. // Required fields of all basic types
  336. F_BoolRequired *bool `protobuf:"varint,10,req,name=F_Bool_required,json=FBoolRequired" json:"F_Bool_required,omitempty"`
  337. F_Int32Required *int32 `protobuf:"varint,11,req,name=F_Int32_required,json=FInt32Required" json:"F_Int32_required,omitempty"`
  338. F_Int64Required *int64 `protobuf:"varint,12,req,name=F_Int64_required,json=FInt64Required" json:"F_Int64_required,omitempty"`
  339. F_Fixed32Required *uint32 `protobuf:"fixed32,13,req,name=F_Fixed32_required,json=FFixed32Required" json:"F_Fixed32_required,omitempty"`
  340. F_Fixed64Required *uint64 `protobuf:"fixed64,14,req,name=F_Fixed64_required,json=FFixed64Required" json:"F_Fixed64_required,omitempty"`
  341. F_Uint32Required *uint32 `protobuf:"varint,15,req,name=F_Uint32_required,json=FUint32Required" json:"F_Uint32_required,omitempty"`
  342. F_Uint64Required *uint64 `protobuf:"varint,16,req,name=F_Uint64_required,json=FUint64Required" json:"F_Uint64_required,omitempty"`
  343. F_FloatRequired *float32 `protobuf:"fixed32,17,req,name=F_Float_required,json=FFloatRequired" json:"F_Float_required,omitempty"`
  344. F_DoubleRequired *float64 `protobuf:"fixed64,18,req,name=F_Double_required,json=FDoubleRequired" json:"F_Double_required,omitempty"`
  345. F_StringRequired *string `protobuf:"bytes,19,req,name=F_String_required,json=FStringRequired" json:"F_String_required,omitempty"`
  346. F_BytesRequired []byte `protobuf:"bytes,101,req,name=F_Bytes_required,json=FBytesRequired" json:"F_Bytes_required,omitempty"`
  347. F_Sint32Required *int32 `protobuf:"zigzag32,102,req,name=F_Sint32_required,json=FSint32Required" json:"F_Sint32_required,omitempty"`
  348. F_Sint64Required *int64 `protobuf:"zigzag64,103,req,name=F_Sint64_required,json=FSint64Required" json:"F_Sint64_required,omitempty"`
  349. F_Sfixed32Required *int32 `protobuf:"fixed32,104,req,name=F_Sfixed32_required,json=FSfixed32Required" json:"F_Sfixed32_required,omitempty"`
  350. F_Sfixed64Required *int64 `protobuf:"fixed64,105,req,name=F_Sfixed64_required,json=FSfixed64Required" json:"F_Sfixed64_required,omitempty"`
  351. // Repeated fields of all basic types
  352. F_BoolRepeated []bool `protobuf:"varint,20,rep,name=F_Bool_repeated,json=FBoolRepeated" json:"F_Bool_repeated,omitempty"`
  353. F_Int32Repeated []int32 `protobuf:"varint,21,rep,name=F_Int32_repeated,json=FInt32Repeated" json:"F_Int32_repeated,omitempty"`
  354. F_Int64Repeated []int64 `protobuf:"varint,22,rep,name=F_Int64_repeated,json=FInt64Repeated" json:"F_Int64_repeated,omitempty"`
  355. F_Fixed32Repeated []uint32 `protobuf:"fixed32,23,rep,name=F_Fixed32_repeated,json=FFixed32Repeated" json:"F_Fixed32_repeated,omitempty"`
  356. F_Fixed64Repeated []uint64 `protobuf:"fixed64,24,rep,name=F_Fixed64_repeated,json=FFixed64Repeated" json:"F_Fixed64_repeated,omitempty"`
  357. F_Uint32Repeated []uint32 `protobuf:"varint,25,rep,name=F_Uint32_repeated,json=FUint32Repeated" json:"F_Uint32_repeated,omitempty"`
  358. F_Uint64Repeated []uint64 `protobuf:"varint,26,rep,name=F_Uint64_repeated,json=FUint64Repeated" json:"F_Uint64_repeated,omitempty"`
  359. F_FloatRepeated []float32 `protobuf:"fixed32,27,rep,name=F_Float_repeated,json=FFloatRepeated" json:"F_Float_repeated,omitempty"`
  360. F_DoubleRepeated []float64 `protobuf:"fixed64,28,rep,name=F_Double_repeated,json=FDoubleRepeated" json:"F_Double_repeated,omitempty"`
  361. F_StringRepeated []string `protobuf:"bytes,29,rep,name=F_String_repeated,json=FStringRepeated" json:"F_String_repeated,omitempty"`
  362. F_BytesRepeated [][]byte `protobuf:"bytes,201,rep,name=F_Bytes_repeated,json=FBytesRepeated" json:"F_Bytes_repeated,omitempty"`
  363. F_Sint32Repeated []int32 `protobuf:"zigzag32,202,rep,name=F_Sint32_repeated,json=FSint32Repeated" json:"F_Sint32_repeated,omitempty"`
  364. F_Sint64Repeated []int64 `protobuf:"zigzag64,203,rep,name=F_Sint64_repeated,json=FSint64Repeated" json:"F_Sint64_repeated,omitempty"`
  365. F_Sfixed32Repeated []int32 `protobuf:"fixed32,204,rep,name=F_Sfixed32_repeated,json=FSfixed32Repeated" json:"F_Sfixed32_repeated,omitempty"`
  366. F_Sfixed64Repeated []int64 `protobuf:"fixed64,205,rep,name=F_Sfixed64_repeated,json=FSfixed64Repeated" json:"F_Sfixed64_repeated,omitempty"`
  367. // Optional fields of all basic types
  368. F_BoolOptional *bool `protobuf:"varint,30,opt,name=F_Bool_optional,json=FBoolOptional" json:"F_Bool_optional,omitempty"`
  369. F_Int32Optional *int32 `protobuf:"varint,31,opt,name=F_Int32_optional,json=FInt32Optional" json:"F_Int32_optional,omitempty"`
  370. F_Int64Optional *int64 `protobuf:"varint,32,opt,name=F_Int64_optional,json=FInt64Optional" json:"F_Int64_optional,omitempty"`
  371. F_Fixed32Optional *uint32 `protobuf:"fixed32,33,opt,name=F_Fixed32_optional,json=FFixed32Optional" json:"F_Fixed32_optional,omitempty"`
  372. F_Fixed64Optional *uint64 `protobuf:"fixed64,34,opt,name=F_Fixed64_optional,json=FFixed64Optional" json:"F_Fixed64_optional,omitempty"`
  373. F_Uint32Optional *uint32 `protobuf:"varint,35,opt,name=F_Uint32_optional,json=FUint32Optional" json:"F_Uint32_optional,omitempty"`
  374. F_Uint64Optional *uint64 `protobuf:"varint,36,opt,name=F_Uint64_optional,json=FUint64Optional" json:"F_Uint64_optional,omitempty"`
  375. F_FloatOptional *float32 `protobuf:"fixed32,37,opt,name=F_Float_optional,json=FFloatOptional" json:"F_Float_optional,omitempty"`
  376. F_DoubleOptional *float64 `protobuf:"fixed64,38,opt,name=F_Double_optional,json=FDoubleOptional" json:"F_Double_optional,omitempty"`
  377. F_StringOptional *string `protobuf:"bytes,39,opt,name=F_String_optional,json=FStringOptional" json:"F_String_optional,omitempty"`
  378. F_BytesOptional []byte `protobuf:"bytes,301,opt,name=F_Bytes_optional,json=FBytesOptional" json:"F_Bytes_optional,omitempty"`
  379. F_Sint32Optional *int32 `protobuf:"zigzag32,302,opt,name=F_Sint32_optional,json=FSint32Optional" json:"F_Sint32_optional,omitempty"`
  380. F_Sint64Optional *int64 `protobuf:"zigzag64,303,opt,name=F_Sint64_optional,json=FSint64Optional" json:"F_Sint64_optional,omitempty"`
  381. F_Sfixed32Optional *int32 `protobuf:"fixed32,304,opt,name=F_Sfixed32_optional,json=FSfixed32Optional" json:"F_Sfixed32_optional,omitempty"`
  382. F_Sfixed64Optional *int64 `protobuf:"fixed64,305,opt,name=F_Sfixed64_optional,json=FSfixed64Optional" json:"F_Sfixed64_optional,omitempty"`
  383. // Default-valued fields of all basic types
  384. F_BoolDefaulted *bool `protobuf:"varint,40,opt,name=F_Bool_defaulted,json=FBoolDefaulted,def=1" json:"F_Bool_defaulted,omitempty"`
  385. F_Int32Defaulted *int32 `protobuf:"varint,41,opt,name=F_Int32_defaulted,json=FInt32Defaulted,def=32" json:"F_Int32_defaulted,omitempty"`
  386. F_Int64Defaulted *int64 `protobuf:"varint,42,opt,name=F_Int64_defaulted,json=FInt64Defaulted,def=64" json:"F_Int64_defaulted,omitempty"`
  387. F_Fixed32Defaulted *uint32 `protobuf:"fixed32,43,opt,name=F_Fixed32_defaulted,json=FFixed32Defaulted,def=320" json:"F_Fixed32_defaulted,omitempty"`
  388. F_Fixed64Defaulted *uint64 `protobuf:"fixed64,44,opt,name=F_Fixed64_defaulted,json=FFixed64Defaulted,def=640" json:"F_Fixed64_defaulted,omitempty"`
  389. F_Uint32Defaulted *uint32 `protobuf:"varint,45,opt,name=F_Uint32_defaulted,json=FUint32Defaulted,def=3200" json:"F_Uint32_defaulted,omitempty"`
  390. F_Uint64Defaulted *uint64 `protobuf:"varint,46,opt,name=F_Uint64_defaulted,json=FUint64Defaulted,def=6400" json:"F_Uint64_defaulted,omitempty"`
  391. F_FloatDefaulted *float32 `protobuf:"fixed32,47,opt,name=F_Float_defaulted,json=FFloatDefaulted,def=314159" json:"F_Float_defaulted,omitempty"`
  392. F_DoubleDefaulted *float64 `protobuf:"fixed64,48,opt,name=F_Double_defaulted,json=FDoubleDefaulted,def=271828" json:"F_Double_defaulted,omitempty"`
  393. F_StringDefaulted *string `protobuf:"bytes,49,opt,name=F_String_defaulted,json=FStringDefaulted,def=hello, \"world!\"\n" json:"F_String_defaulted,omitempty"`
  394. F_BytesDefaulted []byte `protobuf:"bytes,401,opt,name=F_Bytes_defaulted,json=FBytesDefaulted,def=Bignose" json:"F_Bytes_defaulted,omitempty"`
  395. F_Sint32Defaulted *int32 `protobuf:"zigzag32,402,opt,name=F_Sint32_defaulted,json=FSint32Defaulted,def=-32" json:"F_Sint32_defaulted,omitempty"`
  396. F_Sint64Defaulted *int64 `protobuf:"zigzag64,403,opt,name=F_Sint64_defaulted,json=FSint64Defaulted,def=-64" json:"F_Sint64_defaulted,omitempty"`
  397. F_Sfixed32Defaulted *int32 `protobuf:"fixed32,404,opt,name=F_Sfixed32_defaulted,json=FSfixed32Defaulted,def=-32" json:"F_Sfixed32_defaulted,omitempty"`
  398. F_Sfixed64Defaulted *int64 `protobuf:"fixed64,405,opt,name=F_Sfixed64_defaulted,json=FSfixed64Defaulted,def=-64" json:"F_Sfixed64_defaulted,omitempty"`
  399. // Packed repeated fields (no string or bytes).
  400. F_BoolRepeatedPacked []bool `protobuf:"varint,50,rep,packed,name=F_Bool_repeated_packed,json=FBoolRepeatedPacked" json:"F_Bool_repeated_packed,omitempty"`
  401. F_Int32RepeatedPacked []int32 `protobuf:"varint,51,rep,packed,name=F_Int32_repeated_packed,json=FInt32RepeatedPacked" json:"F_Int32_repeated_packed,omitempty"`
  402. F_Int64RepeatedPacked []int64 `protobuf:"varint,52,rep,packed,name=F_Int64_repeated_packed,json=FInt64RepeatedPacked" json:"F_Int64_repeated_packed,omitempty"`
  403. F_Fixed32RepeatedPacked []uint32 `protobuf:"fixed32,53,rep,packed,name=F_Fixed32_repeated_packed,json=FFixed32RepeatedPacked" json:"F_Fixed32_repeated_packed,omitempty"`
  404. F_Fixed64RepeatedPacked []uint64 `protobuf:"fixed64,54,rep,packed,name=F_Fixed64_repeated_packed,json=FFixed64RepeatedPacked" json:"F_Fixed64_repeated_packed,omitempty"`
  405. F_Uint32RepeatedPacked []uint32 `protobuf:"varint,55,rep,packed,name=F_Uint32_repeated_packed,json=FUint32RepeatedPacked" json:"F_Uint32_repeated_packed,omitempty"`
  406. F_Uint64RepeatedPacked []uint64 `protobuf:"varint,56,rep,packed,name=F_Uint64_repeated_packed,json=FUint64RepeatedPacked" json:"F_Uint64_repeated_packed,omitempty"`
  407. F_FloatRepeatedPacked []float32 `protobuf:"fixed32,57,rep,packed,name=F_Float_repeated_packed,json=FFloatRepeatedPacked" json:"F_Float_repeated_packed,omitempty"`
  408. F_DoubleRepeatedPacked []float64 `protobuf:"fixed64,58,rep,packed,name=F_Double_repeated_packed,json=FDoubleRepeatedPacked" json:"F_Double_repeated_packed,omitempty"`
  409. F_Sint32RepeatedPacked []int32 `protobuf:"zigzag32,502,rep,packed,name=F_Sint32_repeated_packed,json=FSint32RepeatedPacked" json:"F_Sint32_repeated_packed,omitempty"`
  410. F_Sint64RepeatedPacked []int64 `protobuf:"zigzag64,503,rep,packed,name=F_Sint64_repeated_packed,json=FSint64RepeatedPacked" json:"F_Sint64_repeated_packed,omitempty"`
  411. F_Sfixed32RepeatedPacked []int32 `protobuf:"fixed32,504,rep,packed,name=F_Sfixed32_repeated_packed,json=FSfixed32RepeatedPacked" json:"F_Sfixed32_repeated_packed,omitempty"`
  412. F_Sfixed64RepeatedPacked []int64 `protobuf:"fixed64,505,rep,packed,name=F_Sfixed64_repeated_packed,json=FSfixed64RepeatedPacked" json:"F_Sfixed64_repeated_packed,omitempty"`
  413. Requiredgroup *GoTest_RequiredGroup `protobuf:"group,70,req,name=RequiredGroup,json=requiredgroup" json:"requiredgroup,omitempty"`
  414. Repeatedgroup []*GoTest_RepeatedGroup `protobuf:"group,80,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
  415. Optionalgroup *GoTest_OptionalGroup `protobuf:"group,90,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
  416. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  417. XXX_unrecognized []byte `json:"-"`
  418. XXX_sizecache int32 `json:"-"`
  419. }
  420. func (m *GoTest) Reset() { *m = GoTest{} }
  421. func (m *GoTest) String() string { return proto.CompactTextString(m) }
  422. func (*GoTest) ProtoMessage() {}
  423. func (*GoTest) Descriptor() ([]byte, []int) {
  424. return fileDescriptor_8ca34d01332f1402, []int{2}
  425. }
  426. func (m *GoTest) XXX_Unmarshal(b []byte) error {
  427. return xxx_messageInfo_GoTest.Unmarshal(m, b)
  428. }
  429. func (m *GoTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  430. return xxx_messageInfo_GoTest.Marshal(b, m, deterministic)
  431. }
  432. func (m *GoTest) XXX_Merge(src proto.Message) {
  433. xxx_messageInfo_GoTest.Merge(m, src)
  434. }
  435. func (m *GoTest) XXX_Size() int {
  436. return xxx_messageInfo_GoTest.Size(m)
  437. }
  438. func (m *GoTest) XXX_DiscardUnknown() {
  439. xxx_messageInfo_GoTest.DiscardUnknown(m)
  440. }
  441. var xxx_messageInfo_GoTest proto.InternalMessageInfo
  442. const Default_GoTest_F_BoolDefaulted bool = true
  443. const Default_GoTest_F_Int32Defaulted int32 = 32
  444. const Default_GoTest_F_Int64Defaulted int64 = 64
  445. const Default_GoTest_F_Fixed32Defaulted uint32 = 320
  446. const Default_GoTest_F_Fixed64Defaulted uint64 = 640
  447. const Default_GoTest_F_Uint32Defaulted uint32 = 3200
  448. const Default_GoTest_F_Uint64Defaulted uint64 = 6400
  449. const Default_GoTest_F_FloatDefaulted float32 = 314159
  450. const Default_GoTest_F_DoubleDefaulted float64 = 271828
  451. const Default_GoTest_F_StringDefaulted string = "hello, \"world!\"\n"
  452. var Default_GoTest_F_BytesDefaulted []byte = []byte("Bignose")
  453. const Default_GoTest_F_Sint32Defaulted int32 = -32
  454. const Default_GoTest_F_Sint64Defaulted int64 = -64
  455. const Default_GoTest_F_Sfixed32Defaulted int32 = -32
  456. const Default_GoTest_F_Sfixed64Defaulted int64 = -64
  457. func (m *GoTest) GetKind() GoTest_KIND {
  458. if m != nil && m.Kind != nil {
  459. return *m.Kind
  460. }
  461. return GoTest_VOID
  462. }
  463. func (m *GoTest) GetTable() string {
  464. if m != nil && m.Table != nil {
  465. return *m.Table
  466. }
  467. return ""
  468. }
  469. func (m *GoTest) GetParam() int32 {
  470. if m != nil && m.Param != nil {
  471. return *m.Param
  472. }
  473. return 0
  474. }
  475. func (m *GoTest) GetRequiredField() *GoTestField {
  476. if m != nil {
  477. return m.RequiredField
  478. }
  479. return nil
  480. }
  481. func (m *GoTest) GetRepeatedField() []*GoTestField {
  482. if m != nil {
  483. return m.RepeatedField
  484. }
  485. return nil
  486. }
  487. func (m *GoTest) GetOptionalField() *GoTestField {
  488. if m != nil {
  489. return m.OptionalField
  490. }
  491. return nil
  492. }
  493. func (m *GoTest) GetF_BoolRequired() bool {
  494. if m != nil && m.F_BoolRequired != nil {
  495. return *m.F_BoolRequired
  496. }
  497. return false
  498. }
  499. func (m *GoTest) GetF_Int32Required() int32 {
  500. if m != nil && m.F_Int32Required != nil {
  501. return *m.F_Int32Required
  502. }
  503. return 0
  504. }
  505. func (m *GoTest) GetF_Int64Required() int64 {
  506. if m != nil && m.F_Int64Required != nil {
  507. return *m.F_Int64Required
  508. }
  509. return 0
  510. }
  511. func (m *GoTest) GetF_Fixed32Required() uint32 {
  512. if m != nil && m.F_Fixed32Required != nil {
  513. return *m.F_Fixed32Required
  514. }
  515. return 0
  516. }
  517. func (m *GoTest) GetF_Fixed64Required() uint64 {
  518. if m != nil && m.F_Fixed64Required != nil {
  519. return *m.F_Fixed64Required
  520. }
  521. return 0
  522. }
  523. func (m *GoTest) GetF_Uint32Required() uint32 {
  524. if m != nil && m.F_Uint32Required != nil {
  525. return *m.F_Uint32Required
  526. }
  527. return 0
  528. }
  529. func (m *GoTest) GetF_Uint64Required() uint64 {
  530. if m != nil && m.F_Uint64Required != nil {
  531. return *m.F_Uint64Required
  532. }
  533. return 0
  534. }
  535. func (m *GoTest) GetF_FloatRequired() float32 {
  536. if m != nil && m.F_FloatRequired != nil {
  537. return *m.F_FloatRequired
  538. }
  539. return 0
  540. }
  541. func (m *GoTest) GetF_DoubleRequired() float64 {
  542. if m != nil && m.F_DoubleRequired != nil {
  543. return *m.F_DoubleRequired
  544. }
  545. return 0
  546. }
  547. func (m *GoTest) GetF_StringRequired() string {
  548. if m != nil && m.F_StringRequired != nil {
  549. return *m.F_StringRequired
  550. }
  551. return ""
  552. }
  553. func (m *GoTest) GetF_BytesRequired() []byte {
  554. if m != nil {
  555. return m.F_BytesRequired
  556. }
  557. return nil
  558. }
  559. func (m *GoTest) GetF_Sint32Required() int32 {
  560. if m != nil && m.F_Sint32Required != nil {
  561. return *m.F_Sint32Required
  562. }
  563. return 0
  564. }
  565. func (m *GoTest) GetF_Sint64Required() int64 {
  566. if m != nil && m.F_Sint64Required != nil {
  567. return *m.F_Sint64Required
  568. }
  569. return 0
  570. }
  571. func (m *GoTest) GetF_Sfixed32Required() int32 {
  572. if m != nil && m.F_Sfixed32Required != nil {
  573. return *m.F_Sfixed32Required
  574. }
  575. return 0
  576. }
  577. func (m *GoTest) GetF_Sfixed64Required() int64 {
  578. if m != nil && m.F_Sfixed64Required != nil {
  579. return *m.F_Sfixed64Required
  580. }
  581. return 0
  582. }
  583. func (m *GoTest) GetF_BoolRepeated() []bool {
  584. if m != nil {
  585. return m.F_BoolRepeated
  586. }
  587. return nil
  588. }
  589. func (m *GoTest) GetF_Int32Repeated() []int32 {
  590. if m != nil {
  591. return m.F_Int32Repeated
  592. }
  593. return nil
  594. }
  595. func (m *GoTest) GetF_Int64Repeated() []int64 {
  596. if m != nil {
  597. return m.F_Int64Repeated
  598. }
  599. return nil
  600. }
  601. func (m *GoTest) GetF_Fixed32Repeated() []uint32 {
  602. if m != nil {
  603. return m.F_Fixed32Repeated
  604. }
  605. return nil
  606. }
  607. func (m *GoTest) GetF_Fixed64Repeated() []uint64 {
  608. if m != nil {
  609. return m.F_Fixed64Repeated
  610. }
  611. return nil
  612. }
  613. func (m *GoTest) GetF_Uint32Repeated() []uint32 {
  614. if m != nil {
  615. return m.F_Uint32Repeated
  616. }
  617. return nil
  618. }
  619. func (m *GoTest) GetF_Uint64Repeated() []uint64 {
  620. if m != nil {
  621. return m.F_Uint64Repeated
  622. }
  623. return nil
  624. }
  625. func (m *GoTest) GetF_FloatRepeated() []float32 {
  626. if m != nil {
  627. return m.F_FloatRepeated
  628. }
  629. return nil
  630. }
  631. func (m *GoTest) GetF_DoubleRepeated() []float64 {
  632. if m != nil {
  633. return m.F_DoubleRepeated
  634. }
  635. return nil
  636. }
  637. func (m *GoTest) GetF_StringRepeated() []string {
  638. if m != nil {
  639. return m.F_StringRepeated
  640. }
  641. return nil
  642. }
  643. func (m *GoTest) GetF_BytesRepeated() [][]byte {
  644. if m != nil {
  645. return m.F_BytesRepeated
  646. }
  647. return nil
  648. }
  649. func (m *GoTest) GetF_Sint32Repeated() []int32 {
  650. if m != nil {
  651. return m.F_Sint32Repeated
  652. }
  653. return nil
  654. }
  655. func (m *GoTest) GetF_Sint64Repeated() []int64 {
  656. if m != nil {
  657. return m.F_Sint64Repeated
  658. }
  659. return nil
  660. }
  661. func (m *GoTest) GetF_Sfixed32Repeated() []int32 {
  662. if m != nil {
  663. return m.F_Sfixed32Repeated
  664. }
  665. return nil
  666. }
  667. func (m *GoTest) GetF_Sfixed64Repeated() []int64 {
  668. if m != nil {
  669. return m.F_Sfixed64Repeated
  670. }
  671. return nil
  672. }
  673. func (m *GoTest) GetF_BoolOptional() bool {
  674. if m != nil && m.F_BoolOptional != nil {
  675. return *m.F_BoolOptional
  676. }
  677. return false
  678. }
  679. func (m *GoTest) GetF_Int32Optional() int32 {
  680. if m != nil && m.F_Int32Optional != nil {
  681. return *m.F_Int32Optional
  682. }
  683. return 0
  684. }
  685. func (m *GoTest) GetF_Int64Optional() int64 {
  686. if m != nil && m.F_Int64Optional != nil {
  687. return *m.F_Int64Optional
  688. }
  689. return 0
  690. }
  691. func (m *GoTest) GetF_Fixed32Optional() uint32 {
  692. if m != nil && m.F_Fixed32Optional != nil {
  693. return *m.F_Fixed32Optional
  694. }
  695. return 0
  696. }
  697. func (m *GoTest) GetF_Fixed64Optional() uint64 {
  698. if m != nil && m.F_Fixed64Optional != nil {
  699. return *m.F_Fixed64Optional
  700. }
  701. return 0
  702. }
  703. func (m *GoTest) GetF_Uint32Optional() uint32 {
  704. if m != nil && m.F_Uint32Optional != nil {
  705. return *m.F_Uint32Optional
  706. }
  707. return 0
  708. }
  709. func (m *GoTest) GetF_Uint64Optional() uint64 {
  710. if m != nil && m.F_Uint64Optional != nil {
  711. return *m.F_Uint64Optional
  712. }
  713. return 0
  714. }
  715. func (m *GoTest) GetF_FloatOptional() float32 {
  716. if m != nil && m.F_FloatOptional != nil {
  717. return *m.F_FloatOptional
  718. }
  719. return 0
  720. }
  721. func (m *GoTest) GetF_DoubleOptional() float64 {
  722. if m != nil && m.F_DoubleOptional != nil {
  723. return *m.F_DoubleOptional
  724. }
  725. return 0
  726. }
  727. func (m *GoTest) GetF_StringOptional() string {
  728. if m != nil && m.F_StringOptional != nil {
  729. return *m.F_StringOptional
  730. }
  731. return ""
  732. }
  733. func (m *GoTest) GetF_BytesOptional() []byte {
  734. if m != nil {
  735. return m.F_BytesOptional
  736. }
  737. return nil
  738. }
  739. func (m *GoTest) GetF_Sint32Optional() int32 {
  740. if m != nil && m.F_Sint32Optional != nil {
  741. return *m.F_Sint32Optional
  742. }
  743. return 0
  744. }
  745. func (m *GoTest) GetF_Sint64Optional() int64 {
  746. if m != nil && m.F_Sint64Optional != nil {
  747. return *m.F_Sint64Optional
  748. }
  749. return 0
  750. }
  751. func (m *GoTest) GetF_Sfixed32Optional() int32 {
  752. if m != nil && m.F_Sfixed32Optional != nil {
  753. return *m.F_Sfixed32Optional
  754. }
  755. return 0
  756. }
  757. func (m *GoTest) GetF_Sfixed64Optional() int64 {
  758. if m != nil && m.F_Sfixed64Optional != nil {
  759. return *m.F_Sfixed64Optional
  760. }
  761. return 0
  762. }
  763. func (m *GoTest) GetF_BoolDefaulted() bool {
  764. if m != nil && m.F_BoolDefaulted != nil {
  765. return *m.F_BoolDefaulted
  766. }
  767. return Default_GoTest_F_BoolDefaulted
  768. }
  769. func (m *GoTest) GetF_Int32Defaulted() int32 {
  770. if m != nil && m.F_Int32Defaulted != nil {
  771. return *m.F_Int32Defaulted
  772. }
  773. return Default_GoTest_F_Int32Defaulted
  774. }
  775. func (m *GoTest) GetF_Int64Defaulted() int64 {
  776. if m != nil && m.F_Int64Defaulted != nil {
  777. return *m.F_Int64Defaulted
  778. }
  779. return Default_GoTest_F_Int64Defaulted
  780. }
  781. func (m *GoTest) GetF_Fixed32Defaulted() uint32 {
  782. if m != nil && m.F_Fixed32Defaulted != nil {
  783. return *m.F_Fixed32Defaulted
  784. }
  785. return Default_GoTest_F_Fixed32Defaulted
  786. }
  787. func (m *GoTest) GetF_Fixed64Defaulted() uint64 {
  788. if m != nil && m.F_Fixed64Defaulted != nil {
  789. return *m.F_Fixed64Defaulted
  790. }
  791. return Default_GoTest_F_Fixed64Defaulted
  792. }
  793. func (m *GoTest) GetF_Uint32Defaulted() uint32 {
  794. if m != nil && m.F_Uint32Defaulted != nil {
  795. return *m.F_Uint32Defaulted
  796. }
  797. return Default_GoTest_F_Uint32Defaulted
  798. }
  799. func (m *GoTest) GetF_Uint64Defaulted() uint64 {
  800. if m != nil && m.F_Uint64Defaulted != nil {
  801. return *m.F_Uint64Defaulted
  802. }
  803. return Default_GoTest_F_Uint64Defaulted
  804. }
  805. func (m *GoTest) GetF_FloatDefaulted() float32 {
  806. if m != nil && m.F_FloatDefaulted != nil {
  807. return *m.F_FloatDefaulted
  808. }
  809. return Default_GoTest_F_FloatDefaulted
  810. }
  811. func (m *GoTest) GetF_DoubleDefaulted() float64 {
  812. if m != nil && m.F_DoubleDefaulted != nil {
  813. return *m.F_DoubleDefaulted
  814. }
  815. return Default_GoTest_F_DoubleDefaulted
  816. }
  817. func (m *GoTest) GetF_StringDefaulted() string {
  818. if m != nil && m.F_StringDefaulted != nil {
  819. return *m.F_StringDefaulted
  820. }
  821. return Default_GoTest_F_StringDefaulted
  822. }
  823. func (m *GoTest) GetF_BytesDefaulted() []byte {
  824. if m != nil && m.F_BytesDefaulted != nil {
  825. return m.F_BytesDefaulted
  826. }
  827. return append([]byte(nil), Default_GoTest_F_BytesDefaulted...)
  828. }
  829. func (m *GoTest) GetF_Sint32Defaulted() int32 {
  830. if m != nil && m.F_Sint32Defaulted != nil {
  831. return *m.F_Sint32Defaulted
  832. }
  833. return Default_GoTest_F_Sint32Defaulted
  834. }
  835. func (m *GoTest) GetF_Sint64Defaulted() int64 {
  836. if m != nil && m.F_Sint64Defaulted != nil {
  837. return *m.F_Sint64Defaulted
  838. }
  839. return Default_GoTest_F_Sint64Defaulted
  840. }
  841. func (m *GoTest) GetF_Sfixed32Defaulted() int32 {
  842. if m != nil && m.F_Sfixed32Defaulted != nil {
  843. return *m.F_Sfixed32Defaulted
  844. }
  845. return Default_GoTest_F_Sfixed32Defaulted
  846. }
  847. func (m *GoTest) GetF_Sfixed64Defaulted() int64 {
  848. if m != nil && m.F_Sfixed64Defaulted != nil {
  849. return *m.F_Sfixed64Defaulted
  850. }
  851. return Default_GoTest_F_Sfixed64Defaulted
  852. }
  853. func (m *GoTest) GetF_BoolRepeatedPacked() []bool {
  854. if m != nil {
  855. return m.F_BoolRepeatedPacked
  856. }
  857. return nil
  858. }
  859. func (m *GoTest) GetF_Int32RepeatedPacked() []int32 {
  860. if m != nil {
  861. return m.F_Int32RepeatedPacked
  862. }
  863. return nil
  864. }
  865. func (m *GoTest) GetF_Int64RepeatedPacked() []int64 {
  866. if m != nil {
  867. return m.F_Int64RepeatedPacked
  868. }
  869. return nil
  870. }
  871. func (m *GoTest) GetF_Fixed32RepeatedPacked() []uint32 {
  872. if m != nil {
  873. return m.F_Fixed32RepeatedPacked
  874. }
  875. return nil
  876. }
  877. func (m *GoTest) GetF_Fixed64RepeatedPacked() []uint64 {
  878. if m != nil {
  879. return m.F_Fixed64RepeatedPacked
  880. }
  881. return nil
  882. }
  883. func (m *GoTest) GetF_Uint32RepeatedPacked() []uint32 {
  884. if m != nil {
  885. return m.F_Uint32RepeatedPacked
  886. }
  887. return nil
  888. }
  889. func (m *GoTest) GetF_Uint64RepeatedPacked() []uint64 {
  890. if m != nil {
  891. return m.F_Uint64RepeatedPacked
  892. }
  893. return nil
  894. }
  895. func (m *GoTest) GetF_FloatRepeatedPacked() []float32 {
  896. if m != nil {
  897. return m.F_FloatRepeatedPacked
  898. }
  899. return nil
  900. }
  901. func (m *GoTest) GetF_DoubleRepeatedPacked() []float64 {
  902. if m != nil {
  903. return m.F_DoubleRepeatedPacked
  904. }
  905. return nil
  906. }
  907. func (m *GoTest) GetF_Sint32RepeatedPacked() []int32 {
  908. if m != nil {
  909. return m.F_Sint32RepeatedPacked
  910. }
  911. return nil
  912. }
  913. func (m *GoTest) GetF_Sint64RepeatedPacked() []int64 {
  914. if m != nil {
  915. return m.F_Sint64RepeatedPacked
  916. }
  917. return nil
  918. }
  919. func (m *GoTest) GetF_Sfixed32RepeatedPacked() []int32 {
  920. if m != nil {
  921. return m.F_Sfixed32RepeatedPacked
  922. }
  923. return nil
  924. }
  925. func (m *GoTest) GetF_Sfixed64RepeatedPacked() []int64 {
  926. if m != nil {
  927. return m.F_Sfixed64RepeatedPacked
  928. }
  929. return nil
  930. }
  931. func (m *GoTest) GetRequiredgroup() *GoTest_RequiredGroup {
  932. if m != nil {
  933. return m.Requiredgroup
  934. }
  935. return nil
  936. }
  937. func (m *GoTest) GetRepeatedgroup() []*GoTest_RepeatedGroup {
  938. if m != nil {
  939. return m.Repeatedgroup
  940. }
  941. return nil
  942. }
  943. func (m *GoTest) GetOptionalgroup() *GoTest_OptionalGroup {
  944. if m != nil {
  945. return m.Optionalgroup
  946. }
  947. return nil
  948. }
  949. // Required, repeated, and optional groups.
  950. type GoTest_RequiredGroup struct {
  951. RequiredField *string `protobuf:"bytes,71,req,name=RequiredField" json:"RequiredField,omitempty"`
  952. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  953. XXX_unrecognized []byte `json:"-"`
  954. XXX_sizecache int32 `json:"-"`
  955. }
  956. func (m *GoTest_RequiredGroup) Reset() { *m = GoTest_RequiredGroup{} }
  957. func (m *GoTest_RequiredGroup) String() string { return proto.CompactTextString(m) }
  958. func (*GoTest_RequiredGroup) ProtoMessage() {}
  959. func (*GoTest_RequiredGroup) Descriptor() ([]byte, []int) {
  960. return fileDescriptor_8ca34d01332f1402, []int{2, 0}
  961. }
  962. func (m *GoTest_RequiredGroup) XXX_Unmarshal(b []byte) error {
  963. return xxx_messageInfo_GoTest_RequiredGroup.Unmarshal(m, b)
  964. }
  965. func (m *GoTest_RequiredGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  966. return xxx_messageInfo_GoTest_RequiredGroup.Marshal(b, m, deterministic)
  967. }
  968. func (m *GoTest_RequiredGroup) XXX_Merge(src proto.Message) {
  969. xxx_messageInfo_GoTest_RequiredGroup.Merge(m, src)
  970. }
  971. func (m *GoTest_RequiredGroup) XXX_Size() int {
  972. return xxx_messageInfo_GoTest_RequiredGroup.Size(m)
  973. }
  974. func (m *GoTest_RequiredGroup) XXX_DiscardUnknown() {
  975. xxx_messageInfo_GoTest_RequiredGroup.DiscardUnknown(m)
  976. }
  977. var xxx_messageInfo_GoTest_RequiredGroup proto.InternalMessageInfo
  978. func (m *GoTest_RequiredGroup) GetRequiredField() string {
  979. if m != nil && m.RequiredField != nil {
  980. return *m.RequiredField
  981. }
  982. return ""
  983. }
  984. type GoTest_RepeatedGroup struct {
  985. RequiredField *string `protobuf:"bytes,81,req,name=RequiredField" json:"RequiredField,omitempty"`
  986. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  987. XXX_unrecognized []byte `json:"-"`
  988. XXX_sizecache int32 `json:"-"`
  989. }
  990. func (m *GoTest_RepeatedGroup) Reset() { *m = GoTest_RepeatedGroup{} }
  991. func (m *GoTest_RepeatedGroup) String() string { return proto.CompactTextString(m) }
  992. func (*GoTest_RepeatedGroup) ProtoMessage() {}
  993. func (*GoTest_RepeatedGroup) Descriptor() ([]byte, []int) {
  994. return fileDescriptor_8ca34d01332f1402, []int{2, 1}
  995. }
  996. func (m *GoTest_RepeatedGroup) XXX_Unmarshal(b []byte) error {
  997. return xxx_messageInfo_GoTest_RepeatedGroup.Unmarshal(m, b)
  998. }
  999. func (m *GoTest_RepeatedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1000. return xxx_messageInfo_GoTest_RepeatedGroup.Marshal(b, m, deterministic)
  1001. }
  1002. func (m *GoTest_RepeatedGroup) XXX_Merge(src proto.Message) {
  1003. xxx_messageInfo_GoTest_RepeatedGroup.Merge(m, src)
  1004. }
  1005. func (m *GoTest_RepeatedGroup) XXX_Size() int {
  1006. return xxx_messageInfo_GoTest_RepeatedGroup.Size(m)
  1007. }
  1008. func (m *GoTest_RepeatedGroup) XXX_DiscardUnknown() {
  1009. xxx_messageInfo_GoTest_RepeatedGroup.DiscardUnknown(m)
  1010. }
  1011. var xxx_messageInfo_GoTest_RepeatedGroup proto.InternalMessageInfo
  1012. func (m *GoTest_RepeatedGroup) GetRequiredField() string {
  1013. if m != nil && m.RequiredField != nil {
  1014. return *m.RequiredField
  1015. }
  1016. return ""
  1017. }
  1018. type GoTest_OptionalGroup struct {
  1019. RequiredField *string `protobuf:"bytes,91,req,name=RequiredField" json:"RequiredField,omitempty"`
  1020. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1021. XXX_unrecognized []byte `json:"-"`
  1022. XXX_sizecache int32 `json:"-"`
  1023. }
  1024. func (m *GoTest_OptionalGroup) Reset() { *m = GoTest_OptionalGroup{} }
  1025. func (m *GoTest_OptionalGroup) String() string { return proto.CompactTextString(m) }
  1026. func (*GoTest_OptionalGroup) ProtoMessage() {}
  1027. func (*GoTest_OptionalGroup) Descriptor() ([]byte, []int) {
  1028. return fileDescriptor_8ca34d01332f1402, []int{2, 2}
  1029. }
  1030. func (m *GoTest_OptionalGroup) XXX_Unmarshal(b []byte) error {
  1031. return xxx_messageInfo_GoTest_OptionalGroup.Unmarshal(m, b)
  1032. }
  1033. func (m *GoTest_OptionalGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1034. return xxx_messageInfo_GoTest_OptionalGroup.Marshal(b, m, deterministic)
  1035. }
  1036. func (m *GoTest_OptionalGroup) XXX_Merge(src proto.Message) {
  1037. xxx_messageInfo_GoTest_OptionalGroup.Merge(m, src)
  1038. }
  1039. func (m *GoTest_OptionalGroup) XXX_Size() int {
  1040. return xxx_messageInfo_GoTest_OptionalGroup.Size(m)
  1041. }
  1042. func (m *GoTest_OptionalGroup) XXX_DiscardUnknown() {
  1043. xxx_messageInfo_GoTest_OptionalGroup.DiscardUnknown(m)
  1044. }
  1045. var xxx_messageInfo_GoTest_OptionalGroup proto.InternalMessageInfo
  1046. func (m *GoTest_OptionalGroup) GetRequiredField() string {
  1047. if m != nil && m.RequiredField != nil {
  1048. return *m.RequiredField
  1049. }
  1050. return ""
  1051. }
  1052. // For testing a group containing a required field.
  1053. type GoTestRequiredGroupField struct {
  1054. Group *GoTestRequiredGroupField_Group `protobuf:"group,1,req,name=Group,json=group" json:"group,omitempty"`
  1055. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1056. XXX_unrecognized []byte `json:"-"`
  1057. XXX_sizecache int32 `json:"-"`
  1058. }
  1059. func (m *GoTestRequiredGroupField) Reset() { *m = GoTestRequiredGroupField{} }
  1060. func (m *GoTestRequiredGroupField) String() string { return proto.CompactTextString(m) }
  1061. func (*GoTestRequiredGroupField) ProtoMessage() {}
  1062. func (*GoTestRequiredGroupField) Descriptor() ([]byte, []int) {
  1063. return fileDescriptor_8ca34d01332f1402, []int{3}
  1064. }
  1065. func (m *GoTestRequiredGroupField) XXX_Unmarshal(b []byte) error {
  1066. return xxx_messageInfo_GoTestRequiredGroupField.Unmarshal(m, b)
  1067. }
  1068. func (m *GoTestRequiredGroupField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1069. return xxx_messageInfo_GoTestRequiredGroupField.Marshal(b, m, deterministic)
  1070. }
  1071. func (m *GoTestRequiredGroupField) XXX_Merge(src proto.Message) {
  1072. xxx_messageInfo_GoTestRequiredGroupField.Merge(m, src)
  1073. }
  1074. func (m *GoTestRequiredGroupField) XXX_Size() int {
  1075. return xxx_messageInfo_GoTestRequiredGroupField.Size(m)
  1076. }
  1077. func (m *GoTestRequiredGroupField) XXX_DiscardUnknown() {
  1078. xxx_messageInfo_GoTestRequiredGroupField.DiscardUnknown(m)
  1079. }
  1080. var xxx_messageInfo_GoTestRequiredGroupField proto.InternalMessageInfo
  1081. func (m *GoTestRequiredGroupField) GetGroup() *GoTestRequiredGroupField_Group {
  1082. if m != nil {
  1083. return m.Group
  1084. }
  1085. return nil
  1086. }
  1087. type GoTestRequiredGroupField_Group struct {
  1088. Field *int32 `protobuf:"varint,2,req,name=Field" json:"Field,omitempty"`
  1089. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1090. XXX_unrecognized []byte `json:"-"`
  1091. XXX_sizecache int32 `json:"-"`
  1092. }
  1093. func (m *GoTestRequiredGroupField_Group) Reset() { *m = GoTestRequiredGroupField_Group{} }
  1094. func (m *GoTestRequiredGroupField_Group) String() string { return proto.CompactTextString(m) }
  1095. func (*GoTestRequiredGroupField_Group) ProtoMessage() {}
  1096. func (*GoTestRequiredGroupField_Group) Descriptor() ([]byte, []int) {
  1097. return fileDescriptor_8ca34d01332f1402, []int{3, 0}
  1098. }
  1099. func (m *GoTestRequiredGroupField_Group) XXX_Unmarshal(b []byte) error {
  1100. return xxx_messageInfo_GoTestRequiredGroupField_Group.Unmarshal(m, b)
  1101. }
  1102. func (m *GoTestRequiredGroupField_Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1103. return xxx_messageInfo_GoTestRequiredGroupField_Group.Marshal(b, m, deterministic)
  1104. }
  1105. func (m *GoTestRequiredGroupField_Group) XXX_Merge(src proto.Message) {
  1106. xxx_messageInfo_GoTestRequiredGroupField_Group.Merge(m, src)
  1107. }
  1108. func (m *GoTestRequiredGroupField_Group) XXX_Size() int {
  1109. return xxx_messageInfo_GoTestRequiredGroupField_Group.Size(m)
  1110. }
  1111. func (m *GoTestRequiredGroupField_Group) XXX_DiscardUnknown() {
  1112. xxx_messageInfo_GoTestRequiredGroupField_Group.DiscardUnknown(m)
  1113. }
  1114. var xxx_messageInfo_GoTestRequiredGroupField_Group proto.InternalMessageInfo
  1115. func (m *GoTestRequiredGroupField_Group) GetField() int32 {
  1116. if m != nil && m.Field != nil {
  1117. return *m.Field
  1118. }
  1119. return 0
  1120. }
  1121. // For testing skipping of unrecognized fields.
  1122. // Numbers are all big, larger than tag numbers in GoTestField,
  1123. // the message used in the corresponding test.
  1124. type GoSkipTest struct {
  1125. SkipInt32 *int32 `protobuf:"varint,11,req,name=skip_int32,json=skipInt32" json:"skip_int32,omitempty"`
  1126. SkipFixed32 *uint32 `protobuf:"fixed32,12,req,name=skip_fixed32,json=skipFixed32" json:"skip_fixed32,omitempty"`
  1127. SkipFixed64 *uint64 `protobuf:"fixed64,13,req,name=skip_fixed64,json=skipFixed64" json:"skip_fixed64,omitempty"`
  1128. SkipString *string `protobuf:"bytes,14,req,name=skip_string,json=skipString" json:"skip_string,omitempty"`
  1129. Skipgroup *GoSkipTest_SkipGroup `protobuf:"group,15,req,name=SkipGroup,json=skipgroup" json:"skipgroup,omitempty"`
  1130. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1131. XXX_unrecognized []byte `json:"-"`
  1132. XXX_sizecache int32 `json:"-"`
  1133. }
  1134. func (m *GoSkipTest) Reset() { *m = GoSkipTest{} }
  1135. func (m *GoSkipTest) String() string { return proto.CompactTextString(m) }
  1136. func (*GoSkipTest) ProtoMessage() {}
  1137. func (*GoSkipTest) Descriptor() ([]byte, []int) {
  1138. return fileDescriptor_8ca34d01332f1402, []int{4}
  1139. }
  1140. func (m *GoSkipTest) XXX_Unmarshal(b []byte) error {
  1141. return xxx_messageInfo_GoSkipTest.Unmarshal(m, b)
  1142. }
  1143. func (m *GoSkipTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1144. return xxx_messageInfo_GoSkipTest.Marshal(b, m, deterministic)
  1145. }
  1146. func (m *GoSkipTest) XXX_Merge(src proto.Message) {
  1147. xxx_messageInfo_GoSkipTest.Merge(m, src)
  1148. }
  1149. func (m *GoSkipTest) XXX_Size() int {
  1150. return xxx_messageInfo_GoSkipTest.Size(m)
  1151. }
  1152. func (m *GoSkipTest) XXX_DiscardUnknown() {
  1153. xxx_messageInfo_GoSkipTest.DiscardUnknown(m)
  1154. }
  1155. var xxx_messageInfo_GoSkipTest proto.InternalMessageInfo
  1156. func (m *GoSkipTest) GetSkipInt32() int32 {
  1157. if m != nil && m.SkipInt32 != nil {
  1158. return *m.SkipInt32
  1159. }
  1160. return 0
  1161. }
  1162. func (m *GoSkipTest) GetSkipFixed32() uint32 {
  1163. if m != nil && m.SkipFixed32 != nil {
  1164. return *m.SkipFixed32
  1165. }
  1166. return 0
  1167. }
  1168. func (m *GoSkipTest) GetSkipFixed64() uint64 {
  1169. if m != nil && m.SkipFixed64 != nil {
  1170. return *m.SkipFixed64
  1171. }
  1172. return 0
  1173. }
  1174. func (m *GoSkipTest) GetSkipString() string {
  1175. if m != nil && m.SkipString != nil {
  1176. return *m.SkipString
  1177. }
  1178. return ""
  1179. }
  1180. func (m *GoSkipTest) GetSkipgroup() *GoSkipTest_SkipGroup {
  1181. if m != nil {
  1182. return m.Skipgroup
  1183. }
  1184. return nil
  1185. }
  1186. type GoSkipTest_SkipGroup struct {
  1187. GroupInt32 *int32 `protobuf:"varint,16,req,name=group_int32,json=groupInt32" json:"group_int32,omitempty"`
  1188. GroupString *string `protobuf:"bytes,17,req,name=group_string,json=groupString" json:"group_string,omitempty"`
  1189. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1190. XXX_unrecognized []byte `json:"-"`
  1191. XXX_sizecache int32 `json:"-"`
  1192. }
  1193. func (m *GoSkipTest_SkipGroup) Reset() { *m = GoSkipTest_SkipGroup{} }
  1194. func (m *GoSkipTest_SkipGroup) String() string { return proto.CompactTextString(m) }
  1195. func (*GoSkipTest_SkipGroup) ProtoMessage() {}
  1196. func (*GoSkipTest_SkipGroup) Descriptor() ([]byte, []int) {
  1197. return fileDescriptor_8ca34d01332f1402, []int{4, 0}
  1198. }
  1199. func (m *GoSkipTest_SkipGroup) XXX_Unmarshal(b []byte) error {
  1200. return xxx_messageInfo_GoSkipTest_SkipGroup.Unmarshal(m, b)
  1201. }
  1202. func (m *GoSkipTest_SkipGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1203. return xxx_messageInfo_GoSkipTest_SkipGroup.Marshal(b, m, deterministic)
  1204. }
  1205. func (m *GoSkipTest_SkipGroup) XXX_Merge(src proto.Message) {
  1206. xxx_messageInfo_GoSkipTest_SkipGroup.Merge(m, src)
  1207. }
  1208. func (m *GoSkipTest_SkipGroup) XXX_Size() int {
  1209. return xxx_messageInfo_GoSkipTest_SkipGroup.Size(m)
  1210. }
  1211. func (m *GoSkipTest_SkipGroup) XXX_DiscardUnknown() {
  1212. xxx_messageInfo_GoSkipTest_SkipGroup.DiscardUnknown(m)
  1213. }
  1214. var xxx_messageInfo_GoSkipTest_SkipGroup proto.InternalMessageInfo
  1215. func (m *GoSkipTest_SkipGroup) GetGroupInt32() int32 {
  1216. if m != nil && m.GroupInt32 != nil {
  1217. return *m.GroupInt32
  1218. }
  1219. return 0
  1220. }
  1221. func (m *GoSkipTest_SkipGroup) GetGroupString() string {
  1222. if m != nil && m.GroupString != nil {
  1223. return *m.GroupString
  1224. }
  1225. return ""
  1226. }
  1227. // For testing packed/non-packed decoder switching.
  1228. // A serialized instance of one should be deserializable as the other.
  1229. type NonPackedTest struct {
  1230. A []int32 `protobuf:"varint,1,rep,name=a" json:"a,omitempty"`
  1231. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1232. XXX_unrecognized []byte `json:"-"`
  1233. XXX_sizecache int32 `json:"-"`
  1234. }
  1235. func (m *NonPackedTest) Reset() { *m = NonPackedTest{} }
  1236. func (m *NonPackedTest) String() string { return proto.CompactTextString(m) }
  1237. func (*NonPackedTest) ProtoMessage() {}
  1238. func (*NonPackedTest) Descriptor() ([]byte, []int) {
  1239. return fileDescriptor_8ca34d01332f1402, []int{5}
  1240. }
  1241. func (m *NonPackedTest) XXX_Unmarshal(b []byte) error {
  1242. return xxx_messageInfo_NonPackedTest.Unmarshal(m, b)
  1243. }
  1244. func (m *NonPackedTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1245. return xxx_messageInfo_NonPackedTest.Marshal(b, m, deterministic)
  1246. }
  1247. func (m *NonPackedTest) XXX_Merge(src proto.Message) {
  1248. xxx_messageInfo_NonPackedTest.Merge(m, src)
  1249. }
  1250. func (m *NonPackedTest) XXX_Size() int {
  1251. return xxx_messageInfo_NonPackedTest.Size(m)
  1252. }
  1253. func (m *NonPackedTest) XXX_DiscardUnknown() {
  1254. xxx_messageInfo_NonPackedTest.DiscardUnknown(m)
  1255. }
  1256. var xxx_messageInfo_NonPackedTest proto.InternalMessageInfo
  1257. func (m *NonPackedTest) GetA() []int32 {
  1258. if m != nil {
  1259. return m.A
  1260. }
  1261. return nil
  1262. }
  1263. type PackedTest struct {
  1264. B []int32 `protobuf:"varint,1,rep,packed,name=b" json:"b,omitempty"`
  1265. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1266. XXX_unrecognized []byte `json:"-"`
  1267. XXX_sizecache int32 `json:"-"`
  1268. }
  1269. func (m *PackedTest) Reset() { *m = PackedTest{} }
  1270. func (m *PackedTest) String() string { return proto.CompactTextString(m) }
  1271. func (*PackedTest) ProtoMessage() {}
  1272. func (*PackedTest) Descriptor() ([]byte, []int) {
  1273. return fileDescriptor_8ca34d01332f1402, []int{6}
  1274. }
  1275. func (m *PackedTest) XXX_Unmarshal(b []byte) error {
  1276. return xxx_messageInfo_PackedTest.Unmarshal(m, b)
  1277. }
  1278. func (m *PackedTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1279. return xxx_messageInfo_PackedTest.Marshal(b, m, deterministic)
  1280. }
  1281. func (m *PackedTest) XXX_Merge(src proto.Message) {
  1282. xxx_messageInfo_PackedTest.Merge(m, src)
  1283. }
  1284. func (m *PackedTest) XXX_Size() int {
  1285. return xxx_messageInfo_PackedTest.Size(m)
  1286. }
  1287. func (m *PackedTest) XXX_DiscardUnknown() {
  1288. xxx_messageInfo_PackedTest.DiscardUnknown(m)
  1289. }
  1290. var xxx_messageInfo_PackedTest proto.InternalMessageInfo
  1291. func (m *PackedTest) GetB() []int32 {
  1292. if m != nil {
  1293. return m.B
  1294. }
  1295. return nil
  1296. }
  1297. type MaxTag struct {
  1298. // Maximum possible tag number.
  1299. LastField *string `protobuf:"bytes,536870911,opt,name=last_field,json=lastField" json:"last_field,omitempty"`
  1300. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1301. XXX_unrecognized []byte `json:"-"`
  1302. XXX_sizecache int32 `json:"-"`
  1303. }
  1304. func (m *MaxTag) Reset() { *m = MaxTag{} }
  1305. func (m *MaxTag) String() string { return proto.CompactTextString(m) }
  1306. func (*MaxTag) ProtoMessage() {}
  1307. func (*MaxTag) Descriptor() ([]byte, []int) {
  1308. return fileDescriptor_8ca34d01332f1402, []int{7}
  1309. }
  1310. func (m *MaxTag) XXX_Unmarshal(b []byte) error {
  1311. return xxx_messageInfo_MaxTag.Unmarshal(m, b)
  1312. }
  1313. func (m *MaxTag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1314. return xxx_messageInfo_MaxTag.Marshal(b, m, deterministic)
  1315. }
  1316. func (m *MaxTag) XXX_Merge(src proto.Message) {
  1317. xxx_messageInfo_MaxTag.Merge(m, src)
  1318. }
  1319. func (m *MaxTag) XXX_Size() int {
  1320. return xxx_messageInfo_MaxTag.Size(m)
  1321. }
  1322. func (m *MaxTag) XXX_DiscardUnknown() {
  1323. xxx_messageInfo_MaxTag.DiscardUnknown(m)
  1324. }
  1325. var xxx_messageInfo_MaxTag proto.InternalMessageInfo
  1326. func (m *MaxTag) GetLastField() string {
  1327. if m != nil && m.LastField != nil {
  1328. return *m.LastField
  1329. }
  1330. return ""
  1331. }
  1332. type OldMessage struct {
  1333. Nested *OldMessage_Nested `protobuf:"bytes,1,opt,name=nested" json:"nested,omitempty"`
  1334. Num *int32 `protobuf:"varint,2,opt,name=num" json:"num,omitempty"`
  1335. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1336. XXX_unrecognized []byte `json:"-"`
  1337. XXX_sizecache int32 `json:"-"`
  1338. }
  1339. func (m *OldMessage) Reset() { *m = OldMessage{} }
  1340. func (m *OldMessage) String() string { return proto.CompactTextString(m) }
  1341. func (*OldMessage) ProtoMessage() {}
  1342. func (*OldMessage) Descriptor() ([]byte, []int) {
  1343. return fileDescriptor_8ca34d01332f1402, []int{8}
  1344. }
  1345. func (m *OldMessage) XXX_Unmarshal(b []byte) error {
  1346. return xxx_messageInfo_OldMessage.Unmarshal(m, b)
  1347. }
  1348. func (m *OldMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1349. return xxx_messageInfo_OldMessage.Marshal(b, m, deterministic)
  1350. }
  1351. func (m *OldMessage) XXX_Merge(src proto.Message) {
  1352. xxx_messageInfo_OldMessage.Merge(m, src)
  1353. }
  1354. func (m *OldMessage) XXX_Size() int {
  1355. return xxx_messageInfo_OldMessage.Size(m)
  1356. }
  1357. func (m *OldMessage) XXX_DiscardUnknown() {
  1358. xxx_messageInfo_OldMessage.DiscardUnknown(m)
  1359. }
  1360. var xxx_messageInfo_OldMessage proto.InternalMessageInfo
  1361. func (m *OldMessage) GetNested() *OldMessage_Nested {
  1362. if m != nil {
  1363. return m.Nested
  1364. }
  1365. return nil
  1366. }
  1367. func (m *OldMessage) GetNum() int32 {
  1368. if m != nil && m.Num != nil {
  1369. return *m.Num
  1370. }
  1371. return 0
  1372. }
  1373. type OldMessage_Nested struct {
  1374. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  1375. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1376. XXX_unrecognized []byte `json:"-"`
  1377. XXX_sizecache int32 `json:"-"`
  1378. }
  1379. func (m *OldMessage_Nested) Reset() { *m = OldMessage_Nested{} }
  1380. func (m *OldMessage_Nested) String() string { return proto.CompactTextString(m) }
  1381. func (*OldMessage_Nested) ProtoMessage() {}
  1382. func (*OldMessage_Nested) Descriptor() ([]byte, []int) {
  1383. return fileDescriptor_8ca34d01332f1402, []int{8, 0}
  1384. }
  1385. func (m *OldMessage_Nested) XXX_Unmarshal(b []byte) error {
  1386. return xxx_messageInfo_OldMessage_Nested.Unmarshal(m, b)
  1387. }
  1388. func (m *OldMessage_Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1389. return xxx_messageInfo_OldMessage_Nested.Marshal(b, m, deterministic)
  1390. }
  1391. func (m *OldMessage_Nested) XXX_Merge(src proto.Message) {
  1392. xxx_messageInfo_OldMessage_Nested.Merge(m, src)
  1393. }
  1394. func (m *OldMessage_Nested) XXX_Size() int {
  1395. return xxx_messageInfo_OldMessage_Nested.Size(m)
  1396. }
  1397. func (m *OldMessage_Nested) XXX_DiscardUnknown() {
  1398. xxx_messageInfo_OldMessage_Nested.DiscardUnknown(m)
  1399. }
  1400. var xxx_messageInfo_OldMessage_Nested proto.InternalMessageInfo
  1401. func (m *OldMessage_Nested) GetName() string {
  1402. if m != nil && m.Name != nil {
  1403. return *m.Name
  1404. }
  1405. return ""
  1406. }
  1407. // NewMessage is wire compatible with OldMessage;
  1408. // imagine it as a future version.
  1409. type NewMessage struct {
  1410. Nested *NewMessage_Nested `protobuf:"bytes,1,opt,name=nested" json:"nested,omitempty"`
  1411. // This is an int32 in OldMessage.
  1412. Num *int64 `protobuf:"varint,2,opt,name=num" json:"num,omitempty"`
  1413. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1414. XXX_unrecognized []byte `json:"-"`
  1415. XXX_sizecache int32 `json:"-"`
  1416. }
  1417. func (m *NewMessage) Reset() { *m = NewMessage{} }
  1418. func (m *NewMessage) String() string { return proto.CompactTextString(m) }
  1419. func (*NewMessage) ProtoMessage() {}
  1420. func (*NewMessage) Descriptor() ([]byte, []int) {
  1421. return fileDescriptor_8ca34d01332f1402, []int{9}
  1422. }
  1423. func (m *NewMessage) XXX_Unmarshal(b []byte) error {
  1424. return xxx_messageInfo_NewMessage.Unmarshal(m, b)
  1425. }
  1426. func (m *NewMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1427. return xxx_messageInfo_NewMessage.Marshal(b, m, deterministic)
  1428. }
  1429. func (m *NewMessage) XXX_Merge(src proto.Message) {
  1430. xxx_messageInfo_NewMessage.Merge(m, src)
  1431. }
  1432. func (m *NewMessage) XXX_Size() int {
  1433. return xxx_messageInfo_NewMessage.Size(m)
  1434. }
  1435. func (m *NewMessage) XXX_DiscardUnknown() {
  1436. xxx_messageInfo_NewMessage.DiscardUnknown(m)
  1437. }
  1438. var xxx_messageInfo_NewMessage proto.InternalMessageInfo
  1439. func (m *NewMessage) GetNested() *NewMessage_Nested {
  1440. if m != nil {
  1441. return m.Nested
  1442. }
  1443. return nil
  1444. }
  1445. func (m *NewMessage) GetNum() int64 {
  1446. if m != nil && m.Num != nil {
  1447. return *m.Num
  1448. }
  1449. return 0
  1450. }
  1451. type NewMessage_Nested struct {
  1452. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  1453. FoodGroup *string `protobuf:"bytes,2,opt,name=food_group,json=foodGroup" json:"food_group,omitempty"`
  1454. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1455. XXX_unrecognized []byte `json:"-"`
  1456. XXX_sizecache int32 `json:"-"`
  1457. }
  1458. func (m *NewMessage_Nested) Reset() { *m = NewMessage_Nested{} }
  1459. func (m *NewMessage_Nested) String() string { return proto.CompactTextString(m) }
  1460. func (*NewMessage_Nested) ProtoMessage() {}
  1461. func (*NewMessage_Nested) Descriptor() ([]byte, []int) {
  1462. return fileDescriptor_8ca34d01332f1402, []int{9, 0}
  1463. }
  1464. func (m *NewMessage_Nested) XXX_Unmarshal(b []byte) error {
  1465. return xxx_messageInfo_NewMessage_Nested.Unmarshal(m, b)
  1466. }
  1467. func (m *NewMessage_Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1468. return xxx_messageInfo_NewMessage_Nested.Marshal(b, m, deterministic)
  1469. }
  1470. func (m *NewMessage_Nested) XXX_Merge(src proto.Message) {
  1471. xxx_messageInfo_NewMessage_Nested.Merge(m, src)
  1472. }
  1473. func (m *NewMessage_Nested) XXX_Size() int {
  1474. return xxx_messageInfo_NewMessage_Nested.Size(m)
  1475. }
  1476. func (m *NewMessage_Nested) XXX_DiscardUnknown() {
  1477. xxx_messageInfo_NewMessage_Nested.DiscardUnknown(m)
  1478. }
  1479. var xxx_messageInfo_NewMessage_Nested proto.InternalMessageInfo
  1480. func (m *NewMessage_Nested) GetName() string {
  1481. if m != nil && m.Name != nil {
  1482. return *m.Name
  1483. }
  1484. return ""
  1485. }
  1486. func (m *NewMessage_Nested) GetFoodGroup() string {
  1487. if m != nil && m.FoodGroup != nil {
  1488. return *m.FoodGroup
  1489. }
  1490. return ""
  1491. }
  1492. type InnerMessage struct {
  1493. Host *string `protobuf:"bytes,1,req,name=host" json:"host,omitempty"`
  1494. Port *int32 `protobuf:"varint,2,opt,name=port,def=4000" json:"port,omitempty"`
  1495. Connected *bool `protobuf:"varint,3,opt,name=connected" json:"connected,omitempty"`
  1496. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1497. XXX_unrecognized []byte `json:"-"`
  1498. XXX_sizecache int32 `json:"-"`
  1499. }
  1500. func (m *InnerMessage) Reset() { *m = InnerMessage{} }
  1501. func (m *InnerMessage) String() string { return proto.CompactTextString(m) }
  1502. func (*InnerMessage) ProtoMessage() {}
  1503. func (*InnerMessage) Descriptor() ([]byte, []int) {
  1504. return fileDescriptor_8ca34d01332f1402, []int{10}
  1505. }
  1506. func (m *InnerMessage) XXX_Unmarshal(b []byte) error {
  1507. return xxx_messageInfo_InnerMessage.Unmarshal(m, b)
  1508. }
  1509. func (m *InnerMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1510. return xxx_messageInfo_InnerMessage.Marshal(b, m, deterministic)
  1511. }
  1512. func (m *InnerMessage) XXX_Merge(src proto.Message) {
  1513. xxx_messageInfo_InnerMessage.Merge(m, src)
  1514. }
  1515. func (m *InnerMessage) XXX_Size() int {
  1516. return xxx_messageInfo_InnerMessage.Size(m)
  1517. }
  1518. func (m *InnerMessage) XXX_DiscardUnknown() {
  1519. xxx_messageInfo_InnerMessage.DiscardUnknown(m)
  1520. }
  1521. var xxx_messageInfo_InnerMessage proto.InternalMessageInfo
  1522. const Default_InnerMessage_Port int32 = 4000
  1523. func (m *InnerMessage) GetHost() string {
  1524. if m != nil && m.Host != nil {
  1525. return *m.Host
  1526. }
  1527. return ""
  1528. }
  1529. func (m *InnerMessage) GetPort() int32 {
  1530. if m != nil && m.Port != nil {
  1531. return *m.Port
  1532. }
  1533. return Default_InnerMessage_Port
  1534. }
  1535. func (m *InnerMessage) GetConnected() bool {
  1536. if m != nil && m.Connected != nil {
  1537. return *m.Connected
  1538. }
  1539. return false
  1540. }
  1541. type OtherMessage struct {
  1542. Key *int64 `protobuf:"varint,1,opt,name=key" json:"key,omitempty"`
  1543. Value []byte `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
  1544. Weight *float32 `protobuf:"fixed32,3,opt,name=weight" json:"weight,omitempty"`
  1545. Inner *InnerMessage `protobuf:"bytes,4,opt,name=inner" json:"inner,omitempty"`
  1546. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1547. proto.XXX_InternalExtensions `json:"-"`
  1548. XXX_unrecognized []byte `json:"-"`
  1549. XXX_sizecache int32 `json:"-"`
  1550. }
  1551. func (m *OtherMessage) Reset() { *m = OtherMessage{} }
  1552. func (m *OtherMessage) String() string { return proto.CompactTextString(m) }
  1553. func (*OtherMessage) ProtoMessage() {}
  1554. func (*OtherMessage) Descriptor() ([]byte, []int) {
  1555. return fileDescriptor_8ca34d01332f1402, []int{11}
  1556. }
  1557. var extRange_OtherMessage = []proto.ExtensionRange{
  1558. {Start: 100, End: 536870911},
  1559. }
  1560. func (*OtherMessage) ExtensionRangeArray() []proto.ExtensionRange {
  1561. return extRange_OtherMessage
  1562. }
  1563. func (m *OtherMessage) XXX_Unmarshal(b []byte) error {
  1564. return xxx_messageInfo_OtherMessage.Unmarshal(m, b)
  1565. }
  1566. func (m *OtherMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1567. return xxx_messageInfo_OtherMessage.Marshal(b, m, deterministic)
  1568. }
  1569. func (m *OtherMessage) XXX_Merge(src proto.Message) {
  1570. xxx_messageInfo_OtherMessage.Merge(m, src)
  1571. }
  1572. func (m *OtherMessage) XXX_Size() int {
  1573. return xxx_messageInfo_OtherMessage.Size(m)
  1574. }
  1575. func (m *OtherMessage) XXX_DiscardUnknown() {
  1576. xxx_messageInfo_OtherMessage.DiscardUnknown(m)
  1577. }
  1578. var xxx_messageInfo_OtherMessage proto.InternalMessageInfo
  1579. func (m *OtherMessage) GetKey() int64 {
  1580. if m != nil && m.Key != nil {
  1581. return *m.Key
  1582. }
  1583. return 0
  1584. }
  1585. func (m *OtherMessage) GetValue() []byte {
  1586. if m != nil {
  1587. return m.Value
  1588. }
  1589. return nil
  1590. }
  1591. func (m *OtherMessage) GetWeight() float32 {
  1592. if m != nil && m.Weight != nil {
  1593. return *m.Weight
  1594. }
  1595. return 0
  1596. }
  1597. func (m *OtherMessage) GetInner() *InnerMessage {
  1598. if m != nil {
  1599. return m.Inner
  1600. }
  1601. return nil
  1602. }
  1603. type RequiredInnerMessage struct {
  1604. LeoFinallyWonAnOscar *InnerMessage `protobuf:"bytes,1,req,name=leo_finally_won_an_oscar,json=leoFinallyWonAnOscar" json:"leo_finally_won_an_oscar,omitempty"`
  1605. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1606. XXX_unrecognized []byte `json:"-"`
  1607. XXX_sizecache int32 `json:"-"`
  1608. }
  1609. func (m *RequiredInnerMessage) Reset() { *m = RequiredInnerMessage{} }
  1610. func (m *RequiredInnerMessage) String() string { return proto.CompactTextString(m) }
  1611. func (*RequiredInnerMessage) ProtoMessage() {}
  1612. func (*RequiredInnerMessage) Descriptor() ([]byte, []int) {
  1613. return fileDescriptor_8ca34d01332f1402, []int{12}
  1614. }
  1615. func (m *RequiredInnerMessage) XXX_Unmarshal(b []byte) error {
  1616. return xxx_messageInfo_RequiredInnerMessage.Unmarshal(m, b)
  1617. }
  1618. func (m *RequiredInnerMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1619. return xxx_messageInfo_RequiredInnerMessage.Marshal(b, m, deterministic)
  1620. }
  1621. func (m *RequiredInnerMessage) XXX_Merge(src proto.Message) {
  1622. xxx_messageInfo_RequiredInnerMessage.Merge(m, src)
  1623. }
  1624. func (m *RequiredInnerMessage) XXX_Size() int {
  1625. return xxx_messageInfo_RequiredInnerMessage.Size(m)
  1626. }
  1627. func (m *RequiredInnerMessage) XXX_DiscardUnknown() {
  1628. xxx_messageInfo_RequiredInnerMessage.DiscardUnknown(m)
  1629. }
  1630. var xxx_messageInfo_RequiredInnerMessage proto.InternalMessageInfo
  1631. func (m *RequiredInnerMessage) GetLeoFinallyWonAnOscar() *InnerMessage {
  1632. if m != nil {
  1633. return m.LeoFinallyWonAnOscar
  1634. }
  1635. return nil
  1636. }
  1637. type MyMessage struct {
  1638. Count *int32 `protobuf:"varint,1,req,name=count" json:"count,omitempty"`
  1639. Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
  1640. Quote *string `protobuf:"bytes,3,opt,name=quote" json:"quote,omitempty"`
  1641. Pet []string `protobuf:"bytes,4,rep,name=pet" json:"pet,omitempty"`
  1642. Inner *InnerMessage `protobuf:"bytes,5,opt,name=inner" json:"inner,omitempty"`
  1643. Others []*OtherMessage `protobuf:"bytes,6,rep,name=others" json:"others,omitempty"`
  1644. WeMustGoDeeper *RequiredInnerMessage `protobuf:"bytes,13,opt,name=we_must_go_deeper,json=weMustGoDeeper" json:"we_must_go_deeper,omitempty"`
  1645. RepInner []*InnerMessage `protobuf:"bytes,12,rep,name=rep_inner,json=repInner" json:"rep_inner,omitempty"`
  1646. Bikeshed *MyMessage_Color `protobuf:"varint,7,opt,name=bikeshed,enum=test_proto.MyMessage_Color" json:"bikeshed,omitempty"`
  1647. Somegroup *MyMessage_SomeGroup `protobuf:"group,8,opt,name=SomeGroup,json=somegroup" json:"somegroup,omitempty"`
  1648. // This field becomes [][]byte in the generated code.
  1649. RepBytes [][]byte `protobuf:"bytes,10,rep,name=rep_bytes,json=repBytes" json:"rep_bytes,omitempty"`
  1650. Bigfloat *float64 `protobuf:"fixed64,11,opt,name=bigfloat" json:"bigfloat,omitempty"`
  1651. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1652. proto.XXX_InternalExtensions `json:"-"`
  1653. XXX_unrecognized []byte `json:"-"`
  1654. XXX_sizecache int32 `json:"-"`
  1655. }
  1656. func (m *MyMessage) Reset() { *m = MyMessage{} }
  1657. func (m *MyMessage) String() string { return proto.CompactTextString(m) }
  1658. func (*MyMessage) ProtoMessage() {}
  1659. func (*MyMessage) Descriptor() ([]byte, []int) {
  1660. return fileDescriptor_8ca34d01332f1402, []int{13}
  1661. }
  1662. var extRange_MyMessage = []proto.ExtensionRange{
  1663. {Start: 100, End: 536870911},
  1664. }
  1665. func (*MyMessage) ExtensionRangeArray() []proto.ExtensionRange {
  1666. return extRange_MyMessage
  1667. }
  1668. func (m *MyMessage) XXX_Unmarshal(b []byte) error {
  1669. return xxx_messageInfo_MyMessage.Unmarshal(m, b)
  1670. }
  1671. func (m *MyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1672. return xxx_messageInfo_MyMessage.Marshal(b, m, deterministic)
  1673. }
  1674. func (m *MyMessage) XXX_Merge(src proto.Message) {
  1675. xxx_messageInfo_MyMessage.Merge(m, src)
  1676. }
  1677. func (m *MyMessage) XXX_Size() int {
  1678. return xxx_messageInfo_MyMessage.Size(m)
  1679. }
  1680. func (m *MyMessage) XXX_DiscardUnknown() {
  1681. xxx_messageInfo_MyMessage.DiscardUnknown(m)
  1682. }
  1683. var xxx_messageInfo_MyMessage proto.InternalMessageInfo
  1684. func (m *MyMessage) GetCount() int32 {
  1685. if m != nil && m.Count != nil {
  1686. return *m.Count
  1687. }
  1688. return 0
  1689. }
  1690. func (m *MyMessage) GetName() string {
  1691. if m != nil && m.Name != nil {
  1692. return *m.Name
  1693. }
  1694. return ""
  1695. }
  1696. func (m *MyMessage) GetQuote() string {
  1697. if m != nil && m.Quote != nil {
  1698. return *m.Quote
  1699. }
  1700. return ""
  1701. }
  1702. func (m *MyMessage) GetPet() []string {
  1703. if m != nil {
  1704. return m.Pet
  1705. }
  1706. return nil
  1707. }
  1708. func (m *MyMessage) GetInner() *InnerMessage {
  1709. if m != nil {
  1710. return m.Inner
  1711. }
  1712. return nil
  1713. }
  1714. func (m *MyMessage) GetOthers() []*OtherMessage {
  1715. if m != nil {
  1716. return m.Others
  1717. }
  1718. return nil
  1719. }
  1720. func (m *MyMessage) GetWeMustGoDeeper() *RequiredInnerMessage {
  1721. if m != nil {
  1722. return m.WeMustGoDeeper
  1723. }
  1724. return nil
  1725. }
  1726. func (m *MyMessage) GetRepInner() []*InnerMessage {
  1727. if m != nil {
  1728. return m.RepInner
  1729. }
  1730. return nil
  1731. }
  1732. func (m *MyMessage) GetBikeshed() MyMessage_Color {
  1733. if m != nil && m.Bikeshed != nil {
  1734. return *m.Bikeshed
  1735. }
  1736. return MyMessage_RED
  1737. }
  1738. func (m *MyMessage) GetSomegroup() *MyMessage_SomeGroup {
  1739. if m != nil {
  1740. return m.Somegroup
  1741. }
  1742. return nil
  1743. }
  1744. func (m *MyMessage) GetRepBytes() [][]byte {
  1745. if m != nil {
  1746. return m.RepBytes
  1747. }
  1748. return nil
  1749. }
  1750. func (m *MyMessage) GetBigfloat() float64 {
  1751. if m != nil && m.Bigfloat != nil {
  1752. return *m.Bigfloat
  1753. }
  1754. return 0
  1755. }
  1756. type MyMessage_SomeGroup struct {
  1757. GroupField *int32 `protobuf:"varint,9,opt,name=group_field,json=groupField" json:"group_field,omitempty"`
  1758. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1759. XXX_unrecognized []byte `json:"-"`
  1760. XXX_sizecache int32 `json:"-"`
  1761. }
  1762. func (m *MyMessage_SomeGroup) Reset() { *m = MyMessage_SomeGroup{} }
  1763. func (m *MyMessage_SomeGroup) String() string { return proto.CompactTextString(m) }
  1764. func (*MyMessage_SomeGroup) ProtoMessage() {}
  1765. func (*MyMessage_SomeGroup) Descriptor() ([]byte, []int) {
  1766. return fileDescriptor_8ca34d01332f1402, []int{13, 0}
  1767. }
  1768. func (m *MyMessage_SomeGroup) XXX_Unmarshal(b []byte) error {
  1769. return xxx_messageInfo_MyMessage_SomeGroup.Unmarshal(m, b)
  1770. }
  1771. func (m *MyMessage_SomeGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1772. return xxx_messageInfo_MyMessage_SomeGroup.Marshal(b, m, deterministic)
  1773. }
  1774. func (m *MyMessage_SomeGroup) XXX_Merge(src proto.Message) {
  1775. xxx_messageInfo_MyMessage_SomeGroup.Merge(m, src)
  1776. }
  1777. func (m *MyMessage_SomeGroup) XXX_Size() int {
  1778. return xxx_messageInfo_MyMessage_SomeGroup.Size(m)
  1779. }
  1780. func (m *MyMessage_SomeGroup) XXX_DiscardUnknown() {
  1781. xxx_messageInfo_MyMessage_SomeGroup.DiscardUnknown(m)
  1782. }
  1783. var xxx_messageInfo_MyMessage_SomeGroup proto.InternalMessageInfo
  1784. func (m *MyMessage_SomeGroup) GetGroupField() int32 {
  1785. if m != nil && m.GroupField != nil {
  1786. return *m.GroupField
  1787. }
  1788. return 0
  1789. }
  1790. type Ext struct {
  1791. Data *string `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
  1792. MapField map[int32]int32 `protobuf:"bytes,2,rep,name=map_field,json=mapField" json:"map_field,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  1793. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1794. XXX_unrecognized []byte `json:"-"`
  1795. XXX_sizecache int32 `json:"-"`
  1796. }
  1797. func (m *Ext) Reset() { *m = Ext{} }
  1798. func (m *Ext) String() string { return proto.CompactTextString(m) }
  1799. func (*Ext) ProtoMessage() {}
  1800. func (*Ext) Descriptor() ([]byte, []int) {
  1801. return fileDescriptor_8ca34d01332f1402, []int{14}
  1802. }
  1803. func (m *Ext) XXX_Unmarshal(b []byte) error {
  1804. return xxx_messageInfo_Ext.Unmarshal(m, b)
  1805. }
  1806. func (m *Ext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1807. return xxx_messageInfo_Ext.Marshal(b, m, deterministic)
  1808. }
  1809. func (m *Ext) XXX_Merge(src proto.Message) {
  1810. xxx_messageInfo_Ext.Merge(m, src)
  1811. }
  1812. func (m *Ext) XXX_Size() int {
  1813. return xxx_messageInfo_Ext.Size(m)
  1814. }
  1815. func (m *Ext) XXX_DiscardUnknown() {
  1816. xxx_messageInfo_Ext.DiscardUnknown(m)
  1817. }
  1818. var xxx_messageInfo_Ext proto.InternalMessageInfo
  1819. func (m *Ext) GetData() string {
  1820. if m != nil && m.Data != nil {
  1821. return *m.Data
  1822. }
  1823. return ""
  1824. }
  1825. func (m *Ext) GetMapField() map[int32]int32 {
  1826. if m != nil {
  1827. return m.MapField
  1828. }
  1829. return nil
  1830. }
  1831. var E_Ext_More = &proto.ExtensionDesc{
  1832. ExtendedType: (*MyMessage)(nil),
  1833. ExtensionType: (*Ext)(nil),
  1834. Field: 103,
  1835. Name: "test_proto.Ext.more",
  1836. Tag: "bytes,103,opt,name=more",
  1837. Filename: "test_proto/test.proto",
  1838. }
  1839. var E_Ext_Text = &proto.ExtensionDesc{
  1840. ExtendedType: (*MyMessage)(nil),
  1841. ExtensionType: (*string)(nil),
  1842. Field: 104,
  1843. Name: "test_proto.Ext.text",
  1844. Tag: "bytes,104,opt,name=text",
  1845. Filename: "test_proto/test.proto",
  1846. }
  1847. var E_Ext_Number = &proto.ExtensionDesc{
  1848. ExtendedType: (*MyMessage)(nil),
  1849. ExtensionType: (*int32)(nil),
  1850. Field: 105,
  1851. Name: "test_proto.Ext.number",
  1852. Tag: "varint,105,opt,name=number",
  1853. Filename: "test_proto/test.proto",
  1854. }
  1855. type ComplexExtension struct {
  1856. First *int32 `protobuf:"varint,1,opt,name=first" json:"first,omitempty"`
  1857. Second *int32 `protobuf:"varint,2,opt,name=second" json:"second,omitempty"`
  1858. Third []int32 `protobuf:"varint,3,rep,name=third" json:"third,omitempty"`
  1859. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1860. XXX_unrecognized []byte `json:"-"`
  1861. XXX_sizecache int32 `json:"-"`
  1862. }
  1863. func (m *ComplexExtension) Reset() { *m = ComplexExtension{} }
  1864. func (m *ComplexExtension) String() string { return proto.CompactTextString(m) }
  1865. func (*ComplexExtension) ProtoMessage() {}
  1866. func (*ComplexExtension) Descriptor() ([]byte, []int) {
  1867. return fileDescriptor_8ca34d01332f1402, []int{15}
  1868. }
  1869. func (m *ComplexExtension) XXX_Unmarshal(b []byte) error {
  1870. return xxx_messageInfo_ComplexExtension.Unmarshal(m, b)
  1871. }
  1872. func (m *ComplexExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1873. return xxx_messageInfo_ComplexExtension.Marshal(b, m, deterministic)
  1874. }
  1875. func (m *ComplexExtension) XXX_Merge(src proto.Message) {
  1876. xxx_messageInfo_ComplexExtension.Merge(m, src)
  1877. }
  1878. func (m *ComplexExtension) XXX_Size() int {
  1879. return xxx_messageInfo_ComplexExtension.Size(m)
  1880. }
  1881. func (m *ComplexExtension) XXX_DiscardUnknown() {
  1882. xxx_messageInfo_ComplexExtension.DiscardUnknown(m)
  1883. }
  1884. var xxx_messageInfo_ComplexExtension proto.InternalMessageInfo
  1885. func (m *ComplexExtension) GetFirst() int32 {
  1886. if m != nil && m.First != nil {
  1887. return *m.First
  1888. }
  1889. return 0
  1890. }
  1891. func (m *ComplexExtension) GetSecond() int32 {
  1892. if m != nil && m.Second != nil {
  1893. return *m.Second
  1894. }
  1895. return 0
  1896. }
  1897. func (m *ComplexExtension) GetThird() []int32 {
  1898. if m != nil {
  1899. return m.Third
  1900. }
  1901. return nil
  1902. }
  1903. type DefaultsMessage struct {
  1904. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1905. proto.XXX_InternalExtensions `json:"-"`
  1906. XXX_unrecognized []byte `json:"-"`
  1907. XXX_sizecache int32 `json:"-"`
  1908. }
  1909. func (m *DefaultsMessage) Reset() { *m = DefaultsMessage{} }
  1910. func (m *DefaultsMessage) String() string { return proto.CompactTextString(m) }
  1911. func (*DefaultsMessage) ProtoMessage() {}
  1912. func (*DefaultsMessage) Descriptor() ([]byte, []int) {
  1913. return fileDescriptor_8ca34d01332f1402, []int{16}
  1914. }
  1915. var extRange_DefaultsMessage = []proto.ExtensionRange{
  1916. {Start: 100, End: 536870911},
  1917. }
  1918. func (*DefaultsMessage) ExtensionRangeArray() []proto.ExtensionRange {
  1919. return extRange_DefaultsMessage
  1920. }
  1921. func (m *DefaultsMessage) XXX_Unmarshal(b []byte) error {
  1922. return xxx_messageInfo_DefaultsMessage.Unmarshal(m, b)
  1923. }
  1924. func (m *DefaultsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1925. return xxx_messageInfo_DefaultsMessage.Marshal(b, m, deterministic)
  1926. }
  1927. func (m *DefaultsMessage) XXX_Merge(src proto.Message) {
  1928. xxx_messageInfo_DefaultsMessage.Merge(m, src)
  1929. }
  1930. func (m *DefaultsMessage) XXX_Size() int {
  1931. return xxx_messageInfo_DefaultsMessage.Size(m)
  1932. }
  1933. func (m *DefaultsMessage) XXX_DiscardUnknown() {
  1934. xxx_messageInfo_DefaultsMessage.DiscardUnknown(m)
  1935. }
  1936. var xxx_messageInfo_DefaultsMessage proto.InternalMessageInfo
  1937. type MyMessageSet struct {
  1938. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1939. proto.XXX_InternalExtensions `protobuf_messageset:"1" json:"-"`
  1940. XXX_unrecognized []byte `json:"-"`
  1941. XXX_sizecache int32 `json:"-"`
  1942. }
  1943. func (m *MyMessageSet) Reset() { *m = MyMessageSet{} }
  1944. func (m *MyMessageSet) String() string { return proto.CompactTextString(m) }
  1945. func (*MyMessageSet) ProtoMessage() {}
  1946. func (*MyMessageSet) Descriptor() ([]byte, []int) {
  1947. return fileDescriptor_8ca34d01332f1402, []int{17}
  1948. }
  1949. func (m *MyMessageSet) MarshalJSON() ([]byte, error) {
  1950. return proto.MarshalMessageSetJSON(&m.XXX_InternalExtensions)
  1951. }
  1952. func (m *MyMessageSet) UnmarshalJSON(buf []byte) error {
  1953. return proto.UnmarshalMessageSetJSON(buf, &m.XXX_InternalExtensions)
  1954. }
  1955. var extRange_MyMessageSet = []proto.ExtensionRange{
  1956. {Start: 100, End: 2147483646},
  1957. }
  1958. func (*MyMessageSet) ExtensionRangeArray() []proto.ExtensionRange {
  1959. return extRange_MyMessageSet
  1960. }
  1961. func (m *MyMessageSet) XXX_Unmarshal(b []byte) error {
  1962. return xxx_messageInfo_MyMessageSet.Unmarshal(m, b)
  1963. }
  1964. func (m *MyMessageSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1965. return xxx_messageInfo_MyMessageSet.Marshal(b, m, deterministic)
  1966. }
  1967. func (m *MyMessageSet) XXX_Merge(src proto.Message) {
  1968. xxx_messageInfo_MyMessageSet.Merge(m, src)
  1969. }
  1970. func (m *MyMessageSet) XXX_Size() int {
  1971. return xxx_messageInfo_MyMessageSet.Size(m)
  1972. }
  1973. func (m *MyMessageSet) XXX_DiscardUnknown() {
  1974. xxx_messageInfo_MyMessageSet.DiscardUnknown(m)
  1975. }
  1976. var xxx_messageInfo_MyMessageSet proto.InternalMessageInfo
  1977. type Empty struct {
  1978. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1979. XXX_unrecognized []byte `json:"-"`
  1980. XXX_sizecache int32 `json:"-"`
  1981. }
  1982. func (m *Empty) Reset() { *m = Empty{} }
  1983. func (m *Empty) String() string { return proto.CompactTextString(m) }
  1984. func (*Empty) ProtoMessage() {}
  1985. func (*Empty) Descriptor() ([]byte, []int) {
  1986. return fileDescriptor_8ca34d01332f1402, []int{18}
  1987. }
  1988. func (m *Empty) XXX_Unmarshal(b []byte) error {
  1989. return xxx_messageInfo_Empty.Unmarshal(m, b)
  1990. }
  1991. func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1992. return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
  1993. }
  1994. func (m *Empty) XXX_Merge(src proto.Message) {
  1995. xxx_messageInfo_Empty.Merge(m, src)
  1996. }
  1997. func (m *Empty) XXX_Size() int {
  1998. return xxx_messageInfo_Empty.Size(m)
  1999. }
  2000. func (m *Empty) XXX_DiscardUnknown() {
  2001. xxx_messageInfo_Empty.DiscardUnknown(m)
  2002. }
  2003. var xxx_messageInfo_Empty proto.InternalMessageInfo
  2004. type MessageList struct {
  2005. Message []*MessageList_Message `protobuf:"group,1,rep,name=Message,json=message" json:"message,omitempty"`
  2006. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2007. XXX_unrecognized []byte `json:"-"`
  2008. XXX_sizecache int32 `json:"-"`
  2009. }
  2010. func (m *MessageList) Reset() { *m = MessageList{} }
  2011. func (m *MessageList) String() string { return proto.CompactTextString(m) }
  2012. func (*MessageList) ProtoMessage() {}
  2013. func (*MessageList) Descriptor() ([]byte, []int) {
  2014. return fileDescriptor_8ca34d01332f1402, []int{19}
  2015. }
  2016. func (m *MessageList) XXX_Unmarshal(b []byte) error {
  2017. return xxx_messageInfo_MessageList.Unmarshal(m, b)
  2018. }
  2019. func (m *MessageList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2020. return xxx_messageInfo_MessageList.Marshal(b, m, deterministic)
  2021. }
  2022. func (m *MessageList) XXX_Merge(src proto.Message) {
  2023. xxx_messageInfo_MessageList.Merge(m, src)
  2024. }
  2025. func (m *MessageList) XXX_Size() int {
  2026. return xxx_messageInfo_MessageList.Size(m)
  2027. }
  2028. func (m *MessageList) XXX_DiscardUnknown() {
  2029. xxx_messageInfo_MessageList.DiscardUnknown(m)
  2030. }
  2031. var xxx_messageInfo_MessageList proto.InternalMessageInfo
  2032. func (m *MessageList) GetMessage() []*MessageList_Message {
  2033. if m != nil {
  2034. return m.Message
  2035. }
  2036. return nil
  2037. }
  2038. type MessageList_Message struct {
  2039. Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"`
  2040. Count *int32 `protobuf:"varint,3,req,name=count" json:"count,omitempty"`
  2041. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2042. XXX_unrecognized []byte `json:"-"`
  2043. XXX_sizecache int32 `json:"-"`
  2044. }
  2045. func (m *MessageList_Message) Reset() { *m = MessageList_Message{} }
  2046. func (m *MessageList_Message) String() string { return proto.CompactTextString(m) }
  2047. func (*MessageList_Message) ProtoMessage() {}
  2048. func (*MessageList_Message) Descriptor() ([]byte, []int) {
  2049. return fileDescriptor_8ca34d01332f1402, []int{19, 0}
  2050. }
  2051. func (m *MessageList_Message) XXX_Unmarshal(b []byte) error {
  2052. return xxx_messageInfo_MessageList_Message.Unmarshal(m, b)
  2053. }
  2054. func (m *MessageList_Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2055. return xxx_messageInfo_MessageList_Message.Marshal(b, m, deterministic)
  2056. }
  2057. func (m *MessageList_Message) XXX_Merge(src proto.Message) {
  2058. xxx_messageInfo_MessageList_Message.Merge(m, src)
  2059. }
  2060. func (m *MessageList_Message) XXX_Size() int {
  2061. return xxx_messageInfo_MessageList_Message.Size(m)
  2062. }
  2063. func (m *MessageList_Message) XXX_DiscardUnknown() {
  2064. xxx_messageInfo_MessageList_Message.DiscardUnknown(m)
  2065. }
  2066. var xxx_messageInfo_MessageList_Message proto.InternalMessageInfo
  2067. func (m *MessageList_Message) GetName() string {
  2068. if m != nil && m.Name != nil {
  2069. return *m.Name
  2070. }
  2071. return ""
  2072. }
  2073. func (m *MessageList_Message) GetCount() int32 {
  2074. if m != nil && m.Count != nil {
  2075. return *m.Count
  2076. }
  2077. return 0
  2078. }
  2079. type Strings struct {
  2080. StringField *string `protobuf:"bytes,1,opt,name=string_field,json=stringField" json:"string_field,omitempty"`
  2081. BytesField []byte `protobuf:"bytes,2,opt,name=bytes_field,json=bytesField" json:"bytes_field,omitempty"`
  2082. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2083. XXX_unrecognized []byte `json:"-"`
  2084. XXX_sizecache int32 `json:"-"`
  2085. }
  2086. func (m *Strings) Reset() { *m = Strings{} }
  2087. func (m *Strings) String() string { return proto.CompactTextString(m) }
  2088. func (*Strings) ProtoMessage() {}
  2089. func (*Strings) Descriptor() ([]byte, []int) {
  2090. return fileDescriptor_8ca34d01332f1402, []int{20}
  2091. }
  2092. func (m *Strings) XXX_Unmarshal(b []byte) error {
  2093. return xxx_messageInfo_Strings.Unmarshal(m, b)
  2094. }
  2095. func (m *Strings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2096. return xxx_messageInfo_Strings.Marshal(b, m, deterministic)
  2097. }
  2098. func (m *Strings) XXX_Merge(src proto.Message) {
  2099. xxx_messageInfo_Strings.Merge(m, src)
  2100. }
  2101. func (m *Strings) XXX_Size() int {
  2102. return xxx_messageInfo_Strings.Size(m)
  2103. }
  2104. func (m *Strings) XXX_DiscardUnknown() {
  2105. xxx_messageInfo_Strings.DiscardUnknown(m)
  2106. }
  2107. var xxx_messageInfo_Strings proto.InternalMessageInfo
  2108. func (m *Strings) GetStringField() string {
  2109. if m != nil && m.StringField != nil {
  2110. return *m.StringField
  2111. }
  2112. return ""
  2113. }
  2114. func (m *Strings) GetBytesField() []byte {
  2115. if m != nil {
  2116. return m.BytesField
  2117. }
  2118. return nil
  2119. }
  2120. type Defaults struct {
  2121. // Default-valued fields of all basic types.
  2122. // Same as GoTest, but copied here to make testing easier.
  2123. F_Bool *bool `protobuf:"varint,1,opt,name=F_Bool,json=FBool,def=1" json:"F_Bool,omitempty"`
  2124. F_Int32 *int32 `protobuf:"varint,2,opt,name=F_Int32,json=FInt32,def=32" json:"F_Int32,omitempty"`
  2125. F_Int64 *int64 `protobuf:"varint,3,opt,name=F_Int64,json=FInt64,def=64" json:"F_Int64,omitempty"`
  2126. F_Fixed32 *uint32 `protobuf:"fixed32,4,opt,name=F_Fixed32,json=FFixed32,def=320" json:"F_Fixed32,omitempty"`
  2127. F_Fixed64 *uint64 `protobuf:"fixed64,5,opt,name=F_Fixed64,json=FFixed64,def=640" json:"F_Fixed64,omitempty"`
  2128. F_Uint32 *uint32 `protobuf:"varint,6,opt,name=F_Uint32,json=FUint32,def=3200" json:"F_Uint32,omitempty"`
  2129. F_Uint64 *uint64 `protobuf:"varint,7,opt,name=F_Uint64,json=FUint64,def=6400" json:"F_Uint64,omitempty"`
  2130. F_Float *float32 `protobuf:"fixed32,8,opt,name=F_Float,json=FFloat,def=314159" json:"F_Float,omitempty"`
  2131. F_Double *float64 `protobuf:"fixed64,9,opt,name=F_Double,json=FDouble,def=271828" json:"F_Double,omitempty"`
  2132. F_String *string `protobuf:"bytes,10,opt,name=F_String,json=FString,def=hello, \"world!\"\n" json:"F_String,omitempty"`
  2133. F_Bytes []byte `protobuf:"bytes,11,opt,name=F_Bytes,json=FBytes,def=Bignose" json:"F_Bytes,omitempty"`
  2134. F_Sint32 *int32 `protobuf:"zigzag32,12,opt,name=F_Sint32,json=FSint32,def=-32" json:"F_Sint32,omitempty"`
  2135. F_Sint64 *int64 `protobuf:"zigzag64,13,opt,name=F_Sint64,json=FSint64,def=-64" json:"F_Sint64,omitempty"`
  2136. F_Enum *Defaults_Color `protobuf:"varint,14,opt,name=F_Enum,json=FEnum,enum=test_proto.Defaults_Color,def=1" json:"F_Enum,omitempty"`
  2137. // More fields with crazy defaults.
  2138. F_Pinf *float32 `protobuf:"fixed32,15,opt,name=F_Pinf,json=FPinf,def=inf" json:"F_Pinf,omitempty"`
  2139. F_Ninf *float32 `protobuf:"fixed32,16,opt,name=F_Ninf,json=FNinf,def=-inf" json:"F_Ninf,omitempty"`
  2140. F_Nan *float32 `protobuf:"fixed32,17,opt,name=F_Nan,json=FNan,def=nan" json:"F_Nan,omitempty"`
  2141. // Sub-message.
  2142. Sub *SubDefaults `protobuf:"bytes,18,opt,name=sub" json:"sub,omitempty"`
  2143. // Redundant but explicit defaults.
  2144. StrZero *string `protobuf:"bytes,19,opt,name=str_zero,json=strZero,def=" json:"str_zero,omitempty"`
  2145. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2146. XXX_unrecognized []byte `json:"-"`
  2147. XXX_sizecache int32 `json:"-"`
  2148. }
  2149. func (m *Defaults) Reset() { *m = Defaults{} }
  2150. func (m *Defaults) String() string { return proto.CompactTextString(m) }
  2151. func (*Defaults) ProtoMessage() {}
  2152. func (*Defaults) Descriptor() ([]byte, []int) {
  2153. return fileDescriptor_8ca34d01332f1402, []int{21}
  2154. }
  2155. func (m *Defaults) XXX_Unmarshal(b []byte) error {
  2156. return xxx_messageInfo_Defaults.Unmarshal(m, b)
  2157. }
  2158. func (m *Defaults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2159. return xxx_messageInfo_Defaults.Marshal(b, m, deterministic)
  2160. }
  2161. func (m *Defaults) XXX_Merge(src proto.Message) {
  2162. xxx_messageInfo_Defaults.Merge(m, src)
  2163. }
  2164. func (m *Defaults) XXX_Size() int {
  2165. return xxx_messageInfo_Defaults.Size(m)
  2166. }
  2167. func (m *Defaults) XXX_DiscardUnknown() {
  2168. xxx_messageInfo_Defaults.DiscardUnknown(m)
  2169. }
  2170. var xxx_messageInfo_Defaults proto.InternalMessageInfo
  2171. const Default_Defaults_F_Bool bool = true
  2172. const Default_Defaults_F_Int32 int32 = 32
  2173. const Default_Defaults_F_Int64 int64 = 64
  2174. const Default_Defaults_F_Fixed32 uint32 = 320
  2175. const Default_Defaults_F_Fixed64 uint64 = 640
  2176. const Default_Defaults_F_Uint32 uint32 = 3200
  2177. const Default_Defaults_F_Uint64 uint64 = 6400
  2178. const Default_Defaults_F_Float float32 = 314159
  2179. const Default_Defaults_F_Double float64 = 271828
  2180. const Default_Defaults_F_String string = "hello, \"world!\"\n"
  2181. var Default_Defaults_F_Bytes []byte = []byte("Bignose")
  2182. const Default_Defaults_F_Sint32 int32 = -32
  2183. const Default_Defaults_F_Sint64 int64 = -64
  2184. const Default_Defaults_F_Enum Defaults_Color = Defaults_GREEN
  2185. var Default_Defaults_F_Pinf float32 = float32(math.Inf(1))
  2186. var Default_Defaults_F_Ninf float32 = float32(math.Inf(-1))
  2187. var Default_Defaults_F_Nan float32 = float32(math.NaN())
  2188. func (m *Defaults) GetF_Bool() bool {
  2189. if m != nil && m.F_Bool != nil {
  2190. return *m.F_Bool
  2191. }
  2192. return Default_Defaults_F_Bool
  2193. }
  2194. func (m *Defaults) GetF_Int32() int32 {
  2195. if m != nil && m.F_Int32 != nil {
  2196. return *m.F_Int32
  2197. }
  2198. return Default_Defaults_F_Int32
  2199. }
  2200. func (m *Defaults) GetF_Int64() int64 {
  2201. if m != nil && m.F_Int64 != nil {
  2202. return *m.F_Int64
  2203. }
  2204. return Default_Defaults_F_Int64
  2205. }
  2206. func (m *Defaults) GetF_Fixed32() uint32 {
  2207. if m != nil && m.F_Fixed32 != nil {
  2208. return *m.F_Fixed32
  2209. }
  2210. return Default_Defaults_F_Fixed32
  2211. }
  2212. func (m *Defaults) GetF_Fixed64() uint64 {
  2213. if m != nil && m.F_Fixed64 != nil {
  2214. return *m.F_Fixed64
  2215. }
  2216. return Default_Defaults_F_Fixed64
  2217. }
  2218. func (m *Defaults) GetF_Uint32() uint32 {
  2219. if m != nil && m.F_Uint32 != nil {
  2220. return *m.F_Uint32
  2221. }
  2222. return Default_Defaults_F_Uint32
  2223. }
  2224. func (m *Defaults) GetF_Uint64() uint64 {
  2225. if m != nil && m.F_Uint64 != nil {
  2226. return *m.F_Uint64
  2227. }
  2228. return Default_Defaults_F_Uint64
  2229. }
  2230. func (m *Defaults) GetF_Float() float32 {
  2231. if m != nil && m.F_Float != nil {
  2232. return *m.F_Float
  2233. }
  2234. return Default_Defaults_F_Float
  2235. }
  2236. func (m *Defaults) GetF_Double() float64 {
  2237. if m != nil && m.F_Double != nil {
  2238. return *m.F_Double
  2239. }
  2240. return Default_Defaults_F_Double
  2241. }
  2242. func (m *Defaults) GetF_String() string {
  2243. if m != nil && m.F_String != nil {
  2244. return *m.F_String
  2245. }
  2246. return Default_Defaults_F_String
  2247. }
  2248. func (m *Defaults) GetF_Bytes() []byte {
  2249. if m != nil && m.F_Bytes != nil {
  2250. return m.F_Bytes
  2251. }
  2252. return append([]byte(nil), Default_Defaults_F_Bytes...)
  2253. }
  2254. func (m *Defaults) GetF_Sint32() int32 {
  2255. if m != nil && m.F_Sint32 != nil {
  2256. return *m.F_Sint32
  2257. }
  2258. return Default_Defaults_F_Sint32
  2259. }
  2260. func (m *Defaults) GetF_Sint64() int64 {
  2261. if m != nil && m.F_Sint64 != nil {
  2262. return *m.F_Sint64
  2263. }
  2264. return Default_Defaults_F_Sint64
  2265. }
  2266. func (m *Defaults) GetF_Enum() Defaults_Color {
  2267. if m != nil && m.F_Enum != nil {
  2268. return *m.F_Enum
  2269. }
  2270. return Default_Defaults_F_Enum
  2271. }
  2272. func (m *Defaults) GetF_Pinf() float32 {
  2273. if m != nil && m.F_Pinf != nil {
  2274. return *m.F_Pinf
  2275. }
  2276. return Default_Defaults_F_Pinf
  2277. }
  2278. func (m *Defaults) GetF_Ninf() float32 {
  2279. if m != nil && m.F_Ninf != nil {
  2280. return *m.F_Ninf
  2281. }
  2282. return Default_Defaults_F_Ninf
  2283. }
  2284. func (m *Defaults) GetF_Nan() float32 {
  2285. if m != nil && m.F_Nan != nil {
  2286. return *m.F_Nan
  2287. }
  2288. return Default_Defaults_F_Nan
  2289. }
  2290. func (m *Defaults) GetSub() *SubDefaults {
  2291. if m != nil {
  2292. return m.Sub
  2293. }
  2294. return nil
  2295. }
  2296. func (m *Defaults) GetStrZero() string {
  2297. if m != nil && m.StrZero != nil {
  2298. return *m.StrZero
  2299. }
  2300. return ""
  2301. }
  2302. type SubDefaults struct {
  2303. N *int64 `protobuf:"varint,1,opt,name=n,def=7" json:"n,omitempty"`
  2304. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2305. XXX_unrecognized []byte `json:"-"`
  2306. XXX_sizecache int32 `json:"-"`
  2307. }
  2308. func (m *SubDefaults) Reset() { *m = SubDefaults{} }
  2309. func (m *SubDefaults) String() string { return proto.CompactTextString(m) }
  2310. func (*SubDefaults) ProtoMessage() {}
  2311. func (*SubDefaults) Descriptor() ([]byte, []int) {
  2312. return fileDescriptor_8ca34d01332f1402, []int{22}
  2313. }
  2314. func (m *SubDefaults) XXX_Unmarshal(b []byte) error {
  2315. return xxx_messageInfo_SubDefaults.Unmarshal(m, b)
  2316. }
  2317. func (m *SubDefaults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2318. return xxx_messageInfo_SubDefaults.Marshal(b, m, deterministic)
  2319. }
  2320. func (m *SubDefaults) XXX_Merge(src proto.Message) {
  2321. xxx_messageInfo_SubDefaults.Merge(m, src)
  2322. }
  2323. func (m *SubDefaults) XXX_Size() int {
  2324. return xxx_messageInfo_SubDefaults.Size(m)
  2325. }
  2326. func (m *SubDefaults) XXX_DiscardUnknown() {
  2327. xxx_messageInfo_SubDefaults.DiscardUnknown(m)
  2328. }
  2329. var xxx_messageInfo_SubDefaults proto.InternalMessageInfo
  2330. const Default_SubDefaults_N int64 = 7
  2331. func (m *SubDefaults) GetN() int64 {
  2332. if m != nil && m.N != nil {
  2333. return *m.N
  2334. }
  2335. return Default_SubDefaults_N
  2336. }
  2337. type RepeatedEnum struct {
  2338. Color []RepeatedEnum_Color `protobuf:"varint,1,rep,name=color,enum=test_proto.RepeatedEnum_Color" json:"color,omitempty"`
  2339. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2340. XXX_unrecognized []byte `json:"-"`
  2341. XXX_sizecache int32 `json:"-"`
  2342. }
  2343. func (m *RepeatedEnum) Reset() { *m = RepeatedEnum{} }
  2344. func (m *RepeatedEnum) String() string { return proto.CompactTextString(m) }
  2345. func (*RepeatedEnum) ProtoMessage() {}
  2346. func (*RepeatedEnum) Descriptor() ([]byte, []int) {
  2347. return fileDescriptor_8ca34d01332f1402, []int{23}
  2348. }
  2349. func (m *RepeatedEnum) XXX_Unmarshal(b []byte) error {
  2350. return xxx_messageInfo_RepeatedEnum.Unmarshal(m, b)
  2351. }
  2352. func (m *RepeatedEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2353. return xxx_messageInfo_RepeatedEnum.Marshal(b, m, deterministic)
  2354. }
  2355. func (m *RepeatedEnum) XXX_Merge(src proto.Message) {
  2356. xxx_messageInfo_RepeatedEnum.Merge(m, src)
  2357. }
  2358. func (m *RepeatedEnum) XXX_Size() int {
  2359. return xxx_messageInfo_RepeatedEnum.Size(m)
  2360. }
  2361. func (m *RepeatedEnum) XXX_DiscardUnknown() {
  2362. xxx_messageInfo_RepeatedEnum.DiscardUnknown(m)
  2363. }
  2364. var xxx_messageInfo_RepeatedEnum proto.InternalMessageInfo
  2365. func (m *RepeatedEnum) GetColor() []RepeatedEnum_Color {
  2366. if m != nil {
  2367. return m.Color
  2368. }
  2369. return nil
  2370. }
  2371. type MoreRepeated struct {
  2372. Bools []bool `protobuf:"varint,1,rep,name=bools" json:"bools,omitempty"`
  2373. BoolsPacked []bool `protobuf:"varint,2,rep,packed,name=bools_packed,json=boolsPacked" json:"bools_packed,omitempty"`
  2374. Ints []int32 `protobuf:"varint,3,rep,name=ints" json:"ints,omitempty"`
  2375. IntsPacked []int32 `protobuf:"varint,4,rep,packed,name=ints_packed,json=intsPacked" json:"ints_packed,omitempty"`
  2376. Int64SPacked []int64 `protobuf:"varint,7,rep,packed,name=int64s_packed,json=int64sPacked" json:"int64s_packed,omitempty"`
  2377. Strings []string `protobuf:"bytes,5,rep,name=strings" json:"strings,omitempty"`
  2378. Fixeds []uint32 `protobuf:"fixed32,6,rep,name=fixeds" json:"fixeds,omitempty"`
  2379. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2380. XXX_unrecognized []byte `json:"-"`
  2381. XXX_sizecache int32 `json:"-"`
  2382. }
  2383. func (m *MoreRepeated) Reset() { *m = MoreRepeated{} }
  2384. func (m *MoreRepeated) String() string { return proto.CompactTextString(m) }
  2385. func (*MoreRepeated) ProtoMessage() {}
  2386. func (*MoreRepeated) Descriptor() ([]byte, []int) {
  2387. return fileDescriptor_8ca34d01332f1402, []int{24}
  2388. }
  2389. func (m *MoreRepeated) XXX_Unmarshal(b []byte) error {
  2390. return xxx_messageInfo_MoreRepeated.Unmarshal(m, b)
  2391. }
  2392. func (m *MoreRepeated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2393. return xxx_messageInfo_MoreRepeated.Marshal(b, m, deterministic)
  2394. }
  2395. func (m *MoreRepeated) XXX_Merge(src proto.Message) {
  2396. xxx_messageInfo_MoreRepeated.Merge(m, src)
  2397. }
  2398. func (m *MoreRepeated) XXX_Size() int {
  2399. return xxx_messageInfo_MoreRepeated.Size(m)
  2400. }
  2401. func (m *MoreRepeated) XXX_DiscardUnknown() {
  2402. xxx_messageInfo_MoreRepeated.DiscardUnknown(m)
  2403. }
  2404. var xxx_messageInfo_MoreRepeated proto.InternalMessageInfo
  2405. func (m *MoreRepeated) GetBools() []bool {
  2406. if m != nil {
  2407. return m.Bools
  2408. }
  2409. return nil
  2410. }
  2411. func (m *MoreRepeated) GetBoolsPacked() []bool {
  2412. if m != nil {
  2413. return m.BoolsPacked
  2414. }
  2415. return nil
  2416. }
  2417. func (m *MoreRepeated) GetInts() []int32 {
  2418. if m != nil {
  2419. return m.Ints
  2420. }
  2421. return nil
  2422. }
  2423. func (m *MoreRepeated) GetIntsPacked() []int32 {
  2424. if m != nil {
  2425. return m.IntsPacked
  2426. }
  2427. return nil
  2428. }
  2429. func (m *MoreRepeated) GetInt64SPacked() []int64 {
  2430. if m != nil {
  2431. return m.Int64SPacked
  2432. }
  2433. return nil
  2434. }
  2435. func (m *MoreRepeated) GetStrings() []string {
  2436. if m != nil {
  2437. return m.Strings
  2438. }
  2439. return nil
  2440. }
  2441. func (m *MoreRepeated) GetFixeds() []uint32 {
  2442. if m != nil {
  2443. return m.Fixeds
  2444. }
  2445. return nil
  2446. }
  2447. type GroupOld struct {
  2448. G *GroupOld_G `protobuf:"group,101,opt,name=G,json=g" json:"g,omitempty"`
  2449. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2450. XXX_unrecognized []byte `json:"-"`
  2451. XXX_sizecache int32 `json:"-"`
  2452. }
  2453. func (m *GroupOld) Reset() { *m = GroupOld{} }
  2454. func (m *GroupOld) String() string { return proto.CompactTextString(m) }
  2455. func (*GroupOld) ProtoMessage() {}
  2456. func (*GroupOld) Descriptor() ([]byte, []int) {
  2457. return fileDescriptor_8ca34d01332f1402, []int{25}
  2458. }
  2459. func (m *GroupOld) XXX_Unmarshal(b []byte) error {
  2460. return xxx_messageInfo_GroupOld.Unmarshal(m, b)
  2461. }
  2462. func (m *GroupOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2463. return xxx_messageInfo_GroupOld.Marshal(b, m, deterministic)
  2464. }
  2465. func (m *GroupOld) XXX_Merge(src proto.Message) {
  2466. xxx_messageInfo_GroupOld.Merge(m, src)
  2467. }
  2468. func (m *GroupOld) XXX_Size() int {
  2469. return xxx_messageInfo_GroupOld.Size(m)
  2470. }
  2471. func (m *GroupOld) XXX_DiscardUnknown() {
  2472. xxx_messageInfo_GroupOld.DiscardUnknown(m)
  2473. }
  2474. var xxx_messageInfo_GroupOld proto.InternalMessageInfo
  2475. func (m *GroupOld) GetG() *GroupOld_G {
  2476. if m != nil {
  2477. return m.G
  2478. }
  2479. return nil
  2480. }
  2481. type GroupOld_G struct {
  2482. X *int32 `protobuf:"varint,2,opt,name=x" json:"x,omitempty"`
  2483. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2484. XXX_unrecognized []byte `json:"-"`
  2485. XXX_sizecache int32 `json:"-"`
  2486. }
  2487. func (m *GroupOld_G) Reset() { *m = GroupOld_G{} }
  2488. func (m *GroupOld_G) String() string { return proto.CompactTextString(m) }
  2489. func (*GroupOld_G) ProtoMessage() {}
  2490. func (*GroupOld_G) Descriptor() ([]byte, []int) {
  2491. return fileDescriptor_8ca34d01332f1402, []int{25, 0}
  2492. }
  2493. func (m *GroupOld_G) XXX_Unmarshal(b []byte) error {
  2494. return xxx_messageInfo_GroupOld_G.Unmarshal(m, b)
  2495. }
  2496. func (m *GroupOld_G) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2497. return xxx_messageInfo_GroupOld_G.Marshal(b, m, deterministic)
  2498. }
  2499. func (m *GroupOld_G) XXX_Merge(src proto.Message) {
  2500. xxx_messageInfo_GroupOld_G.Merge(m, src)
  2501. }
  2502. func (m *GroupOld_G) XXX_Size() int {
  2503. return xxx_messageInfo_GroupOld_G.Size(m)
  2504. }
  2505. func (m *GroupOld_G) XXX_DiscardUnknown() {
  2506. xxx_messageInfo_GroupOld_G.DiscardUnknown(m)
  2507. }
  2508. var xxx_messageInfo_GroupOld_G proto.InternalMessageInfo
  2509. func (m *GroupOld_G) GetX() int32 {
  2510. if m != nil && m.X != nil {
  2511. return *m.X
  2512. }
  2513. return 0
  2514. }
  2515. type GroupNew struct {
  2516. G *GroupNew_G `protobuf:"group,101,opt,name=G,json=g" json:"g,omitempty"`
  2517. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2518. XXX_unrecognized []byte `json:"-"`
  2519. XXX_sizecache int32 `json:"-"`
  2520. }
  2521. func (m *GroupNew) Reset() { *m = GroupNew{} }
  2522. func (m *GroupNew) String() string { return proto.CompactTextString(m) }
  2523. func (*GroupNew) ProtoMessage() {}
  2524. func (*GroupNew) Descriptor() ([]byte, []int) {
  2525. return fileDescriptor_8ca34d01332f1402, []int{26}
  2526. }
  2527. func (m *GroupNew) XXX_Unmarshal(b []byte) error {
  2528. return xxx_messageInfo_GroupNew.Unmarshal(m, b)
  2529. }
  2530. func (m *GroupNew) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2531. return xxx_messageInfo_GroupNew.Marshal(b, m, deterministic)
  2532. }
  2533. func (m *GroupNew) XXX_Merge(src proto.Message) {
  2534. xxx_messageInfo_GroupNew.Merge(m, src)
  2535. }
  2536. func (m *GroupNew) XXX_Size() int {
  2537. return xxx_messageInfo_GroupNew.Size(m)
  2538. }
  2539. func (m *GroupNew) XXX_DiscardUnknown() {
  2540. xxx_messageInfo_GroupNew.DiscardUnknown(m)
  2541. }
  2542. var xxx_messageInfo_GroupNew proto.InternalMessageInfo
  2543. func (m *GroupNew) GetG() *GroupNew_G {
  2544. if m != nil {
  2545. return m.G
  2546. }
  2547. return nil
  2548. }
  2549. type GroupNew_G struct {
  2550. X *int32 `protobuf:"varint,2,opt,name=x" json:"x,omitempty"`
  2551. Y *int32 `protobuf:"varint,3,opt,name=y" json:"y,omitempty"`
  2552. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2553. XXX_unrecognized []byte `json:"-"`
  2554. XXX_sizecache int32 `json:"-"`
  2555. }
  2556. func (m *GroupNew_G) Reset() { *m = GroupNew_G{} }
  2557. func (m *GroupNew_G) String() string { return proto.CompactTextString(m) }
  2558. func (*GroupNew_G) ProtoMessage() {}
  2559. func (*GroupNew_G) Descriptor() ([]byte, []int) {
  2560. return fileDescriptor_8ca34d01332f1402, []int{26, 0}
  2561. }
  2562. func (m *GroupNew_G) XXX_Unmarshal(b []byte) error {
  2563. return xxx_messageInfo_GroupNew_G.Unmarshal(m, b)
  2564. }
  2565. func (m *GroupNew_G) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2566. return xxx_messageInfo_GroupNew_G.Marshal(b, m, deterministic)
  2567. }
  2568. func (m *GroupNew_G) XXX_Merge(src proto.Message) {
  2569. xxx_messageInfo_GroupNew_G.Merge(m, src)
  2570. }
  2571. func (m *GroupNew_G) XXX_Size() int {
  2572. return xxx_messageInfo_GroupNew_G.Size(m)
  2573. }
  2574. func (m *GroupNew_G) XXX_DiscardUnknown() {
  2575. xxx_messageInfo_GroupNew_G.DiscardUnknown(m)
  2576. }
  2577. var xxx_messageInfo_GroupNew_G proto.InternalMessageInfo
  2578. func (m *GroupNew_G) GetX() int32 {
  2579. if m != nil && m.X != nil {
  2580. return *m.X
  2581. }
  2582. return 0
  2583. }
  2584. func (m *GroupNew_G) GetY() int32 {
  2585. if m != nil && m.Y != nil {
  2586. return *m.Y
  2587. }
  2588. return 0
  2589. }
  2590. type FloatingPoint struct {
  2591. F *float64 `protobuf:"fixed64,1,req,name=f" json:"f,omitempty"`
  2592. Exact *bool `protobuf:"varint,2,opt,name=exact" json:"exact,omitempty"`
  2593. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2594. XXX_unrecognized []byte `json:"-"`
  2595. XXX_sizecache int32 `json:"-"`
  2596. }
  2597. func (m *FloatingPoint) Reset() { *m = FloatingPoint{} }
  2598. func (m *FloatingPoint) String() string { return proto.CompactTextString(m) }
  2599. func (*FloatingPoint) ProtoMessage() {}
  2600. func (*FloatingPoint) Descriptor() ([]byte, []int) {
  2601. return fileDescriptor_8ca34d01332f1402, []int{27}
  2602. }
  2603. func (m *FloatingPoint) XXX_Unmarshal(b []byte) error {
  2604. return xxx_messageInfo_FloatingPoint.Unmarshal(m, b)
  2605. }
  2606. func (m *FloatingPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2607. return xxx_messageInfo_FloatingPoint.Marshal(b, m, deterministic)
  2608. }
  2609. func (m *FloatingPoint) XXX_Merge(src proto.Message) {
  2610. xxx_messageInfo_FloatingPoint.Merge(m, src)
  2611. }
  2612. func (m *FloatingPoint) XXX_Size() int {
  2613. return xxx_messageInfo_FloatingPoint.Size(m)
  2614. }
  2615. func (m *FloatingPoint) XXX_DiscardUnknown() {
  2616. xxx_messageInfo_FloatingPoint.DiscardUnknown(m)
  2617. }
  2618. var xxx_messageInfo_FloatingPoint proto.InternalMessageInfo
  2619. func (m *FloatingPoint) GetF() float64 {
  2620. if m != nil && m.F != nil {
  2621. return *m.F
  2622. }
  2623. return 0
  2624. }
  2625. func (m *FloatingPoint) GetExact() bool {
  2626. if m != nil && m.Exact != nil {
  2627. return *m.Exact
  2628. }
  2629. return false
  2630. }
  2631. type MessageWithMap struct {
  2632. NameMapping map[int32]string `protobuf:"bytes,1,rep,name=name_mapping,json=nameMapping" json:"name_mapping,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  2633. MsgMapping map[int64]*FloatingPoint `protobuf:"bytes,2,rep,name=msg_mapping,json=msgMapping" json:"msg_mapping,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  2634. ByteMapping map[bool][]byte `protobuf:"bytes,3,rep,name=byte_mapping,json=byteMapping" json:"byte_mapping,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  2635. StrToStr map[string]string `protobuf:"bytes,4,rep,name=str_to_str,json=strToStr" json:"str_to_str,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  2636. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2637. XXX_unrecognized []byte `json:"-"`
  2638. XXX_sizecache int32 `json:"-"`
  2639. }
  2640. func (m *MessageWithMap) Reset() { *m = MessageWithMap{} }
  2641. func (m *MessageWithMap) String() string { return proto.CompactTextString(m) }
  2642. func (*MessageWithMap) ProtoMessage() {}
  2643. func (*MessageWithMap) Descriptor() ([]byte, []int) {
  2644. return fileDescriptor_8ca34d01332f1402, []int{28}
  2645. }
  2646. func (m *MessageWithMap) XXX_Unmarshal(b []byte) error {
  2647. return xxx_messageInfo_MessageWithMap.Unmarshal(m, b)
  2648. }
  2649. func (m *MessageWithMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2650. return xxx_messageInfo_MessageWithMap.Marshal(b, m, deterministic)
  2651. }
  2652. func (m *MessageWithMap) XXX_Merge(src proto.Message) {
  2653. xxx_messageInfo_MessageWithMap.Merge(m, src)
  2654. }
  2655. func (m *MessageWithMap) XXX_Size() int {
  2656. return xxx_messageInfo_MessageWithMap.Size(m)
  2657. }
  2658. func (m *MessageWithMap) XXX_DiscardUnknown() {
  2659. xxx_messageInfo_MessageWithMap.DiscardUnknown(m)
  2660. }
  2661. var xxx_messageInfo_MessageWithMap proto.InternalMessageInfo
  2662. func (m *MessageWithMap) GetNameMapping() map[int32]string {
  2663. if m != nil {
  2664. return m.NameMapping
  2665. }
  2666. return nil
  2667. }
  2668. func (m *MessageWithMap) GetMsgMapping() map[int64]*FloatingPoint {
  2669. if m != nil {
  2670. return m.MsgMapping
  2671. }
  2672. return nil
  2673. }
  2674. func (m *MessageWithMap) GetByteMapping() map[bool][]byte {
  2675. if m != nil {
  2676. return m.ByteMapping
  2677. }
  2678. return nil
  2679. }
  2680. func (m *MessageWithMap) GetStrToStr() map[string]string {
  2681. if m != nil {
  2682. return m.StrToStr
  2683. }
  2684. return nil
  2685. }
  2686. type Oneof struct {
  2687. // Types that are valid to be assigned to Union:
  2688. // *Oneof_F_Bool
  2689. // *Oneof_F_Int32
  2690. // *Oneof_F_Int64
  2691. // *Oneof_F_Fixed32
  2692. // *Oneof_F_Fixed64
  2693. // *Oneof_F_Uint32
  2694. // *Oneof_F_Uint64
  2695. // *Oneof_F_Float
  2696. // *Oneof_F_Double
  2697. // *Oneof_F_String
  2698. // *Oneof_F_Bytes
  2699. // *Oneof_F_Sint32
  2700. // *Oneof_F_Sint64
  2701. // *Oneof_F_Enum
  2702. // *Oneof_F_Message
  2703. // *Oneof_FGroup
  2704. // *Oneof_F_Largest_Tag
  2705. Union isOneof_Union `protobuf_oneof:"union"`
  2706. // Types that are valid to be assigned to Tormato:
  2707. // *Oneof_Value
  2708. Tormato isOneof_Tormato `protobuf_oneof:"tormato"`
  2709. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2710. XXX_unrecognized []byte `json:"-"`
  2711. XXX_sizecache int32 `json:"-"`
  2712. }
  2713. func (m *Oneof) Reset() { *m = Oneof{} }
  2714. func (m *Oneof) String() string { return proto.CompactTextString(m) }
  2715. func (*Oneof) ProtoMessage() {}
  2716. func (*Oneof) Descriptor() ([]byte, []int) {
  2717. return fileDescriptor_8ca34d01332f1402, []int{29}
  2718. }
  2719. func (m *Oneof) XXX_Unmarshal(b []byte) error {
  2720. return xxx_messageInfo_Oneof.Unmarshal(m, b)
  2721. }
  2722. func (m *Oneof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2723. return xxx_messageInfo_Oneof.Marshal(b, m, deterministic)
  2724. }
  2725. func (m *Oneof) XXX_Merge(src proto.Message) {
  2726. xxx_messageInfo_Oneof.Merge(m, src)
  2727. }
  2728. func (m *Oneof) XXX_Size() int {
  2729. return xxx_messageInfo_Oneof.Size(m)
  2730. }
  2731. func (m *Oneof) XXX_DiscardUnknown() {
  2732. xxx_messageInfo_Oneof.DiscardUnknown(m)
  2733. }
  2734. var xxx_messageInfo_Oneof proto.InternalMessageInfo
  2735. type isOneof_Union interface {
  2736. isOneof_Union()
  2737. }
  2738. type Oneof_F_Bool struct {
  2739. F_Bool bool `protobuf:"varint,1,opt,name=F_Bool,json=FBool,oneof"`
  2740. }
  2741. type Oneof_F_Int32 struct {
  2742. F_Int32 int32 `protobuf:"varint,2,opt,name=F_Int32,json=FInt32,oneof"`
  2743. }
  2744. type Oneof_F_Int64 struct {
  2745. F_Int64 int64 `protobuf:"varint,3,opt,name=F_Int64,json=FInt64,oneof"`
  2746. }
  2747. type Oneof_F_Fixed32 struct {
  2748. F_Fixed32 uint32 `protobuf:"fixed32,4,opt,name=F_Fixed32,json=FFixed32,oneof"`
  2749. }
  2750. type Oneof_F_Fixed64 struct {
  2751. F_Fixed64 uint64 `protobuf:"fixed64,5,opt,name=F_Fixed64,json=FFixed64,oneof"`
  2752. }
  2753. type Oneof_F_Uint32 struct {
  2754. F_Uint32 uint32 `protobuf:"varint,6,opt,name=F_Uint32,json=FUint32,oneof"`
  2755. }
  2756. type Oneof_F_Uint64 struct {
  2757. F_Uint64 uint64 `protobuf:"varint,7,opt,name=F_Uint64,json=FUint64,oneof"`
  2758. }
  2759. type Oneof_F_Float struct {
  2760. F_Float float32 `protobuf:"fixed32,8,opt,name=F_Float,json=FFloat,oneof"`
  2761. }
  2762. type Oneof_F_Double struct {
  2763. F_Double float64 `protobuf:"fixed64,9,opt,name=F_Double,json=FDouble,oneof"`
  2764. }
  2765. type Oneof_F_String struct {
  2766. F_String string `protobuf:"bytes,10,opt,name=F_String,json=FString,oneof"`
  2767. }
  2768. type Oneof_F_Bytes struct {
  2769. F_Bytes []byte `protobuf:"bytes,11,opt,name=F_Bytes,json=FBytes,oneof"`
  2770. }
  2771. type Oneof_F_Sint32 struct {
  2772. F_Sint32 int32 `protobuf:"zigzag32,12,opt,name=F_Sint32,json=FSint32,oneof"`
  2773. }
  2774. type Oneof_F_Sint64 struct {
  2775. F_Sint64 int64 `protobuf:"zigzag64,13,opt,name=F_Sint64,json=FSint64,oneof"`
  2776. }
  2777. type Oneof_F_Enum struct {
  2778. F_Enum MyMessage_Color `protobuf:"varint,14,opt,name=F_Enum,json=FEnum,enum=test_proto.MyMessage_Color,oneof"`
  2779. }
  2780. type Oneof_F_Message struct {
  2781. F_Message *GoTestField `protobuf:"bytes,15,opt,name=F_Message,json=FMessage,oneof"`
  2782. }
  2783. type Oneof_FGroup struct {
  2784. FGroup *Oneof_F_Group `protobuf:"group,16,opt,name=F_Group,json=fGroup,oneof"`
  2785. }
  2786. type Oneof_F_Largest_Tag struct {
  2787. F_Largest_Tag int32 `protobuf:"varint,536870911,opt,name=F_Largest_Tag,json=FLargestTag,oneof"`
  2788. }
  2789. func (*Oneof_F_Bool) isOneof_Union() {}
  2790. func (*Oneof_F_Int32) isOneof_Union() {}
  2791. func (*Oneof_F_Int64) isOneof_Union() {}
  2792. func (*Oneof_F_Fixed32) isOneof_Union() {}
  2793. func (*Oneof_F_Fixed64) isOneof_Union() {}
  2794. func (*Oneof_F_Uint32) isOneof_Union() {}
  2795. func (*Oneof_F_Uint64) isOneof_Union() {}
  2796. func (*Oneof_F_Float) isOneof_Union() {}
  2797. func (*Oneof_F_Double) isOneof_Union() {}
  2798. func (*Oneof_F_String) isOneof_Union() {}
  2799. func (*Oneof_F_Bytes) isOneof_Union() {}
  2800. func (*Oneof_F_Sint32) isOneof_Union() {}
  2801. func (*Oneof_F_Sint64) isOneof_Union() {}
  2802. func (*Oneof_F_Enum) isOneof_Union() {}
  2803. func (*Oneof_F_Message) isOneof_Union() {}
  2804. func (*Oneof_FGroup) isOneof_Union() {}
  2805. func (*Oneof_F_Largest_Tag) isOneof_Union() {}
  2806. func (m *Oneof) GetUnion() isOneof_Union {
  2807. if m != nil {
  2808. return m.Union
  2809. }
  2810. return nil
  2811. }
  2812. func (m *Oneof) GetF_Bool() bool {
  2813. if x, ok := m.GetUnion().(*Oneof_F_Bool); ok {
  2814. return x.F_Bool
  2815. }
  2816. return false
  2817. }
  2818. func (m *Oneof) GetF_Int32() int32 {
  2819. if x, ok := m.GetUnion().(*Oneof_F_Int32); ok {
  2820. return x.F_Int32
  2821. }
  2822. return 0
  2823. }
  2824. func (m *Oneof) GetF_Int64() int64 {
  2825. if x, ok := m.GetUnion().(*Oneof_F_Int64); ok {
  2826. return x.F_Int64
  2827. }
  2828. return 0
  2829. }
  2830. func (m *Oneof) GetF_Fixed32() uint32 {
  2831. if x, ok := m.GetUnion().(*Oneof_F_Fixed32); ok {
  2832. return x.F_Fixed32
  2833. }
  2834. return 0
  2835. }
  2836. func (m *Oneof) GetF_Fixed64() uint64 {
  2837. if x, ok := m.GetUnion().(*Oneof_F_Fixed64); ok {
  2838. return x.F_Fixed64
  2839. }
  2840. return 0
  2841. }
  2842. func (m *Oneof) GetF_Uint32() uint32 {
  2843. if x, ok := m.GetUnion().(*Oneof_F_Uint32); ok {
  2844. return x.F_Uint32
  2845. }
  2846. return 0
  2847. }
  2848. func (m *Oneof) GetF_Uint64() uint64 {
  2849. if x, ok := m.GetUnion().(*Oneof_F_Uint64); ok {
  2850. return x.F_Uint64
  2851. }
  2852. return 0
  2853. }
  2854. func (m *Oneof) GetF_Float() float32 {
  2855. if x, ok := m.GetUnion().(*Oneof_F_Float); ok {
  2856. return x.F_Float
  2857. }
  2858. return 0
  2859. }
  2860. func (m *Oneof) GetF_Double() float64 {
  2861. if x, ok := m.GetUnion().(*Oneof_F_Double); ok {
  2862. return x.F_Double
  2863. }
  2864. return 0
  2865. }
  2866. func (m *Oneof) GetF_String() string {
  2867. if x, ok := m.GetUnion().(*Oneof_F_String); ok {
  2868. return x.F_String
  2869. }
  2870. return ""
  2871. }
  2872. func (m *Oneof) GetF_Bytes() []byte {
  2873. if x, ok := m.GetUnion().(*Oneof_F_Bytes); ok {
  2874. return x.F_Bytes
  2875. }
  2876. return nil
  2877. }
  2878. func (m *Oneof) GetF_Sint32() int32 {
  2879. if x, ok := m.GetUnion().(*Oneof_F_Sint32); ok {
  2880. return x.F_Sint32
  2881. }
  2882. return 0
  2883. }
  2884. func (m *Oneof) GetF_Sint64() int64 {
  2885. if x, ok := m.GetUnion().(*Oneof_F_Sint64); ok {
  2886. return x.F_Sint64
  2887. }
  2888. return 0
  2889. }
  2890. func (m *Oneof) GetF_Enum() MyMessage_Color {
  2891. if x, ok := m.GetUnion().(*Oneof_F_Enum); ok {
  2892. return x.F_Enum
  2893. }
  2894. return MyMessage_RED
  2895. }
  2896. func (m *Oneof) GetF_Message() *GoTestField {
  2897. if x, ok := m.GetUnion().(*Oneof_F_Message); ok {
  2898. return x.F_Message
  2899. }
  2900. return nil
  2901. }
  2902. func (m *Oneof) GetFGroup() *Oneof_F_Group {
  2903. if x, ok := m.GetUnion().(*Oneof_FGroup); ok {
  2904. return x.FGroup
  2905. }
  2906. return nil
  2907. }
  2908. func (m *Oneof) GetF_Largest_Tag() int32 {
  2909. if x, ok := m.GetUnion().(*Oneof_F_Largest_Tag); ok {
  2910. return x.F_Largest_Tag
  2911. }
  2912. return 0
  2913. }
  2914. type isOneof_Tormato interface {
  2915. isOneof_Tormato()
  2916. }
  2917. type Oneof_Value struct {
  2918. Value int32 `protobuf:"varint,100,opt,name=value,oneof"`
  2919. }
  2920. func (*Oneof_Value) isOneof_Tormato() {}
  2921. func (m *Oneof) GetTormato() isOneof_Tormato {
  2922. if m != nil {
  2923. return m.Tormato
  2924. }
  2925. return nil
  2926. }
  2927. func (m *Oneof) GetValue() int32 {
  2928. if x, ok := m.GetTormato().(*Oneof_Value); ok {
  2929. return x.Value
  2930. }
  2931. return 0
  2932. }
  2933. // XXX_OneofFuncs is for the internal use of the proto package.
  2934. func (*Oneof) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  2935. return _Oneof_OneofMarshaler, _Oneof_OneofUnmarshaler, _Oneof_OneofSizer, []interface{}{
  2936. (*Oneof_F_Bool)(nil),
  2937. (*Oneof_F_Int32)(nil),
  2938. (*Oneof_F_Int64)(nil),
  2939. (*Oneof_F_Fixed32)(nil),
  2940. (*Oneof_F_Fixed64)(nil),
  2941. (*Oneof_F_Uint32)(nil),
  2942. (*Oneof_F_Uint64)(nil),
  2943. (*Oneof_F_Float)(nil),
  2944. (*Oneof_F_Double)(nil),
  2945. (*Oneof_F_String)(nil),
  2946. (*Oneof_F_Bytes)(nil),
  2947. (*Oneof_F_Sint32)(nil),
  2948. (*Oneof_F_Sint64)(nil),
  2949. (*Oneof_F_Enum)(nil),
  2950. (*Oneof_F_Message)(nil),
  2951. (*Oneof_FGroup)(nil),
  2952. (*Oneof_F_Largest_Tag)(nil),
  2953. (*Oneof_Value)(nil),
  2954. }
  2955. }
  2956. func _Oneof_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  2957. m := msg.(*Oneof)
  2958. // union
  2959. switch x := m.Union.(type) {
  2960. case *Oneof_F_Bool:
  2961. t := uint64(0)
  2962. if x.F_Bool {
  2963. t = 1
  2964. }
  2965. b.EncodeVarint(1<<3 | proto.WireVarint)
  2966. b.EncodeVarint(t)
  2967. case *Oneof_F_Int32:
  2968. b.EncodeVarint(2<<3 | proto.WireVarint)
  2969. b.EncodeVarint(uint64(x.F_Int32))
  2970. case *Oneof_F_Int64:
  2971. b.EncodeVarint(3<<3 | proto.WireVarint)
  2972. b.EncodeVarint(uint64(x.F_Int64))
  2973. case *Oneof_F_Fixed32:
  2974. b.EncodeVarint(4<<3 | proto.WireFixed32)
  2975. b.EncodeFixed32(uint64(x.F_Fixed32))
  2976. case *Oneof_F_Fixed64:
  2977. b.EncodeVarint(5<<3 | proto.WireFixed64)
  2978. b.EncodeFixed64(uint64(x.F_Fixed64))
  2979. case *Oneof_F_Uint32:
  2980. b.EncodeVarint(6<<3 | proto.WireVarint)
  2981. b.EncodeVarint(uint64(x.F_Uint32))
  2982. case *Oneof_F_Uint64:
  2983. b.EncodeVarint(7<<3 | proto.WireVarint)
  2984. b.EncodeVarint(uint64(x.F_Uint64))
  2985. case *Oneof_F_Float:
  2986. b.EncodeVarint(8<<3 | proto.WireFixed32)
  2987. b.EncodeFixed32(uint64(math.Float32bits(x.F_Float)))
  2988. case *Oneof_F_Double:
  2989. b.EncodeVarint(9<<3 | proto.WireFixed64)
  2990. b.EncodeFixed64(math.Float64bits(x.F_Double))
  2991. case *Oneof_F_String:
  2992. b.EncodeVarint(10<<3 | proto.WireBytes)
  2993. b.EncodeStringBytes(x.F_String)
  2994. case *Oneof_F_Bytes:
  2995. b.EncodeVarint(11<<3 | proto.WireBytes)
  2996. b.EncodeRawBytes(x.F_Bytes)
  2997. case *Oneof_F_Sint32:
  2998. b.EncodeVarint(12<<3 | proto.WireVarint)
  2999. b.EncodeZigzag32(uint64(x.F_Sint32))
  3000. case *Oneof_F_Sint64:
  3001. b.EncodeVarint(13<<3 | proto.WireVarint)
  3002. b.EncodeZigzag64(uint64(x.F_Sint64))
  3003. case *Oneof_F_Enum:
  3004. b.EncodeVarint(14<<3 | proto.WireVarint)
  3005. b.EncodeVarint(uint64(x.F_Enum))
  3006. case *Oneof_F_Message:
  3007. b.EncodeVarint(15<<3 | proto.WireBytes)
  3008. if err := b.EncodeMessage(x.F_Message); err != nil {
  3009. return err
  3010. }
  3011. case *Oneof_FGroup:
  3012. b.EncodeVarint(16<<3 | proto.WireStartGroup)
  3013. if err := b.Marshal(x.FGroup); err != nil {
  3014. return err
  3015. }
  3016. b.EncodeVarint(16<<3 | proto.WireEndGroup)
  3017. case *Oneof_F_Largest_Tag:
  3018. b.EncodeVarint(536870911<<3 | proto.WireVarint)
  3019. b.EncodeVarint(uint64(x.F_Largest_Tag))
  3020. case nil:
  3021. default:
  3022. return fmt.Errorf("Oneof.Union has unexpected type %T", x)
  3023. }
  3024. // tormato
  3025. switch x := m.Tormato.(type) {
  3026. case *Oneof_Value:
  3027. b.EncodeVarint(100<<3 | proto.WireVarint)
  3028. b.EncodeVarint(uint64(x.Value))
  3029. case nil:
  3030. default:
  3031. return fmt.Errorf("Oneof.Tormato has unexpected type %T", x)
  3032. }
  3033. return nil
  3034. }
  3035. func _Oneof_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  3036. m := msg.(*Oneof)
  3037. switch tag {
  3038. case 1: // union.F_Bool
  3039. if wire != proto.WireVarint {
  3040. return true, proto.ErrInternalBadWireType
  3041. }
  3042. x, err := b.DecodeVarint()
  3043. m.Union = &Oneof_F_Bool{x != 0}
  3044. return true, err
  3045. case 2: // union.F_Int32
  3046. if wire != proto.WireVarint {
  3047. return true, proto.ErrInternalBadWireType
  3048. }
  3049. x, err := b.DecodeVarint()
  3050. m.Union = &Oneof_F_Int32{int32(x)}
  3051. return true, err
  3052. case 3: // union.F_Int64
  3053. if wire != proto.WireVarint {
  3054. return true, proto.ErrInternalBadWireType
  3055. }
  3056. x, err := b.DecodeVarint()
  3057. m.Union = &Oneof_F_Int64{int64(x)}
  3058. return true, err
  3059. case 4: // union.F_Fixed32
  3060. if wire != proto.WireFixed32 {
  3061. return true, proto.ErrInternalBadWireType
  3062. }
  3063. x, err := b.DecodeFixed32()
  3064. m.Union = &Oneof_F_Fixed32{uint32(x)}
  3065. return true, err
  3066. case 5: // union.F_Fixed64
  3067. if wire != proto.WireFixed64 {
  3068. return true, proto.ErrInternalBadWireType
  3069. }
  3070. x, err := b.DecodeFixed64()
  3071. m.Union = &Oneof_F_Fixed64{x}
  3072. return true, err
  3073. case 6: // union.F_Uint32
  3074. if wire != proto.WireVarint {
  3075. return true, proto.ErrInternalBadWireType
  3076. }
  3077. x, err := b.DecodeVarint()
  3078. m.Union = &Oneof_F_Uint32{uint32(x)}
  3079. return true, err
  3080. case 7: // union.F_Uint64
  3081. if wire != proto.WireVarint {
  3082. return true, proto.ErrInternalBadWireType
  3083. }
  3084. x, err := b.DecodeVarint()
  3085. m.Union = &Oneof_F_Uint64{x}
  3086. return true, err
  3087. case 8: // union.F_Float
  3088. if wire != proto.WireFixed32 {
  3089. return true, proto.ErrInternalBadWireType
  3090. }
  3091. x, err := b.DecodeFixed32()
  3092. m.Union = &Oneof_F_Float{math.Float32frombits(uint32(x))}
  3093. return true, err
  3094. case 9: // union.F_Double
  3095. if wire != proto.WireFixed64 {
  3096. return true, proto.ErrInternalBadWireType
  3097. }
  3098. x, err := b.DecodeFixed64()
  3099. m.Union = &Oneof_F_Double{math.Float64frombits(x)}
  3100. return true, err
  3101. case 10: // union.F_String
  3102. if wire != proto.WireBytes {
  3103. return true, proto.ErrInternalBadWireType
  3104. }
  3105. x, err := b.DecodeStringBytes()
  3106. m.Union = &Oneof_F_String{x}
  3107. return true, err
  3108. case 11: // union.F_Bytes
  3109. if wire != proto.WireBytes {
  3110. return true, proto.ErrInternalBadWireType
  3111. }
  3112. x, err := b.DecodeRawBytes(true)
  3113. m.Union = &Oneof_F_Bytes{x}
  3114. return true, err
  3115. case 12: // union.F_Sint32
  3116. if wire != proto.WireVarint {
  3117. return true, proto.ErrInternalBadWireType
  3118. }
  3119. x, err := b.DecodeZigzag32()
  3120. m.Union = &Oneof_F_Sint32{int32(x)}
  3121. return true, err
  3122. case 13: // union.F_Sint64
  3123. if wire != proto.WireVarint {
  3124. return true, proto.ErrInternalBadWireType
  3125. }
  3126. x, err := b.DecodeZigzag64()
  3127. m.Union = &Oneof_F_Sint64{int64(x)}
  3128. return true, err
  3129. case 14: // union.F_Enum
  3130. if wire != proto.WireVarint {
  3131. return true, proto.ErrInternalBadWireType
  3132. }
  3133. x, err := b.DecodeVarint()
  3134. m.Union = &Oneof_F_Enum{MyMessage_Color(x)}
  3135. return true, err
  3136. case 15: // union.F_Message
  3137. if wire != proto.WireBytes {
  3138. return true, proto.ErrInternalBadWireType
  3139. }
  3140. msg := new(GoTestField)
  3141. err := b.DecodeMessage(msg)
  3142. m.Union = &Oneof_F_Message{msg}
  3143. return true, err
  3144. case 16: // union.f_group
  3145. if wire != proto.WireStartGroup {
  3146. return true, proto.ErrInternalBadWireType
  3147. }
  3148. msg := new(Oneof_F_Group)
  3149. err := b.DecodeGroup(msg)
  3150. m.Union = &Oneof_FGroup{msg}
  3151. return true, err
  3152. case 536870911: // union.F_Largest_Tag
  3153. if wire != proto.WireVarint {
  3154. return true, proto.ErrInternalBadWireType
  3155. }
  3156. x, err := b.DecodeVarint()
  3157. m.Union = &Oneof_F_Largest_Tag{int32(x)}
  3158. return true, err
  3159. case 100: // tormato.value
  3160. if wire != proto.WireVarint {
  3161. return true, proto.ErrInternalBadWireType
  3162. }
  3163. x, err := b.DecodeVarint()
  3164. m.Tormato = &Oneof_Value{int32(x)}
  3165. return true, err
  3166. default:
  3167. return false, nil
  3168. }
  3169. }
  3170. func _Oneof_OneofSizer(msg proto.Message) (n int) {
  3171. m := msg.(*Oneof)
  3172. // union
  3173. switch x := m.Union.(type) {
  3174. case *Oneof_F_Bool:
  3175. n += 1 // tag and wire
  3176. n += 1
  3177. case *Oneof_F_Int32:
  3178. n += 1 // tag and wire
  3179. n += proto.SizeVarint(uint64(x.F_Int32))
  3180. case *Oneof_F_Int64:
  3181. n += 1 // tag and wire
  3182. n += proto.SizeVarint(uint64(x.F_Int64))
  3183. case *Oneof_F_Fixed32:
  3184. n += 1 // tag and wire
  3185. n += 4
  3186. case *Oneof_F_Fixed64:
  3187. n += 1 // tag and wire
  3188. n += 8
  3189. case *Oneof_F_Uint32:
  3190. n += 1 // tag and wire
  3191. n += proto.SizeVarint(uint64(x.F_Uint32))
  3192. case *Oneof_F_Uint64:
  3193. n += 1 // tag and wire
  3194. n += proto.SizeVarint(uint64(x.F_Uint64))
  3195. case *Oneof_F_Float:
  3196. n += 1 // tag and wire
  3197. n += 4
  3198. case *Oneof_F_Double:
  3199. n += 1 // tag and wire
  3200. n += 8
  3201. case *Oneof_F_String:
  3202. n += 1 // tag and wire
  3203. n += proto.SizeVarint(uint64(len(x.F_String)))
  3204. n += len(x.F_String)
  3205. case *Oneof_F_Bytes:
  3206. n += 1 // tag and wire
  3207. n += proto.SizeVarint(uint64(len(x.F_Bytes)))
  3208. n += len(x.F_Bytes)
  3209. case *Oneof_F_Sint32:
  3210. n += 1 // tag and wire
  3211. n += proto.SizeVarint(uint64((uint32(x.F_Sint32) << 1) ^ uint32((int32(x.F_Sint32) >> 31))))
  3212. case *Oneof_F_Sint64:
  3213. n += 1 // tag and wire
  3214. n += proto.SizeVarint(uint64(uint64(x.F_Sint64<<1) ^ uint64((int64(x.F_Sint64) >> 63))))
  3215. case *Oneof_F_Enum:
  3216. n += 1 // tag and wire
  3217. n += proto.SizeVarint(uint64(x.F_Enum))
  3218. case *Oneof_F_Message:
  3219. s := proto.Size(x.F_Message)
  3220. n += 1 // tag and wire
  3221. n += proto.SizeVarint(uint64(s))
  3222. n += s
  3223. case *Oneof_FGroup:
  3224. n += 2 // tag and wire
  3225. n += proto.Size(x.FGroup)
  3226. n += 2 // tag and wire
  3227. case *Oneof_F_Largest_Tag:
  3228. n += 10 // tag and wire
  3229. n += proto.SizeVarint(uint64(x.F_Largest_Tag))
  3230. case nil:
  3231. default:
  3232. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  3233. }
  3234. // tormato
  3235. switch x := m.Tormato.(type) {
  3236. case *Oneof_Value:
  3237. n += 2 // tag and wire
  3238. n += proto.SizeVarint(uint64(x.Value))
  3239. case nil:
  3240. default:
  3241. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  3242. }
  3243. return n
  3244. }
  3245. type Oneof_F_Group struct {
  3246. X *int32 `protobuf:"varint,17,opt,name=x" json:"x,omitempty"`
  3247. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3248. XXX_unrecognized []byte `json:"-"`
  3249. XXX_sizecache int32 `json:"-"`
  3250. }
  3251. func (m *Oneof_F_Group) Reset() { *m = Oneof_F_Group{} }
  3252. func (m *Oneof_F_Group) String() string { return proto.CompactTextString(m) }
  3253. func (*Oneof_F_Group) ProtoMessage() {}
  3254. func (*Oneof_F_Group) Descriptor() ([]byte, []int) {
  3255. return fileDescriptor_8ca34d01332f1402, []int{29, 0}
  3256. }
  3257. func (m *Oneof_F_Group) XXX_Unmarshal(b []byte) error {
  3258. return xxx_messageInfo_Oneof_F_Group.Unmarshal(m, b)
  3259. }
  3260. func (m *Oneof_F_Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3261. return xxx_messageInfo_Oneof_F_Group.Marshal(b, m, deterministic)
  3262. }
  3263. func (m *Oneof_F_Group) XXX_Merge(src proto.Message) {
  3264. xxx_messageInfo_Oneof_F_Group.Merge(m, src)
  3265. }
  3266. func (m *Oneof_F_Group) XXX_Size() int {
  3267. return xxx_messageInfo_Oneof_F_Group.Size(m)
  3268. }
  3269. func (m *Oneof_F_Group) XXX_DiscardUnknown() {
  3270. xxx_messageInfo_Oneof_F_Group.DiscardUnknown(m)
  3271. }
  3272. var xxx_messageInfo_Oneof_F_Group proto.InternalMessageInfo
  3273. func (m *Oneof_F_Group) GetX() int32 {
  3274. if m != nil && m.X != nil {
  3275. return *m.X
  3276. }
  3277. return 0
  3278. }
  3279. type Communique struct {
  3280. MakeMeCry *bool `protobuf:"varint,1,opt,name=make_me_cry,json=makeMeCry" json:"make_me_cry,omitempty"`
  3281. // This is a oneof, called "union".
  3282. //
  3283. // Types that are valid to be assigned to Union:
  3284. // *Communique_Number
  3285. // *Communique_Name
  3286. // *Communique_Data
  3287. // *Communique_TempC
  3288. // *Communique_Col
  3289. // *Communique_Msg
  3290. Union isCommunique_Union `protobuf_oneof:"union"`
  3291. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3292. XXX_unrecognized []byte `json:"-"`
  3293. XXX_sizecache int32 `json:"-"`
  3294. }
  3295. func (m *Communique) Reset() { *m = Communique{} }
  3296. func (m *Communique) String() string { return proto.CompactTextString(m) }
  3297. func (*Communique) ProtoMessage() {}
  3298. func (*Communique) Descriptor() ([]byte, []int) {
  3299. return fileDescriptor_8ca34d01332f1402, []int{30}
  3300. }
  3301. func (m *Communique) XXX_Unmarshal(b []byte) error {
  3302. return xxx_messageInfo_Communique.Unmarshal(m, b)
  3303. }
  3304. func (m *Communique) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3305. return xxx_messageInfo_Communique.Marshal(b, m, deterministic)
  3306. }
  3307. func (m *Communique) XXX_Merge(src proto.Message) {
  3308. xxx_messageInfo_Communique.Merge(m, src)
  3309. }
  3310. func (m *Communique) XXX_Size() int {
  3311. return xxx_messageInfo_Communique.Size(m)
  3312. }
  3313. func (m *Communique) XXX_DiscardUnknown() {
  3314. xxx_messageInfo_Communique.DiscardUnknown(m)
  3315. }
  3316. var xxx_messageInfo_Communique proto.InternalMessageInfo
  3317. func (m *Communique) GetMakeMeCry() bool {
  3318. if m != nil && m.MakeMeCry != nil {
  3319. return *m.MakeMeCry
  3320. }
  3321. return false
  3322. }
  3323. type isCommunique_Union interface {
  3324. isCommunique_Union()
  3325. }
  3326. type Communique_Number struct {
  3327. Number int32 `protobuf:"varint,5,opt,name=number,oneof"`
  3328. }
  3329. type Communique_Name struct {
  3330. Name string `protobuf:"bytes,6,opt,name=name,oneof"`
  3331. }
  3332. type Communique_Data struct {
  3333. Data []byte `protobuf:"bytes,7,opt,name=data,oneof"`
  3334. }
  3335. type Communique_TempC struct {
  3336. TempC float64 `protobuf:"fixed64,8,opt,name=temp_c,json=tempC,oneof"`
  3337. }
  3338. type Communique_Col struct {
  3339. Col MyMessage_Color `protobuf:"varint,9,opt,name=col,enum=test_proto.MyMessage_Color,oneof"`
  3340. }
  3341. type Communique_Msg struct {
  3342. Msg *Strings `protobuf:"bytes,10,opt,name=msg,oneof"`
  3343. }
  3344. func (*Communique_Number) isCommunique_Union() {}
  3345. func (*Communique_Name) isCommunique_Union() {}
  3346. func (*Communique_Data) isCommunique_Union() {}
  3347. func (*Communique_TempC) isCommunique_Union() {}
  3348. func (*Communique_Col) isCommunique_Union() {}
  3349. func (*Communique_Msg) isCommunique_Union() {}
  3350. func (m *Communique) GetUnion() isCommunique_Union {
  3351. if m != nil {
  3352. return m.Union
  3353. }
  3354. return nil
  3355. }
  3356. func (m *Communique) GetNumber() int32 {
  3357. if x, ok := m.GetUnion().(*Communique_Number); ok {
  3358. return x.Number
  3359. }
  3360. return 0
  3361. }
  3362. func (m *Communique) GetName() string {
  3363. if x, ok := m.GetUnion().(*Communique_Name); ok {
  3364. return x.Name
  3365. }
  3366. return ""
  3367. }
  3368. func (m *Communique) GetData() []byte {
  3369. if x, ok := m.GetUnion().(*Communique_Data); ok {
  3370. return x.Data
  3371. }
  3372. return nil
  3373. }
  3374. func (m *Communique) GetTempC() float64 {
  3375. if x, ok := m.GetUnion().(*Communique_TempC); ok {
  3376. return x.TempC
  3377. }
  3378. return 0
  3379. }
  3380. func (m *Communique) GetCol() MyMessage_Color {
  3381. if x, ok := m.GetUnion().(*Communique_Col); ok {
  3382. return x.Col
  3383. }
  3384. return MyMessage_RED
  3385. }
  3386. func (m *Communique) GetMsg() *Strings {
  3387. if x, ok := m.GetUnion().(*Communique_Msg); ok {
  3388. return x.Msg
  3389. }
  3390. return nil
  3391. }
  3392. // XXX_OneofFuncs is for the internal use of the proto package.
  3393. func (*Communique) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  3394. return _Communique_OneofMarshaler, _Communique_OneofUnmarshaler, _Communique_OneofSizer, []interface{}{
  3395. (*Communique_Number)(nil),
  3396. (*Communique_Name)(nil),
  3397. (*Communique_Data)(nil),
  3398. (*Communique_TempC)(nil),
  3399. (*Communique_Col)(nil),
  3400. (*Communique_Msg)(nil),
  3401. }
  3402. }
  3403. func _Communique_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  3404. m := msg.(*Communique)
  3405. // union
  3406. switch x := m.Union.(type) {
  3407. case *Communique_Number:
  3408. b.EncodeVarint(5<<3 | proto.WireVarint)
  3409. b.EncodeVarint(uint64(x.Number))
  3410. case *Communique_Name:
  3411. b.EncodeVarint(6<<3 | proto.WireBytes)
  3412. b.EncodeStringBytes(x.Name)
  3413. case *Communique_Data:
  3414. b.EncodeVarint(7<<3 | proto.WireBytes)
  3415. b.EncodeRawBytes(x.Data)
  3416. case *Communique_TempC:
  3417. b.EncodeVarint(8<<3 | proto.WireFixed64)
  3418. b.EncodeFixed64(math.Float64bits(x.TempC))
  3419. case *Communique_Col:
  3420. b.EncodeVarint(9<<3 | proto.WireVarint)
  3421. b.EncodeVarint(uint64(x.Col))
  3422. case *Communique_Msg:
  3423. b.EncodeVarint(10<<3 | proto.WireBytes)
  3424. if err := b.EncodeMessage(x.Msg); err != nil {
  3425. return err
  3426. }
  3427. case nil:
  3428. default:
  3429. return fmt.Errorf("Communique.Union has unexpected type %T", x)
  3430. }
  3431. return nil
  3432. }
  3433. func _Communique_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  3434. m := msg.(*Communique)
  3435. switch tag {
  3436. case 5: // union.number
  3437. if wire != proto.WireVarint {
  3438. return true, proto.ErrInternalBadWireType
  3439. }
  3440. x, err := b.DecodeVarint()
  3441. m.Union = &Communique_Number{int32(x)}
  3442. return true, err
  3443. case 6: // union.name
  3444. if wire != proto.WireBytes {
  3445. return true, proto.ErrInternalBadWireType
  3446. }
  3447. x, err := b.DecodeStringBytes()
  3448. m.Union = &Communique_Name{x}
  3449. return true, err
  3450. case 7: // union.data
  3451. if wire != proto.WireBytes {
  3452. return true, proto.ErrInternalBadWireType
  3453. }
  3454. x, err := b.DecodeRawBytes(true)
  3455. m.Union = &Communique_Data{x}
  3456. return true, err
  3457. case 8: // union.temp_c
  3458. if wire != proto.WireFixed64 {
  3459. return true, proto.ErrInternalBadWireType
  3460. }
  3461. x, err := b.DecodeFixed64()
  3462. m.Union = &Communique_TempC{math.Float64frombits(x)}
  3463. return true, err
  3464. case 9: // union.col
  3465. if wire != proto.WireVarint {
  3466. return true, proto.ErrInternalBadWireType
  3467. }
  3468. x, err := b.DecodeVarint()
  3469. m.Union = &Communique_Col{MyMessage_Color(x)}
  3470. return true, err
  3471. case 10: // union.msg
  3472. if wire != proto.WireBytes {
  3473. return true, proto.ErrInternalBadWireType
  3474. }
  3475. msg := new(Strings)
  3476. err := b.DecodeMessage(msg)
  3477. m.Union = &Communique_Msg{msg}
  3478. return true, err
  3479. default:
  3480. return false, nil
  3481. }
  3482. }
  3483. func _Communique_OneofSizer(msg proto.Message) (n int) {
  3484. m := msg.(*Communique)
  3485. // union
  3486. switch x := m.Union.(type) {
  3487. case *Communique_Number:
  3488. n += 1 // tag and wire
  3489. n += proto.SizeVarint(uint64(x.Number))
  3490. case *Communique_Name:
  3491. n += 1 // tag and wire
  3492. n += proto.SizeVarint(uint64(len(x.Name)))
  3493. n += len(x.Name)
  3494. case *Communique_Data:
  3495. n += 1 // tag and wire
  3496. n += proto.SizeVarint(uint64(len(x.Data)))
  3497. n += len(x.Data)
  3498. case *Communique_TempC:
  3499. n += 1 // tag and wire
  3500. n += 8
  3501. case *Communique_Col:
  3502. n += 1 // tag and wire
  3503. n += proto.SizeVarint(uint64(x.Col))
  3504. case *Communique_Msg:
  3505. s := proto.Size(x.Msg)
  3506. n += 1 // tag and wire
  3507. n += proto.SizeVarint(uint64(s))
  3508. n += s
  3509. case nil:
  3510. default:
  3511. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  3512. }
  3513. return n
  3514. }
  3515. type TestUTF8 struct {
  3516. Scalar *string `protobuf:"bytes,1,opt,name=scalar" json:"scalar,omitempty"`
  3517. Vector []string `protobuf:"bytes,2,rep,name=vector" json:"vector,omitempty"`
  3518. // Types that are valid to be assigned to Oneof:
  3519. // *TestUTF8_Field
  3520. Oneof isTestUTF8_Oneof `protobuf_oneof:"oneof"`
  3521. MapKey map[string]int64 `protobuf:"bytes,4,rep,name=map_key,json=mapKey" json:"map_key,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  3522. MapValue map[int64]string `protobuf:"bytes,5,rep,name=map_value,json=mapValue" json:"map_value,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  3523. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3524. XXX_unrecognized []byte `json:"-"`
  3525. XXX_sizecache int32 `json:"-"`
  3526. }
  3527. func (m *TestUTF8) Reset() { *m = TestUTF8{} }
  3528. func (m *TestUTF8) String() string { return proto.CompactTextString(m) }
  3529. func (*TestUTF8) ProtoMessage() {}
  3530. func (*TestUTF8) Descriptor() ([]byte, []int) {
  3531. return fileDescriptor_8ca34d01332f1402, []int{31}
  3532. }
  3533. func (m *TestUTF8) XXX_Unmarshal(b []byte) error {
  3534. return xxx_messageInfo_TestUTF8.Unmarshal(m, b)
  3535. }
  3536. func (m *TestUTF8) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3537. return xxx_messageInfo_TestUTF8.Marshal(b, m, deterministic)
  3538. }
  3539. func (m *TestUTF8) XXX_Merge(src proto.Message) {
  3540. xxx_messageInfo_TestUTF8.Merge(m, src)
  3541. }
  3542. func (m *TestUTF8) XXX_Size() int {
  3543. return xxx_messageInfo_TestUTF8.Size(m)
  3544. }
  3545. func (m *TestUTF8) XXX_DiscardUnknown() {
  3546. xxx_messageInfo_TestUTF8.DiscardUnknown(m)
  3547. }
  3548. var xxx_messageInfo_TestUTF8 proto.InternalMessageInfo
  3549. func (m *TestUTF8) GetScalar() string {
  3550. if m != nil && m.Scalar != nil {
  3551. return *m.Scalar
  3552. }
  3553. return ""
  3554. }
  3555. func (m *TestUTF8) GetVector() []string {
  3556. if m != nil {
  3557. return m.Vector
  3558. }
  3559. return nil
  3560. }
  3561. type isTestUTF8_Oneof interface {
  3562. isTestUTF8_Oneof()
  3563. }
  3564. type TestUTF8_Field struct {
  3565. Field string `protobuf:"bytes,3,opt,name=field,oneof"`
  3566. }
  3567. func (*TestUTF8_Field) isTestUTF8_Oneof() {}
  3568. func (m *TestUTF8) GetOneof() isTestUTF8_Oneof {
  3569. if m != nil {
  3570. return m.Oneof
  3571. }
  3572. return nil
  3573. }
  3574. func (m *TestUTF8) GetField() string {
  3575. if x, ok := m.GetOneof().(*TestUTF8_Field); ok {
  3576. return x.Field
  3577. }
  3578. return ""
  3579. }
  3580. func (m *TestUTF8) GetMapKey() map[string]int64 {
  3581. if m != nil {
  3582. return m.MapKey
  3583. }
  3584. return nil
  3585. }
  3586. func (m *TestUTF8) GetMapValue() map[int64]string {
  3587. if m != nil {
  3588. return m.MapValue
  3589. }
  3590. return nil
  3591. }
  3592. // XXX_OneofFuncs is for the internal use of the proto package.
  3593. func (*TestUTF8) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  3594. return _TestUTF8_OneofMarshaler, _TestUTF8_OneofUnmarshaler, _TestUTF8_OneofSizer, []interface{}{
  3595. (*TestUTF8_Field)(nil),
  3596. }
  3597. }
  3598. func _TestUTF8_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  3599. m := msg.(*TestUTF8)
  3600. // oneof
  3601. switch x := m.Oneof.(type) {
  3602. case *TestUTF8_Field:
  3603. b.EncodeVarint(3<<3 | proto.WireBytes)
  3604. b.EncodeStringBytes(x.Field)
  3605. case nil:
  3606. default:
  3607. return fmt.Errorf("TestUTF8.Oneof has unexpected type %T", x)
  3608. }
  3609. return nil
  3610. }
  3611. func _TestUTF8_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  3612. m := msg.(*TestUTF8)
  3613. switch tag {
  3614. case 3: // oneof.field
  3615. if wire != proto.WireBytes {
  3616. return true, proto.ErrInternalBadWireType
  3617. }
  3618. x, err := b.DecodeStringBytes()
  3619. m.Oneof = &TestUTF8_Field{x}
  3620. return true, err
  3621. default:
  3622. return false, nil
  3623. }
  3624. }
  3625. func _TestUTF8_OneofSizer(msg proto.Message) (n int) {
  3626. m := msg.(*TestUTF8)
  3627. // oneof
  3628. switch x := m.Oneof.(type) {
  3629. case *TestUTF8_Field:
  3630. n += 1 // tag and wire
  3631. n += proto.SizeVarint(uint64(len(x.Field)))
  3632. n += len(x.Field)
  3633. case nil:
  3634. default:
  3635. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  3636. }
  3637. return n
  3638. }
  3639. var E_Greeting = &proto.ExtensionDesc{
  3640. ExtendedType: (*MyMessage)(nil),
  3641. ExtensionType: ([]string)(nil),
  3642. Field: 106,
  3643. Name: "test_proto.greeting",
  3644. Tag: "bytes,106,rep,name=greeting",
  3645. Filename: "test_proto/test.proto",
  3646. }
  3647. var E_Complex = &proto.ExtensionDesc{
  3648. ExtendedType: (*OtherMessage)(nil),
  3649. ExtensionType: (*ComplexExtension)(nil),
  3650. Field: 200,
  3651. Name: "test_proto.complex",
  3652. Tag: "bytes,200,opt,name=complex",
  3653. Filename: "test_proto/test.proto",
  3654. }
  3655. var E_RComplex = &proto.ExtensionDesc{
  3656. ExtendedType: (*OtherMessage)(nil),
  3657. ExtensionType: ([]*ComplexExtension)(nil),
  3658. Field: 201,
  3659. Name: "test_proto.r_complex",
  3660. Tag: "bytes,201,rep,name=r_complex",
  3661. Filename: "test_proto/test.proto",
  3662. }
  3663. var E_NoDefaultDouble = &proto.ExtensionDesc{
  3664. ExtendedType: (*DefaultsMessage)(nil),
  3665. ExtensionType: (*float64)(nil),
  3666. Field: 101,
  3667. Name: "test_proto.no_default_double",
  3668. Tag: "fixed64,101,opt,name=no_default_double",
  3669. Filename: "test_proto/test.proto",
  3670. }
  3671. var E_NoDefaultFloat = &proto.ExtensionDesc{
  3672. ExtendedType: (*DefaultsMessage)(nil),
  3673. ExtensionType: (*float32)(nil),
  3674. Field: 102,
  3675. Name: "test_proto.no_default_float",
  3676. Tag: "fixed32,102,opt,name=no_default_float",
  3677. Filename: "test_proto/test.proto",
  3678. }
  3679. var E_NoDefaultInt32 = &proto.ExtensionDesc{
  3680. ExtendedType: (*DefaultsMessage)(nil),
  3681. ExtensionType: (*int32)(nil),
  3682. Field: 103,
  3683. Name: "test_proto.no_default_int32",
  3684. Tag: "varint,103,opt,name=no_default_int32",
  3685. Filename: "test_proto/test.proto",
  3686. }
  3687. var E_NoDefaultInt64 = &proto.ExtensionDesc{
  3688. ExtendedType: (*DefaultsMessage)(nil),
  3689. ExtensionType: (*int64)(nil),
  3690. Field: 104,
  3691. Name: "test_proto.no_default_int64",
  3692. Tag: "varint,104,opt,name=no_default_int64",
  3693. Filename: "test_proto/test.proto",
  3694. }
  3695. var E_NoDefaultUint32 = &proto.ExtensionDesc{
  3696. ExtendedType: (*DefaultsMessage)(nil),
  3697. ExtensionType: (*uint32)(nil),
  3698. Field: 105,
  3699. Name: "test_proto.no_default_uint32",
  3700. Tag: "varint,105,opt,name=no_default_uint32",
  3701. Filename: "test_proto/test.proto",
  3702. }
  3703. var E_NoDefaultUint64 = &proto.ExtensionDesc{
  3704. ExtendedType: (*DefaultsMessage)(nil),
  3705. ExtensionType: (*uint64)(nil),
  3706. Field: 106,
  3707. Name: "test_proto.no_default_uint64",
  3708. Tag: "varint,106,opt,name=no_default_uint64",
  3709. Filename: "test_proto/test.proto",
  3710. }
  3711. var E_NoDefaultSint32 = &proto.ExtensionDesc{
  3712. ExtendedType: (*DefaultsMessage)(nil),
  3713. ExtensionType: (*int32)(nil),
  3714. Field: 107,
  3715. Name: "test_proto.no_default_sint32",
  3716. Tag: "zigzag32,107,opt,name=no_default_sint32",
  3717. Filename: "test_proto/test.proto",
  3718. }
  3719. var E_NoDefaultSint64 = &proto.ExtensionDesc{
  3720. ExtendedType: (*DefaultsMessage)(nil),
  3721. ExtensionType: (*int64)(nil),
  3722. Field: 108,
  3723. Name: "test_proto.no_default_sint64",
  3724. Tag: "zigzag64,108,opt,name=no_default_sint64",
  3725. Filename: "test_proto/test.proto",
  3726. }
  3727. var E_NoDefaultFixed32 = &proto.ExtensionDesc{
  3728. ExtendedType: (*DefaultsMessage)(nil),
  3729. ExtensionType: (*uint32)(nil),
  3730. Field: 109,
  3731. Name: "test_proto.no_default_fixed32",
  3732. Tag: "fixed32,109,opt,name=no_default_fixed32",
  3733. Filename: "test_proto/test.proto",
  3734. }
  3735. var E_NoDefaultFixed64 = &proto.ExtensionDesc{
  3736. ExtendedType: (*DefaultsMessage)(nil),
  3737. ExtensionType: (*uint64)(nil),
  3738. Field: 110,
  3739. Name: "test_proto.no_default_fixed64",
  3740. Tag: "fixed64,110,opt,name=no_default_fixed64",
  3741. Filename: "test_proto/test.proto",
  3742. }
  3743. var E_NoDefaultSfixed32 = &proto.ExtensionDesc{
  3744. ExtendedType: (*DefaultsMessage)(nil),
  3745. ExtensionType: (*int32)(nil),
  3746. Field: 111,
  3747. Name: "test_proto.no_default_sfixed32",
  3748. Tag: "fixed32,111,opt,name=no_default_sfixed32",
  3749. Filename: "test_proto/test.proto",
  3750. }
  3751. var E_NoDefaultSfixed64 = &proto.ExtensionDesc{
  3752. ExtendedType: (*DefaultsMessage)(nil),
  3753. ExtensionType: (*int64)(nil),
  3754. Field: 112,
  3755. Name: "test_proto.no_default_sfixed64",
  3756. Tag: "fixed64,112,opt,name=no_default_sfixed64",
  3757. Filename: "test_proto/test.proto",
  3758. }
  3759. var E_NoDefaultBool = &proto.ExtensionDesc{
  3760. ExtendedType: (*DefaultsMessage)(nil),
  3761. ExtensionType: (*bool)(nil),
  3762. Field: 113,
  3763. Name: "test_proto.no_default_bool",
  3764. Tag: "varint,113,opt,name=no_default_bool",
  3765. Filename: "test_proto/test.proto",
  3766. }
  3767. var E_NoDefaultString = &proto.ExtensionDesc{
  3768. ExtendedType: (*DefaultsMessage)(nil),
  3769. ExtensionType: (*string)(nil),
  3770. Field: 114,
  3771. Name: "test_proto.no_default_string",
  3772. Tag: "bytes,114,opt,name=no_default_string",
  3773. Filename: "test_proto/test.proto",
  3774. }
  3775. var E_NoDefaultBytes = &proto.ExtensionDesc{
  3776. ExtendedType: (*DefaultsMessage)(nil),
  3777. ExtensionType: ([]byte)(nil),
  3778. Field: 115,
  3779. Name: "test_proto.no_default_bytes",
  3780. Tag: "bytes,115,opt,name=no_default_bytes",
  3781. Filename: "test_proto/test.proto",
  3782. }
  3783. var E_NoDefaultEnum = &proto.ExtensionDesc{
  3784. ExtendedType: (*DefaultsMessage)(nil),
  3785. ExtensionType: (*DefaultsMessage_DefaultsEnum)(nil),
  3786. Field: 116,
  3787. Name: "test_proto.no_default_enum",
  3788. Tag: "varint,116,opt,name=no_default_enum,enum=test_proto.DefaultsMessage_DefaultsEnum",
  3789. Filename: "test_proto/test.proto",
  3790. }
  3791. var E_DefaultDouble = &proto.ExtensionDesc{
  3792. ExtendedType: (*DefaultsMessage)(nil),
  3793. ExtensionType: (*float64)(nil),
  3794. Field: 201,
  3795. Name: "test_proto.default_double",
  3796. Tag: "fixed64,201,opt,name=default_double,def=3.1415",
  3797. Filename: "test_proto/test.proto",
  3798. }
  3799. var E_DefaultFloat = &proto.ExtensionDesc{
  3800. ExtendedType: (*DefaultsMessage)(nil),
  3801. ExtensionType: (*float32)(nil),
  3802. Field: 202,
  3803. Name: "test_proto.default_float",
  3804. Tag: "fixed32,202,opt,name=default_float,def=3.14",
  3805. Filename: "test_proto/test.proto",
  3806. }
  3807. var E_DefaultInt32 = &proto.ExtensionDesc{
  3808. ExtendedType: (*DefaultsMessage)(nil),
  3809. ExtensionType: (*int32)(nil),
  3810. Field: 203,
  3811. Name: "test_proto.default_int32",
  3812. Tag: "varint,203,opt,name=default_int32,def=42",
  3813. Filename: "test_proto/test.proto",
  3814. }
  3815. var E_DefaultInt64 = &proto.ExtensionDesc{
  3816. ExtendedType: (*DefaultsMessage)(nil),
  3817. ExtensionType: (*int64)(nil),
  3818. Field: 204,
  3819. Name: "test_proto.default_int64",
  3820. Tag: "varint,204,opt,name=default_int64,def=43",
  3821. Filename: "test_proto/test.proto",
  3822. }
  3823. var E_DefaultUint32 = &proto.ExtensionDesc{
  3824. ExtendedType: (*DefaultsMessage)(nil),
  3825. ExtensionType: (*uint32)(nil),
  3826. Field: 205,
  3827. Name: "test_proto.default_uint32",
  3828. Tag: "varint,205,opt,name=default_uint32,def=44",
  3829. Filename: "test_proto/test.proto",
  3830. }
  3831. var E_DefaultUint64 = &proto.ExtensionDesc{
  3832. ExtendedType: (*DefaultsMessage)(nil),
  3833. ExtensionType: (*uint64)(nil),
  3834. Field: 206,
  3835. Name: "test_proto.default_uint64",
  3836. Tag: "varint,206,opt,name=default_uint64,def=45",
  3837. Filename: "test_proto/test.proto",
  3838. }
  3839. var E_DefaultSint32 = &proto.ExtensionDesc{
  3840. ExtendedType: (*DefaultsMessage)(nil),
  3841. ExtensionType: (*int32)(nil),
  3842. Field: 207,
  3843. Name: "test_proto.default_sint32",
  3844. Tag: "zigzag32,207,opt,name=default_sint32,def=46",
  3845. Filename: "test_proto/test.proto",
  3846. }
  3847. var E_DefaultSint64 = &proto.ExtensionDesc{
  3848. ExtendedType: (*DefaultsMessage)(nil),
  3849. ExtensionType: (*int64)(nil),
  3850. Field: 208,
  3851. Name: "test_proto.default_sint64",
  3852. Tag: "zigzag64,208,opt,name=default_sint64,def=47",
  3853. Filename: "test_proto/test.proto",
  3854. }
  3855. var E_DefaultFixed32 = &proto.ExtensionDesc{
  3856. ExtendedType: (*DefaultsMessage)(nil),
  3857. ExtensionType: (*uint32)(nil),
  3858. Field: 209,
  3859. Name: "test_proto.default_fixed32",
  3860. Tag: "fixed32,209,opt,name=default_fixed32,def=48",
  3861. Filename: "test_proto/test.proto",
  3862. }
  3863. var E_DefaultFixed64 = &proto.ExtensionDesc{
  3864. ExtendedType: (*DefaultsMessage)(nil),
  3865. ExtensionType: (*uint64)(nil),
  3866. Field: 210,
  3867. Name: "test_proto.default_fixed64",
  3868. Tag: "fixed64,210,opt,name=default_fixed64,def=49",
  3869. Filename: "test_proto/test.proto",
  3870. }
  3871. var E_DefaultSfixed32 = &proto.ExtensionDesc{
  3872. ExtendedType: (*DefaultsMessage)(nil),
  3873. ExtensionType: (*int32)(nil),
  3874. Field: 211,
  3875. Name: "test_proto.default_sfixed32",
  3876. Tag: "fixed32,211,opt,name=default_sfixed32,def=50",
  3877. Filename: "test_proto/test.proto",
  3878. }
  3879. var E_DefaultSfixed64 = &proto.ExtensionDesc{
  3880. ExtendedType: (*DefaultsMessage)(nil),
  3881. ExtensionType: (*int64)(nil),
  3882. Field: 212,
  3883. Name: "test_proto.default_sfixed64",
  3884. Tag: "fixed64,212,opt,name=default_sfixed64,def=51",
  3885. Filename: "test_proto/test.proto",
  3886. }
  3887. var E_DefaultBool = &proto.ExtensionDesc{
  3888. ExtendedType: (*DefaultsMessage)(nil),
  3889. ExtensionType: (*bool)(nil),
  3890. Field: 213,
  3891. Name: "test_proto.default_bool",
  3892. Tag: "varint,213,opt,name=default_bool,def=1",
  3893. Filename: "test_proto/test.proto",
  3894. }
  3895. var E_DefaultString = &proto.ExtensionDesc{
  3896. ExtendedType: (*DefaultsMessage)(nil),
  3897. ExtensionType: (*string)(nil),
  3898. Field: 214,
  3899. Name: "test_proto.default_string",
  3900. Tag: "bytes,214,opt,name=default_string,def=Hello, string,def=foo",
  3901. Filename: "test_proto/test.proto",
  3902. }
  3903. var E_DefaultBytes = &proto.ExtensionDesc{
  3904. ExtendedType: (*DefaultsMessage)(nil),
  3905. ExtensionType: ([]byte)(nil),
  3906. Field: 215,
  3907. Name: "test_proto.default_bytes",
  3908. Tag: "bytes,215,opt,name=default_bytes,def=Hello, bytes",
  3909. Filename: "test_proto/test.proto",
  3910. }
  3911. var E_DefaultEnum = &proto.ExtensionDesc{
  3912. ExtendedType: (*DefaultsMessage)(nil),
  3913. ExtensionType: (*DefaultsMessage_DefaultsEnum)(nil),
  3914. Field: 216,
  3915. Name: "test_proto.default_enum",
  3916. Tag: "varint,216,opt,name=default_enum,enum=test_proto.DefaultsMessage_DefaultsEnum,def=1",
  3917. Filename: "test_proto/test.proto",
  3918. }
  3919. var E_X201 = &proto.ExtensionDesc{
  3920. ExtendedType: (*MyMessageSet)(nil),
  3921. ExtensionType: (*Empty)(nil),
  3922. Field: 201,
  3923. Name: "test_proto.x201",
  3924. Tag: "bytes,201,opt,name=x201",
  3925. Filename: "test_proto/test.proto",
  3926. }
  3927. var E_X202 = &proto.ExtensionDesc{
  3928. ExtendedType: (*MyMessageSet)(nil),
  3929. ExtensionType: (*Empty)(nil),
  3930. Field: 202,
  3931. Name: "test_proto.x202",
  3932. Tag: "bytes,202,opt,name=x202",
  3933. Filename: "test_proto/test.proto",
  3934. }
  3935. var E_X203 = &proto.ExtensionDesc{
  3936. ExtendedType: (*MyMessageSet)(nil),
  3937. ExtensionType: (*Empty)(nil),
  3938. Field: 203,
  3939. Name: "test_proto.x203",
  3940. Tag: "bytes,203,opt,name=x203",
  3941. Filename: "test_proto/test.proto",
  3942. }
  3943. var E_X204 = &proto.ExtensionDesc{
  3944. ExtendedType: (*MyMessageSet)(nil),
  3945. ExtensionType: (*Empty)(nil),
  3946. Field: 204,
  3947. Name: "test_proto.x204",
  3948. Tag: "bytes,204,opt,name=x204",
  3949. Filename: "test_proto/test.proto",
  3950. }
  3951. var E_X205 = &proto.ExtensionDesc{
  3952. ExtendedType: (*MyMessageSet)(nil),
  3953. ExtensionType: (*Empty)(nil),
  3954. Field: 205,
  3955. Name: "test_proto.x205",
  3956. Tag: "bytes,205,opt,name=x205",
  3957. Filename: "test_proto/test.proto",
  3958. }
  3959. var E_X206 = &proto.ExtensionDesc{
  3960. ExtendedType: (*MyMessageSet)(nil),
  3961. ExtensionType: (*Empty)(nil),
  3962. Field: 206,
  3963. Name: "test_proto.x206",
  3964. Tag: "bytes,206,opt,name=x206",
  3965. Filename: "test_proto/test.proto",
  3966. }
  3967. var E_X207 = &proto.ExtensionDesc{
  3968. ExtendedType: (*MyMessageSet)(nil),
  3969. ExtensionType: (*Empty)(nil),
  3970. Field: 207,
  3971. Name: "test_proto.x207",
  3972. Tag: "bytes,207,opt,name=x207",
  3973. Filename: "test_proto/test.proto",
  3974. }
  3975. var E_X208 = &proto.ExtensionDesc{
  3976. ExtendedType: (*MyMessageSet)(nil),
  3977. ExtensionType: (*Empty)(nil),
  3978. Field: 208,
  3979. Name: "test_proto.x208",
  3980. Tag: "bytes,208,opt,name=x208",
  3981. Filename: "test_proto/test.proto",
  3982. }
  3983. var E_X209 = &proto.ExtensionDesc{
  3984. ExtendedType: (*MyMessageSet)(nil),
  3985. ExtensionType: (*Empty)(nil),
  3986. Field: 209,
  3987. Name: "test_proto.x209",
  3988. Tag: "bytes,209,opt,name=x209",
  3989. Filename: "test_proto/test.proto",
  3990. }
  3991. var E_X210 = &proto.ExtensionDesc{
  3992. ExtendedType: (*MyMessageSet)(nil),
  3993. ExtensionType: (*Empty)(nil),
  3994. Field: 210,
  3995. Name: "test_proto.x210",
  3996. Tag: "bytes,210,opt,name=x210",
  3997. Filename: "test_proto/test.proto",
  3998. }
  3999. var E_X211 = &proto.ExtensionDesc{
  4000. ExtendedType: (*MyMessageSet)(nil),
  4001. ExtensionType: (*Empty)(nil),
  4002. Field: 211,
  4003. Name: "test_proto.x211",
  4004. Tag: "bytes,211,opt,name=x211",
  4005. Filename: "test_proto/test.proto",
  4006. }
  4007. var E_X212 = &proto.ExtensionDesc{
  4008. ExtendedType: (*MyMessageSet)(nil),
  4009. ExtensionType: (*Empty)(nil),
  4010. Field: 212,
  4011. Name: "test_proto.x212",
  4012. Tag: "bytes,212,opt,name=x212",
  4013. Filename: "test_proto/test.proto",
  4014. }
  4015. var E_X213 = &proto.ExtensionDesc{
  4016. ExtendedType: (*MyMessageSet)(nil),
  4017. ExtensionType: (*Empty)(nil),
  4018. Field: 213,
  4019. Name: "test_proto.x213",
  4020. Tag: "bytes,213,opt,name=x213",
  4021. Filename: "test_proto/test.proto",
  4022. }
  4023. var E_X214 = &proto.ExtensionDesc{
  4024. ExtendedType: (*MyMessageSet)(nil),
  4025. ExtensionType: (*Empty)(nil),
  4026. Field: 214,
  4027. Name: "test_proto.x214",
  4028. Tag: "bytes,214,opt,name=x214",
  4029. Filename: "test_proto/test.proto",
  4030. }
  4031. var E_X215 = &proto.ExtensionDesc{
  4032. ExtendedType: (*MyMessageSet)(nil),
  4033. ExtensionType: (*Empty)(nil),
  4034. Field: 215,
  4035. Name: "test_proto.x215",
  4036. Tag: "bytes,215,opt,name=x215",
  4037. Filename: "test_proto/test.proto",
  4038. }
  4039. var E_X216 = &proto.ExtensionDesc{
  4040. ExtendedType: (*MyMessageSet)(nil),
  4041. ExtensionType: (*Empty)(nil),
  4042. Field: 216,
  4043. Name: "test_proto.x216",
  4044. Tag: "bytes,216,opt,name=x216",
  4045. Filename: "test_proto/test.proto",
  4046. }
  4047. var E_X217 = &proto.ExtensionDesc{
  4048. ExtendedType: (*MyMessageSet)(nil),
  4049. ExtensionType: (*Empty)(nil),
  4050. Field: 217,
  4051. Name: "test_proto.x217",
  4052. Tag: "bytes,217,opt,name=x217",
  4053. Filename: "test_proto/test.proto",
  4054. }
  4055. var E_X218 = &proto.ExtensionDesc{
  4056. ExtendedType: (*MyMessageSet)(nil),
  4057. ExtensionType: (*Empty)(nil),
  4058. Field: 218,
  4059. Name: "test_proto.x218",
  4060. Tag: "bytes,218,opt,name=x218",
  4061. Filename: "test_proto/test.proto",
  4062. }
  4063. var E_X219 = &proto.ExtensionDesc{
  4064. ExtendedType: (*MyMessageSet)(nil),
  4065. ExtensionType: (*Empty)(nil),
  4066. Field: 219,
  4067. Name: "test_proto.x219",
  4068. Tag: "bytes,219,opt,name=x219",
  4069. Filename: "test_proto/test.proto",
  4070. }
  4071. var E_X220 = &proto.ExtensionDesc{
  4072. ExtendedType: (*MyMessageSet)(nil),
  4073. ExtensionType: (*Empty)(nil),
  4074. Field: 220,
  4075. Name: "test_proto.x220",
  4076. Tag: "bytes,220,opt,name=x220",
  4077. Filename: "test_proto/test.proto",
  4078. }
  4079. var E_X221 = &proto.ExtensionDesc{
  4080. ExtendedType: (*MyMessageSet)(nil),
  4081. ExtensionType: (*Empty)(nil),
  4082. Field: 221,
  4083. Name: "test_proto.x221",
  4084. Tag: "bytes,221,opt,name=x221",
  4085. Filename: "test_proto/test.proto",
  4086. }
  4087. var E_X222 = &proto.ExtensionDesc{
  4088. ExtendedType: (*MyMessageSet)(nil),
  4089. ExtensionType: (*Empty)(nil),
  4090. Field: 222,
  4091. Name: "test_proto.x222",
  4092. Tag: "bytes,222,opt,name=x222",
  4093. Filename: "test_proto/test.proto",
  4094. }
  4095. var E_X223 = &proto.ExtensionDesc{
  4096. ExtendedType: (*MyMessageSet)(nil),
  4097. ExtensionType: (*Empty)(nil),
  4098. Field: 223,
  4099. Name: "test_proto.x223",
  4100. Tag: "bytes,223,opt,name=x223",
  4101. Filename: "test_proto/test.proto",
  4102. }
  4103. var E_X224 = &proto.ExtensionDesc{
  4104. ExtendedType: (*MyMessageSet)(nil),
  4105. ExtensionType: (*Empty)(nil),
  4106. Field: 224,
  4107. Name: "test_proto.x224",
  4108. Tag: "bytes,224,opt,name=x224",
  4109. Filename: "test_proto/test.proto",
  4110. }
  4111. var E_X225 = &proto.ExtensionDesc{
  4112. ExtendedType: (*MyMessageSet)(nil),
  4113. ExtensionType: (*Empty)(nil),
  4114. Field: 225,
  4115. Name: "test_proto.x225",
  4116. Tag: "bytes,225,opt,name=x225",
  4117. Filename: "test_proto/test.proto",
  4118. }
  4119. var E_X226 = &proto.ExtensionDesc{
  4120. ExtendedType: (*MyMessageSet)(nil),
  4121. ExtensionType: (*Empty)(nil),
  4122. Field: 226,
  4123. Name: "test_proto.x226",
  4124. Tag: "bytes,226,opt,name=x226",
  4125. Filename: "test_proto/test.proto",
  4126. }
  4127. var E_X227 = &proto.ExtensionDesc{
  4128. ExtendedType: (*MyMessageSet)(nil),
  4129. ExtensionType: (*Empty)(nil),
  4130. Field: 227,
  4131. Name: "test_proto.x227",
  4132. Tag: "bytes,227,opt,name=x227",
  4133. Filename: "test_proto/test.proto",
  4134. }
  4135. var E_X228 = &proto.ExtensionDesc{
  4136. ExtendedType: (*MyMessageSet)(nil),
  4137. ExtensionType: (*Empty)(nil),
  4138. Field: 228,
  4139. Name: "test_proto.x228",
  4140. Tag: "bytes,228,opt,name=x228",
  4141. Filename: "test_proto/test.proto",
  4142. }
  4143. var E_X229 = &proto.ExtensionDesc{
  4144. ExtendedType: (*MyMessageSet)(nil),
  4145. ExtensionType: (*Empty)(nil),
  4146. Field: 229,
  4147. Name: "test_proto.x229",
  4148. Tag: "bytes,229,opt,name=x229",
  4149. Filename: "test_proto/test.proto",
  4150. }
  4151. var E_X230 = &proto.ExtensionDesc{
  4152. ExtendedType: (*MyMessageSet)(nil),
  4153. ExtensionType: (*Empty)(nil),
  4154. Field: 230,
  4155. Name: "test_proto.x230",
  4156. Tag: "bytes,230,opt,name=x230",
  4157. Filename: "test_proto/test.proto",
  4158. }
  4159. var E_X231 = &proto.ExtensionDesc{
  4160. ExtendedType: (*MyMessageSet)(nil),
  4161. ExtensionType: (*Empty)(nil),
  4162. Field: 231,
  4163. Name: "test_proto.x231",
  4164. Tag: "bytes,231,opt,name=x231",
  4165. Filename: "test_proto/test.proto",
  4166. }
  4167. var E_X232 = &proto.ExtensionDesc{
  4168. ExtendedType: (*MyMessageSet)(nil),
  4169. ExtensionType: (*Empty)(nil),
  4170. Field: 232,
  4171. Name: "test_proto.x232",
  4172. Tag: "bytes,232,opt,name=x232",
  4173. Filename: "test_proto/test.proto",
  4174. }
  4175. var E_X233 = &proto.ExtensionDesc{
  4176. ExtendedType: (*MyMessageSet)(nil),
  4177. ExtensionType: (*Empty)(nil),
  4178. Field: 233,
  4179. Name: "test_proto.x233",
  4180. Tag: "bytes,233,opt,name=x233",
  4181. Filename: "test_proto/test.proto",
  4182. }
  4183. var E_X234 = &proto.ExtensionDesc{
  4184. ExtendedType: (*MyMessageSet)(nil),
  4185. ExtensionType: (*Empty)(nil),
  4186. Field: 234,
  4187. Name: "test_proto.x234",
  4188. Tag: "bytes,234,opt,name=x234",
  4189. Filename: "test_proto/test.proto",
  4190. }
  4191. var E_X235 = &proto.ExtensionDesc{
  4192. ExtendedType: (*MyMessageSet)(nil),
  4193. ExtensionType: (*Empty)(nil),
  4194. Field: 235,
  4195. Name: "test_proto.x235",
  4196. Tag: "bytes,235,opt,name=x235",
  4197. Filename: "test_proto/test.proto",
  4198. }
  4199. var E_X236 = &proto.ExtensionDesc{
  4200. ExtendedType: (*MyMessageSet)(nil),
  4201. ExtensionType: (*Empty)(nil),
  4202. Field: 236,
  4203. Name: "test_proto.x236",
  4204. Tag: "bytes,236,opt,name=x236",
  4205. Filename: "test_proto/test.proto",
  4206. }
  4207. var E_X237 = &proto.ExtensionDesc{
  4208. ExtendedType: (*MyMessageSet)(nil),
  4209. ExtensionType: (*Empty)(nil),
  4210. Field: 237,
  4211. Name: "test_proto.x237",
  4212. Tag: "bytes,237,opt,name=x237",
  4213. Filename: "test_proto/test.proto",
  4214. }
  4215. var E_X238 = &proto.ExtensionDesc{
  4216. ExtendedType: (*MyMessageSet)(nil),
  4217. ExtensionType: (*Empty)(nil),
  4218. Field: 238,
  4219. Name: "test_proto.x238",
  4220. Tag: "bytes,238,opt,name=x238",
  4221. Filename: "test_proto/test.proto",
  4222. }
  4223. var E_X239 = &proto.ExtensionDesc{
  4224. ExtendedType: (*MyMessageSet)(nil),
  4225. ExtensionType: (*Empty)(nil),
  4226. Field: 239,
  4227. Name: "test_proto.x239",
  4228. Tag: "bytes,239,opt,name=x239",
  4229. Filename: "test_proto/test.proto",
  4230. }
  4231. var E_X240 = &proto.ExtensionDesc{
  4232. ExtendedType: (*MyMessageSet)(nil),
  4233. ExtensionType: (*Empty)(nil),
  4234. Field: 240,
  4235. Name: "test_proto.x240",
  4236. Tag: "bytes,240,opt,name=x240",
  4237. Filename: "test_proto/test.proto",
  4238. }
  4239. var E_X241 = &proto.ExtensionDesc{
  4240. ExtendedType: (*MyMessageSet)(nil),
  4241. ExtensionType: (*Empty)(nil),
  4242. Field: 241,
  4243. Name: "test_proto.x241",
  4244. Tag: "bytes,241,opt,name=x241",
  4245. Filename: "test_proto/test.proto",
  4246. }
  4247. var E_X242 = &proto.ExtensionDesc{
  4248. ExtendedType: (*MyMessageSet)(nil),
  4249. ExtensionType: (*Empty)(nil),
  4250. Field: 242,
  4251. Name: "test_proto.x242",
  4252. Tag: "bytes,242,opt,name=x242",
  4253. Filename: "test_proto/test.proto",
  4254. }
  4255. var E_X243 = &proto.ExtensionDesc{
  4256. ExtendedType: (*MyMessageSet)(nil),
  4257. ExtensionType: (*Empty)(nil),
  4258. Field: 243,
  4259. Name: "test_proto.x243",
  4260. Tag: "bytes,243,opt,name=x243",
  4261. Filename: "test_proto/test.proto",
  4262. }
  4263. var E_X244 = &proto.ExtensionDesc{
  4264. ExtendedType: (*MyMessageSet)(nil),
  4265. ExtensionType: (*Empty)(nil),
  4266. Field: 244,
  4267. Name: "test_proto.x244",
  4268. Tag: "bytes,244,opt,name=x244",
  4269. Filename: "test_proto/test.proto",
  4270. }
  4271. var E_X245 = &proto.ExtensionDesc{
  4272. ExtendedType: (*MyMessageSet)(nil),
  4273. ExtensionType: (*Empty)(nil),
  4274. Field: 245,
  4275. Name: "test_proto.x245",
  4276. Tag: "bytes,245,opt,name=x245",
  4277. Filename: "test_proto/test.proto",
  4278. }
  4279. var E_X246 = &proto.ExtensionDesc{
  4280. ExtendedType: (*MyMessageSet)(nil),
  4281. ExtensionType: (*Empty)(nil),
  4282. Field: 246,
  4283. Name: "test_proto.x246",
  4284. Tag: "bytes,246,opt,name=x246",
  4285. Filename: "test_proto/test.proto",
  4286. }
  4287. var E_X247 = &proto.ExtensionDesc{
  4288. ExtendedType: (*MyMessageSet)(nil),
  4289. ExtensionType: (*Empty)(nil),
  4290. Field: 247,
  4291. Name: "test_proto.x247",
  4292. Tag: "bytes,247,opt,name=x247",
  4293. Filename: "test_proto/test.proto",
  4294. }
  4295. var E_X248 = &proto.ExtensionDesc{
  4296. ExtendedType: (*MyMessageSet)(nil),
  4297. ExtensionType: (*Empty)(nil),
  4298. Field: 248,
  4299. Name: "test_proto.x248",
  4300. Tag: "bytes,248,opt,name=x248",
  4301. Filename: "test_proto/test.proto",
  4302. }
  4303. var E_X249 = &proto.ExtensionDesc{
  4304. ExtendedType: (*MyMessageSet)(nil),
  4305. ExtensionType: (*Empty)(nil),
  4306. Field: 249,
  4307. Name: "test_proto.x249",
  4308. Tag: "bytes,249,opt,name=x249",
  4309. Filename: "test_proto/test.proto",
  4310. }
  4311. var E_X250 = &proto.ExtensionDesc{
  4312. ExtendedType: (*MyMessageSet)(nil),
  4313. ExtensionType: (*Empty)(nil),
  4314. Field: 250,
  4315. Name: "test_proto.x250",
  4316. Tag: "bytes,250,opt,name=x250",
  4317. Filename: "test_proto/test.proto",
  4318. }
  4319. func init() {
  4320. proto.RegisterEnum("test_proto.FOO", FOO_name, FOO_value)
  4321. proto.RegisterEnum("test_proto.GoTest_KIND", GoTest_KIND_name, GoTest_KIND_value)
  4322. proto.RegisterEnum("test_proto.MyMessage_Color", MyMessage_Color_name, MyMessage_Color_value)
  4323. proto.RegisterEnum("test_proto.DefaultsMessage_DefaultsEnum", DefaultsMessage_DefaultsEnum_name, DefaultsMessage_DefaultsEnum_value)
  4324. proto.RegisterEnum("test_proto.Defaults_Color", Defaults_Color_name, Defaults_Color_value)
  4325. proto.RegisterEnum("test_proto.RepeatedEnum_Color", RepeatedEnum_Color_name, RepeatedEnum_Color_value)
  4326. proto.RegisterType((*GoEnum)(nil), "test_proto.GoEnum")
  4327. proto.RegisterType((*GoTestField)(nil), "test_proto.GoTestField")
  4328. proto.RegisterType((*GoTest)(nil), "test_proto.GoTest")
  4329. proto.RegisterType((*GoTest_RequiredGroup)(nil), "test_proto.GoTest.RequiredGroup")
  4330. proto.RegisterType((*GoTest_RepeatedGroup)(nil), "test_proto.GoTest.RepeatedGroup")
  4331. proto.RegisterType((*GoTest_OptionalGroup)(nil), "test_proto.GoTest.OptionalGroup")
  4332. proto.RegisterType((*GoTestRequiredGroupField)(nil), "test_proto.GoTestRequiredGroupField")
  4333. proto.RegisterType((*GoTestRequiredGroupField_Group)(nil), "test_proto.GoTestRequiredGroupField.Group")
  4334. proto.RegisterType((*GoSkipTest)(nil), "test_proto.GoSkipTest")
  4335. proto.RegisterType((*GoSkipTest_SkipGroup)(nil), "test_proto.GoSkipTest.SkipGroup")
  4336. proto.RegisterType((*NonPackedTest)(nil), "test_proto.NonPackedTest")
  4337. proto.RegisterType((*PackedTest)(nil), "test_proto.PackedTest")
  4338. proto.RegisterType((*MaxTag)(nil), "test_proto.MaxTag")
  4339. proto.RegisterType((*OldMessage)(nil), "test_proto.OldMessage")
  4340. proto.RegisterType((*OldMessage_Nested)(nil), "test_proto.OldMessage.Nested")
  4341. proto.RegisterType((*NewMessage)(nil), "test_proto.NewMessage")
  4342. proto.RegisterType((*NewMessage_Nested)(nil), "test_proto.NewMessage.Nested")
  4343. proto.RegisterType((*InnerMessage)(nil), "test_proto.InnerMessage")
  4344. proto.RegisterType((*OtherMessage)(nil), "test_proto.OtherMessage")
  4345. proto.RegisterType((*RequiredInnerMessage)(nil), "test_proto.RequiredInnerMessage")
  4346. proto.RegisterType((*MyMessage)(nil), "test_proto.MyMessage")
  4347. proto.RegisterType((*MyMessage_SomeGroup)(nil), "test_proto.MyMessage.SomeGroup")
  4348. proto.RegisterExtension(E_Ext_More)
  4349. proto.RegisterExtension(E_Ext_Text)
  4350. proto.RegisterExtension(E_Ext_Number)
  4351. proto.RegisterType((*Ext)(nil), "test_proto.Ext")
  4352. proto.RegisterMapType((map[int32]int32)(nil), "test_proto.Ext.MapFieldEntry")
  4353. proto.RegisterType((*ComplexExtension)(nil), "test_proto.ComplexExtension")
  4354. proto.RegisterType((*DefaultsMessage)(nil), "test_proto.DefaultsMessage")
  4355. proto.RegisterType((*MyMessageSet)(nil), "test_proto.MyMessageSet")
  4356. proto.RegisterType((*Empty)(nil), "test_proto.Empty")
  4357. proto.RegisterType((*MessageList)(nil), "test_proto.MessageList")
  4358. proto.RegisterType((*MessageList_Message)(nil), "test_proto.MessageList.Message")
  4359. proto.RegisterType((*Strings)(nil), "test_proto.Strings")
  4360. proto.RegisterType((*Defaults)(nil), "test_proto.Defaults")
  4361. proto.RegisterType((*SubDefaults)(nil), "test_proto.SubDefaults")
  4362. proto.RegisterType((*RepeatedEnum)(nil), "test_proto.RepeatedEnum")
  4363. proto.RegisterType((*MoreRepeated)(nil), "test_proto.MoreRepeated")
  4364. proto.RegisterType((*GroupOld)(nil), "test_proto.GroupOld")
  4365. proto.RegisterType((*GroupOld_G)(nil), "test_proto.GroupOld.G")
  4366. proto.RegisterType((*GroupNew)(nil), "test_proto.GroupNew")
  4367. proto.RegisterType((*GroupNew_G)(nil), "test_proto.GroupNew.G")
  4368. proto.RegisterType((*FloatingPoint)(nil), "test_proto.FloatingPoint")
  4369. proto.RegisterType((*MessageWithMap)(nil), "test_proto.MessageWithMap")
  4370. proto.RegisterMapType((map[bool][]byte)(nil), "test_proto.MessageWithMap.ByteMappingEntry")
  4371. proto.RegisterMapType((map[int64]*FloatingPoint)(nil), "test_proto.MessageWithMap.MsgMappingEntry")
  4372. proto.RegisterMapType((map[int32]string)(nil), "test_proto.MessageWithMap.NameMappingEntry")
  4373. proto.RegisterMapType((map[string]string)(nil), "test_proto.MessageWithMap.StrToStrEntry")
  4374. proto.RegisterType((*Oneof)(nil), "test_proto.Oneof")
  4375. proto.RegisterType((*Oneof_F_Group)(nil), "test_proto.Oneof.F_Group")
  4376. proto.RegisterType((*Communique)(nil), "test_proto.Communique")
  4377. proto.RegisterType((*TestUTF8)(nil), "test_proto.TestUTF8")
  4378. proto.RegisterMapType((map[string]int64)(nil), "test_proto.TestUTF8.MapKeyEntry")
  4379. proto.RegisterMapType((map[int64]string)(nil), "test_proto.TestUTF8.MapValueEntry")
  4380. proto.RegisterExtension(E_Greeting)
  4381. proto.RegisterExtension(E_Complex)
  4382. proto.RegisterExtension(E_RComplex)
  4383. proto.RegisterExtension(E_NoDefaultDouble)
  4384. proto.RegisterExtension(E_NoDefaultFloat)
  4385. proto.RegisterExtension(E_NoDefaultInt32)
  4386. proto.RegisterExtension(E_NoDefaultInt64)
  4387. proto.RegisterExtension(E_NoDefaultUint32)
  4388. proto.RegisterExtension(E_NoDefaultUint64)
  4389. proto.RegisterExtension(E_NoDefaultSint32)
  4390. proto.RegisterExtension(E_NoDefaultSint64)
  4391. proto.RegisterExtension(E_NoDefaultFixed32)
  4392. proto.RegisterExtension(E_NoDefaultFixed64)
  4393. proto.RegisterExtension(E_NoDefaultSfixed32)
  4394. proto.RegisterExtension(E_NoDefaultSfixed64)
  4395. proto.RegisterExtension(E_NoDefaultBool)
  4396. proto.RegisterExtension(E_NoDefaultString)
  4397. proto.RegisterExtension(E_NoDefaultBytes)
  4398. proto.RegisterExtension(E_NoDefaultEnum)
  4399. proto.RegisterExtension(E_DefaultDouble)
  4400. proto.RegisterExtension(E_DefaultFloat)
  4401. proto.RegisterExtension(E_DefaultInt32)
  4402. proto.RegisterExtension(E_DefaultInt64)
  4403. proto.RegisterExtension(E_DefaultUint32)
  4404. proto.RegisterExtension(E_DefaultUint64)
  4405. proto.RegisterExtension(E_DefaultSint32)
  4406. proto.RegisterExtension(E_DefaultSint64)
  4407. proto.RegisterExtension(E_DefaultFixed32)
  4408. proto.RegisterExtension(E_DefaultFixed64)
  4409. proto.RegisterExtension(E_DefaultSfixed32)
  4410. proto.RegisterExtension(E_DefaultSfixed64)
  4411. proto.RegisterExtension(E_DefaultBool)
  4412. proto.RegisterExtension(E_DefaultString)
  4413. proto.RegisterExtension(E_DefaultBytes)
  4414. proto.RegisterExtension(E_DefaultEnum)
  4415. proto.RegisterExtension(E_X201)
  4416. proto.RegisterExtension(E_X202)
  4417. proto.RegisterExtension(E_X203)
  4418. proto.RegisterExtension(E_X204)
  4419. proto.RegisterExtension(E_X205)
  4420. proto.RegisterExtension(E_X206)
  4421. proto.RegisterExtension(E_X207)
  4422. proto.RegisterExtension(E_X208)
  4423. proto.RegisterExtension(E_X209)
  4424. proto.RegisterExtension(E_X210)
  4425. proto.RegisterExtension(E_X211)
  4426. proto.RegisterExtension(E_X212)
  4427. proto.RegisterExtension(E_X213)
  4428. proto.RegisterExtension(E_X214)
  4429. proto.RegisterExtension(E_X215)
  4430. proto.RegisterExtension(E_X216)
  4431. proto.RegisterExtension(E_X217)
  4432. proto.RegisterExtension(E_X218)
  4433. proto.RegisterExtension(E_X219)
  4434. proto.RegisterExtension(E_X220)
  4435. proto.RegisterExtension(E_X221)
  4436. proto.RegisterExtension(E_X222)
  4437. proto.RegisterExtension(E_X223)
  4438. proto.RegisterExtension(E_X224)
  4439. proto.RegisterExtension(E_X225)
  4440. proto.RegisterExtension(E_X226)
  4441. proto.RegisterExtension(E_X227)
  4442. proto.RegisterExtension(E_X228)
  4443. proto.RegisterExtension(E_X229)
  4444. proto.RegisterExtension(E_X230)
  4445. proto.RegisterExtension(E_X231)
  4446. proto.RegisterExtension(E_X232)
  4447. proto.RegisterExtension(E_X233)
  4448. proto.RegisterExtension(E_X234)
  4449. proto.RegisterExtension(E_X235)
  4450. proto.RegisterExtension(E_X236)
  4451. proto.RegisterExtension(E_X237)
  4452. proto.RegisterExtension(E_X238)
  4453. proto.RegisterExtension(E_X239)
  4454. proto.RegisterExtension(E_X240)
  4455. proto.RegisterExtension(E_X241)
  4456. proto.RegisterExtension(E_X242)
  4457. proto.RegisterExtension(E_X243)
  4458. proto.RegisterExtension(E_X244)
  4459. proto.RegisterExtension(E_X245)
  4460. proto.RegisterExtension(E_X246)
  4461. proto.RegisterExtension(E_X247)
  4462. proto.RegisterExtension(E_X248)
  4463. proto.RegisterExtension(E_X249)
  4464. proto.RegisterExtension(E_X250)
  4465. }
  4466. func init() { proto.RegisterFile("test_proto/test.proto", fileDescriptor_8ca34d01332f1402) }
  4467. var fileDescriptor_8ca34d01332f1402 = []byte{
  4468. // 4795 bytes of a gzipped FileDescriptorProto
  4469. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x5b, 0xd9, 0x73, 0x1b, 0x47,
  4470. 0x7a, 0xd7, 0x0c, 0xee, 0x0f, 0x20, 0x31, 0x6c, 0xc9, 0x12, 0x44, 0x59, 0xd2, 0x08, 0x6b, 0xaf,
  4471. 0x61, 0xc9, 0xa2, 0x48, 0x60, 0x08, 0x49, 0x70, 0xec, 0x58, 0x07, 0x41, 0xb3, 0x24, 0x12, 0xf2,
  4472. 0x90, 0xb6, 0xb3, 0xca, 0x03, 0x0a, 0x24, 0x06, 0x20, 0x56, 0xc0, 0x0c, 0x0c, 0x0c, 0x56, 0x64,
  4473. 0x52, 0xa9, 0xf2, 0x63, 0xaa, 0xf2, 0x94, 0x4d, 0x52, 0x95, 0xf7, 0xbc, 0xe4, 0x25, 0xd7, 0x43,
  4474. 0xf2, 0x37, 0xc4, 0xd7, 0x7a, 0x77, 0xbd, 0x57, 0x92, 0x4d, 0x36, 0xf7, 0x9d, 0xcd, 0xbd, 0x47,
  4475. 0x5e, 0x9c, 0xea, 0xaf, 0x7b, 0x66, 0x7a, 0x06, 0x50, 0x93, 0x7c, 0xe2, 0x74, 0xf7, 0xef, 0xfb,
  4476. 0xf5, 0xf5, 0x9b, 0xef, 0xfb, 0xba, 0x31, 0x84, 0xe7, 0x5c, 0x6b, 0xec, 0x36, 0x87, 0x23, 0xc7,
  4477. 0x75, 0x6e, 0xd0, 0xc7, 0x25, 0x7c, 0x24, 0x10, 0x54, 0x17, 0xaf, 0x41, 0x72, 0xdd, 0x59, 0xb3,
  4478. 0x27, 0x03, 0x72, 0x05, 0x62, 0x1d, 0xc7, 0x29, 0x28, 0xba, 0x5a, 0x9a, 0x2f, 0xe7, 0x97, 0x02,
  4479. 0xcc, 0x52, 0xbd, 0xd1, 0x30, 0x69, 0x5b, 0xf1, 0x26, 0x64, 0xd7, 0x9d, 0x1d, 0x6b, 0xec, 0xd6,
  4480. 0x7b, 0x56, 0xbf, 0x4d, 0xce, 0x40, 0xe2, 0x61, 0x6b, 0xd7, 0xea, 0xa3, 0x4d, 0xc6, 0x64, 0x05,
  4481. 0x42, 0x20, 0xbe, 0x73, 0x38, 0xb4, 0x0a, 0x2a, 0x56, 0xe2, 0x73, 0xf1, 0x0f, 0x8b, 0xb4, 0x1b,
  4482. 0x6a, 0x49, 0xae, 0x41, 0xfc, 0x41, 0xcf, 0x6e, 0xf3, 0x7e, 0xce, 0x89, 0xfd, 0x30, 0xc4, 0xd2,
  4483. 0x83, 0x8d, 0xad, 0xfb, 0x26, 0x82, 0x68, 0x0f, 0x3b, 0xad, 0xdd, 0x3e, 0x25, 0x53, 0x68, 0x0f,
  4484. 0x58, 0xa0, 0xb5, 0x8f, 0x5a, 0xa3, 0xd6, 0xa0, 0x10, 0xd3, 0x95, 0x52, 0xc2, 0x64, 0x05, 0xf2,
  4485. 0x1a, 0xcc, 0x99, 0xd6, 0x7b, 0x93, 0xde, 0xc8, 0x6a, 0xe3, 0xf0, 0x0a, 0x71, 0x5d, 0x2d, 0x65,
  4486. 0x67, 0xf5, 0x80, 0xcd, 0x66, 0x18, 0xcd, 0xcc, 0x87, 0x56, 0xcb, 0xf5, 0xcc, 0x13, 0x7a, 0xec,
  4487. 0x08, 0x73, 0x01, 0x4d, 0xcd, 0x1b, 0x43, 0xb7, 0xe7, 0xd8, 0xad, 0x3e, 0x33, 0x4f, 0xea, 0x8a,
  4488. 0xd4, 0x3c, 0x84, 0x26, 0x5f, 0x84, 0x7c, 0xbd, 0x79, 0xd7, 0x71, 0xfa, 0xcd, 0x11, 0x1f, 0x55,
  4489. 0x01, 0x74, 0xb5, 0x94, 0x36, 0xe7, 0xea, 0xb4, 0xd6, 0x1b, 0x2a, 0x29, 0x81, 0x56, 0x6f, 0x6e,
  4490. 0xd8, 0x6e, 0xa5, 0x1c, 0x00, 0xb3, 0xba, 0x5a, 0x4a, 0x98, 0xf3, 0x75, 0xac, 0x9e, 0x42, 0x56,
  4491. 0x8d, 0x00, 0x99, 0xd3, 0xd5, 0x52, 0x8c, 0x21, 0xab, 0x86, 0x8f, 0x7c, 0x05, 0x48, 0xbd, 0x59,
  4492. 0xef, 0x1d, 0x58, 0x6d, 0x91, 0x75, 0x4e, 0x57, 0x4b, 0x29, 0x53, 0xab, 0xf3, 0x86, 0x19, 0x68,
  4493. 0x91, 0x79, 0x5e, 0x57, 0x4b, 0x49, 0x0f, 0x2d, 0x70, 0x5f, 0x85, 0x85, 0x7a, 0xf3, 0xed, 0x5e,
  4494. 0x78, 0xc0, 0x79, 0x5d, 0x2d, 0xcd, 0x99, 0xf9, 0x3a, 0xab, 0x9f, 0xc6, 0x8a, 0xc4, 0x9a, 0xae,
  4495. 0x96, 0xe2, 0x1c, 0x2b, 0xf0, 0xe2, 0xec, 0xea, 0x7d, 0xa7, 0xe5, 0x06, 0xd0, 0x05, 0x5d, 0x2d,
  4496. 0xa9, 0xe6, 0x7c, 0x1d, 0xab, 0xc3, 0xac, 0xf7, 0x9d, 0xc9, 0x6e, 0xdf, 0x0a, 0xa0, 0x44, 0x57,
  4497. 0x4b, 0x8a, 0x99, 0xaf, 0xb3, 0xfa, 0x30, 0x76, 0xdb, 0x1d, 0xf5, 0xec, 0x6e, 0x80, 0x3d, 0x8d,
  4498. 0x3a, 0xce, 0xd7, 0x59, 0x7d, 0x78, 0x04, 0x77, 0x0f, 0x5d, 0x6b, 0x1c, 0x40, 0x2d, 0x5d, 0x2d,
  4499. 0xe5, 0xcc, 0xf9, 0x3a, 0x56, 0x47, 0x58, 0x23, 0x6b, 0xd0, 0xd1, 0xd5, 0xd2, 0x02, 0x65, 0x9d,
  4500. 0xb1, 0x06, 0xdb, 0x91, 0x35, 0xe8, 0xea, 0x6a, 0x89, 0x70, 0xac, 0xb0, 0x06, 0x4b, 0x70, 0xba,
  4501. 0xde, 0xdc, 0xee, 0x44, 0x37, 0x6e, 0x5f, 0x57, 0x4b, 0x79, 0x73, 0xa1, 0xee, 0xb5, 0xcc, 0xc2,
  4502. 0x8b, 0xec, 0x3d, 0x5d, 0x2d, 0x69, 0x3e, 0x5e, 0xe0, 0x17, 0x35, 0xc9, 0xa4, 0x5e, 0x38, 0xa3,
  4503. 0xc7, 0x04, 0x4d, 0xb2, 0xca, 0xb0, 0x26, 0x39, 0xf0, 0x39, 0x3d, 0x26, 0x6a, 0x32, 0x82, 0xc4,
  4504. 0xee, 0x39, 0xf2, 0xac, 0x1e, 0x13, 0x35, 0xc9, 0x91, 0x11, 0x4d, 0x72, 0xec, 0x39, 0x3d, 0x16,
  4505. 0xd6, 0xe4, 0x14, 0x5a, 0x64, 0x2e, 0xe8, 0xb1, 0xb0, 0x26, 0x39, 0x3a, 0xac, 0x49, 0x0e, 0x3e,
  4506. 0xaf, 0xc7, 0x42, 0x9a, 0x8c, 0x62, 0x45, 0xe2, 0x45, 0x3d, 0x16, 0xd2, 0xa4, 0x38, 0x3b, 0x4f,
  4507. 0x93, 0x1c, 0x7a, 0x41, 0x8f, 0x89, 0x9a, 0x14, 0x59, 0x7d, 0x4d, 0x72, 0xe8, 0xf3, 0x7a, 0x2c,
  4508. 0xa4, 0x49, 0x11, 0xeb, 0x6b, 0x92, 0x63, 0x2f, 0xea, 0xb1, 0x90, 0x26, 0x39, 0xf6, 0x65, 0x51,
  4509. 0x93, 0x1c, 0xfa, 0x81, 0xa2, 0xc7, 0x44, 0x51, 0x72, 0xe8, 0xb5, 0x90, 0x28, 0x39, 0xf6, 0x43,
  4510. 0x8a, 0x15, 0x55, 0x19, 0x05, 0x8b, 0xab, 0xf0, 0x11, 0x05, 0x8b, 0xb2, 0xe4, 0xe0, 0x1b, 0x11,
  4511. 0x59, 0x72, 0xf8, 0xc7, 0x14, 0x1e, 0xd6, 0xe5, 0xb4, 0x81, 0xc8, 0xff, 0x09, 0x35, 0x08, 0x0b,
  4512. 0x93, 0x1b, 0x04, 0xc2, 0x74, 0xb8, 0x13, 0x2d, 0x5c, 0xd2, 0x15, 0x5f, 0x98, 0x9e, 0x67, 0x15,
  4513. 0x85, 0xe9, 0x03, 0x2f, 0x63, 0xc8, 0xe0, 0xc2, 0x9c, 0x42, 0x56, 0x8d, 0x00, 0xa9, 0xeb, 0x4a,
  4514. 0x20, 0x4c, 0x1f, 0x19, 0x12, 0xa6, 0x8f, 0xbd, 0xa2, 0x2b, 0xa2, 0x30, 0x67, 0xa0, 0x45, 0xe6,
  4515. 0xa2, 0xae, 0x88, 0xc2, 0xf4, 0xd1, 0xa2, 0x30, 0x7d, 0xf0, 0x17, 0x74, 0x45, 0x10, 0xe6, 0x34,
  4516. 0x56, 0x24, 0x7e, 0x41, 0x57, 0x04, 0x61, 0x86, 0x67, 0xc7, 0x84, 0xe9, 0x43, 0x5f, 0xd4, 0x95,
  4517. 0x40, 0x98, 0x61, 0x56, 0x2e, 0x4c, 0x1f, 0xfa, 0x45, 0x5d, 0x11, 0x84, 0x19, 0xc6, 0x72, 0x61,
  4518. 0xfa, 0xd8, 0x97, 0x30, 0x4e, 0x7b, 0xc2, 0xf4, 0xb1, 0x82, 0x30, 0x7d, 0xe8, 0xef, 0xd0, 0x98,
  4519. 0xee, 0x0b, 0xd3, 0x87, 0x8a, 0xc2, 0xf4, 0xb1, 0xbf, 0x4b, 0xb1, 0x81, 0x30, 0xa7, 0xc1, 0xe2,
  4520. 0x2a, 0xfc, 0x1e, 0x05, 0x07, 0xc2, 0xf4, 0xc1, 0x61, 0x61, 0xfa, 0xf0, 0xdf, 0xa7, 0x70, 0x51,
  4521. 0x98, 0xb3, 0x0c, 0x44, 0xfe, 0x3f, 0xa0, 0x06, 0xa2, 0x30, 0x7d, 0x83, 0x25, 0x9c, 0x26, 0x15,
  4522. 0x66, 0xdb, 0xea, 0xb4, 0x26, 0x7d, 0x2a, 0xe3, 0x12, 0x55, 0x66, 0x2d, 0xee, 0x8e, 0x26, 0x16,
  4523. 0x9d, 0xab, 0xe3, 0xf4, 0xef, 0x7b, 0x6d, 0x64, 0x89, 0x0e, 0x9f, 0x09, 0x34, 0x30, 0x78, 0x99,
  4524. 0x2a, 0xb4, 0xa6, 0x56, 0xca, 0x66, 0x9e, 0xa9, 0x74, 0x1a, 0x5f, 0x35, 0x04, 0xfc, 0x55, 0xaa,
  4525. 0xd3, 0x9a, 0x5a, 0x35, 0x18, 0xbe, 0x6a, 0x04, 0xf8, 0x0a, 0x9d, 0x80, 0x27, 0xd6, 0xc0, 0xe2,
  4526. 0x1a, 0x55, 0x6b, 0x2d, 0x56, 0x29, 0x2f, 0x9b, 0x0b, 0x9e, 0x64, 0x67, 0x19, 0x85, 0xba, 0x79,
  4527. 0x85, 0x8a, 0xb6, 0x16, 0xab, 0x1a, 0xbe, 0x91, 0xd8, 0x53, 0x99, 0x0a, 0x9d, 0x4b, 0x37, 0xb0,
  4528. 0xb9, 0x4e, 0xb5, 0x5b, 0x8b, 0x57, 0xca, 0xcb, 0xcb, 0xa6, 0xc6, 0x15, 0x3c, 0xc3, 0x26, 0xd4,
  4529. 0xcf, 0x12, 0xd5, 0x70, 0x2d, 0x5e, 0x35, 0x7c, 0x9b, 0x70, 0x3f, 0x0b, 0x9e, 0x94, 0x03, 0x93,
  4530. 0x1b, 0x54, 0xcb, 0xb5, 0x64, 0x65, 0xc5, 0x58, 0x59, 0xbd, 0x6d, 0xe6, 0x99, 0xa6, 0x03, 0x1b,
  4531. 0x83, 0xf6, 0xc3, 0x45, 0x1d, 0x18, 0x2d, 0x53, 0x55, 0xd7, 0x92, 0xe5, 0x9b, 0x2b, 0xb7, 0xca,
  4532. 0xb7, 0x4c, 0x8d, 0xab, 0x3b, 0xb0, 0x7a, 0x9d, 0x5a, 0x71, 0x79, 0x07, 0x56, 0x2b, 0x54, 0xdf,
  4533. 0x35, 0x6d, 0xdf, 0xea, 0xf7, 0x9d, 0x57, 0xf4, 0xe2, 0x53, 0x67, 0xd4, 0x6f, 0x5f, 0x29, 0x82,
  4534. 0xa9, 0x71, 0xc5, 0x8b, 0xbd, 0x2e, 0x78, 0x92, 0x0f, 0xcc, 0x7f, 0x95, 0x66, 0xac, 0xb9, 0x5a,
  4535. 0xea, 0x6e, 0xaf, 0x6b, 0x3b, 0x63, 0xcb, 0xcc, 0x33, 0xf1, 0x47, 0xd6, 0x64, 0x3b, 0xba, 0x8e,
  4536. 0x5f, 0xa5, 0x66, 0x0b, 0xb5, 0xd8, 0xf5, 0x4a, 0x99, 0xf6, 0x34, 0x6b, 0x1d, 0xb7, 0xa3, 0xeb,
  4537. 0xf8, 0x6b, 0xd4, 0x86, 0xd4, 0x62, 0xd7, 0xab, 0x06, 0xb7, 0x11, 0xd7, 0xb1, 0x0a, 0x67, 0x84,
  4538. 0x77, 0x21, 0xb0, 0xfa, 0x75, 0x6a, 0x95, 0x67, 0x3d, 0x11, 0xff, 0x8d, 0x98, 0x69, 0x17, 0xea,
  4539. 0xed, 0x37, 0xa8, 0x9d, 0xc6, 0x7a, 0x23, 0xfe, 0x8b, 0x11, 0xd8, 0xdd, 0x84, 0xb3, 0x91, 0x5c,
  4540. 0xa2, 0x39, 0x6c, 0xed, 0x3d, 0xb1, 0xda, 0x85, 0x32, 0x4d, 0x29, 0xee, 0xaa, 0x9a, 0x62, 0x9e,
  4541. 0x0e, 0xa5, 0x15, 0x8f, 0xb0, 0x99, 0xdc, 0x86, 0x73, 0xd1, 0xe4, 0xc2, 0xb3, 0xac, 0xd0, 0x1c,
  4542. 0x03, 0x2d, 0xcf, 0x84, 0xf3, 0x8c, 0x88, 0xa9, 0x10, 0x54, 0x3c, 0x53, 0x83, 0x26, 0x1d, 0x81,
  4543. 0x69, 0x10, 0x5b, 0xb8, 0xe9, 0x6b, 0x70, 0x7e, 0x3a, 0xfd, 0xf0, 0x8c, 0x57, 0x69, 0x16, 0x82,
  4544. 0xc6, 0x67, 0xa3, 0x99, 0xc8, 0x94, 0xf9, 0x8c, 0xbe, 0xab, 0x34, 0x2d, 0x11, 0xcd, 0xa7, 0x7a,
  4545. 0x7f, 0x15, 0x0a, 0x53, 0x09, 0x8a, 0x67, 0x7d, 0x93, 0xe6, 0x29, 0x68, 0xfd, 0x5c, 0x24, 0x57,
  4546. 0x89, 0x1a, 0xcf, 0xe8, 0xfa, 0x16, 0x4d, 0x5c, 0x04, 0xe3, 0xa9, 0x9e, 0x71, 0xc9, 0xc2, 0x29,
  4547. 0x8c, 0x67, 0x7b, 0x9b, 0x66, 0x32, 0x7c, 0xc9, 0x42, 0xd9, 0x8c, 0xd8, 0x6f, 0x24, 0xa7, 0xf1,
  4548. 0x6c, 0x6b, 0x34, 0xb5, 0xe1, 0xfd, 0x86, 0xd3, 0x1b, 0x6e, 0xfc, 0x33, 0xd4, 0x78, 0x7b, 0xf6,
  4549. 0x8c, 0x7f, 0x14, 0xa3, 0x49, 0x09, 0xb7, 0xde, 0x9e, 0x35, 0x65, 0xdf, 0x7a, 0xc6, 0x94, 0x7f,
  4550. 0x4c, 0xad, 0x89, 0x60, 0x3d, 0x35, 0xe7, 0x37, 0x60, 0x71, 0x46, 0xbe, 0xe2, 0xd9, 0xff, 0x84,
  4551. 0xda, 0xe7, 0xd1, 0xfe, 0xdc, 0x54, 0xea, 0x32, 0xcd, 0x30, 0x63, 0x04, 0x3f, 0xa5, 0x0c, 0x5a,
  4552. 0x88, 0x61, 0x6a, 0x0c, 0x75, 0x98, 0xf3, 0xf2, 0xf1, 0xee, 0xc8, 0x99, 0x0c, 0x0b, 0x75, 0x5d,
  4553. 0x2d, 0x41, 0x59, 0x9f, 0x71, 0x3a, 0xf6, 0xd2, 0xf3, 0x75, 0x8a, 0x33, 0xc3, 0x66, 0x8c, 0x87,
  4554. 0x31, 0x33, 0x9e, 0x47, 0x7a, 0xec, 0x99, 0x3c, 0x0c, 0xe7, 0xf3, 0x08, 0x66, 0x94, 0xc7, 0x0b,
  4555. 0x77, 0x8c, 0xe7, 0xb1, 0xae, 0x3c, 0x83, 0xc7, 0x0b, 0x7e, 0x9c, 0x27, 0x64, 0xb6, 0xb8, 0x1a,
  4556. 0x9c, 0xc9, 0xb1, 0x9d, 0xbc, 0x10, 0x3d, 0xa4, 0xaf, 0xe3, 0xe9, 0x2a, 0x5c, 0xc9, 0xcc, 0x84,
  4557. 0xe1, 0x4d, 0x9b, 0xbd, 0xf5, 0x0c, 0xb3, 0xd0, 0x68, 0xa6, 0xcd, 0x7e, 0x7e, 0x86, 0x59, 0xf1,
  4558. 0x37, 0x15, 0x88, 0x3f, 0xd8, 0xd8, 0xba, 0x4f, 0xd2, 0x10, 0x7f, 0xa7, 0xb1, 0x71, 0x5f, 0x3b,
  4559. 0x45, 0x9f, 0xee, 0x36, 0x1a, 0x0f, 0x35, 0x85, 0x64, 0x20, 0x71, 0xf7, 0x4b, 0x3b, 0x6b, 0xdb,
  4560. 0x9a, 0x4a, 0xf2, 0x90, 0xad, 0x6f, 0x6c, 0xad, 0xaf, 0x99, 0x8f, 0xcc, 0x8d, 0xad, 0x1d, 0x2d,
  4561. 0x46, 0xdb, 0xea, 0x0f, 0x1b, 0x77, 0x76, 0xb4, 0x38, 0x49, 0x41, 0x8c, 0xd6, 0x25, 0x08, 0x40,
  4562. 0x72, 0x7b, 0xc7, 0xdc, 0xd8, 0x5a, 0xd7, 0x92, 0x94, 0x65, 0x67, 0x63, 0x73, 0x4d, 0x4b, 0x51,
  4563. 0xe4, 0xce, 0xdb, 0x8f, 0x1e, 0xae, 0x69, 0x69, 0xfa, 0x78, 0xc7, 0x34, 0xef, 0x7c, 0x49, 0xcb,
  4564. 0x50, 0xa3, 0xcd, 0x3b, 0x8f, 0x34, 0xc0, 0xe6, 0x3b, 0x77, 0x1f, 0xae, 0x69, 0x59, 0x92, 0x83,
  4565. 0x74, 0xfd, 0xed, 0xad, 0x7b, 0x3b, 0x1b, 0x8d, 0x2d, 0x2d, 0x57, 0xfc, 0x45, 0x28, 0xb0, 0x65,
  4566. 0x0e, 0xad, 0x22, 0xbb, 0x32, 0x78, 0x03, 0x12, 0x6c, 0x6f, 0x14, 0xd4, 0xca, 0xd5, 0xe9, 0xbd,
  4567. 0x99, 0x36, 0x5a, 0x62, 0xbb, 0xc4, 0x0c, 0x17, 0x2f, 0x42, 0x82, 0xad, 0xd3, 0x19, 0x48, 0xb0,
  4568. 0xf5, 0x51, 0xf1, 0x2a, 0x81, 0x15, 0x8a, 0xbf, 0xa5, 0x02, 0xac, 0x3b, 0xdb, 0x4f, 0x7a, 0x43,
  4569. 0xbc, 0xb8, 0xb9, 0x08, 0x30, 0x7e, 0xd2, 0x1b, 0x36, 0xf1, 0x0d, 0xe4, 0x97, 0x0e, 0x19, 0x5a,
  4570. 0x83, 0xbe, 0x97, 0x5c, 0x81, 0x1c, 0x36, 0xf3, 0x57, 0x04, 0xef, 0x1a, 0x52, 0x66, 0x96, 0xd6,
  4571. 0x71, 0x27, 0x19, 0x86, 0x54, 0x0d, 0xbc, 0x62, 0x48, 0x0a, 0x90, 0xaa, 0x41, 0x2e, 0x03, 0x16,
  4572. 0x9b, 0x63, 0x8c, 0xa6, 0x78, 0xad, 0x90, 0x31, 0xb1, 0x5f, 0x16, 0x5f, 0xc9, 0xeb, 0x80, 0x7d,
  4573. 0xb2, 0x99, 0xe7, 0x67, 0xbd, 0x25, 0xde, 0x80, 0x97, 0xe8, 0x03, 0x9b, 0x6f, 0x60, 0xb2, 0xd8,
  4574. 0x80, 0x8c, 0x5f, 0x4f, 0x7b, 0xc3, 0x5a, 0x3e, 0x27, 0x0d, 0xe7, 0x04, 0x58, 0xe5, 0x4f, 0x8a,
  4575. 0x01, 0xf8, 0x78, 0x16, 0x70, 0x3c, 0xcc, 0x88, 0x0d, 0xa8, 0x78, 0x11, 0xe6, 0xb6, 0x1c, 0x9b,
  4576. 0xbd, 0xc7, 0xb8, 0x4e, 0x39, 0x50, 0x5a, 0x05, 0x05, 0xcf, 0xbf, 0x4a, 0xab, 0x78, 0x09, 0x40,
  4577. 0x68, 0xd3, 0x40, 0xd9, 0x65, 0x6d, 0xe8, 0x0f, 0x94, 0xdd, 0xe2, 0x35, 0x48, 0x6e, 0xb6, 0x0e,
  4578. 0x76, 0x5a, 0x5d, 0x72, 0x05, 0xa0, 0xdf, 0x1a, 0xbb, 0xcd, 0x0e, 0xee, 0xc4, 0xe7, 0x9f, 0x7f,
  4579. 0xfe, 0xb9, 0x82, 0xc9, 0x74, 0x86, 0xd6, 0xb2, 0x1d, 0x19, 0x03, 0x34, 0xfa, 0xed, 0x4d, 0x6b,
  4580. 0x3c, 0x6e, 0x75, 0x2d, 0xb2, 0x0a, 0x49, 0xdb, 0x1a, 0xd3, 0xe8, 0xab, 0xe0, 0x5d, 0xd3, 0x45,
  4581. 0x71, 0x1d, 0x02, 0xdc, 0xd2, 0x16, 0x82, 0x4c, 0x0e, 0x26, 0x1a, 0xc4, 0xec, 0xc9, 0x00, 0x6f,
  4582. 0xd4, 0x12, 0x26, 0x7d, 0x5c, 0x7c, 0x1e, 0x92, 0x0c, 0x43, 0x08, 0xc4, 0xed, 0xd6, 0xc0, 0x2a,
  4583. 0xb0, 0x9e, 0xf1, 0xb9, 0xf8, 0x55, 0x05, 0x60, 0xcb, 0x7a, 0x7a, 0xac, 0x5e, 0x03, 0x9c, 0xa4,
  4584. 0xd7, 0x18, 0xeb, 0xf5, 0x55, 0x59, 0xaf, 0x54, 0x6d, 0x1d, 0xc7, 0x69, 0x37, 0xd9, 0x46, 0xb3,
  4585. 0xeb, 0xbf, 0x0c, 0xad, 0xc1, 0x9d, 0x2b, 0x3e, 0x86, 0xdc, 0x86, 0x6d, 0x5b, 0x23, 0x6f, 0x54,
  4586. 0x04, 0xe2, 0xfb, 0xce, 0xd8, 0xe5, 0x37, 0x91, 0xf8, 0x4c, 0x0a, 0x10, 0x1f, 0x3a, 0x23, 0x97,
  4587. 0xcd, 0xb4, 0x16, 0x37, 0x96, 0x97, 0x97, 0x4d, 0xac, 0x21, 0xcf, 0x43, 0x66, 0xcf, 0xb1, 0x6d,
  4588. 0x6b, 0x8f, 0x4e, 0x23, 0x86, 0x47, 0xc7, 0xa0, 0xa2, 0xf8, 0xcb, 0x0a, 0xe4, 0x1a, 0xee, 0x7e,
  4589. 0x40, 0xae, 0x41, 0xec, 0x89, 0x75, 0x88, 0xc3, 0x8b, 0x99, 0xf4, 0x91, 0xbe, 0x30, 0x5f, 0x69,
  4590. 0xf5, 0x27, 0xec, 0x5e, 0x32, 0x67, 0xb2, 0x02, 0x39, 0x0b, 0xc9, 0xa7, 0x56, 0xaf, 0xbb, 0xef,
  4591. 0x22, 0xa7, 0x6a, 0xf2, 0x12, 0x59, 0x82, 0x44, 0x8f, 0x0e, 0xb6, 0x10, 0xc7, 0x15, 0x2b, 0x88,
  4592. 0x2b, 0x26, 0xce, 0xc2, 0x64, 0xb0, 0xab, 0xe9, 0x74, 0x5b, 0x7b, 0xff, 0xfd, 0xf7, 0xdf, 0x57,
  4593. 0x8b, 0xfb, 0x70, 0xc6, 0x7b, 0x89, 0x43, 0xd3, 0x7d, 0x04, 0x85, 0xbe, 0xe5, 0x34, 0x3b, 0x3d,
  4594. 0xbb, 0xd5, 0xef, 0x1f, 0x36, 0x9f, 0x3a, 0x76, 0xb3, 0x65, 0x37, 0x9d, 0xf1, 0x5e, 0x6b, 0x84,
  4595. 0x4b, 0x20, 0xeb, 0xe4, 0x4c, 0xdf, 0x72, 0xea, 0xcc, 0xf0, 0x5d, 0xc7, 0xbe, 0x63, 0x37, 0xa8,
  4596. 0x55, 0xf1, 0xb3, 0x38, 0x64, 0x36, 0x0f, 0x3d, 0xfe, 0x33, 0x90, 0xd8, 0x73, 0x26, 0x36, 0x5b,
  4597. 0xcf, 0x84, 0xc9, 0x0a, 0xfe, 0x3e, 0xa9, 0xc2, 0x3e, 0x9d, 0x81, 0xc4, 0x7b, 0x13, 0xc7, 0xb5,
  4598. 0x70, 0xca, 0x19, 0x93, 0x15, 0xe8, 0x8a, 0x0d, 0x2d, 0xb7, 0x10, 0xc7, 0x6b, 0x0a, 0xfa, 0x18,
  4599. 0xac, 0x41, 0xe2, 0x58, 0x6b, 0x40, 0x96, 0x21, 0xe9, 0xd0, 0x3d, 0x18, 0x17, 0x92, 0x78, 0x0f,
  4600. 0x1b, 0x32, 0x10, 0x77, 0xc7, 0xe4, 0x38, 0xf2, 0x00, 0x16, 0x9e, 0x5a, 0xcd, 0xc1, 0x64, 0xec,
  4601. 0x36, 0xbb, 0x4e, 0xb3, 0x6d, 0x59, 0x43, 0x6b, 0x54, 0x98, 0xc3, 0xde, 0x42, 0x1e, 0x62, 0xd6,
  4602. 0x82, 0x9a, 0xf3, 0x4f, 0xad, 0xcd, 0xc9, 0xd8, 0x5d, 0x77, 0xee, 0xa3, 0x1d, 0x59, 0x85, 0xcc,
  4603. 0xc8, 0xa2, 0x7e, 0x81, 0x0e, 0x39, 0x37, 0x3d, 0x82, 0x90, 0x71, 0x7a, 0x64, 0x0d, 0xb1, 0x82,
  4604. 0xdc, 0x84, 0xf4, 0x6e, 0xef, 0x89, 0x35, 0xde, 0xb7, 0xda, 0x85, 0x94, 0xae, 0x94, 0xe6, 0xcb,
  4605. 0x17, 0x44, 0x2b, 0x7f, 0x81, 0x97, 0xee, 0x39, 0x7d, 0x67, 0x64, 0xfa, 0x60, 0xf2, 0x1a, 0x64,
  4606. 0xc6, 0xce, 0xc0, 0x62, 0x6a, 0x4f, 0x63, 0xb0, 0xbd, 0x3c, 0xdb, 0x72, 0xdb, 0x19, 0x58, 0x9e,
  4607. 0x57, 0xf3, 0x2c, 0xc8, 0x05, 0x36, 0xdc, 0x5d, 0x7a, 0x98, 0x28, 0x00, 0x5e, 0xf8, 0xd0, 0x41,
  4608. 0xe1, 0xe1, 0x82, 0x2c, 0xd2, 0x41, 0x75, 0x3b, 0x34, 0x67, 0x2b, 0x64, 0xf1, 0x2c, 0xef, 0x97,
  4609. 0x17, 0x5f, 0x81, 0x8c, 0x4f, 0x18, 0xb8, 0x43, 0xe6, 0x82, 0x32, 0xe8, 0x21, 0x98, 0x3b, 0x64,
  4610. 0xfe, 0xe7, 0x45, 0x48, 0xe0, 0xc0, 0x69, 0xe4, 0x32, 0xd7, 0x68, 0xa0, 0xcc, 0x40, 0x62, 0xdd,
  4611. 0x5c, 0x5b, 0xdb, 0xd2, 0x14, 0x8c, 0x99, 0x0f, 0xdf, 0x5e, 0xd3, 0x54, 0x41, 0xbf, 0xbf, 0xad,
  4612. 0x42, 0x6c, 0xed, 0x00, 0x95, 0xd3, 0x6e, 0xb9, 0x2d, 0xef, 0x0d, 0xa7, 0xcf, 0xa4, 0x06, 0x99,
  4613. 0x41, 0xcb, 0xeb, 0x4b, 0xc5, 0x25, 0x0e, 0xf9, 0x92, 0xb5, 0x03, 0x77, 0x69, 0xb3, 0xc5, 0x7a,
  4614. 0x5e, 0xb3, 0xdd, 0xd1, 0xa1, 0x99, 0x1e, 0xf0, 0xe2, 0xe2, 0xab, 0x30, 0x17, 0x6a, 0x12, 0x5f,
  4615. 0xd1, 0xc4, 0x8c, 0x57, 0x34, 0xc1, 0x5f, 0xd1, 0x9a, 0x7a, 0x4b, 0x29, 0xd7, 0x20, 0x3e, 0x70,
  4616. 0x46, 0x16, 0x79, 0x6e, 0xe6, 0x02, 0x17, 0xba, 0x28, 0x99, 0x7c, 0x64, 0x28, 0x26, 0xda, 0x94,
  4617. 0x5f, 0x86, 0xb8, 0x6b, 0x1d, 0xb8, 0xcf, 0xb2, 0xdd, 0x67, 0xf3, 0xa3, 0x90, 0xf2, 0x75, 0x48,
  4618. 0xda, 0x93, 0xc1, 0xae, 0x35, 0x7a, 0x16, 0xb8, 0x87, 0x03, 0xe3, 0xa0, 0xe2, 0x3b, 0xa0, 0xdd,
  4619. 0x73, 0x06, 0xc3, 0xbe, 0x75, 0xb0, 0x76, 0xe0, 0x5a, 0xf6, 0xb8, 0xe7, 0xd8, 0x74, 0x0e, 0x9d,
  4620. 0xde, 0x08, 0xdd, 0x1a, 0xce, 0x01, 0x0b, 0xd4, 0xcd, 0x8c, 0xad, 0x3d, 0xc7, 0x6e, 0xf3, 0xa9,
  4621. 0xf1, 0x12, 0x45, 0xbb, 0xfb, 0xbd, 0x11, 0xf5, 0x68, 0x34, 0xf8, 0xb0, 0x42, 0x71, 0x1d, 0xf2,
  4622. 0xfc, 0x18, 0x36, 0xe6, 0x1d, 0x17, 0xaf, 0x42, 0xce, 0xab, 0xc2, 0x5f, 0x7e, 0xd2, 0x10, 0x7f,
  4623. 0xbc, 0x66, 0x36, 0xb4, 0x53, 0x74, 0x5f, 0x1b, 0x5b, 0x6b, 0x9a, 0x42, 0x1f, 0x76, 0xde, 0x6d,
  4624. 0x84, 0xf6, 0xf2, 0x79, 0xc8, 0xf9, 0x63, 0xdf, 0xb6, 0x5c, 0x6c, 0xa1, 0x51, 0x2a, 0x55, 0x53,
  4625. 0xd3, 0x4a, 0x31, 0x05, 0x89, 0xb5, 0xc1, 0xd0, 0x3d, 0x2c, 0xfe, 0x12, 0x64, 0x39, 0xe8, 0x61,
  4626. 0x6f, 0xec, 0x92, 0xdb, 0x90, 0x1a, 0xf0, 0xf9, 0x2a, 0x98, 0x8b, 0x86, 0x65, 0x1d, 0x20, 0xbd,
  4627. 0x67, 0xd3, 0xc3, 0x2f, 0x56, 0x20, 0x25, 0xb8, 0x77, 0xee, 0x79, 0x54, 0xd1, 0xf3, 0x30, 0x1f,
  4628. 0x15, 0x13, 0x7c, 0x54, 0x71, 0x13, 0x52, 0x2c, 0x30, 0x8f, 0x31, 0xdd, 0x60, 0xe7, 0x77, 0xa6,
  4629. 0x31, 0x26, 0xbe, 0x2c, 0xab, 0x63, 0x39, 0xd4, 0x65, 0xc8, 0xe2, 0x3b, 0xe3, 0xab, 0x90, 0x7a,
  4630. 0x73, 0xc0, 0x2a, 0xa6, 0xf8, 0x3f, 0x4a, 0x40, 0xda, 0x5b, 0x2b, 0x72, 0x01, 0x92, 0xec, 0x10,
  4631. 0x8b, 0x54, 0xde, 0xa5, 0x4e, 0x02, 0x8f, 0xad, 0xe4, 0x02, 0xa4, 0xf8, 0x41, 0x95, 0x07, 0x1c,
  4632. 0xb5, 0x52, 0x36, 0x93, 0xec, 0x60, 0xea, 0x37, 0x56, 0x0d, 0xf4, 0x93, 0xec, 0xba, 0x26, 0xc9,
  4633. 0x8e, 0x9e, 0x44, 0x87, 0x8c, 0x7f, 0xd8, 0xc4, 0x10, 0xc1, 0xef, 0x66, 0xd2, 0xde, 0xe9, 0x52,
  4634. 0x40, 0x54, 0x0d, 0x74, 0xa0, 0xfc, 0x22, 0x26, 0x5d, 0x0f, 0xf2, 0xa6, 0xb4, 0x77, 0x64, 0xc4,
  4635. 0x5f, 0x9e, 0xbc, 0x5b, 0x97, 0x14, 0x3f, 0x24, 0x06, 0x80, 0xaa, 0x81, 0x9e, 0xc9, 0xbb, 0x62,
  4636. 0x49, 0xf1, 0x83, 0x20, 0xb9, 0x4c, 0x87, 0x88, 0x07, 0x3b, 0xf4, 0x3f, 0xc1, 0x7d, 0x4a, 0x92,
  4637. 0x1d, 0xf7, 0xc8, 0x15, 0xca, 0xc0, 0x4e, 0x6f, 0xe8, 0x1a, 0x82, 0xcb, 0x93, 0x14, 0x3f, 0xd4,
  4638. 0x91, 0x6b, 0x14, 0xc2, 0x96, 0xbf, 0x00, 0xcf, 0xb8, 0x29, 0x49, 0xf1, 0x9b, 0x12, 0xa2, 0xd3,
  4639. 0x0e, 0xd1, 0x43, 0xa1, 0x57, 0x12, 0x6e, 0x45, 0x92, 0xec, 0x56, 0x84, 0x5c, 0x42, 0x3a, 0x36,
  4640. 0xa9, 0x5c, 0x70, 0x03, 0x92, 0xe2, 0xa7, 0xc0, 0xa0, 0x1d, 0x73, 0x49, 0xff, 0xb6, 0x23, 0xc5,
  4641. 0xcf, 0x79, 0xe4, 0x16, 0xdd, 0x2f, 0xaa, 0xf0, 0xc2, 0x3c, 0xfa, 0xe2, 0x45, 0x51, 0x7a, 0xde,
  4642. 0xae, 0x32, 0x57, 0x5c, 0x63, 0x6e, 0xcc, 0x4c, 0xd4, 0xf1, 0x8d, 0x58, 0xa4, 0x96, 0x8f, 0x7a,
  4643. 0x76, 0xa7, 0x90, 0xc7, 0xb5, 0x88, 0xf5, 0xec, 0x8e, 0x99, 0xa8, 0xd3, 0x1a, 0xa6, 0x82, 0x2d,
  4644. 0xda, 0xa6, 0x61, 0x5b, 0xfc, 0x3a, 0x6b, 0xa4, 0x55, 0xa4, 0x00, 0x89, 0x7a, 0x73, 0xab, 0x65,
  4645. 0x17, 0x16, 0x98, 0x9d, 0xdd, 0xb2, 0xcd, 0x78, 0x7d, 0xab, 0x65, 0x93, 0x97, 0x21, 0x36, 0x9e,
  4646. 0xec, 0x16, 0xc8, 0xf4, 0xcf, 0x82, 0xdb, 0x93, 0x5d, 0x6f, 0x30, 0x26, 0xc5, 0x90, 0x0b, 0x90,
  4647. 0x1e, 0xbb, 0xa3, 0xe6, 0x2f, 0x58, 0x23, 0xa7, 0x70, 0x1a, 0x97, 0xf1, 0x94, 0x99, 0x1a, 0xbb,
  4648. 0xa3, 0xc7, 0xd6, 0xc8, 0x39, 0xa6, 0x0f, 0x2e, 0x5e, 0x82, 0xac, 0xc0, 0x4b, 0xf2, 0xa0, 0xd8,
  4649. 0x2c, 0x81, 0xa9, 0x29, 0x37, 0x4d, 0xc5, 0x2e, 0xbe, 0x03, 0x39, 0xef, 0x88, 0x85, 0x33, 0x36,
  4650. 0xe8, 0xdb, 0xd4, 0x77, 0x46, 0xf8, 0x96, 0xce, 0x97, 0x2f, 0x85, 0x23, 0x66, 0x00, 0xe4, 0x91,
  4651. 0x8b, 0x81, 0x8b, 0x5a, 0x64, 0x30, 0x4a, 0xf1, 0x07, 0x0a, 0xe4, 0x36, 0x9d, 0x51, 0xf0, 0xfb,
  4652. 0xc5, 0x19, 0x48, 0xec, 0x3a, 0x4e, 0x7f, 0x8c, 0xc4, 0x69, 0x93, 0x15, 0xc8, 0x8b, 0x90, 0xc3,
  4653. 0x07, 0xef, 0x90, 0xac, 0xfa, 0xb7, 0x40, 0x59, 0xac, 0xe7, 0xe7, 0x62, 0x02, 0xf1, 0x9e, 0xed,
  4654. 0x8e, 0xb9, 0x47, 0xc3, 0x67, 0xf2, 0x05, 0xc8, 0xd2, 0xbf, 0x9e, 0x65, 0xdc, 0xcf, 0xa6, 0x81,
  4655. 0x56, 0x73, 0xc3, 0x97, 0x60, 0x0e, 0x35, 0xe0, 0xc3, 0x52, 0xfe, 0x8d, 0x4f, 0x8e, 0x35, 0x70,
  4656. 0x60, 0x01, 0x52, 0xcc, 0x21, 0x8c, 0xf1, 0x07, 0xdf, 0x8c, 0xe9, 0x15, 0xa9, 0x9b, 0xc5, 0x83,
  4657. 0x0a, 0xcb, 0x40, 0x52, 0x26, 0x2f, 0x15, 0xef, 0x41, 0x1a, 0xc3, 0x65, 0xa3, 0xdf, 0x26, 0x2f,
  4658. 0x80, 0xd2, 0x2d, 0x58, 0x18, 0xae, 0xcf, 0x86, 0x4e, 0x21, 0x1c, 0xb0, 0xb4, 0x6e, 0x2a, 0xdd,
  4659. 0xc5, 0x05, 0x50, 0xd6, 0xe9, 0xb1, 0xe0, 0x80, 0x3b, 0x6c, 0xe5, 0xa0, 0xf8, 0x16, 0x27, 0xd9,
  4660. 0xb2, 0x9e, 0xca, 0x49, 0xb6, 0xac, 0xa7, 0x8c, 0xe4, 0xf2, 0x14, 0x09, 0x2d, 0x1d, 0xf2, 0xdf,
  4661. 0xc0, 0x95, 0xc3, 0x62, 0x05, 0xe6, 0xf0, 0x45, 0xed, 0xd9, 0xdd, 0x47, 0x4e, 0xcf, 0xc6, 0x83,
  4662. 0x48, 0x07, 0x13, 0x38, 0xc5, 0x54, 0x3a, 0x74, 0x1f, 0xac, 0x83, 0xd6, 0x1e, 0x4b, 0x87, 0xd3,
  4663. 0x26, 0x2b, 0x14, 0xbf, 0x1f, 0x87, 0x79, 0xee, 0x64, 0xdf, 0xed, 0xb9, 0xfb, 0x9b, 0xad, 0x21,
  4664. 0xd9, 0x82, 0x1c, 0xf5, 0xaf, 0xcd, 0x41, 0x6b, 0x38, 0xa4, 0x2f, 0xb2, 0x82, 0xa1, 0xf9, 0xda,
  4665. 0x0c, 0xb7, 0xcd, 0x2d, 0x96, 0xb6, 0x5a, 0x03, 0x6b, 0x93, 0xa1, 0x59, 0xa0, 0xce, 0xda, 0x41,
  4666. 0x0d, 0x79, 0x00, 0xd9, 0xc1, 0xb8, 0xeb, 0xd3, 0xb1, 0x48, 0x7f, 0x55, 0x42, 0xb7, 0x39, 0xee,
  4667. 0x86, 0xd8, 0x60, 0xe0, 0x57, 0xd0, 0xc1, 0x51, 0xef, 0xec, 0xb3, 0xc5, 0x8e, 0x1c, 0x1c, 0x75,
  4668. 0x25, 0xe1, 0xc1, 0xed, 0x06, 0x35, 0xa4, 0x0e, 0x40, 0x5f, 0x35, 0xd7, 0xa1, 0x27, 0x3c, 0xd4,
  4669. 0x52, 0xb6, 0x5c, 0x92, 0xb0, 0x6d, 0xbb, 0xa3, 0x1d, 0x67, 0xdb, 0x1d, 0xf1, 0x84, 0x64, 0xcc,
  4670. 0x8b, 0x8b, 0xaf, 0x83, 0x16, 0x5d, 0x85, 0xa3, 0x72, 0x92, 0x8c, 0x90, 0x93, 0x2c, 0xfe, 0x1c,
  4671. 0xe4, 0x23, 0xd3, 0x16, 0xcd, 0x09, 0x33, 0xbf, 0x21, 0x9a, 0x67, 0xcb, 0xe7, 0x43, 0xdf, 0x68,
  4672. 0x88, 0x5b, 0x2f, 0x32, 0xbf, 0x0e, 0x5a, 0x74, 0x09, 0x44, 0xea, 0xb4, 0xe4, 0x40, 0x83, 0xf6,
  4673. 0xaf, 0xc2, 0x5c, 0x68, 0xd2, 0xa2, 0x71, 0xe6, 0x88, 0x69, 0x15, 0x7f, 0x25, 0x01, 0x89, 0x86,
  4674. 0x6d, 0x39, 0x1d, 0x72, 0x2e, 0x1c, 0x3b, 0xdf, 0x3c, 0xe5, 0xc5, 0xcd, 0xf3, 0x91, 0xb8, 0xf9,
  4675. 0xe6, 0x29, 0x3f, 0x6a, 0x9e, 0x8f, 0x44, 0x4d, 0xaf, 0xa9, 0x6a, 0x90, 0x8b, 0x53, 0x31, 0xf3,
  4676. 0xcd, 0x53, 0x42, 0xc0, 0xbc, 0x38, 0x15, 0x30, 0x83, 0xe6, 0xaa, 0x41, 0x1d, 0x6c, 0x38, 0x5a,
  4677. 0xbe, 0x79, 0x2a, 0x88, 0x94, 0x17, 0xa2, 0x91, 0xd2, 0x6f, 0xac, 0x1a, 0x6c, 0x48, 0x42, 0x94,
  4678. 0xc4, 0x21, 0xb1, 0xf8, 0x78, 0x21, 0x1a, 0x1f, 0xd1, 0x8e, 0x47, 0xc6, 0x0b, 0xd1, 0xc8, 0x88,
  4679. 0x8d, 0x3c, 0x12, 0x9e, 0x8f, 0x44, 0x42, 0x24, 0x65, 0x21, 0xf0, 0x42, 0x34, 0x04, 0x32, 0x3b,
  4680. 0x61, 0xa4, 0x62, 0xfc, 0xf3, 0x1b, 0xab, 0x06, 0x31, 0x22, 0xc1, 0x4f, 0x76, 0x10, 0xc1, 0xdd,
  4681. 0xc0, 0x30, 0x50, 0xa5, 0x0b, 0xe7, 0x25, 0xa8, 0x79, 0xe9, 0x27, 0x2c, 0xb8, 0xa2, 0x5e, 0x82,
  4682. 0x66, 0x40, 0xaa, 0xc3, 0xcf, 0xea, 0x1a, 0x7a, 0xb2, 0x90, 0x38, 0x51, 0x02, 0x4b, 0xf5, 0x26,
  4683. 0x7a, 0x34, 0x3a, 0xbb, 0x0e, 0x3b, 0x70, 0x94, 0x60, 0xae, 0xde, 0x7c, 0xd8, 0x1a, 0x75, 0x29,
  4684. 0x74, 0xa7, 0xd5, 0xf5, 0x6f, 0x3d, 0xa8, 0x0a, 0xb2, 0x75, 0xde, 0xb2, 0xd3, 0xea, 0x92, 0xb3,
  4685. 0x9e, 0xc4, 0xda, 0xd8, 0xaa, 0x70, 0x91, 0x2d, 0x9e, 0xa3, 0x4b, 0xc7, 0xc8, 0xd0, 0x37, 0x2e,
  4686. 0x70, 0xdf, 0x78, 0x37, 0x05, 0x89, 0x89, 0xdd, 0x73, 0xec, 0xbb, 0x19, 0x48, 0xb9, 0xce, 0x68,
  4687. 0xd0, 0x72, 0x9d, 0xe2, 0x0f, 0x15, 0x80, 0x7b, 0xce, 0x60, 0x30, 0xb1, 0x7b, 0xef, 0x4d, 0x2c,
  4688. 0x72, 0x09, 0xb2, 0x83, 0xd6, 0x13, 0xab, 0x39, 0xb0, 0x9a, 0x7b, 0x23, 0xef, 0x6d, 0xc8, 0xd0,
  4689. 0xaa, 0x4d, 0xeb, 0xde, 0xe8, 0x90, 0x14, 0xbc, 0x04, 0x1e, 0x15, 0x84, 0xc2, 0xe4, 0x09, 0xfd,
  4690. 0x19, 0x9e, 0x8e, 0x26, 0xf9, 0x4e, 0x7a, 0x09, 0x29, 0x3b, 0xe4, 0xa4, 0xf8, 0x1e, 0xb2, 0x63,
  4691. 0xce, 0x39, 0x48, 0xba, 0xd6, 0x60, 0xd8, 0xdc, 0x43, 0xc1, 0x50, 0x51, 0x24, 0x68, 0xf9, 0x1e,
  4692. 0xb9, 0x01, 0xb1, 0x3d, 0xa7, 0x8f, 0x52, 0x39, 0x72, 0x77, 0x28, 0x92, 0xbc, 0x04, 0xb1, 0xc1,
  4693. 0x98, 0xc9, 0x27, 0x5b, 0x3e, 0x1d, 0xca, 0x20, 0x58, 0xc8, 0xa2, 0xc0, 0xc1, 0xb8, 0xeb, 0xcf,
  4694. 0xbd, 0xf8, 0xa9, 0x0a, 0x69, 0xba, 0x5f, 0x6f, 0xef, 0xd4, 0x6f, 0xe1, 0xb1, 0x61, 0xaf, 0xd5,
  4695. 0xc7, 0x1b, 0x02, 0xfa, 0x9a, 0xf2, 0x12, 0xad, 0xff, 0x8a, 0xb5, 0xe7, 0x3a, 0x23, 0x74, 0xcd,
  4696. 0x19, 0x93, 0x97, 0xe8, 0x92, 0xb3, 0xac, 0x38, 0xc6, 0x67, 0xc9, 0x8a, 0x98, 0xd1, 0xb7, 0x86,
  4697. 0x4d, 0xea, 0x03, 0x98, 0xbf, 0x0c, 0x9d, 0xae, 0xbd, 0xee, 0xe8, 0xd1, 0xed, 0x81, 0x75, 0xc8,
  4698. 0xfc, 0x64, 0x72, 0x80, 0x05, 0xf2, 0xb3, 0xec, 0xc8, 0xc7, 0x76, 0x92, 0x7d, 0x5f, 0x55, 0x7c,
  4699. 0x96, 0xf1, 0x3b, 0x14, 0x14, 0x9c, 0xfb, 0xb0, 0xb8, 0x78, 0x1b, 0xb2, 0x02, 0xef, 0x51, 0xae,
  4700. 0x28, 0x16, 0xf1, 0x63, 0x21, 0xd6, 0xa3, 0x6e, 0x75, 0x44, 0x3f, 0x46, 0x57, 0xd4, 0xa1, 0x1a,
  4701. 0xbe, 0x9a, 0x87, 0x58, 0xbd, 0xd1, 0xa0, 0x79, 0x56, 0xbd, 0xd1, 0x58, 0xd1, 0x94, 0xda, 0x0a,
  4702. 0xa4, 0xbb, 0x23, 0xcb, 0xa2, 0xae, 0xf7, 0x59, 0xe7, 0xbc, 0x2f, 0xe3, 0xb2, 0xfa, 0xb0, 0xda,
  4703. 0x5b, 0x90, 0xda, 0x63, 0x27, 0x3d, 0xf2, 0xcc, 0x5b, 0x8d, 0xc2, 0x1f, 0xb3, 0xdb, 0xb5, 0xe7,
  4704. 0x45, 0x40, 0xf4, 0x7c, 0x68, 0x7a, 0x3c, 0xb5, 0x1d, 0xc8, 0x8c, 0x9a, 0x47, 0x93, 0x7e, 0xc0,
  4705. 0x62, 0xb9, 0x9c, 0x34, 0x3d, 0xe2, 0x55, 0xb5, 0x75, 0x58, 0xb0, 0x1d, 0xef, 0x47, 0xbe, 0x66,
  4706. 0x9b, 0x7b, 0xb2, 0x59, 0x49, 0xb4, 0xd7, 0x81, 0xc5, 0x3e, 0x15, 0xb0, 0x1d, 0xde, 0xc0, 0xbc,
  4707. 0x5f, 0x6d, 0x0d, 0x34, 0x81, 0xa8, 0xc3, 0xdc, 0xa5, 0x8c, 0xa7, 0xc3, 0xbe, 0x4e, 0xf0, 0x79,
  4708. 0xd0, 0xc3, 0x46, 0x68, 0xb8, 0x0f, 0x94, 0xd1, 0x74, 0xd9, 0xc7, 0x1e, 0x3e, 0x0d, 0x86, 0x95,
  4709. 0x69, 0x1a, 0x1a, 0x11, 0x64, 0x34, 0xfb, 0xec, 0x4b, 0x10, 0x91, 0xa6, 0x6a, 0x44, 0x56, 0x67,
  4710. 0x72, 0x8c, 0xe1, 0xf4, 0xd8, 0xa7, 0x1c, 0x3e, 0x0f, 0x0b, 0x38, 0x33, 0x88, 0x8e, 0x1a, 0xd0,
  4711. 0x97, 0xd9, 0x77, 0x1e, 0x21, 0xa2, 0xa9, 0x11, 0x8d, 0x8f, 0x31, 0xa2, 0x27, 0xec, 0xb3, 0x0a,
  4712. 0x9f, 0x68, 0x7b, 0xd6, 0x88, 0xc6, 0xc7, 0x18, 0x51, 0x9f, 0x7d, 0x72, 0x11, 0x22, 0xaa, 0x1a,
  4713. 0xb5, 0x0d, 0x20, 0xe2, 0xc6, 0xf3, 0xe8, 0x2c, 0x65, 0x1a, 0xb0, 0x4f, 0x69, 0x82, 0xad, 0x67,
  4714. 0x46, 0xb3, 0xa8, 0x8e, 0x1a, 0x94, 0xcd, 0xbe, 0xb3, 0x09, 0x53, 0x55, 0x8d, 0xda, 0x03, 0x38,
  4715. 0x2d, 0x4e, 0xef, 0x58, 0xc3, 0x72, 0xd8, 0x47, 0x22, 0xc1, 0x04, 0xb9, 0xd5, 0x4c, 0xb2, 0xa3,
  4716. 0x06, 0x36, 0x64, 0x1f, 0x90, 0x44, 0xc8, 0xaa, 0x46, 0xed, 0x1e, 0xe4, 0x05, 0xb2, 0x5d, 0xbc,
  4717. 0x57, 0x90, 0x11, 0xbd, 0xc7, 0x3e, 0x7b, 0xf2, 0x89, 0x68, 0x46, 0x15, 0xdd, 0x3d, 0x96, 0x63,
  4718. 0x48, 0x69, 0x46, 0xec, 0xab, 0x9d, 0x60, 0x3c, 0x68, 0x13, 0x79, 0x51, 0x76, 0x59, 0x42, 0x22,
  4719. 0xe3, 0x19, 0xb3, 0x2f, 0x7a, 0x82, 0xe1, 0x50, 0x93, 0xda, 0x20, 0x34, 0x29, 0x8b, 0xa6, 0x19,
  4720. 0x52, 0x16, 0x17, 0x23, 0x62, 0x49, 0x02, 0x59, 0x12, 0xaf, 0xaf, 0x84, 0xe9, 0xd3, 0x62, 0xed,
  4721. 0x01, 0xcc, 0x9f, 0xc4, 0x65, 0x7d, 0xa0, 0xb0, 0xbb, 0x8c, 0xca, 0xd2, 0x8a, 0xb1, 0xb2, 0x6a,
  4722. 0xce, 0xb5, 0x43, 0x9e, 0x6b, 0x1d, 0xe6, 0x4e, 0xe0, 0xb6, 0x3e, 0x54, 0xd8, 0x8d, 0x00, 0xe5,
  4723. 0x32, 0x73, 0xed, 0xb0, 0xef, 0x9a, 0x3b, 0x81, 0xe3, 0xfa, 0x48, 0x61, 0x57, 0x48, 0x46, 0xd9,
  4724. 0xa7, 0xf1, 0x7c, 0xd7, 0xdc, 0x09, 0x1c, 0xd7, 0xc7, 0xec, 0xc4, 0xaf, 0x1a, 0x15, 0x91, 0x06,
  4725. 0x3d, 0xc5, 0xfc, 0x49, 0x1c, 0xd7, 0x27, 0x0a, 0x5e, 0x29, 0xa9, 0x86, 0xe1, 0xaf, 0x8f, 0xef,
  4726. 0xbb, 0xe6, 0x4f, 0xe2, 0xb8, 0xbe, 0xa6, 0xe0, 0xd5, 0x93, 0x6a, 0xac, 0x86, 0x88, 0xc2, 0x23,
  4727. 0x3a, 0x8e, 0xe3, 0xfa, 0x54, 0xc1, 0xfb, 0x20, 0xd5, 0xa8, 0xfa, 0x44, 0xdb, 0x53, 0x23, 0x3a,
  4728. 0x8e, 0xe3, 0xfa, 0x3a, 0x9e, 0xaf, 0x6a, 0xaa, 0x71, 0x33, 0x44, 0x84, 0xbe, 0x2b, 0x7f, 0x22,
  4729. 0xc7, 0xf5, 0x0d, 0x05, 0xaf, 0xee, 0x54, 0xe3, 0x96, 0xe9, 0x8d, 0x20, 0xf0, 0x5d, 0xf9, 0x13,
  4730. 0x39, 0xae, 0x6f, 0x2a, 0x78, 0xc7, 0xa7, 0x1a, 0xb7, 0xc3, 0x54, 0xe8, 0xbb, 0xb4, 0x93, 0x39,
  4731. 0xae, 0xcf, 0x14, 0xfc, 0xa2, 0x47, 0x5d, 0x5d, 0x36, 0xbd, 0x41, 0x08, 0xbe, 0x4b, 0x3b, 0x99,
  4732. 0xe3, 0xfa, 0x96, 0x82, 0x9f, 0xf9, 0xa8, 0xab, 0x2b, 0x11, 0xb2, 0xaa, 0x51, 0x5b, 0x83, 0xdc,
  4733. 0xf1, 0x1d, 0xd7, 0xb7, 0xc5, 0x1b, 0xd4, 0x6c, 0x5b, 0xf0, 0x5e, 0x8f, 0x85, 0xfd, 0x3b, 0x86,
  4734. 0xeb, 0xfa, 0x0e, 0x26, 0x7f, 0xb5, 0xe7, 0xde, 0x64, 0xf7, 0x8c, 0xcc, 0xe4, 0x95, 0xb6, 0xd5,
  4735. 0x79, 0xad, 0xe3, 0x38, 0xc1, 0x96, 0x32, 0x87, 0xd6, 0x08, 0xde, 0x9e, 0x63, 0x78, 0xb3, 0xef,
  4736. 0x2a, 0x78, 0x2d, 0x99, 0xe3, 0xd4, 0x68, 0xe1, 0xbf, 0x47, 0xcc, 0xb5, 0xd9, 0xc1, 0x9c, 0x8f,
  4737. 0xf6, 0x6b, 0xdf, 0x53, 0x4e, 0xe6, 0xd8, 0x6a, 0xb1, 0xc6, 0xd6, 0x9a, 0xbf, 0x38, 0x58, 0xf3,
  4738. 0x06, 0xc4, 0x0f, 0xca, 0xcb, 0x2b, 0xe1, 0x14, 0x4f, 0xbc, 0x95, 0x67, 0xee, 0x2c, 0x5b, 0x5e,
  4739. 0x08, 0xfd, 0x7c, 0x31, 0x18, 0xba, 0x87, 0x26, 0x5a, 0x72, 0x86, 0xb2, 0x84, 0xe1, 0x43, 0x29,
  4740. 0x43, 0x99, 0x33, 0x54, 0x24, 0x0c, 0x1f, 0x49, 0x19, 0x2a, 0x9c, 0xc1, 0x90, 0x30, 0x7c, 0x2c,
  4741. 0x65, 0x30, 0x38, 0xc3, 0xaa, 0x84, 0xe1, 0x13, 0x29, 0xc3, 0x2a, 0x67, 0xa8, 0x4a, 0x18, 0xbe,
  4742. 0x26, 0x65, 0xa8, 0x72, 0x86, 0x9b, 0x12, 0x86, 0x4f, 0xa5, 0x0c, 0x37, 0x39, 0xc3, 0x2d, 0x09,
  4743. 0xc3, 0xd7, 0xa5, 0x0c, 0xb7, 0x38, 0xc3, 0x6d, 0x09, 0xc3, 0x37, 0xa4, 0x0c, 0xb7, 0x19, 0xc3,
  4744. 0xca, 0xb2, 0x84, 0xe1, 0x9b, 0x32, 0x86, 0x95, 0x65, 0xce, 0x20, 0xd3, 0xe4, 0x67, 0x52, 0x06,
  4745. 0xae, 0xc9, 0x15, 0x99, 0x26, 0xbf, 0x25, 0x65, 0xe0, 0x9a, 0x5c, 0x91, 0x69, 0xf2, 0xdb, 0x52,
  4746. 0x06, 0xae, 0xc9, 0x15, 0x99, 0x26, 0xbf, 0x23, 0x65, 0xe0, 0x9a, 0x5c, 0x91, 0x69, 0xf2, 0xbb,
  4747. 0x52, 0x06, 0xae, 0xc9, 0x15, 0x99, 0x26, 0xbf, 0x27, 0x65, 0xe0, 0x9a, 0x5c, 0x91, 0x69, 0xf2,
  4748. 0x4f, 0xa4, 0x0c, 0x5c, 0x93, 0x2b, 0x32, 0x4d, 0xfe, 0xa9, 0x94, 0x81, 0x6b, 0x72, 0x45, 0xa6,
  4749. 0xc9, 0x3f, 0x93, 0x32, 0x70, 0x4d, 0x96, 0x65, 0x9a, 0xfc, 0xbe, 0x8c, 0xa1, 0xcc, 0x35, 0x59,
  4750. 0x96, 0x69, 0xf2, 0xcf, 0xa5, 0x0c, 0x5c, 0x93, 0x65, 0x99, 0x26, 0xff, 0x42, 0xca, 0xc0, 0x35,
  4751. 0x59, 0x96, 0x69, 0xf2, 0x07, 0x52, 0x06, 0xae, 0xc9, 0xb2, 0x4c, 0x93, 0x7f, 0x29, 0x65, 0xe0,
  4752. 0x9a, 0x2c, 0xcb, 0x34, 0xf9, 0x57, 0x52, 0x06, 0xae, 0xc9, 0xb2, 0x4c, 0x93, 0x7f, 0x2d, 0x65,
  4753. 0xe0, 0x9a, 0x2c, 0xcb, 0x34, 0xf9, 0x37, 0x52, 0x06, 0xae, 0xc9, 0xb2, 0x4c, 0x93, 0x7f, 0x2b,
  4754. 0x65, 0xe0, 0x9a, 0x2c, 0xcb, 0x34, 0xf9, 0x77, 0x52, 0x06, 0xae, 0xc9, 0x8a, 0x4c, 0x93, 0x7f,
  4755. 0x2f, 0x63, 0xa8, 0x70, 0x4d, 0x56, 0x64, 0x9a, 0xfc, 0x07, 0x29, 0x03, 0xd7, 0x64, 0x45, 0xa6,
  4756. 0xc9, 0x7f, 0x94, 0x32, 0x70, 0x4d, 0x56, 0x64, 0x9a, 0xfc, 0x27, 0x29, 0x03, 0xd7, 0x64, 0x45,
  4757. 0xa6, 0xc9, 0x7f, 0x96, 0x32, 0x70, 0x4d, 0x56, 0x64, 0x9a, 0xfc, 0x17, 0x29, 0x03, 0xd7, 0x64,
  4758. 0x45, 0xa6, 0xc9, 0x7f, 0x95, 0x32, 0x70, 0x4d, 0x56, 0x64, 0x9a, 0xfc, 0x37, 0x29, 0x03, 0xd7,
  4759. 0x64, 0x45, 0xa6, 0xc9, 0x1f, 0x4a, 0x19, 0xb8, 0x26, 0x2b, 0x32, 0x4d, 0xfe, 0xbb, 0x94, 0x81,
  4760. 0x6b, 0xd2, 0x90, 0x69, 0xf2, 0x3f, 0x64, 0x0c, 0x06, 0xd7, 0xa4, 0x21, 0xd3, 0xe4, 0x7f, 0x4a,
  4761. 0x19, 0xb8, 0x26, 0x0d, 0x99, 0x26, 0xff, 0x4b, 0xca, 0xc0, 0x35, 0x69, 0xc8, 0x34, 0xf9, 0xdf,
  4762. 0x52, 0x06, 0xae, 0x49, 0x43, 0xa6, 0xc9, 0xff, 0x91, 0x32, 0x70, 0x4d, 0x1a, 0x32, 0x4d, 0xfe,
  4763. 0xaf, 0x94, 0x81, 0x6b, 0xd2, 0x90, 0x69, 0xf2, 0x47, 0x52, 0x06, 0xae, 0x49, 0x43, 0xa6, 0xc9,
  4764. 0x1f, 0x4b, 0x19, 0xb8, 0x26, 0x0d, 0x99, 0x26, 0x7f, 0x22, 0x65, 0xe0, 0x9a, 0x34, 0x64, 0x9a,
  4765. 0xfc, 0xa9, 0x94, 0x81, 0x6b, 0x72, 0x55, 0xa6, 0xc9, 0xff, 0x93, 0x31, 0xac, 0x2e, 0xdf, 0xbd,
  4766. 0xfe, 0xf8, 0x5a, 0xb7, 0xe7, 0xee, 0x4f, 0x76, 0x97, 0xf6, 0x9c, 0xc1, 0x8d, 0xae, 0xd3, 0x6f,
  4767. 0xd9, 0xdd, 0x1b, 0x08, 0xdb, 0x9d, 0x74, 0x6e, 0x04, 0xff, 0xcc, 0xce, 0x4c, 0xff, 0x3f, 0x00,
  4768. 0x00, 0xff, 0xff, 0x8e, 0xb4, 0x0c, 0xbd, 0xe4, 0x3e, 0x00, 0x00,
  4769. }