map_lite_unittest.pb.h 178 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: google/protobuf/map_lite_unittest.proto
  3. #ifndef PROTOBUF_INCLUDED_google_2fprotobuf_2fmap_5flite_5funittest_2eproto
  4. #define PROTOBUF_INCLUDED_google_2fprotobuf_2fmap_5flite_5funittest_2eproto
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3006001
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/inlined_string_field.h>
  23. #include <google/protobuf/metadata_lite.h>
  24. #include <google/protobuf/message_lite.h>
  25. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  26. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  27. #include <google/protobuf/map.h> // IWYU pragma: export
  28. #include <google/protobuf/map_entry_lite.h>
  29. #include <google/protobuf/map_field_lite.h>
  30. #include <google/protobuf/generated_enum_util.h>
  31. #include <google/protobuf/unittest_lite.pb.h>
  32. #include <google/protobuf/unittest_no_arena_lite.pb.h>
  33. // @@protoc_insertion_point(includes)
  34. #define PROTOBUF_INTERNAL_EXPORT_protobuf_google_2fprotobuf_2fmap_5flite_5funittest_2eproto
  35. namespace protobuf_google_2fprotobuf_2fmap_5flite_5funittest_2eproto {
  36. // Internal implementation detail -- do not use these members.
  37. struct TableStruct {
  38. static const ::google::protobuf::internal::ParseTableField entries[];
  39. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  40. static const ::google::protobuf::internal::ParseTable schema[50];
  41. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  42. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  43. static const ::google::protobuf::uint32 offsets[];
  44. };
  45. } // namespace protobuf_google_2fprotobuf_2fmap_5flite_5funittest_2eproto
  46. namespace protobuf_unittest {
  47. class ForeignMessageArenaLite;
  48. class ForeignMessageArenaLiteDefaultTypeInternal;
  49. extern ForeignMessageArenaLiteDefaultTypeInternal _ForeignMessageArenaLite_default_instance_;
  50. class TestArenaMapLite;
  51. class TestArenaMapLiteDefaultTypeInternal;
  52. extern TestArenaMapLiteDefaultTypeInternal _TestArenaMapLite_default_instance_;
  53. class TestArenaMapLite_MapBoolBoolEntry_DoNotUse;
  54. class TestArenaMapLite_MapBoolBoolEntry_DoNotUseDefaultTypeInternal;
  55. extern TestArenaMapLite_MapBoolBoolEntry_DoNotUseDefaultTypeInternal _TestArenaMapLite_MapBoolBoolEntry_DoNotUse_default_instance_;
  56. class TestArenaMapLite_MapFixed32Fixed32Entry_DoNotUse;
  57. class TestArenaMapLite_MapFixed32Fixed32Entry_DoNotUseDefaultTypeInternal;
  58. extern TestArenaMapLite_MapFixed32Fixed32Entry_DoNotUseDefaultTypeInternal _TestArenaMapLite_MapFixed32Fixed32Entry_DoNotUse_default_instance_;
  59. class TestArenaMapLite_MapFixed64Fixed64Entry_DoNotUse;
  60. class TestArenaMapLite_MapFixed64Fixed64Entry_DoNotUseDefaultTypeInternal;
  61. extern TestArenaMapLite_MapFixed64Fixed64Entry_DoNotUseDefaultTypeInternal _TestArenaMapLite_MapFixed64Fixed64Entry_DoNotUse_default_instance_;
  62. class TestArenaMapLite_MapInt32BytesEntry_DoNotUse;
  63. class TestArenaMapLite_MapInt32BytesEntry_DoNotUseDefaultTypeInternal;
  64. extern TestArenaMapLite_MapInt32BytesEntry_DoNotUseDefaultTypeInternal _TestArenaMapLite_MapInt32BytesEntry_DoNotUse_default_instance_;
  65. class TestArenaMapLite_MapInt32DoubleEntry_DoNotUse;
  66. class TestArenaMapLite_MapInt32DoubleEntry_DoNotUseDefaultTypeInternal;
  67. extern TestArenaMapLite_MapInt32DoubleEntry_DoNotUseDefaultTypeInternal _TestArenaMapLite_MapInt32DoubleEntry_DoNotUse_default_instance_;
  68. class TestArenaMapLite_MapInt32EnumEntry_DoNotUse;
  69. class TestArenaMapLite_MapInt32EnumEntry_DoNotUseDefaultTypeInternal;
  70. extern TestArenaMapLite_MapInt32EnumEntry_DoNotUseDefaultTypeInternal _TestArenaMapLite_MapInt32EnumEntry_DoNotUse_default_instance_;
  71. class TestArenaMapLite_MapInt32FloatEntry_DoNotUse;
  72. class TestArenaMapLite_MapInt32FloatEntry_DoNotUseDefaultTypeInternal;
  73. extern TestArenaMapLite_MapInt32FloatEntry_DoNotUseDefaultTypeInternal _TestArenaMapLite_MapInt32FloatEntry_DoNotUse_default_instance_;
  74. class TestArenaMapLite_MapInt32ForeignMessageEntry_DoNotUse;
  75. class TestArenaMapLite_MapInt32ForeignMessageEntry_DoNotUseDefaultTypeInternal;
  76. extern TestArenaMapLite_MapInt32ForeignMessageEntry_DoNotUseDefaultTypeInternal _TestArenaMapLite_MapInt32ForeignMessageEntry_DoNotUse_default_instance_;
  77. class TestArenaMapLite_MapInt32ForeignMessageNoArenaEntry_DoNotUse;
  78. class TestArenaMapLite_MapInt32ForeignMessageNoArenaEntry_DoNotUseDefaultTypeInternal;
  79. extern TestArenaMapLite_MapInt32ForeignMessageNoArenaEntry_DoNotUseDefaultTypeInternal _TestArenaMapLite_MapInt32ForeignMessageNoArenaEntry_DoNotUse_default_instance_;
  80. class TestArenaMapLite_MapInt32Int32Entry_DoNotUse;
  81. class TestArenaMapLite_MapInt32Int32Entry_DoNotUseDefaultTypeInternal;
  82. extern TestArenaMapLite_MapInt32Int32Entry_DoNotUseDefaultTypeInternal _TestArenaMapLite_MapInt32Int32Entry_DoNotUse_default_instance_;
  83. class TestArenaMapLite_MapInt64Int64Entry_DoNotUse;
  84. class TestArenaMapLite_MapInt64Int64Entry_DoNotUseDefaultTypeInternal;
  85. extern TestArenaMapLite_MapInt64Int64Entry_DoNotUseDefaultTypeInternal _TestArenaMapLite_MapInt64Int64Entry_DoNotUse_default_instance_;
  86. class TestArenaMapLite_MapSfixed32Sfixed32Entry_DoNotUse;
  87. class TestArenaMapLite_MapSfixed32Sfixed32Entry_DoNotUseDefaultTypeInternal;
  88. extern TestArenaMapLite_MapSfixed32Sfixed32Entry_DoNotUseDefaultTypeInternal _TestArenaMapLite_MapSfixed32Sfixed32Entry_DoNotUse_default_instance_;
  89. class TestArenaMapLite_MapSfixed64Sfixed64Entry_DoNotUse;
  90. class TestArenaMapLite_MapSfixed64Sfixed64Entry_DoNotUseDefaultTypeInternal;
  91. extern TestArenaMapLite_MapSfixed64Sfixed64Entry_DoNotUseDefaultTypeInternal _TestArenaMapLite_MapSfixed64Sfixed64Entry_DoNotUse_default_instance_;
  92. class TestArenaMapLite_MapSint32Sint32Entry_DoNotUse;
  93. class TestArenaMapLite_MapSint32Sint32Entry_DoNotUseDefaultTypeInternal;
  94. extern TestArenaMapLite_MapSint32Sint32Entry_DoNotUseDefaultTypeInternal _TestArenaMapLite_MapSint32Sint32Entry_DoNotUse_default_instance_;
  95. class TestArenaMapLite_MapSint64Sint64Entry_DoNotUse;
  96. class TestArenaMapLite_MapSint64Sint64Entry_DoNotUseDefaultTypeInternal;
  97. extern TestArenaMapLite_MapSint64Sint64Entry_DoNotUseDefaultTypeInternal _TestArenaMapLite_MapSint64Sint64Entry_DoNotUse_default_instance_;
  98. class TestArenaMapLite_MapStringStringEntry_DoNotUse;
  99. class TestArenaMapLite_MapStringStringEntry_DoNotUseDefaultTypeInternal;
  100. extern TestArenaMapLite_MapStringStringEntry_DoNotUseDefaultTypeInternal _TestArenaMapLite_MapStringStringEntry_DoNotUse_default_instance_;
  101. class TestArenaMapLite_MapUint32Uint32Entry_DoNotUse;
  102. class TestArenaMapLite_MapUint32Uint32Entry_DoNotUseDefaultTypeInternal;
  103. extern TestArenaMapLite_MapUint32Uint32Entry_DoNotUseDefaultTypeInternal _TestArenaMapLite_MapUint32Uint32Entry_DoNotUse_default_instance_;
  104. class TestArenaMapLite_MapUint64Uint64Entry_DoNotUse;
  105. class TestArenaMapLite_MapUint64Uint64Entry_DoNotUseDefaultTypeInternal;
  106. extern TestArenaMapLite_MapUint64Uint64Entry_DoNotUseDefaultTypeInternal _TestArenaMapLite_MapUint64Uint64Entry_DoNotUse_default_instance_;
  107. class TestEnumMapLite;
  108. class TestEnumMapLiteDefaultTypeInternal;
  109. extern TestEnumMapLiteDefaultTypeInternal _TestEnumMapLite_default_instance_;
  110. class TestEnumMapLite_KnownMapFieldEntry_DoNotUse;
  111. class TestEnumMapLite_KnownMapFieldEntry_DoNotUseDefaultTypeInternal;
  112. extern TestEnumMapLite_KnownMapFieldEntry_DoNotUseDefaultTypeInternal _TestEnumMapLite_KnownMapFieldEntry_DoNotUse_default_instance_;
  113. class TestEnumMapLite_UnknownMapFieldEntry_DoNotUse;
  114. class TestEnumMapLite_UnknownMapFieldEntry_DoNotUseDefaultTypeInternal;
  115. extern TestEnumMapLite_UnknownMapFieldEntry_DoNotUseDefaultTypeInternal _TestEnumMapLite_UnknownMapFieldEntry_DoNotUse_default_instance_;
  116. class TestEnumMapPlusExtraLite;
  117. class TestEnumMapPlusExtraLiteDefaultTypeInternal;
  118. extern TestEnumMapPlusExtraLiteDefaultTypeInternal _TestEnumMapPlusExtraLite_default_instance_;
  119. class TestEnumMapPlusExtraLite_KnownMapFieldEntry_DoNotUse;
  120. class TestEnumMapPlusExtraLite_KnownMapFieldEntry_DoNotUseDefaultTypeInternal;
  121. extern TestEnumMapPlusExtraLite_KnownMapFieldEntry_DoNotUseDefaultTypeInternal _TestEnumMapPlusExtraLite_KnownMapFieldEntry_DoNotUse_default_instance_;
  122. class TestEnumMapPlusExtraLite_UnknownMapFieldEntry_DoNotUse;
  123. class TestEnumMapPlusExtraLite_UnknownMapFieldEntry_DoNotUseDefaultTypeInternal;
  124. extern TestEnumMapPlusExtraLite_UnknownMapFieldEntry_DoNotUseDefaultTypeInternal _TestEnumMapPlusExtraLite_UnknownMapFieldEntry_DoNotUse_default_instance_;
  125. class TestMapLite;
  126. class TestMapLiteDefaultTypeInternal;
  127. extern TestMapLiteDefaultTypeInternal _TestMapLite_default_instance_;
  128. class TestMapLite_MapBoolBoolEntry_DoNotUse;
  129. class TestMapLite_MapBoolBoolEntry_DoNotUseDefaultTypeInternal;
  130. extern TestMapLite_MapBoolBoolEntry_DoNotUseDefaultTypeInternal _TestMapLite_MapBoolBoolEntry_DoNotUse_default_instance_;
  131. class TestMapLite_MapFixed32Fixed32Entry_DoNotUse;
  132. class TestMapLite_MapFixed32Fixed32Entry_DoNotUseDefaultTypeInternal;
  133. extern TestMapLite_MapFixed32Fixed32Entry_DoNotUseDefaultTypeInternal _TestMapLite_MapFixed32Fixed32Entry_DoNotUse_default_instance_;
  134. class TestMapLite_MapFixed64Fixed64Entry_DoNotUse;
  135. class TestMapLite_MapFixed64Fixed64Entry_DoNotUseDefaultTypeInternal;
  136. extern TestMapLite_MapFixed64Fixed64Entry_DoNotUseDefaultTypeInternal _TestMapLite_MapFixed64Fixed64Entry_DoNotUse_default_instance_;
  137. class TestMapLite_MapInt32BytesEntry_DoNotUse;
  138. class TestMapLite_MapInt32BytesEntry_DoNotUseDefaultTypeInternal;
  139. extern TestMapLite_MapInt32BytesEntry_DoNotUseDefaultTypeInternal _TestMapLite_MapInt32BytesEntry_DoNotUse_default_instance_;
  140. class TestMapLite_MapInt32DoubleEntry_DoNotUse;
  141. class TestMapLite_MapInt32DoubleEntry_DoNotUseDefaultTypeInternal;
  142. extern TestMapLite_MapInt32DoubleEntry_DoNotUseDefaultTypeInternal _TestMapLite_MapInt32DoubleEntry_DoNotUse_default_instance_;
  143. class TestMapLite_MapInt32EnumEntry_DoNotUse;
  144. class TestMapLite_MapInt32EnumEntry_DoNotUseDefaultTypeInternal;
  145. extern TestMapLite_MapInt32EnumEntry_DoNotUseDefaultTypeInternal _TestMapLite_MapInt32EnumEntry_DoNotUse_default_instance_;
  146. class TestMapLite_MapInt32FloatEntry_DoNotUse;
  147. class TestMapLite_MapInt32FloatEntry_DoNotUseDefaultTypeInternal;
  148. extern TestMapLite_MapInt32FloatEntry_DoNotUseDefaultTypeInternal _TestMapLite_MapInt32FloatEntry_DoNotUse_default_instance_;
  149. class TestMapLite_MapInt32ForeignMessageEntry_DoNotUse;
  150. class TestMapLite_MapInt32ForeignMessageEntry_DoNotUseDefaultTypeInternal;
  151. extern TestMapLite_MapInt32ForeignMessageEntry_DoNotUseDefaultTypeInternal _TestMapLite_MapInt32ForeignMessageEntry_DoNotUse_default_instance_;
  152. class TestMapLite_MapInt32Int32Entry_DoNotUse;
  153. class TestMapLite_MapInt32Int32Entry_DoNotUseDefaultTypeInternal;
  154. extern TestMapLite_MapInt32Int32Entry_DoNotUseDefaultTypeInternal _TestMapLite_MapInt32Int32Entry_DoNotUse_default_instance_;
  155. class TestMapLite_MapInt64Int64Entry_DoNotUse;
  156. class TestMapLite_MapInt64Int64Entry_DoNotUseDefaultTypeInternal;
  157. extern TestMapLite_MapInt64Int64Entry_DoNotUseDefaultTypeInternal _TestMapLite_MapInt64Int64Entry_DoNotUse_default_instance_;
  158. class TestMapLite_MapSfixed32Sfixed32Entry_DoNotUse;
  159. class TestMapLite_MapSfixed32Sfixed32Entry_DoNotUseDefaultTypeInternal;
  160. extern TestMapLite_MapSfixed32Sfixed32Entry_DoNotUseDefaultTypeInternal _TestMapLite_MapSfixed32Sfixed32Entry_DoNotUse_default_instance_;
  161. class TestMapLite_MapSfixed64Sfixed64Entry_DoNotUse;
  162. class TestMapLite_MapSfixed64Sfixed64Entry_DoNotUseDefaultTypeInternal;
  163. extern TestMapLite_MapSfixed64Sfixed64Entry_DoNotUseDefaultTypeInternal _TestMapLite_MapSfixed64Sfixed64Entry_DoNotUse_default_instance_;
  164. class TestMapLite_MapSint32Sint32Entry_DoNotUse;
  165. class TestMapLite_MapSint32Sint32Entry_DoNotUseDefaultTypeInternal;
  166. extern TestMapLite_MapSint32Sint32Entry_DoNotUseDefaultTypeInternal _TestMapLite_MapSint32Sint32Entry_DoNotUse_default_instance_;
  167. class TestMapLite_MapSint64Sint64Entry_DoNotUse;
  168. class TestMapLite_MapSint64Sint64Entry_DoNotUseDefaultTypeInternal;
  169. extern TestMapLite_MapSint64Sint64Entry_DoNotUseDefaultTypeInternal _TestMapLite_MapSint64Sint64Entry_DoNotUse_default_instance_;
  170. class TestMapLite_MapStringStringEntry_DoNotUse;
  171. class TestMapLite_MapStringStringEntry_DoNotUseDefaultTypeInternal;
  172. extern TestMapLite_MapStringStringEntry_DoNotUseDefaultTypeInternal _TestMapLite_MapStringStringEntry_DoNotUse_default_instance_;
  173. class TestMapLite_MapUint32Uint32Entry_DoNotUse;
  174. class TestMapLite_MapUint32Uint32Entry_DoNotUseDefaultTypeInternal;
  175. extern TestMapLite_MapUint32Uint32Entry_DoNotUseDefaultTypeInternal _TestMapLite_MapUint32Uint32Entry_DoNotUse_default_instance_;
  176. class TestMapLite_MapUint64Uint64Entry_DoNotUse;
  177. class TestMapLite_MapUint64Uint64Entry_DoNotUseDefaultTypeInternal;
  178. extern TestMapLite_MapUint64Uint64Entry_DoNotUseDefaultTypeInternal _TestMapLite_MapUint64Uint64Entry_DoNotUse_default_instance_;
  179. class TestMapLite_TeboringEntry_DoNotUse;
  180. class TestMapLite_TeboringEntry_DoNotUseDefaultTypeInternal;
  181. extern TestMapLite_TeboringEntry_DoNotUseDefaultTypeInternal _TestMapLite_TeboringEntry_DoNotUse_default_instance_;
  182. class TestMessageMapLite;
  183. class TestMessageMapLiteDefaultTypeInternal;
  184. extern TestMessageMapLiteDefaultTypeInternal _TestMessageMapLite_default_instance_;
  185. class TestMessageMapLite_MapInt32MessageEntry_DoNotUse;
  186. class TestMessageMapLite_MapInt32MessageEntry_DoNotUseDefaultTypeInternal;
  187. extern TestMessageMapLite_MapInt32MessageEntry_DoNotUseDefaultTypeInternal _TestMessageMapLite_MapInt32MessageEntry_DoNotUse_default_instance_;
  188. class TestRequiredLite;
  189. class TestRequiredLiteDefaultTypeInternal;
  190. extern TestRequiredLiteDefaultTypeInternal _TestRequiredLite_default_instance_;
  191. class TestRequiredMessageMapLite;
  192. class TestRequiredMessageMapLiteDefaultTypeInternal;
  193. extern TestRequiredMessageMapLiteDefaultTypeInternal _TestRequiredMessageMapLite_default_instance_;
  194. class TestRequiredMessageMapLite_MapFieldEntry_DoNotUse;
  195. class TestRequiredMessageMapLite_MapFieldEntry_DoNotUseDefaultTypeInternal;
  196. extern TestRequiredMessageMapLite_MapFieldEntry_DoNotUseDefaultTypeInternal _TestRequiredMessageMapLite_MapFieldEntry_DoNotUse_default_instance_;
  197. } // namespace protobuf_unittest
  198. namespace google {
  199. namespace protobuf {
  200. template<> ::protobuf_unittest::ForeignMessageArenaLite* Arena::CreateMaybeMessage<::protobuf_unittest::ForeignMessageArenaLite>(Arena*);
  201. template<> ::protobuf_unittest::TestArenaMapLite* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite>(Arena*);
  202. template<> ::protobuf_unittest::TestArenaMapLite_MapBoolBoolEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite_MapBoolBoolEntry_DoNotUse>(Arena*);
  203. template<> ::protobuf_unittest::TestArenaMapLite_MapFixed32Fixed32Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite_MapFixed32Fixed32Entry_DoNotUse>(Arena*);
  204. template<> ::protobuf_unittest::TestArenaMapLite_MapFixed64Fixed64Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite_MapFixed64Fixed64Entry_DoNotUse>(Arena*);
  205. template<> ::protobuf_unittest::TestArenaMapLite_MapInt32BytesEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite_MapInt32BytesEntry_DoNotUse>(Arena*);
  206. template<> ::protobuf_unittest::TestArenaMapLite_MapInt32DoubleEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite_MapInt32DoubleEntry_DoNotUse>(Arena*);
  207. template<> ::protobuf_unittest::TestArenaMapLite_MapInt32EnumEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite_MapInt32EnumEntry_DoNotUse>(Arena*);
  208. template<> ::protobuf_unittest::TestArenaMapLite_MapInt32FloatEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite_MapInt32FloatEntry_DoNotUse>(Arena*);
  209. template<> ::protobuf_unittest::TestArenaMapLite_MapInt32ForeignMessageEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite_MapInt32ForeignMessageEntry_DoNotUse>(Arena*);
  210. template<> ::protobuf_unittest::TestArenaMapLite_MapInt32ForeignMessageNoArenaEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite_MapInt32ForeignMessageNoArenaEntry_DoNotUse>(Arena*);
  211. template<> ::protobuf_unittest::TestArenaMapLite_MapInt32Int32Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite_MapInt32Int32Entry_DoNotUse>(Arena*);
  212. template<> ::protobuf_unittest::TestArenaMapLite_MapInt64Int64Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite_MapInt64Int64Entry_DoNotUse>(Arena*);
  213. template<> ::protobuf_unittest::TestArenaMapLite_MapSfixed32Sfixed32Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite_MapSfixed32Sfixed32Entry_DoNotUse>(Arena*);
  214. template<> ::protobuf_unittest::TestArenaMapLite_MapSfixed64Sfixed64Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite_MapSfixed64Sfixed64Entry_DoNotUse>(Arena*);
  215. template<> ::protobuf_unittest::TestArenaMapLite_MapSint32Sint32Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite_MapSint32Sint32Entry_DoNotUse>(Arena*);
  216. template<> ::protobuf_unittest::TestArenaMapLite_MapSint64Sint64Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite_MapSint64Sint64Entry_DoNotUse>(Arena*);
  217. template<> ::protobuf_unittest::TestArenaMapLite_MapStringStringEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite_MapStringStringEntry_DoNotUse>(Arena*);
  218. template<> ::protobuf_unittest::TestArenaMapLite_MapUint32Uint32Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite_MapUint32Uint32Entry_DoNotUse>(Arena*);
  219. template<> ::protobuf_unittest::TestArenaMapLite_MapUint64Uint64Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestArenaMapLite_MapUint64Uint64Entry_DoNotUse>(Arena*);
  220. template<> ::protobuf_unittest::TestEnumMapLite* Arena::CreateMaybeMessage<::protobuf_unittest::TestEnumMapLite>(Arena*);
  221. template<> ::protobuf_unittest::TestEnumMapLite_KnownMapFieldEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestEnumMapLite_KnownMapFieldEntry_DoNotUse>(Arena*);
  222. template<> ::protobuf_unittest::TestEnumMapLite_UnknownMapFieldEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestEnumMapLite_UnknownMapFieldEntry_DoNotUse>(Arena*);
  223. template<> ::protobuf_unittest::TestEnumMapPlusExtraLite* Arena::CreateMaybeMessage<::protobuf_unittest::TestEnumMapPlusExtraLite>(Arena*);
  224. template<> ::protobuf_unittest::TestEnumMapPlusExtraLite_KnownMapFieldEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestEnumMapPlusExtraLite_KnownMapFieldEntry_DoNotUse>(Arena*);
  225. template<> ::protobuf_unittest::TestEnumMapPlusExtraLite_UnknownMapFieldEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestEnumMapPlusExtraLite_UnknownMapFieldEntry_DoNotUse>(Arena*);
  226. template<> ::protobuf_unittest::TestMapLite* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite>(Arena*);
  227. template<> ::protobuf_unittest::TestMapLite_MapBoolBoolEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite_MapBoolBoolEntry_DoNotUse>(Arena*);
  228. template<> ::protobuf_unittest::TestMapLite_MapFixed32Fixed32Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite_MapFixed32Fixed32Entry_DoNotUse>(Arena*);
  229. template<> ::protobuf_unittest::TestMapLite_MapFixed64Fixed64Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite_MapFixed64Fixed64Entry_DoNotUse>(Arena*);
  230. template<> ::protobuf_unittest::TestMapLite_MapInt32BytesEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite_MapInt32BytesEntry_DoNotUse>(Arena*);
  231. template<> ::protobuf_unittest::TestMapLite_MapInt32DoubleEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite_MapInt32DoubleEntry_DoNotUse>(Arena*);
  232. template<> ::protobuf_unittest::TestMapLite_MapInt32EnumEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite_MapInt32EnumEntry_DoNotUse>(Arena*);
  233. template<> ::protobuf_unittest::TestMapLite_MapInt32FloatEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite_MapInt32FloatEntry_DoNotUse>(Arena*);
  234. template<> ::protobuf_unittest::TestMapLite_MapInt32ForeignMessageEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite_MapInt32ForeignMessageEntry_DoNotUse>(Arena*);
  235. template<> ::protobuf_unittest::TestMapLite_MapInt32Int32Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite_MapInt32Int32Entry_DoNotUse>(Arena*);
  236. template<> ::protobuf_unittest::TestMapLite_MapInt64Int64Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite_MapInt64Int64Entry_DoNotUse>(Arena*);
  237. template<> ::protobuf_unittest::TestMapLite_MapSfixed32Sfixed32Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite_MapSfixed32Sfixed32Entry_DoNotUse>(Arena*);
  238. template<> ::protobuf_unittest::TestMapLite_MapSfixed64Sfixed64Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite_MapSfixed64Sfixed64Entry_DoNotUse>(Arena*);
  239. template<> ::protobuf_unittest::TestMapLite_MapSint32Sint32Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite_MapSint32Sint32Entry_DoNotUse>(Arena*);
  240. template<> ::protobuf_unittest::TestMapLite_MapSint64Sint64Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite_MapSint64Sint64Entry_DoNotUse>(Arena*);
  241. template<> ::protobuf_unittest::TestMapLite_MapStringStringEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite_MapStringStringEntry_DoNotUse>(Arena*);
  242. template<> ::protobuf_unittest::TestMapLite_MapUint32Uint32Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite_MapUint32Uint32Entry_DoNotUse>(Arena*);
  243. template<> ::protobuf_unittest::TestMapLite_MapUint64Uint64Entry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite_MapUint64Uint64Entry_DoNotUse>(Arena*);
  244. template<> ::protobuf_unittest::TestMapLite_TeboringEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMapLite_TeboringEntry_DoNotUse>(Arena*);
  245. template<> ::protobuf_unittest::TestMessageMapLite* Arena::CreateMaybeMessage<::protobuf_unittest::TestMessageMapLite>(Arena*);
  246. template<> ::protobuf_unittest::TestMessageMapLite_MapInt32MessageEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestMessageMapLite_MapInt32MessageEntry_DoNotUse>(Arena*);
  247. template<> ::protobuf_unittest::TestRequiredLite* Arena::CreateMaybeMessage<::protobuf_unittest::TestRequiredLite>(Arena*);
  248. template<> ::protobuf_unittest::TestRequiredMessageMapLite* Arena::CreateMaybeMessage<::protobuf_unittest::TestRequiredMessageMapLite>(Arena*);
  249. template<> ::protobuf_unittest::TestRequiredMessageMapLite_MapFieldEntry_DoNotUse* Arena::CreateMaybeMessage<::protobuf_unittest::TestRequiredMessageMapLite_MapFieldEntry_DoNotUse>(Arena*);
  250. } // namespace protobuf
  251. } // namespace google
  252. namespace protobuf_unittest {
  253. enum Proto2MapEnumLite {
  254. PROTO2_MAP_ENUM_FOO_LITE = 0,
  255. PROTO2_MAP_ENUM_BAR_LITE = 1,
  256. PROTO2_MAP_ENUM_BAZ_LITE = 2
  257. };
  258. bool Proto2MapEnumLite_IsValid(int value);
  259. const Proto2MapEnumLite Proto2MapEnumLite_MIN = PROTO2_MAP_ENUM_FOO_LITE;
  260. const Proto2MapEnumLite Proto2MapEnumLite_MAX = PROTO2_MAP_ENUM_BAZ_LITE;
  261. const int Proto2MapEnumLite_ARRAYSIZE = Proto2MapEnumLite_MAX + 1;
  262. enum Proto2MapEnumPlusExtraLite {
  263. E_PROTO2_MAP_ENUM_FOO_LITE = 0,
  264. E_PROTO2_MAP_ENUM_BAR_LITE = 1,
  265. E_PROTO2_MAP_ENUM_BAZ_LITE = 2,
  266. E_PROTO2_MAP_ENUM_EXTRA_LITE = 3
  267. };
  268. bool Proto2MapEnumPlusExtraLite_IsValid(int value);
  269. const Proto2MapEnumPlusExtraLite Proto2MapEnumPlusExtraLite_MIN = E_PROTO2_MAP_ENUM_FOO_LITE;
  270. const Proto2MapEnumPlusExtraLite Proto2MapEnumPlusExtraLite_MAX = E_PROTO2_MAP_ENUM_EXTRA_LITE;
  271. const int Proto2MapEnumPlusExtraLite_ARRAYSIZE = Proto2MapEnumPlusExtraLite_MAX + 1;
  272. enum MapEnumLite {
  273. MAP_ENUM_FOO_LITE = 0,
  274. MAP_ENUM_BAR_LITE = 1,
  275. MAP_ENUM_BAZ_LITE = 2
  276. };
  277. bool MapEnumLite_IsValid(int value);
  278. const MapEnumLite MapEnumLite_MIN = MAP_ENUM_FOO_LITE;
  279. const MapEnumLite MapEnumLite_MAX = MAP_ENUM_BAZ_LITE;
  280. const int MapEnumLite_ARRAYSIZE = MapEnumLite_MAX + 1;
  281. // ===================================================================
  282. class TestMapLite_MapInt32Int32Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMapLite_MapInt32Int32Entry_DoNotUse,
  283. ::google::protobuf::int32, ::google::protobuf::int32,
  284. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  285. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  286. 0 > {
  287. public:
  288. typedef ::google::protobuf::internal::MapEntryLite<TestMapLite_MapInt32Int32Entry_DoNotUse,
  289. ::google::protobuf::int32, ::google::protobuf::int32,
  290. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  291. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  292. 0 > SuperType;
  293. TestMapLite_MapInt32Int32Entry_DoNotUse();
  294. TestMapLite_MapInt32Int32Entry_DoNotUse(::google::protobuf::Arena* arena);
  295. void MergeFrom(const TestMapLite_MapInt32Int32Entry_DoNotUse& other);
  296. static const TestMapLite_MapInt32Int32Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMapLite_MapInt32Int32Entry_DoNotUse*>(&_TestMapLite_MapInt32Int32Entry_DoNotUse_default_instance_); }
  297. };
  298. // -------------------------------------------------------------------
  299. class TestMapLite_MapInt64Int64Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMapLite_MapInt64Int64Entry_DoNotUse,
  300. ::google::protobuf::int64, ::google::protobuf::int64,
  301. ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
  302. ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
  303. 0 > {
  304. public:
  305. typedef ::google::protobuf::internal::MapEntryLite<TestMapLite_MapInt64Int64Entry_DoNotUse,
  306. ::google::protobuf::int64, ::google::protobuf::int64,
  307. ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
  308. ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
  309. 0 > SuperType;
  310. TestMapLite_MapInt64Int64Entry_DoNotUse();
  311. TestMapLite_MapInt64Int64Entry_DoNotUse(::google::protobuf::Arena* arena);
  312. void MergeFrom(const TestMapLite_MapInt64Int64Entry_DoNotUse& other);
  313. static const TestMapLite_MapInt64Int64Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMapLite_MapInt64Int64Entry_DoNotUse*>(&_TestMapLite_MapInt64Int64Entry_DoNotUse_default_instance_); }
  314. };
  315. // -------------------------------------------------------------------
  316. class TestMapLite_MapUint32Uint32Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMapLite_MapUint32Uint32Entry_DoNotUse,
  317. ::google::protobuf::uint32, ::google::protobuf::uint32,
  318. ::google::protobuf::internal::WireFormatLite::TYPE_UINT32,
  319. ::google::protobuf::internal::WireFormatLite::TYPE_UINT32,
  320. 0 > {
  321. public:
  322. typedef ::google::protobuf::internal::MapEntryLite<TestMapLite_MapUint32Uint32Entry_DoNotUse,
  323. ::google::protobuf::uint32, ::google::protobuf::uint32,
  324. ::google::protobuf::internal::WireFormatLite::TYPE_UINT32,
  325. ::google::protobuf::internal::WireFormatLite::TYPE_UINT32,
  326. 0 > SuperType;
  327. TestMapLite_MapUint32Uint32Entry_DoNotUse();
  328. TestMapLite_MapUint32Uint32Entry_DoNotUse(::google::protobuf::Arena* arena);
  329. void MergeFrom(const TestMapLite_MapUint32Uint32Entry_DoNotUse& other);
  330. static const TestMapLite_MapUint32Uint32Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMapLite_MapUint32Uint32Entry_DoNotUse*>(&_TestMapLite_MapUint32Uint32Entry_DoNotUse_default_instance_); }
  331. };
  332. // -------------------------------------------------------------------
  333. class TestMapLite_MapUint64Uint64Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMapLite_MapUint64Uint64Entry_DoNotUse,
  334. ::google::protobuf::uint64, ::google::protobuf::uint64,
  335. ::google::protobuf::internal::WireFormatLite::TYPE_UINT64,
  336. ::google::protobuf::internal::WireFormatLite::TYPE_UINT64,
  337. 0 > {
  338. public:
  339. typedef ::google::protobuf::internal::MapEntryLite<TestMapLite_MapUint64Uint64Entry_DoNotUse,
  340. ::google::protobuf::uint64, ::google::protobuf::uint64,
  341. ::google::protobuf::internal::WireFormatLite::TYPE_UINT64,
  342. ::google::protobuf::internal::WireFormatLite::TYPE_UINT64,
  343. 0 > SuperType;
  344. TestMapLite_MapUint64Uint64Entry_DoNotUse();
  345. TestMapLite_MapUint64Uint64Entry_DoNotUse(::google::protobuf::Arena* arena);
  346. void MergeFrom(const TestMapLite_MapUint64Uint64Entry_DoNotUse& other);
  347. static const TestMapLite_MapUint64Uint64Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMapLite_MapUint64Uint64Entry_DoNotUse*>(&_TestMapLite_MapUint64Uint64Entry_DoNotUse_default_instance_); }
  348. };
  349. // -------------------------------------------------------------------
  350. class TestMapLite_MapSint32Sint32Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMapLite_MapSint32Sint32Entry_DoNotUse,
  351. ::google::protobuf::int32, ::google::protobuf::int32,
  352. ::google::protobuf::internal::WireFormatLite::TYPE_SINT32,
  353. ::google::protobuf::internal::WireFormatLite::TYPE_SINT32,
  354. 0 > {
  355. public:
  356. typedef ::google::protobuf::internal::MapEntryLite<TestMapLite_MapSint32Sint32Entry_DoNotUse,
  357. ::google::protobuf::int32, ::google::protobuf::int32,
  358. ::google::protobuf::internal::WireFormatLite::TYPE_SINT32,
  359. ::google::protobuf::internal::WireFormatLite::TYPE_SINT32,
  360. 0 > SuperType;
  361. TestMapLite_MapSint32Sint32Entry_DoNotUse();
  362. TestMapLite_MapSint32Sint32Entry_DoNotUse(::google::protobuf::Arena* arena);
  363. void MergeFrom(const TestMapLite_MapSint32Sint32Entry_DoNotUse& other);
  364. static const TestMapLite_MapSint32Sint32Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMapLite_MapSint32Sint32Entry_DoNotUse*>(&_TestMapLite_MapSint32Sint32Entry_DoNotUse_default_instance_); }
  365. };
  366. // -------------------------------------------------------------------
  367. class TestMapLite_MapSint64Sint64Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMapLite_MapSint64Sint64Entry_DoNotUse,
  368. ::google::protobuf::int64, ::google::protobuf::int64,
  369. ::google::protobuf::internal::WireFormatLite::TYPE_SINT64,
  370. ::google::protobuf::internal::WireFormatLite::TYPE_SINT64,
  371. 0 > {
  372. public:
  373. typedef ::google::protobuf::internal::MapEntryLite<TestMapLite_MapSint64Sint64Entry_DoNotUse,
  374. ::google::protobuf::int64, ::google::protobuf::int64,
  375. ::google::protobuf::internal::WireFormatLite::TYPE_SINT64,
  376. ::google::protobuf::internal::WireFormatLite::TYPE_SINT64,
  377. 0 > SuperType;
  378. TestMapLite_MapSint64Sint64Entry_DoNotUse();
  379. TestMapLite_MapSint64Sint64Entry_DoNotUse(::google::protobuf::Arena* arena);
  380. void MergeFrom(const TestMapLite_MapSint64Sint64Entry_DoNotUse& other);
  381. static const TestMapLite_MapSint64Sint64Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMapLite_MapSint64Sint64Entry_DoNotUse*>(&_TestMapLite_MapSint64Sint64Entry_DoNotUse_default_instance_); }
  382. };
  383. // -------------------------------------------------------------------
  384. class TestMapLite_MapFixed32Fixed32Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMapLite_MapFixed32Fixed32Entry_DoNotUse,
  385. ::google::protobuf::uint32, ::google::protobuf::uint32,
  386. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32,
  387. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32,
  388. 0 > {
  389. public:
  390. typedef ::google::protobuf::internal::MapEntryLite<TestMapLite_MapFixed32Fixed32Entry_DoNotUse,
  391. ::google::protobuf::uint32, ::google::protobuf::uint32,
  392. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32,
  393. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32,
  394. 0 > SuperType;
  395. TestMapLite_MapFixed32Fixed32Entry_DoNotUse();
  396. TestMapLite_MapFixed32Fixed32Entry_DoNotUse(::google::protobuf::Arena* arena);
  397. void MergeFrom(const TestMapLite_MapFixed32Fixed32Entry_DoNotUse& other);
  398. static const TestMapLite_MapFixed32Fixed32Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMapLite_MapFixed32Fixed32Entry_DoNotUse*>(&_TestMapLite_MapFixed32Fixed32Entry_DoNotUse_default_instance_); }
  399. };
  400. // -------------------------------------------------------------------
  401. class TestMapLite_MapFixed64Fixed64Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMapLite_MapFixed64Fixed64Entry_DoNotUse,
  402. ::google::protobuf::uint64, ::google::protobuf::uint64,
  403. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64,
  404. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64,
  405. 0 > {
  406. public:
  407. typedef ::google::protobuf::internal::MapEntryLite<TestMapLite_MapFixed64Fixed64Entry_DoNotUse,
  408. ::google::protobuf::uint64, ::google::protobuf::uint64,
  409. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64,
  410. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64,
  411. 0 > SuperType;
  412. TestMapLite_MapFixed64Fixed64Entry_DoNotUse();
  413. TestMapLite_MapFixed64Fixed64Entry_DoNotUse(::google::protobuf::Arena* arena);
  414. void MergeFrom(const TestMapLite_MapFixed64Fixed64Entry_DoNotUse& other);
  415. static const TestMapLite_MapFixed64Fixed64Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMapLite_MapFixed64Fixed64Entry_DoNotUse*>(&_TestMapLite_MapFixed64Fixed64Entry_DoNotUse_default_instance_); }
  416. };
  417. // -------------------------------------------------------------------
  418. class TestMapLite_MapSfixed32Sfixed32Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMapLite_MapSfixed32Sfixed32Entry_DoNotUse,
  419. ::google::protobuf::int32, ::google::protobuf::int32,
  420. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED32,
  421. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED32,
  422. 0 > {
  423. public:
  424. typedef ::google::protobuf::internal::MapEntryLite<TestMapLite_MapSfixed32Sfixed32Entry_DoNotUse,
  425. ::google::protobuf::int32, ::google::protobuf::int32,
  426. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED32,
  427. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED32,
  428. 0 > SuperType;
  429. TestMapLite_MapSfixed32Sfixed32Entry_DoNotUse();
  430. TestMapLite_MapSfixed32Sfixed32Entry_DoNotUse(::google::protobuf::Arena* arena);
  431. void MergeFrom(const TestMapLite_MapSfixed32Sfixed32Entry_DoNotUse& other);
  432. static const TestMapLite_MapSfixed32Sfixed32Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMapLite_MapSfixed32Sfixed32Entry_DoNotUse*>(&_TestMapLite_MapSfixed32Sfixed32Entry_DoNotUse_default_instance_); }
  433. };
  434. // -------------------------------------------------------------------
  435. class TestMapLite_MapSfixed64Sfixed64Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMapLite_MapSfixed64Sfixed64Entry_DoNotUse,
  436. ::google::protobuf::int64, ::google::protobuf::int64,
  437. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED64,
  438. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED64,
  439. 0 > {
  440. public:
  441. typedef ::google::protobuf::internal::MapEntryLite<TestMapLite_MapSfixed64Sfixed64Entry_DoNotUse,
  442. ::google::protobuf::int64, ::google::protobuf::int64,
  443. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED64,
  444. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED64,
  445. 0 > SuperType;
  446. TestMapLite_MapSfixed64Sfixed64Entry_DoNotUse();
  447. TestMapLite_MapSfixed64Sfixed64Entry_DoNotUse(::google::protobuf::Arena* arena);
  448. void MergeFrom(const TestMapLite_MapSfixed64Sfixed64Entry_DoNotUse& other);
  449. static const TestMapLite_MapSfixed64Sfixed64Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMapLite_MapSfixed64Sfixed64Entry_DoNotUse*>(&_TestMapLite_MapSfixed64Sfixed64Entry_DoNotUse_default_instance_); }
  450. };
  451. // -------------------------------------------------------------------
  452. class TestMapLite_MapInt32FloatEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMapLite_MapInt32FloatEntry_DoNotUse,
  453. ::google::protobuf::int32, float,
  454. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  455. ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT,
  456. 0 > {
  457. public:
  458. typedef ::google::protobuf::internal::MapEntryLite<TestMapLite_MapInt32FloatEntry_DoNotUse,
  459. ::google::protobuf::int32, float,
  460. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  461. ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT,
  462. 0 > SuperType;
  463. TestMapLite_MapInt32FloatEntry_DoNotUse();
  464. TestMapLite_MapInt32FloatEntry_DoNotUse(::google::protobuf::Arena* arena);
  465. void MergeFrom(const TestMapLite_MapInt32FloatEntry_DoNotUse& other);
  466. static const TestMapLite_MapInt32FloatEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMapLite_MapInt32FloatEntry_DoNotUse*>(&_TestMapLite_MapInt32FloatEntry_DoNotUse_default_instance_); }
  467. };
  468. // -------------------------------------------------------------------
  469. class TestMapLite_MapInt32DoubleEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMapLite_MapInt32DoubleEntry_DoNotUse,
  470. ::google::protobuf::int32, double,
  471. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  472. ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE,
  473. 0 > {
  474. public:
  475. typedef ::google::protobuf::internal::MapEntryLite<TestMapLite_MapInt32DoubleEntry_DoNotUse,
  476. ::google::protobuf::int32, double,
  477. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  478. ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE,
  479. 0 > SuperType;
  480. TestMapLite_MapInt32DoubleEntry_DoNotUse();
  481. TestMapLite_MapInt32DoubleEntry_DoNotUse(::google::protobuf::Arena* arena);
  482. void MergeFrom(const TestMapLite_MapInt32DoubleEntry_DoNotUse& other);
  483. static const TestMapLite_MapInt32DoubleEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMapLite_MapInt32DoubleEntry_DoNotUse*>(&_TestMapLite_MapInt32DoubleEntry_DoNotUse_default_instance_); }
  484. };
  485. // -------------------------------------------------------------------
  486. class TestMapLite_MapBoolBoolEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMapLite_MapBoolBoolEntry_DoNotUse,
  487. bool, bool,
  488. ::google::protobuf::internal::WireFormatLite::TYPE_BOOL,
  489. ::google::protobuf::internal::WireFormatLite::TYPE_BOOL,
  490. 0 > {
  491. public:
  492. typedef ::google::protobuf::internal::MapEntryLite<TestMapLite_MapBoolBoolEntry_DoNotUse,
  493. bool, bool,
  494. ::google::protobuf::internal::WireFormatLite::TYPE_BOOL,
  495. ::google::protobuf::internal::WireFormatLite::TYPE_BOOL,
  496. 0 > SuperType;
  497. TestMapLite_MapBoolBoolEntry_DoNotUse();
  498. TestMapLite_MapBoolBoolEntry_DoNotUse(::google::protobuf::Arena* arena);
  499. void MergeFrom(const TestMapLite_MapBoolBoolEntry_DoNotUse& other);
  500. static const TestMapLite_MapBoolBoolEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMapLite_MapBoolBoolEntry_DoNotUse*>(&_TestMapLite_MapBoolBoolEntry_DoNotUse_default_instance_); }
  501. };
  502. // -------------------------------------------------------------------
  503. class TestMapLite_MapStringStringEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMapLite_MapStringStringEntry_DoNotUse,
  504. ::std::string, ::std::string,
  505. ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
  506. ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
  507. 0 > {
  508. public:
  509. typedef ::google::protobuf::internal::MapEntryLite<TestMapLite_MapStringStringEntry_DoNotUse,
  510. ::std::string, ::std::string,
  511. ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
  512. ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
  513. 0 > SuperType;
  514. TestMapLite_MapStringStringEntry_DoNotUse();
  515. TestMapLite_MapStringStringEntry_DoNotUse(::google::protobuf::Arena* arena);
  516. void MergeFrom(const TestMapLite_MapStringStringEntry_DoNotUse& other);
  517. static const TestMapLite_MapStringStringEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMapLite_MapStringStringEntry_DoNotUse*>(&_TestMapLite_MapStringStringEntry_DoNotUse_default_instance_); }
  518. };
  519. // -------------------------------------------------------------------
  520. class TestMapLite_MapInt32BytesEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMapLite_MapInt32BytesEntry_DoNotUse,
  521. ::google::protobuf::int32, ::std::string,
  522. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  523. ::google::protobuf::internal::WireFormatLite::TYPE_BYTES,
  524. 0 > {
  525. public:
  526. typedef ::google::protobuf::internal::MapEntryLite<TestMapLite_MapInt32BytesEntry_DoNotUse,
  527. ::google::protobuf::int32, ::std::string,
  528. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  529. ::google::protobuf::internal::WireFormatLite::TYPE_BYTES,
  530. 0 > SuperType;
  531. TestMapLite_MapInt32BytesEntry_DoNotUse();
  532. TestMapLite_MapInt32BytesEntry_DoNotUse(::google::protobuf::Arena* arena);
  533. void MergeFrom(const TestMapLite_MapInt32BytesEntry_DoNotUse& other);
  534. static const TestMapLite_MapInt32BytesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMapLite_MapInt32BytesEntry_DoNotUse*>(&_TestMapLite_MapInt32BytesEntry_DoNotUse_default_instance_); }
  535. };
  536. // -------------------------------------------------------------------
  537. class TestMapLite_MapInt32EnumEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMapLite_MapInt32EnumEntry_DoNotUse,
  538. ::google::protobuf::int32, ::protobuf_unittest::MapEnumLite,
  539. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  540. ::google::protobuf::internal::WireFormatLite::TYPE_ENUM,
  541. 0 > {
  542. public:
  543. typedef ::google::protobuf::internal::MapEntryLite<TestMapLite_MapInt32EnumEntry_DoNotUse,
  544. ::google::protobuf::int32, ::protobuf_unittest::MapEnumLite,
  545. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  546. ::google::protobuf::internal::WireFormatLite::TYPE_ENUM,
  547. 0 > SuperType;
  548. TestMapLite_MapInt32EnumEntry_DoNotUse();
  549. TestMapLite_MapInt32EnumEntry_DoNotUse(::google::protobuf::Arena* arena);
  550. void MergeFrom(const TestMapLite_MapInt32EnumEntry_DoNotUse& other);
  551. static const TestMapLite_MapInt32EnumEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMapLite_MapInt32EnumEntry_DoNotUse*>(&_TestMapLite_MapInt32EnumEntry_DoNotUse_default_instance_); }
  552. };
  553. // -------------------------------------------------------------------
  554. class TestMapLite_MapInt32ForeignMessageEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMapLite_MapInt32ForeignMessageEntry_DoNotUse,
  555. ::google::protobuf::int32, ::protobuf_unittest::ForeignMessageLite,
  556. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  557. ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
  558. 0 > {
  559. public:
  560. typedef ::google::protobuf::internal::MapEntryLite<TestMapLite_MapInt32ForeignMessageEntry_DoNotUse,
  561. ::google::protobuf::int32, ::protobuf_unittest::ForeignMessageLite,
  562. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  563. ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
  564. 0 > SuperType;
  565. TestMapLite_MapInt32ForeignMessageEntry_DoNotUse();
  566. TestMapLite_MapInt32ForeignMessageEntry_DoNotUse(::google::protobuf::Arena* arena);
  567. void MergeFrom(const TestMapLite_MapInt32ForeignMessageEntry_DoNotUse& other);
  568. static const TestMapLite_MapInt32ForeignMessageEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMapLite_MapInt32ForeignMessageEntry_DoNotUse*>(&_TestMapLite_MapInt32ForeignMessageEntry_DoNotUse_default_instance_); }
  569. };
  570. // -------------------------------------------------------------------
  571. class TestMapLite_TeboringEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMapLite_TeboringEntry_DoNotUse,
  572. ::google::protobuf::int32, ::google::protobuf::int32,
  573. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  574. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  575. 0 > {
  576. public:
  577. typedef ::google::protobuf::internal::MapEntryLite<TestMapLite_TeboringEntry_DoNotUse,
  578. ::google::protobuf::int32, ::google::protobuf::int32,
  579. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  580. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  581. 0 > SuperType;
  582. TestMapLite_TeboringEntry_DoNotUse();
  583. TestMapLite_TeboringEntry_DoNotUse(::google::protobuf::Arena* arena);
  584. void MergeFrom(const TestMapLite_TeboringEntry_DoNotUse& other);
  585. static const TestMapLite_TeboringEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMapLite_TeboringEntry_DoNotUse*>(&_TestMapLite_TeboringEntry_DoNotUse_default_instance_); }
  586. };
  587. // -------------------------------------------------------------------
  588. class TestMapLite : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:protobuf_unittest.TestMapLite) */ {
  589. public:
  590. TestMapLite();
  591. virtual ~TestMapLite();
  592. TestMapLite(const TestMapLite& from);
  593. inline TestMapLite& operator=(const TestMapLite& from) {
  594. CopyFrom(from);
  595. return *this;
  596. }
  597. #if LANG_CXX11
  598. TestMapLite(TestMapLite&& from) noexcept
  599. : TestMapLite() {
  600. *this = ::std::move(from);
  601. }
  602. inline TestMapLite& operator=(TestMapLite&& from) noexcept {
  603. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  604. if (this != &from) InternalSwap(&from);
  605. } else {
  606. CopyFrom(from);
  607. }
  608. return *this;
  609. }
  610. #endif
  611. inline const ::std::string& unknown_fields() const {
  612. return _internal_metadata_.unknown_fields();
  613. }
  614. inline ::std::string* mutable_unknown_fields() {
  615. return _internal_metadata_.mutable_unknown_fields();
  616. }
  617. inline ::google::protobuf::Arena* GetArena() const final {
  618. return GetArenaNoVirtual();
  619. }
  620. inline void* GetMaybeArenaPointer() const final {
  621. return MaybeArenaPtr();
  622. }
  623. static const TestMapLite& default_instance();
  624. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  625. static inline const TestMapLite* internal_default_instance() {
  626. return reinterpret_cast<const TestMapLite*>(
  627. &_TestMapLite_default_instance_);
  628. }
  629. static constexpr int kIndexInFileMessages =
  630. 18;
  631. void UnsafeArenaSwap(TestMapLite* other);
  632. void Swap(TestMapLite* other);
  633. friend void swap(TestMapLite& a, TestMapLite& b) {
  634. a.Swap(&b);
  635. }
  636. // implements Message ----------------------------------------------
  637. inline TestMapLite* New() const final {
  638. return CreateMaybeMessage<TestMapLite>(NULL);
  639. }
  640. TestMapLite* New(::google::protobuf::Arena* arena) const final {
  641. return CreateMaybeMessage<TestMapLite>(arena);
  642. }
  643. void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
  644. final;
  645. void CopyFrom(const TestMapLite& from);
  646. void MergeFrom(const TestMapLite& from);
  647. void Clear() final;
  648. bool IsInitialized() const final;
  649. size_t ByteSizeLong() const final;
  650. bool MergePartialFromCodedStream(
  651. ::google::protobuf::io::CodedInputStream* input) final;
  652. void SerializeWithCachedSizes(
  653. ::google::protobuf::io::CodedOutputStream* output) const final;
  654. void DiscardUnknownFields();
  655. int GetCachedSize() const final { return _cached_size_.Get(); }
  656. private:
  657. void SharedCtor();
  658. void SharedDtor();
  659. void SetCachedSize(int size) const;
  660. void InternalSwap(TestMapLite* other);
  661. protected:
  662. explicit TestMapLite(::google::protobuf::Arena* arena);
  663. private:
  664. static void ArenaDtor(void* object);
  665. inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
  666. private:
  667. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  668. return _internal_metadata_.arena();
  669. }
  670. inline void* MaybeArenaPtr() const {
  671. return _internal_metadata_.raw_arena_ptr();
  672. }
  673. public:
  674. ::std::string GetTypeName() const final;
  675. // nested types ----------------------------------------------------
  676. // accessors -------------------------------------------------------
  677. // map<int32, int32> map_int32_int32 = 1;
  678. int map_int32_int32_size() const;
  679. void clear_map_int32_int32();
  680. static const int kMapInt32Int32FieldNumber = 1;
  681. const ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >&
  682. map_int32_int32() const;
  683. ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >*
  684. mutable_map_int32_int32();
  685. // map<int64, int64> map_int64_int64 = 2;
  686. int map_int64_int64_size() const;
  687. void clear_map_int64_int64();
  688. static const int kMapInt64Int64FieldNumber = 2;
  689. const ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >&
  690. map_int64_int64() const;
  691. ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >*
  692. mutable_map_int64_int64();
  693. // map<uint32, uint32> map_uint32_uint32 = 3;
  694. int map_uint32_uint32_size() const;
  695. void clear_map_uint32_uint32();
  696. static const int kMapUint32Uint32FieldNumber = 3;
  697. const ::google::protobuf::Map< ::google::protobuf::uint32, ::google::protobuf::uint32 >&
  698. map_uint32_uint32() const;
  699. ::google::protobuf::Map< ::google::protobuf::uint32, ::google::protobuf::uint32 >*
  700. mutable_map_uint32_uint32();
  701. // map<uint64, uint64> map_uint64_uint64 = 4;
  702. int map_uint64_uint64_size() const;
  703. void clear_map_uint64_uint64();
  704. static const int kMapUint64Uint64FieldNumber = 4;
  705. const ::google::protobuf::Map< ::google::protobuf::uint64, ::google::protobuf::uint64 >&
  706. map_uint64_uint64() const;
  707. ::google::protobuf::Map< ::google::protobuf::uint64, ::google::protobuf::uint64 >*
  708. mutable_map_uint64_uint64();
  709. // map<sint32, sint32> map_sint32_sint32 = 5;
  710. int map_sint32_sint32_size() const;
  711. void clear_map_sint32_sint32();
  712. static const int kMapSint32Sint32FieldNumber = 5;
  713. const ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >&
  714. map_sint32_sint32() const;
  715. ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >*
  716. mutable_map_sint32_sint32();
  717. // map<sint64, sint64> map_sint64_sint64 = 6;
  718. int map_sint64_sint64_size() const;
  719. void clear_map_sint64_sint64();
  720. static const int kMapSint64Sint64FieldNumber = 6;
  721. const ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >&
  722. map_sint64_sint64() const;
  723. ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >*
  724. mutable_map_sint64_sint64();
  725. // map<fixed32, fixed32> map_fixed32_fixed32 = 7;
  726. int map_fixed32_fixed32_size() const;
  727. void clear_map_fixed32_fixed32();
  728. static const int kMapFixed32Fixed32FieldNumber = 7;
  729. const ::google::protobuf::Map< ::google::protobuf::uint32, ::google::protobuf::uint32 >&
  730. map_fixed32_fixed32() const;
  731. ::google::protobuf::Map< ::google::protobuf::uint32, ::google::protobuf::uint32 >*
  732. mutable_map_fixed32_fixed32();
  733. // map<fixed64, fixed64> map_fixed64_fixed64 = 8;
  734. int map_fixed64_fixed64_size() const;
  735. void clear_map_fixed64_fixed64();
  736. static const int kMapFixed64Fixed64FieldNumber = 8;
  737. const ::google::protobuf::Map< ::google::protobuf::uint64, ::google::protobuf::uint64 >&
  738. map_fixed64_fixed64() const;
  739. ::google::protobuf::Map< ::google::protobuf::uint64, ::google::protobuf::uint64 >*
  740. mutable_map_fixed64_fixed64();
  741. // map<sfixed32, sfixed32> map_sfixed32_sfixed32 = 9;
  742. int map_sfixed32_sfixed32_size() const;
  743. void clear_map_sfixed32_sfixed32();
  744. static const int kMapSfixed32Sfixed32FieldNumber = 9;
  745. const ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >&
  746. map_sfixed32_sfixed32() const;
  747. ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >*
  748. mutable_map_sfixed32_sfixed32();
  749. // map<sfixed64, sfixed64> map_sfixed64_sfixed64 = 10;
  750. int map_sfixed64_sfixed64_size() const;
  751. void clear_map_sfixed64_sfixed64();
  752. static const int kMapSfixed64Sfixed64FieldNumber = 10;
  753. const ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >&
  754. map_sfixed64_sfixed64() const;
  755. ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >*
  756. mutable_map_sfixed64_sfixed64();
  757. // map<int32, float> map_int32_float = 11;
  758. int map_int32_float_size() const;
  759. void clear_map_int32_float();
  760. static const int kMapInt32FloatFieldNumber = 11;
  761. const ::google::protobuf::Map< ::google::protobuf::int32, float >&
  762. map_int32_float() const;
  763. ::google::protobuf::Map< ::google::protobuf::int32, float >*
  764. mutable_map_int32_float();
  765. // map<int32, double> map_int32_double = 12;
  766. int map_int32_double_size() const;
  767. void clear_map_int32_double();
  768. static const int kMapInt32DoubleFieldNumber = 12;
  769. const ::google::protobuf::Map< ::google::protobuf::int32, double >&
  770. map_int32_double() const;
  771. ::google::protobuf::Map< ::google::protobuf::int32, double >*
  772. mutable_map_int32_double();
  773. // map<bool, bool> map_bool_bool = 13;
  774. int map_bool_bool_size() const;
  775. void clear_map_bool_bool();
  776. static const int kMapBoolBoolFieldNumber = 13;
  777. const ::google::protobuf::Map< bool, bool >&
  778. map_bool_bool() const;
  779. ::google::protobuf::Map< bool, bool >*
  780. mutable_map_bool_bool();
  781. // map<string, string> map_string_string = 14;
  782. int map_string_string_size() const;
  783. void clear_map_string_string();
  784. static const int kMapStringStringFieldNumber = 14;
  785. const ::google::protobuf::Map< ::std::string, ::std::string >&
  786. map_string_string() const;
  787. ::google::protobuf::Map< ::std::string, ::std::string >*
  788. mutable_map_string_string();
  789. // map<int32, bytes> map_int32_bytes = 15;
  790. int map_int32_bytes_size() const;
  791. void clear_map_int32_bytes();
  792. static const int kMapInt32BytesFieldNumber = 15;
  793. const ::google::protobuf::Map< ::google::protobuf::int32, ::std::string >&
  794. map_int32_bytes() const;
  795. ::google::protobuf::Map< ::google::protobuf::int32, ::std::string >*
  796. mutable_map_int32_bytes();
  797. // map<int32, .protobuf_unittest.MapEnumLite> map_int32_enum = 16;
  798. int map_int32_enum_size() const;
  799. void clear_map_int32_enum();
  800. static const int kMapInt32EnumFieldNumber = 16;
  801. const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::MapEnumLite >&
  802. map_int32_enum() const;
  803. ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::MapEnumLite >*
  804. mutable_map_int32_enum();
  805. // map<int32, .protobuf_unittest.ForeignMessageLite> map_int32_foreign_message = 17;
  806. int map_int32_foreign_message_size() const;
  807. void clear_map_int32_foreign_message();
  808. static const int kMapInt32ForeignMessageFieldNumber = 17;
  809. const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::ForeignMessageLite >&
  810. map_int32_foreign_message() const;
  811. ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::ForeignMessageLite >*
  812. mutable_map_int32_foreign_message();
  813. // map<int32, int32> teboring = 18;
  814. int teboring_size() const;
  815. void clear_teboring();
  816. static const int kTeboringFieldNumber = 18;
  817. const ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >&
  818. teboring() const;
  819. ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >*
  820. mutable_teboring();
  821. // @@protoc_insertion_point(class_scope:protobuf_unittest.TestMapLite)
  822. private:
  823. ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
  824. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  825. typedef void InternalArenaConstructable_;
  826. typedef void DestructorSkippable_;
  827. ::google::protobuf::internal::HasBits<1> _has_bits_;
  828. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  829. ::google::protobuf::internal::MapFieldLite<
  830. TestMapLite_MapInt32Int32Entry_DoNotUse,
  831. ::google::protobuf::int32, ::google::protobuf::int32,
  832. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  833. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  834. 0 > map_int32_int32_;
  835. ::google::protobuf::internal::MapFieldLite<
  836. TestMapLite_MapInt64Int64Entry_DoNotUse,
  837. ::google::protobuf::int64, ::google::protobuf::int64,
  838. ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
  839. ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
  840. 0 > map_int64_int64_;
  841. ::google::protobuf::internal::MapFieldLite<
  842. TestMapLite_MapUint32Uint32Entry_DoNotUse,
  843. ::google::protobuf::uint32, ::google::protobuf::uint32,
  844. ::google::protobuf::internal::WireFormatLite::TYPE_UINT32,
  845. ::google::protobuf::internal::WireFormatLite::TYPE_UINT32,
  846. 0 > map_uint32_uint32_;
  847. ::google::protobuf::internal::MapFieldLite<
  848. TestMapLite_MapUint64Uint64Entry_DoNotUse,
  849. ::google::protobuf::uint64, ::google::protobuf::uint64,
  850. ::google::protobuf::internal::WireFormatLite::TYPE_UINT64,
  851. ::google::protobuf::internal::WireFormatLite::TYPE_UINT64,
  852. 0 > map_uint64_uint64_;
  853. ::google::protobuf::internal::MapFieldLite<
  854. TestMapLite_MapSint32Sint32Entry_DoNotUse,
  855. ::google::protobuf::int32, ::google::protobuf::int32,
  856. ::google::protobuf::internal::WireFormatLite::TYPE_SINT32,
  857. ::google::protobuf::internal::WireFormatLite::TYPE_SINT32,
  858. 0 > map_sint32_sint32_;
  859. ::google::protobuf::internal::MapFieldLite<
  860. TestMapLite_MapSint64Sint64Entry_DoNotUse,
  861. ::google::protobuf::int64, ::google::protobuf::int64,
  862. ::google::protobuf::internal::WireFormatLite::TYPE_SINT64,
  863. ::google::protobuf::internal::WireFormatLite::TYPE_SINT64,
  864. 0 > map_sint64_sint64_;
  865. ::google::protobuf::internal::MapFieldLite<
  866. TestMapLite_MapFixed32Fixed32Entry_DoNotUse,
  867. ::google::protobuf::uint32, ::google::protobuf::uint32,
  868. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32,
  869. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32,
  870. 0 > map_fixed32_fixed32_;
  871. ::google::protobuf::internal::MapFieldLite<
  872. TestMapLite_MapFixed64Fixed64Entry_DoNotUse,
  873. ::google::protobuf::uint64, ::google::protobuf::uint64,
  874. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64,
  875. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64,
  876. 0 > map_fixed64_fixed64_;
  877. ::google::protobuf::internal::MapFieldLite<
  878. TestMapLite_MapSfixed32Sfixed32Entry_DoNotUse,
  879. ::google::protobuf::int32, ::google::protobuf::int32,
  880. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED32,
  881. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED32,
  882. 0 > map_sfixed32_sfixed32_;
  883. ::google::protobuf::internal::MapFieldLite<
  884. TestMapLite_MapSfixed64Sfixed64Entry_DoNotUse,
  885. ::google::protobuf::int64, ::google::protobuf::int64,
  886. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED64,
  887. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED64,
  888. 0 > map_sfixed64_sfixed64_;
  889. ::google::protobuf::internal::MapFieldLite<
  890. TestMapLite_MapInt32FloatEntry_DoNotUse,
  891. ::google::protobuf::int32, float,
  892. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  893. ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT,
  894. 0 > map_int32_float_;
  895. ::google::protobuf::internal::MapFieldLite<
  896. TestMapLite_MapInt32DoubleEntry_DoNotUse,
  897. ::google::protobuf::int32, double,
  898. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  899. ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE,
  900. 0 > map_int32_double_;
  901. ::google::protobuf::internal::MapFieldLite<
  902. TestMapLite_MapBoolBoolEntry_DoNotUse,
  903. bool, bool,
  904. ::google::protobuf::internal::WireFormatLite::TYPE_BOOL,
  905. ::google::protobuf::internal::WireFormatLite::TYPE_BOOL,
  906. 0 > map_bool_bool_;
  907. ::google::protobuf::internal::MapFieldLite<
  908. TestMapLite_MapStringStringEntry_DoNotUse,
  909. ::std::string, ::std::string,
  910. ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
  911. ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
  912. 0 > map_string_string_;
  913. ::google::protobuf::internal::MapFieldLite<
  914. TestMapLite_MapInt32BytesEntry_DoNotUse,
  915. ::google::protobuf::int32, ::std::string,
  916. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  917. ::google::protobuf::internal::WireFormatLite::TYPE_BYTES,
  918. 0 > map_int32_bytes_;
  919. ::google::protobuf::internal::MapFieldLite<
  920. TestMapLite_MapInt32EnumEntry_DoNotUse,
  921. ::google::protobuf::int32, ::protobuf_unittest::MapEnumLite,
  922. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  923. ::google::protobuf::internal::WireFormatLite::TYPE_ENUM,
  924. 0 > map_int32_enum_;
  925. ::google::protobuf::internal::MapFieldLite<
  926. TestMapLite_MapInt32ForeignMessageEntry_DoNotUse,
  927. ::google::protobuf::int32, ::protobuf_unittest::ForeignMessageLite,
  928. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  929. ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
  930. 0 > map_int32_foreign_message_;
  931. ::google::protobuf::internal::MapFieldLite<
  932. TestMapLite_TeboringEntry_DoNotUse,
  933. ::google::protobuf::int32, ::google::protobuf::int32,
  934. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  935. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  936. 0 > teboring_;
  937. friend struct ::protobuf_google_2fprotobuf_2fmap_5flite_5funittest_2eproto::TableStruct;
  938. };
  939. // -------------------------------------------------------------------
  940. class TestArenaMapLite_MapInt32Int32Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapInt32Int32Entry_DoNotUse,
  941. ::google::protobuf::int32, ::google::protobuf::int32,
  942. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  943. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  944. 0 > {
  945. public:
  946. typedef ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapInt32Int32Entry_DoNotUse,
  947. ::google::protobuf::int32, ::google::protobuf::int32,
  948. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  949. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  950. 0 > SuperType;
  951. TestArenaMapLite_MapInt32Int32Entry_DoNotUse();
  952. TestArenaMapLite_MapInt32Int32Entry_DoNotUse(::google::protobuf::Arena* arena);
  953. void MergeFrom(const TestArenaMapLite_MapInt32Int32Entry_DoNotUse& other);
  954. static const TestArenaMapLite_MapInt32Int32Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestArenaMapLite_MapInt32Int32Entry_DoNotUse*>(&_TestArenaMapLite_MapInt32Int32Entry_DoNotUse_default_instance_); }
  955. };
  956. // -------------------------------------------------------------------
  957. class TestArenaMapLite_MapInt64Int64Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapInt64Int64Entry_DoNotUse,
  958. ::google::protobuf::int64, ::google::protobuf::int64,
  959. ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
  960. ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
  961. 0 > {
  962. public:
  963. typedef ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapInt64Int64Entry_DoNotUse,
  964. ::google::protobuf::int64, ::google::protobuf::int64,
  965. ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
  966. ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
  967. 0 > SuperType;
  968. TestArenaMapLite_MapInt64Int64Entry_DoNotUse();
  969. TestArenaMapLite_MapInt64Int64Entry_DoNotUse(::google::protobuf::Arena* arena);
  970. void MergeFrom(const TestArenaMapLite_MapInt64Int64Entry_DoNotUse& other);
  971. static const TestArenaMapLite_MapInt64Int64Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestArenaMapLite_MapInt64Int64Entry_DoNotUse*>(&_TestArenaMapLite_MapInt64Int64Entry_DoNotUse_default_instance_); }
  972. };
  973. // -------------------------------------------------------------------
  974. class TestArenaMapLite_MapUint32Uint32Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapUint32Uint32Entry_DoNotUse,
  975. ::google::protobuf::uint32, ::google::protobuf::uint32,
  976. ::google::protobuf::internal::WireFormatLite::TYPE_UINT32,
  977. ::google::protobuf::internal::WireFormatLite::TYPE_UINT32,
  978. 0 > {
  979. public:
  980. typedef ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapUint32Uint32Entry_DoNotUse,
  981. ::google::protobuf::uint32, ::google::protobuf::uint32,
  982. ::google::protobuf::internal::WireFormatLite::TYPE_UINT32,
  983. ::google::protobuf::internal::WireFormatLite::TYPE_UINT32,
  984. 0 > SuperType;
  985. TestArenaMapLite_MapUint32Uint32Entry_DoNotUse();
  986. TestArenaMapLite_MapUint32Uint32Entry_DoNotUse(::google::protobuf::Arena* arena);
  987. void MergeFrom(const TestArenaMapLite_MapUint32Uint32Entry_DoNotUse& other);
  988. static const TestArenaMapLite_MapUint32Uint32Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestArenaMapLite_MapUint32Uint32Entry_DoNotUse*>(&_TestArenaMapLite_MapUint32Uint32Entry_DoNotUse_default_instance_); }
  989. };
  990. // -------------------------------------------------------------------
  991. class TestArenaMapLite_MapUint64Uint64Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapUint64Uint64Entry_DoNotUse,
  992. ::google::protobuf::uint64, ::google::protobuf::uint64,
  993. ::google::protobuf::internal::WireFormatLite::TYPE_UINT64,
  994. ::google::protobuf::internal::WireFormatLite::TYPE_UINT64,
  995. 0 > {
  996. public:
  997. typedef ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapUint64Uint64Entry_DoNotUse,
  998. ::google::protobuf::uint64, ::google::protobuf::uint64,
  999. ::google::protobuf::internal::WireFormatLite::TYPE_UINT64,
  1000. ::google::protobuf::internal::WireFormatLite::TYPE_UINT64,
  1001. 0 > SuperType;
  1002. TestArenaMapLite_MapUint64Uint64Entry_DoNotUse();
  1003. TestArenaMapLite_MapUint64Uint64Entry_DoNotUse(::google::protobuf::Arena* arena);
  1004. void MergeFrom(const TestArenaMapLite_MapUint64Uint64Entry_DoNotUse& other);
  1005. static const TestArenaMapLite_MapUint64Uint64Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestArenaMapLite_MapUint64Uint64Entry_DoNotUse*>(&_TestArenaMapLite_MapUint64Uint64Entry_DoNotUse_default_instance_); }
  1006. };
  1007. // -------------------------------------------------------------------
  1008. class TestArenaMapLite_MapSint32Sint32Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapSint32Sint32Entry_DoNotUse,
  1009. ::google::protobuf::int32, ::google::protobuf::int32,
  1010. ::google::protobuf::internal::WireFormatLite::TYPE_SINT32,
  1011. ::google::protobuf::internal::WireFormatLite::TYPE_SINT32,
  1012. 0 > {
  1013. public:
  1014. typedef ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapSint32Sint32Entry_DoNotUse,
  1015. ::google::protobuf::int32, ::google::protobuf::int32,
  1016. ::google::protobuf::internal::WireFormatLite::TYPE_SINT32,
  1017. ::google::protobuf::internal::WireFormatLite::TYPE_SINT32,
  1018. 0 > SuperType;
  1019. TestArenaMapLite_MapSint32Sint32Entry_DoNotUse();
  1020. TestArenaMapLite_MapSint32Sint32Entry_DoNotUse(::google::protobuf::Arena* arena);
  1021. void MergeFrom(const TestArenaMapLite_MapSint32Sint32Entry_DoNotUse& other);
  1022. static const TestArenaMapLite_MapSint32Sint32Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestArenaMapLite_MapSint32Sint32Entry_DoNotUse*>(&_TestArenaMapLite_MapSint32Sint32Entry_DoNotUse_default_instance_); }
  1023. };
  1024. // -------------------------------------------------------------------
  1025. class TestArenaMapLite_MapSint64Sint64Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapSint64Sint64Entry_DoNotUse,
  1026. ::google::protobuf::int64, ::google::protobuf::int64,
  1027. ::google::protobuf::internal::WireFormatLite::TYPE_SINT64,
  1028. ::google::protobuf::internal::WireFormatLite::TYPE_SINT64,
  1029. 0 > {
  1030. public:
  1031. typedef ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapSint64Sint64Entry_DoNotUse,
  1032. ::google::protobuf::int64, ::google::protobuf::int64,
  1033. ::google::protobuf::internal::WireFormatLite::TYPE_SINT64,
  1034. ::google::protobuf::internal::WireFormatLite::TYPE_SINT64,
  1035. 0 > SuperType;
  1036. TestArenaMapLite_MapSint64Sint64Entry_DoNotUse();
  1037. TestArenaMapLite_MapSint64Sint64Entry_DoNotUse(::google::protobuf::Arena* arena);
  1038. void MergeFrom(const TestArenaMapLite_MapSint64Sint64Entry_DoNotUse& other);
  1039. static const TestArenaMapLite_MapSint64Sint64Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestArenaMapLite_MapSint64Sint64Entry_DoNotUse*>(&_TestArenaMapLite_MapSint64Sint64Entry_DoNotUse_default_instance_); }
  1040. };
  1041. // -------------------------------------------------------------------
  1042. class TestArenaMapLite_MapFixed32Fixed32Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapFixed32Fixed32Entry_DoNotUse,
  1043. ::google::protobuf::uint32, ::google::protobuf::uint32,
  1044. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32,
  1045. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32,
  1046. 0 > {
  1047. public:
  1048. typedef ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapFixed32Fixed32Entry_DoNotUse,
  1049. ::google::protobuf::uint32, ::google::protobuf::uint32,
  1050. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32,
  1051. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32,
  1052. 0 > SuperType;
  1053. TestArenaMapLite_MapFixed32Fixed32Entry_DoNotUse();
  1054. TestArenaMapLite_MapFixed32Fixed32Entry_DoNotUse(::google::protobuf::Arena* arena);
  1055. void MergeFrom(const TestArenaMapLite_MapFixed32Fixed32Entry_DoNotUse& other);
  1056. static const TestArenaMapLite_MapFixed32Fixed32Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestArenaMapLite_MapFixed32Fixed32Entry_DoNotUse*>(&_TestArenaMapLite_MapFixed32Fixed32Entry_DoNotUse_default_instance_); }
  1057. };
  1058. // -------------------------------------------------------------------
  1059. class TestArenaMapLite_MapFixed64Fixed64Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapFixed64Fixed64Entry_DoNotUse,
  1060. ::google::protobuf::uint64, ::google::protobuf::uint64,
  1061. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64,
  1062. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64,
  1063. 0 > {
  1064. public:
  1065. typedef ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapFixed64Fixed64Entry_DoNotUse,
  1066. ::google::protobuf::uint64, ::google::protobuf::uint64,
  1067. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64,
  1068. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64,
  1069. 0 > SuperType;
  1070. TestArenaMapLite_MapFixed64Fixed64Entry_DoNotUse();
  1071. TestArenaMapLite_MapFixed64Fixed64Entry_DoNotUse(::google::protobuf::Arena* arena);
  1072. void MergeFrom(const TestArenaMapLite_MapFixed64Fixed64Entry_DoNotUse& other);
  1073. static const TestArenaMapLite_MapFixed64Fixed64Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestArenaMapLite_MapFixed64Fixed64Entry_DoNotUse*>(&_TestArenaMapLite_MapFixed64Fixed64Entry_DoNotUse_default_instance_); }
  1074. };
  1075. // -------------------------------------------------------------------
  1076. class TestArenaMapLite_MapSfixed32Sfixed32Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapSfixed32Sfixed32Entry_DoNotUse,
  1077. ::google::protobuf::int32, ::google::protobuf::int32,
  1078. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED32,
  1079. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED32,
  1080. 0 > {
  1081. public:
  1082. typedef ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapSfixed32Sfixed32Entry_DoNotUse,
  1083. ::google::protobuf::int32, ::google::protobuf::int32,
  1084. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED32,
  1085. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED32,
  1086. 0 > SuperType;
  1087. TestArenaMapLite_MapSfixed32Sfixed32Entry_DoNotUse();
  1088. TestArenaMapLite_MapSfixed32Sfixed32Entry_DoNotUse(::google::protobuf::Arena* arena);
  1089. void MergeFrom(const TestArenaMapLite_MapSfixed32Sfixed32Entry_DoNotUse& other);
  1090. static const TestArenaMapLite_MapSfixed32Sfixed32Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestArenaMapLite_MapSfixed32Sfixed32Entry_DoNotUse*>(&_TestArenaMapLite_MapSfixed32Sfixed32Entry_DoNotUse_default_instance_); }
  1091. };
  1092. // -------------------------------------------------------------------
  1093. class TestArenaMapLite_MapSfixed64Sfixed64Entry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapSfixed64Sfixed64Entry_DoNotUse,
  1094. ::google::protobuf::int64, ::google::protobuf::int64,
  1095. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED64,
  1096. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED64,
  1097. 0 > {
  1098. public:
  1099. typedef ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapSfixed64Sfixed64Entry_DoNotUse,
  1100. ::google::protobuf::int64, ::google::protobuf::int64,
  1101. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED64,
  1102. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED64,
  1103. 0 > SuperType;
  1104. TestArenaMapLite_MapSfixed64Sfixed64Entry_DoNotUse();
  1105. TestArenaMapLite_MapSfixed64Sfixed64Entry_DoNotUse(::google::protobuf::Arena* arena);
  1106. void MergeFrom(const TestArenaMapLite_MapSfixed64Sfixed64Entry_DoNotUse& other);
  1107. static const TestArenaMapLite_MapSfixed64Sfixed64Entry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestArenaMapLite_MapSfixed64Sfixed64Entry_DoNotUse*>(&_TestArenaMapLite_MapSfixed64Sfixed64Entry_DoNotUse_default_instance_); }
  1108. };
  1109. // -------------------------------------------------------------------
  1110. class TestArenaMapLite_MapInt32FloatEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapInt32FloatEntry_DoNotUse,
  1111. ::google::protobuf::int32, float,
  1112. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1113. ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT,
  1114. 0 > {
  1115. public:
  1116. typedef ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapInt32FloatEntry_DoNotUse,
  1117. ::google::protobuf::int32, float,
  1118. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1119. ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT,
  1120. 0 > SuperType;
  1121. TestArenaMapLite_MapInt32FloatEntry_DoNotUse();
  1122. TestArenaMapLite_MapInt32FloatEntry_DoNotUse(::google::protobuf::Arena* arena);
  1123. void MergeFrom(const TestArenaMapLite_MapInt32FloatEntry_DoNotUse& other);
  1124. static const TestArenaMapLite_MapInt32FloatEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestArenaMapLite_MapInt32FloatEntry_DoNotUse*>(&_TestArenaMapLite_MapInt32FloatEntry_DoNotUse_default_instance_); }
  1125. };
  1126. // -------------------------------------------------------------------
  1127. class TestArenaMapLite_MapInt32DoubleEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapInt32DoubleEntry_DoNotUse,
  1128. ::google::protobuf::int32, double,
  1129. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1130. ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE,
  1131. 0 > {
  1132. public:
  1133. typedef ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapInt32DoubleEntry_DoNotUse,
  1134. ::google::protobuf::int32, double,
  1135. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1136. ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE,
  1137. 0 > SuperType;
  1138. TestArenaMapLite_MapInt32DoubleEntry_DoNotUse();
  1139. TestArenaMapLite_MapInt32DoubleEntry_DoNotUse(::google::protobuf::Arena* arena);
  1140. void MergeFrom(const TestArenaMapLite_MapInt32DoubleEntry_DoNotUse& other);
  1141. static const TestArenaMapLite_MapInt32DoubleEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestArenaMapLite_MapInt32DoubleEntry_DoNotUse*>(&_TestArenaMapLite_MapInt32DoubleEntry_DoNotUse_default_instance_); }
  1142. };
  1143. // -------------------------------------------------------------------
  1144. class TestArenaMapLite_MapBoolBoolEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapBoolBoolEntry_DoNotUse,
  1145. bool, bool,
  1146. ::google::protobuf::internal::WireFormatLite::TYPE_BOOL,
  1147. ::google::protobuf::internal::WireFormatLite::TYPE_BOOL,
  1148. 0 > {
  1149. public:
  1150. typedef ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapBoolBoolEntry_DoNotUse,
  1151. bool, bool,
  1152. ::google::protobuf::internal::WireFormatLite::TYPE_BOOL,
  1153. ::google::protobuf::internal::WireFormatLite::TYPE_BOOL,
  1154. 0 > SuperType;
  1155. TestArenaMapLite_MapBoolBoolEntry_DoNotUse();
  1156. TestArenaMapLite_MapBoolBoolEntry_DoNotUse(::google::protobuf::Arena* arena);
  1157. void MergeFrom(const TestArenaMapLite_MapBoolBoolEntry_DoNotUse& other);
  1158. static const TestArenaMapLite_MapBoolBoolEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestArenaMapLite_MapBoolBoolEntry_DoNotUse*>(&_TestArenaMapLite_MapBoolBoolEntry_DoNotUse_default_instance_); }
  1159. };
  1160. // -------------------------------------------------------------------
  1161. class TestArenaMapLite_MapStringStringEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapStringStringEntry_DoNotUse,
  1162. ::std::string, ::std::string,
  1163. ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
  1164. ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
  1165. 0 > {
  1166. public:
  1167. typedef ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapStringStringEntry_DoNotUse,
  1168. ::std::string, ::std::string,
  1169. ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
  1170. ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
  1171. 0 > SuperType;
  1172. TestArenaMapLite_MapStringStringEntry_DoNotUse();
  1173. TestArenaMapLite_MapStringStringEntry_DoNotUse(::google::protobuf::Arena* arena);
  1174. void MergeFrom(const TestArenaMapLite_MapStringStringEntry_DoNotUse& other);
  1175. static const TestArenaMapLite_MapStringStringEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestArenaMapLite_MapStringStringEntry_DoNotUse*>(&_TestArenaMapLite_MapStringStringEntry_DoNotUse_default_instance_); }
  1176. };
  1177. // -------------------------------------------------------------------
  1178. class TestArenaMapLite_MapInt32BytesEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapInt32BytesEntry_DoNotUse,
  1179. ::google::protobuf::int32, ::std::string,
  1180. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1181. ::google::protobuf::internal::WireFormatLite::TYPE_BYTES,
  1182. 0 > {
  1183. public:
  1184. typedef ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapInt32BytesEntry_DoNotUse,
  1185. ::google::protobuf::int32, ::std::string,
  1186. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1187. ::google::protobuf::internal::WireFormatLite::TYPE_BYTES,
  1188. 0 > SuperType;
  1189. TestArenaMapLite_MapInt32BytesEntry_DoNotUse();
  1190. TestArenaMapLite_MapInt32BytesEntry_DoNotUse(::google::protobuf::Arena* arena);
  1191. void MergeFrom(const TestArenaMapLite_MapInt32BytesEntry_DoNotUse& other);
  1192. static const TestArenaMapLite_MapInt32BytesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestArenaMapLite_MapInt32BytesEntry_DoNotUse*>(&_TestArenaMapLite_MapInt32BytesEntry_DoNotUse_default_instance_); }
  1193. };
  1194. // -------------------------------------------------------------------
  1195. class TestArenaMapLite_MapInt32EnumEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapInt32EnumEntry_DoNotUse,
  1196. ::google::protobuf::int32, ::protobuf_unittest::MapEnumLite,
  1197. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1198. ::google::protobuf::internal::WireFormatLite::TYPE_ENUM,
  1199. 0 > {
  1200. public:
  1201. typedef ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapInt32EnumEntry_DoNotUse,
  1202. ::google::protobuf::int32, ::protobuf_unittest::MapEnumLite,
  1203. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1204. ::google::protobuf::internal::WireFormatLite::TYPE_ENUM,
  1205. 0 > SuperType;
  1206. TestArenaMapLite_MapInt32EnumEntry_DoNotUse();
  1207. TestArenaMapLite_MapInt32EnumEntry_DoNotUse(::google::protobuf::Arena* arena);
  1208. void MergeFrom(const TestArenaMapLite_MapInt32EnumEntry_DoNotUse& other);
  1209. static const TestArenaMapLite_MapInt32EnumEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestArenaMapLite_MapInt32EnumEntry_DoNotUse*>(&_TestArenaMapLite_MapInt32EnumEntry_DoNotUse_default_instance_); }
  1210. };
  1211. // -------------------------------------------------------------------
  1212. class TestArenaMapLite_MapInt32ForeignMessageEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapInt32ForeignMessageEntry_DoNotUse,
  1213. ::google::protobuf::int32, ::protobuf_unittest::ForeignMessageArenaLite,
  1214. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1215. ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
  1216. 0 > {
  1217. public:
  1218. typedef ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapInt32ForeignMessageEntry_DoNotUse,
  1219. ::google::protobuf::int32, ::protobuf_unittest::ForeignMessageArenaLite,
  1220. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1221. ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
  1222. 0 > SuperType;
  1223. TestArenaMapLite_MapInt32ForeignMessageEntry_DoNotUse();
  1224. TestArenaMapLite_MapInt32ForeignMessageEntry_DoNotUse(::google::protobuf::Arena* arena);
  1225. void MergeFrom(const TestArenaMapLite_MapInt32ForeignMessageEntry_DoNotUse& other);
  1226. static const TestArenaMapLite_MapInt32ForeignMessageEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestArenaMapLite_MapInt32ForeignMessageEntry_DoNotUse*>(&_TestArenaMapLite_MapInt32ForeignMessageEntry_DoNotUse_default_instance_); }
  1227. };
  1228. // -------------------------------------------------------------------
  1229. class TestArenaMapLite_MapInt32ForeignMessageNoArenaEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapInt32ForeignMessageNoArenaEntry_DoNotUse,
  1230. ::google::protobuf::int32, ::protobuf_unittest_no_arena::ForeignMessageLite,
  1231. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1232. ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
  1233. 0 > {
  1234. public:
  1235. typedef ::google::protobuf::internal::MapEntryLite<TestArenaMapLite_MapInt32ForeignMessageNoArenaEntry_DoNotUse,
  1236. ::google::protobuf::int32, ::protobuf_unittest_no_arena::ForeignMessageLite,
  1237. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1238. ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
  1239. 0 > SuperType;
  1240. TestArenaMapLite_MapInt32ForeignMessageNoArenaEntry_DoNotUse();
  1241. TestArenaMapLite_MapInt32ForeignMessageNoArenaEntry_DoNotUse(::google::protobuf::Arena* arena);
  1242. void MergeFrom(const TestArenaMapLite_MapInt32ForeignMessageNoArenaEntry_DoNotUse& other);
  1243. static const TestArenaMapLite_MapInt32ForeignMessageNoArenaEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestArenaMapLite_MapInt32ForeignMessageNoArenaEntry_DoNotUse*>(&_TestArenaMapLite_MapInt32ForeignMessageNoArenaEntry_DoNotUse_default_instance_); }
  1244. };
  1245. // -------------------------------------------------------------------
  1246. class TestArenaMapLite : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:protobuf_unittest.TestArenaMapLite) */ {
  1247. public:
  1248. TestArenaMapLite();
  1249. virtual ~TestArenaMapLite();
  1250. TestArenaMapLite(const TestArenaMapLite& from);
  1251. inline TestArenaMapLite& operator=(const TestArenaMapLite& from) {
  1252. CopyFrom(from);
  1253. return *this;
  1254. }
  1255. #if LANG_CXX11
  1256. TestArenaMapLite(TestArenaMapLite&& from) noexcept
  1257. : TestArenaMapLite() {
  1258. *this = ::std::move(from);
  1259. }
  1260. inline TestArenaMapLite& operator=(TestArenaMapLite&& from) noexcept {
  1261. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1262. if (this != &from) InternalSwap(&from);
  1263. } else {
  1264. CopyFrom(from);
  1265. }
  1266. return *this;
  1267. }
  1268. #endif
  1269. inline const ::std::string& unknown_fields() const {
  1270. return _internal_metadata_.unknown_fields();
  1271. }
  1272. inline ::std::string* mutable_unknown_fields() {
  1273. return _internal_metadata_.mutable_unknown_fields();
  1274. }
  1275. inline ::google::protobuf::Arena* GetArena() const final {
  1276. return GetArenaNoVirtual();
  1277. }
  1278. inline void* GetMaybeArenaPointer() const final {
  1279. return MaybeArenaPtr();
  1280. }
  1281. static const TestArenaMapLite& default_instance();
  1282. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1283. static inline const TestArenaMapLite* internal_default_instance() {
  1284. return reinterpret_cast<const TestArenaMapLite*>(
  1285. &_TestArenaMapLite_default_instance_);
  1286. }
  1287. static constexpr int kIndexInFileMessages =
  1288. 37;
  1289. void UnsafeArenaSwap(TestArenaMapLite* other);
  1290. void Swap(TestArenaMapLite* other);
  1291. friend void swap(TestArenaMapLite& a, TestArenaMapLite& b) {
  1292. a.Swap(&b);
  1293. }
  1294. // implements Message ----------------------------------------------
  1295. inline TestArenaMapLite* New() const final {
  1296. return CreateMaybeMessage<TestArenaMapLite>(NULL);
  1297. }
  1298. TestArenaMapLite* New(::google::protobuf::Arena* arena) const final {
  1299. return CreateMaybeMessage<TestArenaMapLite>(arena);
  1300. }
  1301. void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
  1302. final;
  1303. void CopyFrom(const TestArenaMapLite& from);
  1304. void MergeFrom(const TestArenaMapLite& from);
  1305. void Clear() final;
  1306. bool IsInitialized() const final;
  1307. size_t ByteSizeLong() const final;
  1308. bool MergePartialFromCodedStream(
  1309. ::google::protobuf::io::CodedInputStream* input) final;
  1310. void SerializeWithCachedSizes(
  1311. ::google::protobuf::io::CodedOutputStream* output) const final;
  1312. void DiscardUnknownFields();
  1313. int GetCachedSize() const final { return _cached_size_.Get(); }
  1314. private:
  1315. void SharedCtor();
  1316. void SharedDtor();
  1317. void SetCachedSize(int size) const;
  1318. void InternalSwap(TestArenaMapLite* other);
  1319. protected:
  1320. explicit TestArenaMapLite(::google::protobuf::Arena* arena);
  1321. private:
  1322. static void ArenaDtor(void* object);
  1323. inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
  1324. private:
  1325. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1326. return _internal_metadata_.arena();
  1327. }
  1328. inline void* MaybeArenaPtr() const {
  1329. return _internal_metadata_.raw_arena_ptr();
  1330. }
  1331. public:
  1332. ::std::string GetTypeName() const final;
  1333. // nested types ----------------------------------------------------
  1334. // accessors -------------------------------------------------------
  1335. // map<int32, int32> map_int32_int32 = 1;
  1336. int map_int32_int32_size() const;
  1337. void clear_map_int32_int32();
  1338. static const int kMapInt32Int32FieldNumber = 1;
  1339. const ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >&
  1340. map_int32_int32() const;
  1341. ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >*
  1342. mutable_map_int32_int32();
  1343. // map<int64, int64> map_int64_int64 = 2;
  1344. int map_int64_int64_size() const;
  1345. void clear_map_int64_int64();
  1346. static const int kMapInt64Int64FieldNumber = 2;
  1347. const ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >&
  1348. map_int64_int64() const;
  1349. ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >*
  1350. mutable_map_int64_int64();
  1351. // map<uint32, uint32> map_uint32_uint32 = 3;
  1352. int map_uint32_uint32_size() const;
  1353. void clear_map_uint32_uint32();
  1354. static const int kMapUint32Uint32FieldNumber = 3;
  1355. const ::google::protobuf::Map< ::google::protobuf::uint32, ::google::protobuf::uint32 >&
  1356. map_uint32_uint32() const;
  1357. ::google::protobuf::Map< ::google::protobuf::uint32, ::google::protobuf::uint32 >*
  1358. mutable_map_uint32_uint32();
  1359. // map<uint64, uint64> map_uint64_uint64 = 4;
  1360. int map_uint64_uint64_size() const;
  1361. void clear_map_uint64_uint64();
  1362. static const int kMapUint64Uint64FieldNumber = 4;
  1363. const ::google::protobuf::Map< ::google::protobuf::uint64, ::google::protobuf::uint64 >&
  1364. map_uint64_uint64() const;
  1365. ::google::protobuf::Map< ::google::protobuf::uint64, ::google::protobuf::uint64 >*
  1366. mutable_map_uint64_uint64();
  1367. // map<sint32, sint32> map_sint32_sint32 = 5;
  1368. int map_sint32_sint32_size() const;
  1369. void clear_map_sint32_sint32();
  1370. static const int kMapSint32Sint32FieldNumber = 5;
  1371. const ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >&
  1372. map_sint32_sint32() const;
  1373. ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >*
  1374. mutable_map_sint32_sint32();
  1375. // map<sint64, sint64> map_sint64_sint64 = 6;
  1376. int map_sint64_sint64_size() const;
  1377. void clear_map_sint64_sint64();
  1378. static const int kMapSint64Sint64FieldNumber = 6;
  1379. const ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >&
  1380. map_sint64_sint64() const;
  1381. ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >*
  1382. mutable_map_sint64_sint64();
  1383. // map<fixed32, fixed32> map_fixed32_fixed32 = 7;
  1384. int map_fixed32_fixed32_size() const;
  1385. void clear_map_fixed32_fixed32();
  1386. static const int kMapFixed32Fixed32FieldNumber = 7;
  1387. const ::google::protobuf::Map< ::google::protobuf::uint32, ::google::protobuf::uint32 >&
  1388. map_fixed32_fixed32() const;
  1389. ::google::protobuf::Map< ::google::protobuf::uint32, ::google::protobuf::uint32 >*
  1390. mutable_map_fixed32_fixed32();
  1391. // map<fixed64, fixed64> map_fixed64_fixed64 = 8;
  1392. int map_fixed64_fixed64_size() const;
  1393. void clear_map_fixed64_fixed64();
  1394. static const int kMapFixed64Fixed64FieldNumber = 8;
  1395. const ::google::protobuf::Map< ::google::protobuf::uint64, ::google::protobuf::uint64 >&
  1396. map_fixed64_fixed64() const;
  1397. ::google::protobuf::Map< ::google::protobuf::uint64, ::google::protobuf::uint64 >*
  1398. mutable_map_fixed64_fixed64();
  1399. // map<sfixed32, sfixed32> map_sfixed32_sfixed32 = 9;
  1400. int map_sfixed32_sfixed32_size() const;
  1401. void clear_map_sfixed32_sfixed32();
  1402. static const int kMapSfixed32Sfixed32FieldNumber = 9;
  1403. const ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >&
  1404. map_sfixed32_sfixed32() const;
  1405. ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >*
  1406. mutable_map_sfixed32_sfixed32();
  1407. // map<sfixed64, sfixed64> map_sfixed64_sfixed64 = 10;
  1408. int map_sfixed64_sfixed64_size() const;
  1409. void clear_map_sfixed64_sfixed64();
  1410. static const int kMapSfixed64Sfixed64FieldNumber = 10;
  1411. const ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >&
  1412. map_sfixed64_sfixed64() const;
  1413. ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >*
  1414. mutable_map_sfixed64_sfixed64();
  1415. // map<int32, float> map_int32_float = 11;
  1416. int map_int32_float_size() const;
  1417. void clear_map_int32_float();
  1418. static const int kMapInt32FloatFieldNumber = 11;
  1419. const ::google::protobuf::Map< ::google::protobuf::int32, float >&
  1420. map_int32_float() const;
  1421. ::google::protobuf::Map< ::google::protobuf::int32, float >*
  1422. mutable_map_int32_float();
  1423. // map<int32, double> map_int32_double = 12;
  1424. int map_int32_double_size() const;
  1425. void clear_map_int32_double();
  1426. static const int kMapInt32DoubleFieldNumber = 12;
  1427. const ::google::protobuf::Map< ::google::protobuf::int32, double >&
  1428. map_int32_double() const;
  1429. ::google::protobuf::Map< ::google::protobuf::int32, double >*
  1430. mutable_map_int32_double();
  1431. // map<bool, bool> map_bool_bool = 13;
  1432. int map_bool_bool_size() const;
  1433. void clear_map_bool_bool();
  1434. static const int kMapBoolBoolFieldNumber = 13;
  1435. const ::google::protobuf::Map< bool, bool >&
  1436. map_bool_bool() const;
  1437. ::google::protobuf::Map< bool, bool >*
  1438. mutable_map_bool_bool();
  1439. // map<string, string> map_string_string = 14;
  1440. int map_string_string_size() const;
  1441. void clear_map_string_string();
  1442. static const int kMapStringStringFieldNumber = 14;
  1443. const ::google::protobuf::Map< ::std::string, ::std::string >&
  1444. map_string_string() const;
  1445. ::google::protobuf::Map< ::std::string, ::std::string >*
  1446. mutable_map_string_string();
  1447. // map<int32, bytes> map_int32_bytes = 15;
  1448. int map_int32_bytes_size() const;
  1449. void clear_map_int32_bytes();
  1450. static const int kMapInt32BytesFieldNumber = 15;
  1451. const ::google::protobuf::Map< ::google::protobuf::int32, ::std::string >&
  1452. map_int32_bytes() const;
  1453. ::google::protobuf::Map< ::google::protobuf::int32, ::std::string >*
  1454. mutable_map_int32_bytes();
  1455. // map<int32, .protobuf_unittest.MapEnumLite> map_int32_enum = 16;
  1456. int map_int32_enum_size() const;
  1457. void clear_map_int32_enum();
  1458. static const int kMapInt32EnumFieldNumber = 16;
  1459. const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::MapEnumLite >&
  1460. map_int32_enum() const;
  1461. ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::MapEnumLite >*
  1462. mutable_map_int32_enum();
  1463. // map<int32, .protobuf_unittest.ForeignMessageArenaLite> map_int32_foreign_message = 17;
  1464. int map_int32_foreign_message_size() const;
  1465. void clear_map_int32_foreign_message();
  1466. static const int kMapInt32ForeignMessageFieldNumber = 17;
  1467. const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::ForeignMessageArenaLite >&
  1468. map_int32_foreign_message() const;
  1469. ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::ForeignMessageArenaLite >*
  1470. mutable_map_int32_foreign_message();
  1471. // map<int32, .protobuf_unittest_no_arena.ForeignMessageLite> map_int32_foreign_message_no_arena = 18;
  1472. int map_int32_foreign_message_no_arena_size() const;
  1473. void clear_map_int32_foreign_message_no_arena();
  1474. static const int kMapInt32ForeignMessageNoArenaFieldNumber = 18;
  1475. const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest_no_arena::ForeignMessageLite >&
  1476. map_int32_foreign_message_no_arena() const;
  1477. ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest_no_arena::ForeignMessageLite >*
  1478. mutable_map_int32_foreign_message_no_arena();
  1479. // @@protoc_insertion_point(class_scope:protobuf_unittest.TestArenaMapLite)
  1480. private:
  1481. ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
  1482. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  1483. typedef void InternalArenaConstructable_;
  1484. typedef void DestructorSkippable_;
  1485. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1486. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1487. ::google::protobuf::internal::MapFieldLite<
  1488. TestArenaMapLite_MapInt32Int32Entry_DoNotUse,
  1489. ::google::protobuf::int32, ::google::protobuf::int32,
  1490. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1491. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1492. 0 > map_int32_int32_;
  1493. ::google::protobuf::internal::MapFieldLite<
  1494. TestArenaMapLite_MapInt64Int64Entry_DoNotUse,
  1495. ::google::protobuf::int64, ::google::protobuf::int64,
  1496. ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
  1497. ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
  1498. 0 > map_int64_int64_;
  1499. ::google::protobuf::internal::MapFieldLite<
  1500. TestArenaMapLite_MapUint32Uint32Entry_DoNotUse,
  1501. ::google::protobuf::uint32, ::google::protobuf::uint32,
  1502. ::google::protobuf::internal::WireFormatLite::TYPE_UINT32,
  1503. ::google::protobuf::internal::WireFormatLite::TYPE_UINT32,
  1504. 0 > map_uint32_uint32_;
  1505. ::google::protobuf::internal::MapFieldLite<
  1506. TestArenaMapLite_MapUint64Uint64Entry_DoNotUse,
  1507. ::google::protobuf::uint64, ::google::protobuf::uint64,
  1508. ::google::protobuf::internal::WireFormatLite::TYPE_UINT64,
  1509. ::google::protobuf::internal::WireFormatLite::TYPE_UINT64,
  1510. 0 > map_uint64_uint64_;
  1511. ::google::protobuf::internal::MapFieldLite<
  1512. TestArenaMapLite_MapSint32Sint32Entry_DoNotUse,
  1513. ::google::protobuf::int32, ::google::protobuf::int32,
  1514. ::google::protobuf::internal::WireFormatLite::TYPE_SINT32,
  1515. ::google::protobuf::internal::WireFormatLite::TYPE_SINT32,
  1516. 0 > map_sint32_sint32_;
  1517. ::google::protobuf::internal::MapFieldLite<
  1518. TestArenaMapLite_MapSint64Sint64Entry_DoNotUse,
  1519. ::google::protobuf::int64, ::google::protobuf::int64,
  1520. ::google::protobuf::internal::WireFormatLite::TYPE_SINT64,
  1521. ::google::protobuf::internal::WireFormatLite::TYPE_SINT64,
  1522. 0 > map_sint64_sint64_;
  1523. ::google::protobuf::internal::MapFieldLite<
  1524. TestArenaMapLite_MapFixed32Fixed32Entry_DoNotUse,
  1525. ::google::protobuf::uint32, ::google::protobuf::uint32,
  1526. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32,
  1527. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32,
  1528. 0 > map_fixed32_fixed32_;
  1529. ::google::protobuf::internal::MapFieldLite<
  1530. TestArenaMapLite_MapFixed64Fixed64Entry_DoNotUse,
  1531. ::google::protobuf::uint64, ::google::protobuf::uint64,
  1532. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64,
  1533. ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64,
  1534. 0 > map_fixed64_fixed64_;
  1535. ::google::protobuf::internal::MapFieldLite<
  1536. TestArenaMapLite_MapSfixed32Sfixed32Entry_DoNotUse,
  1537. ::google::protobuf::int32, ::google::protobuf::int32,
  1538. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED32,
  1539. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED32,
  1540. 0 > map_sfixed32_sfixed32_;
  1541. ::google::protobuf::internal::MapFieldLite<
  1542. TestArenaMapLite_MapSfixed64Sfixed64Entry_DoNotUse,
  1543. ::google::protobuf::int64, ::google::protobuf::int64,
  1544. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED64,
  1545. ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED64,
  1546. 0 > map_sfixed64_sfixed64_;
  1547. ::google::protobuf::internal::MapFieldLite<
  1548. TestArenaMapLite_MapInt32FloatEntry_DoNotUse,
  1549. ::google::protobuf::int32, float,
  1550. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1551. ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT,
  1552. 0 > map_int32_float_;
  1553. ::google::protobuf::internal::MapFieldLite<
  1554. TestArenaMapLite_MapInt32DoubleEntry_DoNotUse,
  1555. ::google::protobuf::int32, double,
  1556. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1557. ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE,
  1558. 0 > map_int32_double_;
  1559. ::google::protobuf::internal::MapFieldLite<
  1560. TestArenaMapLite_MapBoolBoolEntry_DoNotUse,
  1561. bool, bool,
  1562. ::google::protobuf::internal::WireFormatLite::TYPE_BOOL,
  1563. ::google::protobuf::internal::WireFormatLite::TYPE_BOOL,
  1564. 0 > map_bool_bool_;
  1565. ::google::protobuf::internal::MapFieldLite<
  1566. TestArenaMapLite_MapStringStringEntry_DoNotUse,
  1567. ::std::string, ::std::string,
  1568. ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
  1569. ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
  1570. 0 > map_string_string_;
  1571. ::google::protobuf::internal::MapFieldLite<
  1572. TestArenaMapLite_MapInt32BytesEntry_DoNotUse,
  1573. ::google::protobuf::int32, ::std::string,
  1574. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1575. ::google::protobuf::internal::WireFormatLite::TYPE_BYTES,
  1576. 0 > map_int32_bytes_;
  1577. ::google::protobuf::internal::MapFieldLite<
  1578. TestArenaMapLite_MapInt32EnumEntry_DoNotUse,
  1579. ::google::protobuf::int32, ::protobuf_unittest::MapEnumLite,
  1580. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1581. ::google::protobuf::internal::WireFormatLite::TYPE_ENUM,
  1582. 0 > map_int32_enum_;
  1583. ::google::protobuf::internal::MapFieldLite<
  1584. TestArenaMapLite_MapInt32ForeignMessageEntry_DoNotUse,
  1585. ::google::protobuf::int32, ::protobuf_unittest::ForeignMessageArenaLite,
  1586. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1587. ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
  1588. 0 > map_int32_foreign_message_;
  1589. ::google::protobuf::internal::MapFieldLite<
  1590. TestArenaMapLite_MapInt32ForeignMessageNoArenaEntry_DoNotUse,
  1591. ::google::protobuf::int32, ::protobuf_unittest_no_arena::ForeignMessageLite,
  1592. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1593. ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
  1594. 0 > map_int32_foreign_message_no_arena_;
  1595. friend struct ::protobuf_google_2fprotobuf_2fmap_5flite_5funittest_2eproto::TableStruct;
  1596. };
  1597. // -------------------------------------------------------------------
  1598. class TestRequiredMessageMapLite_MapFieldEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestRequiredMessageMapLite_MapFieldEntry_DoNotUse,
  1599. ::google::protobuf::int32, ::protobuf_unittest::TestRequiredLite,
  1600. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1601. ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
  1602. 0 > {
  1603. public:
  1604. typedef ::google::protobuf::internal::MapEntryLite<TestRequiredMessageMapLite_MapFieldEntry_DoNotUse,
  1605. ::google::protobuf::int32, ::protobuf_unittest::TestRequiredLite,
  1606. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1607. ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
  1608. 0 > SuperType;
  1609. TestRequiredMessageMapLite_MapFieldEntry_DoNotUse();
  1610. TestRequiredMessageMapLite_MapFieldEntry_DoNotUse(::google::protobuf::Arena* arena);
  1611. void MergeFrom(const TestRequiredMessageMapLite_MapFieldEntry_DoNotUse& other);
  1612. static const TestRequiredMessageMapLite_MapFieldEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestRequiredMessageMapLite_MapFieldEntry_DoNotUse*>(&_TestRequiredMessageMapLite_MapFieldEntry_DoNotUse_default_instance_); }
  1613. };
  1614. // -------------------------------------------------------------------
  1615. class TestRequiredMessageMapLite : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:protobuf_unittest.TestRequiredMessageMapLite) */ {
  1616. public:
  1617. TestRequiredMessageMapLite();
  1618. virtual ~TestRequiredMessageMapLite();
  1619. TestRequiredMessageMapLite(const TestRequiredMessageMapLite& from);
  1620. inline TestRequiredMessageMapLite& operator=(const TestRequiredMessageMapLite& from) {
  1621. CopyFrom(from);
  1622. return *this;
  1623. }
  1624. #if LANG_CXX11
  1625. TestRequiredMessageMapLite(TestRequiredMessageMapLite&& from) noexcept
  1626. : TestRequiredMessageMapLite() {
  1627. *this = ::std::move(from);
  1628. }
  1629. inline TestRequiredMessageMapLite& operator=(TestRequiredMessageMapLite&& from) noexcept {
  1630. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1631. if (this != &from) InternalSwap(&from);
  1632. } else {
  1633. CopyFrom(from);
  1634. }
  1635. return *this;
  1636. }
  1637. #endif
  1638. inline const ::std::string& unknown_fields() const {
  1639. return _internal_metadata_.unknown_fields();
  1640. }
  1641. inline ::std::string* mutable_unknown_fields() {
  1642. return _internal_metadata_.mutable_unknown_fields();
  1643. }
  1644. inline ::google::protobuf::Arena* GetArena() const final {
  1645. return GetArenaNoVirtual();
  1646. }
  1647. inline void* GetMaybeArenaPointer() const final {
  1648. return MaybeArenaPtr();
  1649. }
  1650. static const TestRequiredMessageMapLite& default_instance();
  1651. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1652. static inline const TestRequiredMessageMapLite* internal_default_instance() {
  1653. return reinterpret_cast<const TestRequiredMessageMapLite*>(
  1654. &_TestRequiredMessageMapLite_default_instance_);
  1655. }
  1656. static constexpr int kIndexInFileMessages =
  1657. 39;
  1658. void UnsafeArenaSwap(TestRequiredMessageMapLite* other);
  1659. void Swap(TestRequiredMessageMapLite* other);
  1660. friend void swap(TestRequiredMessageMapLite& a, TestRequiredMessageMapLite& b) {
  1661. a.Swap(&b);
  1662. }
  1663. // implements Message ----------------------------------------------
  1664. inline TestRequiredMessageMapLite* New() const final {
  1665. return CreateMaybeMessage<TestRequiredMessageMapLite>(NULL);
  1666. }
  1667. TestRequiredMessageMapLite* New(::google::protobuf::Arena* arena) const final {
  1668. return CreateMaybeMessage<TestRequiredMessageMapLite>(arena);
  1669. }
  1670. void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
  1671. final;
  1672. void CopyFrom(const TestRequiredMessageMapLite& from);
  1673. void MergeFrom(const TestRequiredMessageMapLite& from);
  1674. void Clear() final;
  1675. bool IsInitialized() const final;
  1676. size_t ByteSizeLong() const final;
  1677. bool MergePartialFromCodedStream(
  1678. ::google::protobuf::io::CodedInputStream* input) final;
  1679. void SerializeWithCachedSizes(
  1680. ::google::protobuf::io::CodedOutputStream* output) const final;
  1681. void DiscardUnknownFields();
  1682. int GetCachedSize() const final { return _cached_size_.Get(); }
  1683. private:
  1684. void SharedCtor();
  1685. void SharedDtor();
  1686. void SetCachedSize(int size) const;
  1687. void InternalSwap(TestRequiredMessageMapLite* other);
  1688. protected:
  1689. explicit TestRequiredMessageMapLite(::google::protobuf::Arena* arena);
  1690. private:
  1691. static void ArenaDtor(void* object);
  1692. inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
  1693. private:
  1694. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1695. return _internal_metadata_.arena();
  1696. }
  1697. inline void* MaybeArenaPtr() const {
  1698. return _internal_metadata_.raw_arena_ptr();
  1699. }
  1700. public:
  1701. ::std::string GetTypeName() const final;
  1702. // nested types ----------------------------------------------------
  1703. // accessors -------------------------------------------------------
  1704. // map<int32, .protobuf_unittest.TestRequiredLite> map_field = 1;
  1705. int map_field_size() const;
  1706. void clear_map_field();
  1707. static const int kMapFieldFieldNumber = 1;
  1708. const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::TestRequiredLite >&
  1709. map_field() const;
  1710. ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::TestRequiredLite >*
  1711. mutable_map_field();
  1712. // @@protoc_insertion_point(class_scope:protobuf_unittest.TestRequiredMessageMapLite)
  1713. private:
  1714. ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
  1715. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  1716. typedef void InternalArenaConstructable_;
  1717. typedef void DestructorSkippable_;
  1718. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1719. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1720. ::google::protobuf::internal::MapFieldLite<
  1721. TestRequiredMessageMapLite_MapFieldEntry_DoNotUse,
  1722. ::google::protobuf::int32, ::protobuf_unittest::TestRequiredLite,
  1723. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1724. ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
  1725. 0 > map_field_;
  1726. friend struct ::protobuf_google_2fprotobuf_2fmap_5flite_5funittest_2eproto::TableStruct;
  1727. };
  1728. // -------------------------------------------------------------------
  1729. class TestEnumMapLite_KnownMapFieldEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestEnumMapLite_KnownMapFieldEntry_DoNotUse,
  1730. ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumLite,
  1731. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1732. ::google::protobuf::internal::WireFormatLite::TYPE_ENUM,
  1733. 0 > {
  1734. public:
  1735. typedef ::google::protobuf::internal::MapEntryLite<TestEnumMapLite_KnownMapFieldEntry_DoNotUse,
  1736. ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumLite,
  1737. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1738. ::google::protobuf::internal::WireFormatLite::TYPE_ENUM,
  1739. 0 > SuperType;
  1740. TestEnumMapLite_KnownMapFieldEntry_DoNotUse();
  1741. TestEnumMapLite_KnownMapFieldEntry_DoNotUse(::google::protobuf::Arena* arena);
  1742. void MergeFrom(const TestEnumMapLite_KnownMapFieldEntry_DoNotUse& other);
  1743. static const TestEnumMapLite_KnownMapFieldEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestEnumMapLite_KnownMapFieldEntry_DoNotUse*>(&_TestEnumMapLite_KnownMapFieldEntry_DoNotUse_default_instance_); }
  1744. };
  1745. // -------------------------------------------------------------------
  1746. class TestEnumMapLite_UnknownMapFieldEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestEnumMapLite_UnknownMapFieldEntry_DoNotUse,
  1747. ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumLite,
  1748. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1749. ::google::protobuf::internal::WireFormatLite::TYPE_ENUM,
  1750. 0 > {
  1751. public:
  1752. typedef ::google::protobuf::internal::MapEntryLite<TestEnumMapLite_UnknownMapFieldEntry_DoNotUse,
  1753. ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumLite,
  1754. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1755. ::google::protobuf::internal::WireFormatLite::TYPE_ENUM,
  1756. 0 > SuperType;
  1757. TestEnumMapLite_UnknownMapFieldEntry_DoNotUse();
  1758. TestEnumMapLite_UnknownMapFieldEntry_DoNotUse(::google::protobuf::Arena* arena);
  1759. void MergeFrom(const TestEnumMapLite_UnknownMapFieldEntry_DoNotUse& other);
  1760. static const TestEnumMapLite_UnknownMapFieldEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestEnumMapLite_UnknownMapFieldEntry_DoNotUse*>(&_TestEnumMapLite_UnknownMapFieldEntry_DoNotUse_default_instance_); }
  1761. };
  1762. // -------------------------------------------------------------------
  1763. class TestEnumMapLite : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:protobuf_unittest.TestEnumMapLite) */ {
  1764. public:
  1765. TestEnumMapLite();
  1766. virtual ~TestEnumMapLite();
  1767. TestEnumMapLite(const TestEnumMapLite& from);
  1768. inline TestEnumMapLite& operator=(const TestEnumMapLite& from) {
  1769. CopyFrom(from);
  1770. return *this;
  1771. }
  1772. #if LANG_CXX11
  1773. TestEnumMapLite(TestEnumMapLite&& from) noexcept
  1774. : TestEnumMapLite() {
  1775. *this = ::std::move(from);
  1776. }
  1777. inline TestEnumMapLite& operator=(TestEnumMapLite&& from) noexcept {
  1778. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1779. if (this != &from) InternalSwap(&from);
  1780. } else {
  1781. CopyFrom(from);
  1782. }
  1783. return *this;
  1784. }
  1785. #endif
  1786. inline const ::std::string& unknown_fields() const {
  1787. return _internal_metadata_.unknown_fields();
  1788. }
  1789. inline ::std::string* mutable_unknown_fields() {
  1790. return _internal_metadata_.mutable_unknown_fields();
  1791. }
  1792. inline ::google::protobuf::Arena* GetArena() const final {
  1793. return GetArenaNoVirtual();
  1794. }
  1795. inline void* GetMaybeArenaPointer() const final {
  1796. return MaybeArenaPtr();
  1797. }
  1798. static const TestEnumMapLite& default_instance();
  1799. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1800. static inline const TestEnumMapLite* internal_default_instance() {
  1801. return reinterpret_cast<const TestEnumMapLite*>(
  1802. &_TestEnumMapLite_default_instance_);
  1803. }
  1804. static constexpr int kIndexInFileMessages =
  1805. 42;
  1806. void UnsafeArenaSwap(TestEnumMapLite* other);
  1807. void Swap(TestEnumMapLite* other);
  1808. friend void swap(TestEnumMapLite& a, TestEnumMapLite& b) {
  1809. a.Swap(&b);
  1810. }
  1811. // implements Message ----------------------------------------------
  1812. inline TestEnumMapLite* New() const final {
  1813. return CreateMaybeMessage<TestEnumMapLite>(NULL);
  1814. }
  1815. TestEnumMapLite* New(::google::protobuf::Arena* arena) const final {
  1816. return CreateMaybeMessage<TestEnumMapLite>(arena);
  1817. }
  1818. void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
  1819. final;
  1820. void CopyFrom(const TestEnumMapLite& from);
  1821. void MergeFrom(const TestEnumMapLite& from);
  1822. void Clear() final;
  1823. bool IsInitialized() const final;
  1824. size_t ByteSizeLong() const final;
  1825. bool MergePartialFromCodedStream(
  1826. ::google::protobuf::io::CodedInputStream* input) final;
  1827. void SerializeWithCachedSizes(
  1828. ::google::protobuf::io::CodedOutputStream* output) const final;
  1829. void DiscardUnknownFields();
  1830. int GetCachedSize() const final { return _cached_size_.Get(); }
  1831. private:
  1832. void SharedCtor();
  1833. void SharedDtor();
  1834. void SetCachedSize(int size) const;
  1835. void InternalSwap(TestEnumMapLite* other);
  1836. protected:
  1837. explicit TestEnumMapLite(::google::protobuf::Arena* arena);
  1838. private:
  1839. static void ArenaDtor(void* object);
  1840. inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
  1841. private:
  1842. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1843. return _internal_metadata_.arena();
  1844. }
  1845. inline void* MaybeArenaPtr() const {
  1846. return _internal_metadata_.raw_arena_ptr();
  1847. }
  1848. public:
  1849. ::std::string GetTypeName() const final;
  1850. // nested types ----------------------------------------------------
  1851. // accessors -------------------------------------------------------
  1852. // map<int32, .protobuf_unittest.Proto2MapEnumLite> known_map_field = 101;
  1853. int known_map_field_size() const;
  1854. void clear_known_map_field();
  1855. static const int kKnownMapFieldFieldNumber = 101;
  1856. const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumLite >&
  1857. known_map_field() const;
  1858. ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumLite >*
  1859. mutable_known_map_field();
  1860. // map<int32, .protobuf_unittest.Proto2MapEnumLite> unknown_map_field = 102;
  1861. int unknown_map_field_size() const;
  1862. void clear_unknown_map_field();
  1863. static const int kUnknownMapFieldFieldNumber = 102;
  1864. const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumLite >&
  1865. unknown_map_field() const;
  1866. ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumLite >*
  1867. mutable_unknown_map_field();
  1868. // @@protoc_insertion_point(class_scope:protobuf_unittest.TestEnumMapLite)
  1869. private:
  1870. ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
  1871. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  1872. typedef void InternalArenaConstructable_;
  1873. typedef void DestructorSkippable_;
  1874. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1875. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1876. ::google::protobuf::internal::MapFieldLite<
  1877. TestEnumMapLite_KnownMapFieldEntry_DoNotUse,
  1878. ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumLite,
  1879. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1880. ::google::protobuf::internal::WireFormatLite::TYPE_ENUM,
  1881. 0 > known_map_field_;
  1882. ::google::protobuf::internal::MapFieldLite<
  1883. TestEnumMapLite_UnknownMapFieldEntry_DoNotUse,
  1884. ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumLite,
  1885. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1886. ::google::protobuf::internal::WireFormatLite::TYPE_ENUM,
  1887. 0 > unknown_map_field_;
  1888. friend struct ::protobuf_google_2fprotobuf_2fmap_5flite_5funittest_2eproto::TableStruct;
  1889. };
  1890. // -------------------------------------------------------------------
  1891. class TestEnumMapPlusExtraLite_KnownMapFieldEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestEnumMapPlusExtraLite_KnownMapFieldEntry_DoNotUse,
  1892. ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumPlusExtraLite,
  1893. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1894. ::google::protobuf::internal::WireFormatLite::TYPE_ENUM,
  1895. 0 > {
  1896. public:
  1897. typedef ::google::protobuf::internal::MapEntryLite<TestEnumMapPlusExtraLite_KnownMapFieldEntry_DoNotUse,
  1898. ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumPlusExtraLite,
  1899. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1900. ::google::protobuf::internal::WireFormatLite::TYPE_ENUM,
  1901. 0 > SuperType;
  1902. TestEnumMapPlusExtraLite_KnownMapFieldEntry_DoNotUse();
  1903. TestEnumMapPlusExtraLite_KnownMapFieldEntry_DoNotUse(::google::protobuf::Arena* arena);
  1904. void MergeFrom(const TestEnumMapPlusExtraLite_KnownMapFieldEntry_DoNotUse& other);
  1905. static const TestEnumMapPlusExtraLite_KnownMapFieldEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestEnumMapPlusExtraLite_KnownMapFieldEntry_DoNotUse*>(&_TestEnumMapPlusExtraLite_KnownMapFieldEntry_DoNotUse_default_instance_); }
  1906. };
  1907. // -------------------------------------------------------------------
  1908. class TestEnumMapPlusExtraLite_UnknownMapFieldEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestEnumMapPlusExtraLite_UnknownMapFieldEntry_DoNotUse,
  1909. ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumPlusExtraLite,
  1910. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1911. ::google::protobuf::internal::WireFormatLite::TYPE_ENUM,
  1912. 0 > {
  1913. public:
  1914. typedef ::google::protobuf::internal::MapEntryLite<TestEnumMapPlusExtraLite_UnknownMapFieldEntry_DoNotUse,
  1915. ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumPlusExtraLite,
  1916. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  1917. ::google::protobuf::internal::WireFormatLite::TYPE_ENUM,
  1918. 0 > SuperType;
  1919. TestEnumMapPlusExtraLite_UnknownMapFieldEntry_DoNotUse();
  1920. TestEnumMapPlusExtraLite_UnknownMapFieldEntry_DoNotUse(::google::protobuf::Arena* arena);
  1921. void MergeFrom(const TestEnumMapPlusExtraLite_UnknownMapFieldEntry_DoNotUse& other);
  1922. static const TestEnumMapPlusExtraLite_UnknownMapFieldEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestEnumMapPlusExtraLite_UnknownMapFieldEntry_DoNotUse*>(&_TestEnumMapPlusExtraLite_UnknownMapFieldEntry_DoNotUse_default_instance_); }
  1923. };
  1924. // -------------------------------------------------------------------
  1925. class TestEnumMapPlusExtraLite : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:protobuf_unittest.TestEnumMapPlusExtraLite) */ {
  1926. public:
  1927. TestEnumMapPlusExtraLite();
  1928. virtual ~TestEnumMapPlusExtraLite();
  1929. TestEnumMapPlusExtraLite(const TestEnumMapPlusExtraLite& from);
  1930. inline TestEnumMapPlusExtraLite& operator=(const TestEnumMapPlusExtraLite& from) {
  1931. CopyFrom(from);
  1932. return *this;
  1933. }
  1934. #if LANG_CXX11
  1935. TestEnumMapPlusExtraLite(TestEnumMapPlusExtraLite&& from) noexcept
  1936. : TestEnumMapPlusExtraLite() {
  1937. *this = ::std::move(from);
  1938. }
  1939. inline TestEnumMapPlusExtraLite& operator=(TestEnumMapPlusExtraLite&& from) noexcept {
  1940. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1941. if (this != &from) InternalSwap(&from);
  1942. } else {
  1943. CopyFrom(from);
  1944. }
  1945. return *this;
  1946. }
  1947. #endif
  1948. inline const ::std::string& unknown_fields() const {
  1949. return _internal_metadata_.unknown_fields();
  1950. }
  1951. inline ::std::string* mutable_unknown_fields() {
  1952. return _internal_metadata_.mutable_unknown_fields();
  1953. }
  1954. inline ::google::protobuf::Arena* GetArena() const final {
  1955. return GetArenaNoVirtual();
  1956. }
  1957. inline void* GetMaybeArenaPointer() const final {
  1958. return MaybeArenaPtr();
  1959. }
  1960. static const TestEnumMapPlusExtraLite& default_instance();
  1961. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1962. static inline const TestEnumMapPlusExtraLite* internal_default_instance() {
  1963. return reinterpret_cast<const TestEnumMapPlusExtraLite*>(
  1964. &_TestEnumMapPlusExtraLite_default_instance_);
  1965. }
  1966. static constexpr int kIndexInFileMessages =
  1967. 45;
  1968. void UnsafeArenaSwap(TestEnumMapPlusExtraLite* other);
  1969. void Swap(TestEnumMapPlusExtraLite* other);
  1970. friend void swap(TestEnumMapPlusExtraLite& a, TestEnumMapPlusExtraLite& b) {
  1971. a.Swap(&b);
  1972. }
  1973. // implements Message ----------------------------------------------
  1974. inline TestEnumMapPlusExtraLite* New() const final {
  1975. return CreateMaybeMessage<TestEnumMapPlusExtraLite>(NULL);
  1976. }
  1977. TestEnumMapPlusExtraLite* New(::google::protobuf::Arena* arena) const final {
  1978. return CreateMaybeMessage<TestEnumMapPlusExtraLite>(arena);
  1979. }
  1980. void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
  1981. final;
  1982. void CopyFrom(const TestEnumMapPlusExtraLite& from);
  1983. void MergeFrom(const TestEnumMapPlusExtraLite& from);
  1984. void Clear() final;
  1985. bool IsInitialized() const final;
  1986. size_t ByteSizeLong() const final;
  1987. bool MergePartialFromCodedStream(
  1988. ::google::protobuf::io::CodedInputStream* input) final;
  1989. void SerializeWithCachedSizes(
  1990. ::google::protobuf::io::CodedOutputStream* output) const final;
  1991. void DiscardUnknownFields();
  1992. int GetCachedSize() const final { return _cached_size_.Get(); }
  1993. private:
  1994. void SharedCtor();
  1995. void SharedDtor();
  1996. void SetCachedSize(int size) const;
  1997. void InternalSwap(TestEnumMapPlusExtraLite* other);
  1998. protected:
  1999. explicit TestEnumMapPlusExtraLite(::google::protobuf::Arena* arena);
  2000. private:
  2001. static void ArenaDtor(void* object);
  2002. inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
  2003. private:
  2004. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  2005. return _internal_metadata_.arena();
  2006. }
  2007. inline void* MaybeArenaPtr() const {
  2008. return _internal_metadata_.raw_arena_ptr();
  2009. }
  2010. public:
  2011. ::std::string GetTypeName() const final;
  2012. // nested types ----------------------------------------------------
  2013. // accessors -------------------------------------------------------
  2014. // map<int32, .protobuf_unittest.Proto2MapEnumPlusExtraLite> known_map_field = 101;
  2015. int known_map_field_size() const;
  2016. void clear_known_map_field();
  2017. static const int kKnownMapFieldFieldNumber = 101;
  2018. const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumPlusExtraLite >&
  2019. known_map_field() const;
  2020. ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumPlusExtraLite >*
  2021. mutable_known_map_field();
  2022. // map<int32, .protobuf_unittest.Proto2MapEnumPlusExtraLite> unknown_map_field = 102;
  2023. int unknown_map_field_size() const;
  2024. void clear_unknown_map_field();
  2025. static const int kUnknownMapFieldFieldNumber = 102;
  2026. const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumPlusExtraLite >&
  2027. unknown_map_field() const;
  2028. ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumPlusExtraLite >*
  2029. mutable_unknown_map_field();
  2030. // @@protoc_insertion_point(class_scope:protobuf_unittest.TestEnumMapPlusExtraLite)
  2031. private:
  2032. ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
  2033. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  2034. typedef void InternalArenaConstructable_;
  2035. typedef void DestructorSkippable_;
  2036. ::google::protobuf::internal::HasBits<1> _has_bits_;
  2037. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  2038. ::google::protobuf::internal::MapFieldLite<
  2039. TestEnumMapPlusExtraLite_KnownMapFieldEntry_DoNotUse,
  2040. ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumPlusExtraLite,
  2041. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  2042. ::google::protobuf::internal::WireFormatLite::TYPE_ENUM,
  2043. 0 > known_map_field_;
  2044. ::google::protobuf::internal::MapFieldLite<
  2045. TestEnumMapPlusExtraLite_UnknownMapFieldEntry_DoNotUse,
  2046. ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumPlusExtraLite,
  2047. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  2048. ::google::protobuf::internal::WireFormatLite::TYPE_ENUM,
  2049. 0 > unknown_map_field_;
  2050. friend struct ::protobuf_google_2fprotobuf_2fmap_5flite_5funittest_2eproto::TableStruct;
  2051. };
  2052. // -------------------------------------------------------------------
  2053. class TestMessageMapLite_MapInt32MessageEntry_DoNotUse : public ::google::protobuf::internal::MapEntryLite<TestMessageMapLite_MapInt32MessageEntry_DoNotUse,
  2054. ::google::protobuf::int32, ::protobuf_unittest::TestAllTypesLite,
  2055. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  2056. ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
  2057. 0 > {
  2058. public:
  2059. typedef ::google::protobuf::internal::MapEntryLite<TestMessageMapLite_MapInt32MessageEntry_DoNotUse,
  2060. ::google::protobuf::int32, ::protobuf_unittest::TestAllTypesLite,
  2061. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  2062. ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
  2063. 0 > SuperType;
  2064. TestMessageMapLite_MapInt32MessageEntry_DoNotUse();
  2065. TestMessageMapLite_MapInt32MessageEntry_DoNotUse(::google::protobuf::Arena* arena);
  2066. void MergeFrom(const TestMessageMapLite_MapInt32MessageEntry_DoNotUse& other);
  2067. static const TestMessageMapLite_MapInt32MessageEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TestMessageMapLite_MapInt32MessageEntry_DoNotUse*>(&_TestMessageMapLite_MapInt32MessageEntry_DoNotUse_default_instance_); }
  2068. };
  2069. // -------------------------------------------------------------------
  2070. class TestMessageMapLite : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:protobuf_unittest.TestMessageMapLite) */ {
  2071. public:
  2072. TestMessageMapLite();
  2073. virtual ~TestMessageMapLite();
  2074. TestMessageMapLite(const TestMessageMapLite& from);
  2075. inline TestMessageMapLite& operator=(const TestMessageMapLite& from) {
  2076. CopyFrom(from);
  2077. return *this;
  2078. }
  2079. #if LANG_CXX11
  2080. TestMessageMapLite(TestMessageMapLite&& from) noexcept
  2081. : TestMessageMapLite() {
  2082. *this = ::std::move(from);
  2083. }
  2084. inline TestMessageMapLite& operator=(TestMessageMapLite&& from) noexcept {
  2085. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  2086. if (this != &from) InternalSwap(&from);
  2087. } else {
  2088. CopyFrom(from);
  2089. }
  2090. return *this;
  2091. }
  2092. #endif
  2093. inline const ::std::string& unknown_fields() const {
  2094. return _internal_metadata_.unknown_fields();
  2095. }
  2096. inline ::std::string* mutable_unknown_fields() {
  2097. return _internal_metadata_.mutable_unknown_fields();
  2098. }
  2099. inline ::google::protobuf::Arena* GetArena() const final {
  2100. return GetArenaNoVirtual();
  2101. }
  2102. inline void* GetMaybeArenaPointer() const final {
  2103. return MaybeArenaPtr();
  2104. }
  2105. static const TestMessageMapLite& default_instance();
  2106. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  2107. static inline const TestMessageMapLite* internal_default_instance() {
  2108. return reinterpret_cast<const TestMessageMapLite*>(
  2109. &_TestMessageMapLite_default_instance_);
  2110. }
  2111. static constexpr int kIndexInFileMessages =
  2112. 47;
  2113. void UnsafeArenaSwap(TestMessageMapLite* other);
  2114. void Swap(TestMessageMapLite* other);
  2115. friend void swap(TestMessageMapLite& a, TestMessageMapLite& b) {
  2116. a.Swap(&b);
  2117. }
  2118. // implements Message ----------------------------------------------
  2119. inline TestMessageMapLite* New() const final {
  2120. return CreateMaybeMessage<TestMessageMapLite>(NULL);
  2121. }
  2122. TestMessageMapLite* New(::google::protobuf::Arena* arena) const final {
  2123. return CreateMaybeMessage<TestMessageMapLite>(arena);
  2124. }
  2125. void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
  2126. final;
  2127. void CopyFrom(const TestMessageMapLite& from);
  2128. void MergeFrom(const TestMessageMapLite& from);
  2129. void Clear() final;
  2130. bool IsInitialized() const final;
  2131. size_t ByteSizeLong() const final;
  2132. bool MergePartialFromCodedStream(
  2133. ::google::protobuf::io::CodedInputStream* input) final;
  2134. void SerializeWithCachedSizes(
  2135. ::google::protobuf::io::CodedOutputStream* output) const final;
  2136. void DiscardUnknownFields();
  2137. int GetCachedSize() const final { return _cached_size_.Get(); }
  2138. private:
  2139. void SharedCtor();
  2140. void SharedDtor();
  2141. void SetCachedSize(int size) const;
  2142. void InternalSwap(TestMessageMapLite* other);
  2143. protected:
  2144. explicit TestMessageMapLite(::google::protobuf::Arena* arena);
  2145. private:
  2146. static void ArenaDtor(void* object);
  2147. inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
  2148. private:
  2149. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  2150. return _internal_metadata_.arena();
  2151. }
  2152. inline void* MaybeArenaPtr() const {
  2153. return _internal_metadata_.raw_arena_ptr();
  2154. }
  2155. public:
  2156. ::std::string GetTypeName() const final;
  2157. // nested types ----------------------------------------------------
  2158. // accessors -------------------------------------------------------
  2159. // map<int32, .protobuf_unittest.TestAllTypesLite> map_int32_message = 1;
  2160. int map_int32_message_size() const;
  2161. void clear_map_int32_message();
  2162. static const int kMapInt32MessageFieldNumber = 1;
  2163. const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::TestAllTypesLite >&
  2164. map_int32_message() const;
  2165. ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::TestAllTypesLite >*
  2166. mutable_map_int32_message();
  2167. // @@protoc_insertion_point(class_scope:protobuf_unittest.TestMessageMapLite)
  2168. private:
  2169. ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
  2170. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  2171. typedef void InternalArenaConstructable_;
  2172. typedef void DestructorSkippable_;
  2173. ::google::protobuf::internal::HasBits<1> _has_bits_;
  2174. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  2175. ::google::protobuf::internal::MapFieldLite<
  2176. TestMessageMapLite_MapInt32MessageEntry_DoNotUse,
  2177. ::google::protobuf::int32, ::protobuf_unittest::TestAllTypesLite,
  2178. ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
  2179. ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
  2180. 0 > map_int32_message_;
  2181. friend struct ::protobuf_google_2fprotobuf_2fmap_5flite_5funittest_2eproto::TableStruct;
  2182. };
  2183. // -------------------------------------------------------------------
  2184. class TestRequiredLite : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:protobuf_unittest.TestRequiredLite) */ {
  2185. public:
  2186. TestRequiredLite();
  2187. virtual ~TestRequiredLite();
  2188. TestRequiredLite(const TestRequiredLite& from);
  2189. inline TestRequiredLite& operator=(const TestRequiredLite& from) {
  2190. CopyFrom(from);
  2191. return *this;
  2192. }
  2193. #if LANG_CXX11
  2194. TestRequiredLite(TestRequiredLite&& from) noexcept
  2195. : TestRequiredLite() {
  2196. *this = ::std::move(from);
  2197. }
  2198. inline TestRequiredLite& operator=(TestRequiredLite&& from) noexcept {
  2199. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  2200. if (this != &from) InternalSwap(&from);
  2201. } else {
  2202. CopyFrom(from);
  2203. }
  2204. return *this;
  2205. }
  2206. #endif
  2207. inline const ::std::string& unknown_fields() const {
  2208. return _internal_metadata_.unknown_fields();
  2209. }
  2210. inline ::std::string* mutable_unknown_fields() {
  2211. return _internal_metadata_.mutable_unknown_fields();
  2212. }
  2213. inline ::google::protobuf::Arena* GetArena() const final {
  2214. return GetArenaNoVirtual();
  2215. }
  2216. inline void* GetMaybeArenaPointer() const final {
  2217. return MaybeArenaPtr();
  2218. }
  2219. static const TestRequiredLite& default_instance();
  2220. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  2221. static inline const TestRequiredLite* internal_default_instance() {
  2222. return reinterpret_cast<const TestRequiredLite*>(
  2223. &_TestRequiredLite_default_instance_);
  2224. }
  2225. static constexpr int kIndexInFileMessages =
  2226. 48;
  2227. void UnsafeArenaSwap(TestRequiredLite* other);
  2228. void Swap(TestRequiredLite* other);
  2229. friend void swap(TestRequiredLite& a, TestRequiredLite& b) {
  2230. a.Swap(&b);
  2231. }
  2232. // implements Message ----------------------------------------------
  2233. inline TestRequiredLite* New() const final {
  2234. return CreateMaybeMessage<TestRequiredLite>(NULL);
  2235. }
  2236. TestRequiredLite* New(::google::protobuf::Arena* arena) const final {
  2237. return CreateMaybeMessage<TestRequiredLite>(arena);
  2238. }
  2239. void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
  2240. final;
  2241. void CopyFrom(const TestRequiredLite& from);
  2242. void MergeFrom(const TestRequiredLite& from);
  2243. void Clear() final;
  2244. bool IsInitialized() const final;
  2245. size_t ByteSizeLong() const final;
  2246. bool MergePartialFromCodedStream(
  2247. ::google::protobuf::io::CodedInputStream* input) final;
  2248. void SerializeWithCachedSizes(
  2249. ::google::protobuf::io::CodedOutputStream* output) const final;
  2250. void DiscardUnknownFields();
  2251. int GetCachedSize() const final { return _cached_size_.Get(); }
  2252. private:
  2253. void SharedCtor();
  2254. void SharedDtor();
  2255. void SetCachedSize(int size) const;
  2256. void InternalSwap(TestRequiredLite* other);
  2257. protected:
  2258. explicit TestRequiredLite(::google::protobuf::Arena* arena);
  2259. private:
  2260. static void ArenaDtor(void* object);
  2261. inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
  2262. private:
  2263. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  2264. return _internal_metadata_.arena();
  2265. }
  2266. inline void* MaybeArenaPtr() const {
  2267. return _internal_metadata_.raw_arena_ptr();
  2268. }
  2269. public:
  2270. ::std::string GetTypeName() const final;
  2271. // nested types ----------------------------------------------------
  2272. // accessors -------------------------------------------------------
  2273. // required int32 a = 1;
  2274. bool has_a() const;
  2275. void clear_a();
  2276. static const int kAFieldNumber = 1;
  2277. ::google::protobuf::int32 a() const;
  2278. void set_a(::google::protobuf::int32 value);
  2279. // required int32 b = 2;
  2280. bool has_b() const;
  2281. void clear_b();
  2282. static const int kBFieldNumber = 2;
  2283. ::google::protobuf::int32 b() const;
  2284. void set_b(::google::protobuf::int32 value);
  2285. // required int32 c = 3;
  2286. bool has_c() const;
  2287. void clear_c();
  2288. static const int kCFieldNumber = 3;
  2289. ::google::protobuf::int32 c() const;
  2290. void set_c(::google::protobuf::int32 value);
  2291. // @@protoc_insertion_point(class_scope:protobuf_unittest.TestRequiredLite)
  2292. private:
  2293. void set_has_a();
  2294. void clear_has_a();
  2295. void set_has_b();
  2296. void clear_has_b();
  2297. void set_has_c();
  2298. void clear_has_c();
  2299. // helper for ByteSizeLong()
  2300. size_t RequiredFieldsByteSizeFallback() const;
  2301. ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
  2302. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  2303. typedef void InternalArenaConstructable_;
  2304. typedef void DestructorSkippable_;
  2305. ::google::protobuf::internal::HasBits<1> _has_bits_;
  2306. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  2307. ::google::protobuf::int32 a_;
  2308. ::google::protobuf::int32 b_;
  2309. ::google::protobuf::int32 c_;
  2310. friend struct ::protobuf_google_2fprotobuf_2fmap_5flite_5funittest_2eproto::TableStruct;
  2311. };
  2312. // -------------------------------------------------------------------
  2313. class ForeignMessageArenaLite : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:protobuf_unittest.ForeignMessageArenaLite) */ {
  2314. public:
  2315. ForeignMessageArenaLite();
  2316. virtual ~ForeignMessageArenaLite();
  2317. ForeignMessageArenaLite(const ForeignMessageArenaLite& from);
  2318. inline ForeignMessageArenaLite& operator=(const ForeignMessageArenaLite& from) {
  2319. CopyFrom(from);
  2320. return *this;
  2321. }
  2322. #if LANG_CXX11
  2323. ForeignMessageArenaLite(ForeignMessageArenaLite&& from) noexcept
  2324. : ForeignMessageArenaLite() {
  2325. *this = ::std::move(from);
  2326. }
  2327. inline ForeignMessageArenaLite& operator=(ForeignMessageArenaLite&& from) noexcept {
  2328. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  2329. if (this != &from) InternalSwap(&from);
  2330. } else {
  2331. CopyFrom(from);
  2332. }
  2333. return *this;
  2334. }
  2335. #endif
  2336. inline const ::std::string& unknown_fields() const {
  2337. return _internal_metadata_.unknown_fields();
  2338. }
  2339. inline ::std::string* mutable_unknown_fields() {
  2340. return _internal_metadata_.mutable_unknown_fields();
  2341. }
  2342. inline ::google::protobuf::Arena* GetArena() const final {
  2343. return GetArenaNoVirtual();
  2344. }
  2345. inline void* GetMaybeArenaPointer() const final {
  2346. return MaybeArenaPtr();
  2347. }
  2348. static const ForeignMessageArenaLite& default_instance();
  2349. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  2350. static inline const ForeignMessageArenaLite* internal_default_instance() {
  2351. return reinterpret_cast<const ForeignMessageArenaLite*>(
  2352. &_ForeignMessageArenaLite_default_instance_);
  2353. }
  2354. static constexpr int kIndexInFileMessages =
  2355. 49;
  2356. void UnsafeArenaSwap(ForeignMessageArenaLite* other);
  2357. void Swap(ForeignMessageArenaLite* other);
  2358. friend void swap(ForeignMessageArenaLite& a, ForeignMessageArenaLite& b) {
  2359. a.Swap(&b);
  2360. }
  2361. // implements Message ----------------------------------------------
  2362. inline ForeignMessageArenaLite* New() const final {
  2363. return CreateMaybeMessage<ForeignMessageArenaLite>(NULL);
  2364. }
  2365. ForeignMessageArenaLite* New(::google::protobuf::Arena* arena) const final {
  2366. return CreateMaybeMessage<ForeignMessageArenaLite>(arena);
  2367. }
  2368. void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
  2369. final;
  2370. void CopyFrom(const ForeignMessageArenaLite& from);
  2371. void MergeFrom(const ForeignMessageArenaLite& from);
  2372. void Clear() final;
  2373. bool IsInitialized() const final;
  2374. size_t ByteSizeLong() const final;
  2375. bool MergePartialFromCodedStream(
  2376. ::google::protobuf::io::CodedInputStream* input) final;
  2377. void SerializeWithCachedSizes(
  2378. ::google::protobuf::io::CodedOutputStream* output) const final;
  2379. void DiscardUnknownFields();
  2380. int GetCachedSize() const final { return _cached_size_.Get(); }
  2381. private:
  2382. void SharedCtor();
  2383. void SharedDtor();
  2384. void SetCachedSize(int size) const;
  2385. void InternalSwap(ForeignMessageArenaLite* other);
  2386. protected:
  2387. explicit ForeignMessageArenaLite(::google::protobuf::Arena* arena);
  2388. private:
  2389. static void ArenaDtor(void* object);
  2390. inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
  2391. private:
  2392. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  2393. return _internal_metadata_.arena();
  2394. }
  2395. inline void* MaybeArenaPtr() const {
  2396. return _internal_metadata_.raw_arena_ptr();
  2397. }
  2398. public:
  2399. ::std::string GetTypeName() const final;
  2400. // nested types ----------------------------------------------------
  2401. // accessors -------------------------------------------------------
  2402. // optional int32 c = 1;
  2403. bool has_c() const;
  2404. void clear_c();
  2405. static const int kCFieldNumber = 1;
  2406. ::google::protobuf::int32 c() const;
  2407. void set_c(::google::protobuf::int32 value);
  2408. // @@protoc_insertion_point(class_scope:protobuf_unittest.ForeignMessageArenaLite)
  2409. private:
  2410. void set_has_c();
  2411. void clear_has_c();
  2412. ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
  2413. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  2414. typedef void InternalArenaConstructable_;
  2415. typedef void DestructorSkippable_;
  2416. ::google::protobuf::internal::HasBits<1> _has_bits_;
  2417. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  2418. ::google::protobuf::int32 c_;
  2419. friend struct ::protobuf_google_2fprotobuf_2fmap_5flite_5funittest_2eproto::TableStruct;
  2420. };
  2421. // ===================================================================
  2422. // ===================================================================
  2423. #ifdef __GNUC__
  2424. #pragma GCC diagnostic push
  2425. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  2426. #endif // __GNUC__
  2427. // -------------------------------------------------------------------
  2428. // -------------------------------------------------------------------
  2429. // -------------------------------------------------------------------
  2430. // -------------------------------------------------------------------
  2431. // -------------------------------------------------------------------
  2432. // -------------------------------------------------------------------
  2433. // -------------------------------------------------------------------
  2434. // -------------------------------------------------------------------
  2435. // -------------------------------------------------------------------
  2436. // -------------------------------------------------------------------
  2437. // -------------------------------------------------------------------
  2438. // -------------------------------------------------------------------
  2439. // -------------------------------------------------------------------
  2440. // -------------------------------------------------------------------
  2441. // -------------------------------------------------------------------
  2442. // -------------------------------------------------------------------
  2443. // -------------------------------------------------------------------
  2444. // -------------------------------------------------------------------
  2445. // TestMapLite
  2446. // map<int32, int32> map_int32_int32 = 1;
  2447. inline int TestMapLite::map_int32_int32_size() const {
  2448. return map_int32_int32_.size();
  2449. }
  2450. inline void TestMapLite::clear_map_int32_int32() {
  2451. map_int32_int32_.Clear();
  2452. }
  2453. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >&
  2454. TestMapLite::map_int32_int32() const {
  2455. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMapLite.map_int32_int32)
  2456. return map_int32_int32_.GetMap();
  2457. }
  2458. inline ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >*
  2459. TestMapLite::mutable_map_int32_int32() {
  2460. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMapLite.map_int32_int32)
  2461. return map_int32_int32_.MutableMap();
  2462. }
  2463. // map<int64, int64> map_int64_int64 = 2;
  2464. inline int TestMapLite::map_int64_int64_size() const {
  2465. return map_int64_int64_.size();
  2466. }
  2467. inline void TestMapLite::clear_map_int64_int64() {
  2468. map_int64_int64_.Clear();
  2469. }
  2470. inline const ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >&
  2471. TestMapLite::map_int64_int64() const {
  2472. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMapLite.map_int64_int64)
  2473. return map_int64_int64_.GetMap();
  2474. }
  2475. inline ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >*
  2476. TestMapLite::mutable_map_int64_int64() {
  2477. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMapLite.map_int64_int64)
  2478. return map_int64_int64_.MutableMap();
  2479. }
  2480. // map<uint32, uint32> map_uint32_uint32 = 3;
  2481. inline int TestMapLite::map_uint32_uint32_size() const {
  2482. return map_uint32_uint32_.size();
  2483. }
  2484. inline void TestMapLite::clear_map_uint32_uint32() {
  2485. map_uint32_uint32_.Clear();
  2486. }
  2487. inline const ::google::protobuf::Map< ::google::protobuf::uint32, ::google::protobuf::uint32 >&
  2488. TestMapLite::map_uint32_uint32() const {
  2489. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMapLite.map_uint32_uint32)
  2490. return map_uint32_uint32_.GetMap();
  2491. }
  2492. inline ::google::protobuf::Map< ::google::protobuf::uint32, ::google::protobuf::uint32 >*
  2493. TestMapLite::mutable_map_uint32_uint32() {
  2494. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMapLite.map_uint32_uint32)
  2495. return map_uint32_uint32_.MutableMap();
  2496. }
  2497. // map<uint64, uint64> map_uint64_uint64 = 4;
  2498. inline int TestMapLite::map_uint64_uint64_size() const {
  2499. return map_uint64_uint64_.size();
  2500. }
  2501. inline void TestMapLite::clear_map_uint64_uint64() {
  2502. map_uint64_uint64_.Clear();
  2503. }
  2504. inline const ::google::protobuf::Map< ::google::protobuf::uint64, ::google::protobuf::uint64 >&
  2505. TestMapLite::map_uint64_uint64() const {
  2506. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMapLite.map_uint64_uint64)
  2507. return map_uint64_uint64_.GetMap();
  2508. }
  2509. inline ::google::protobuf::Map< ::google::protobuf::uint64, ::google::protobuf::uint64 >*
  2510. TestMapLite::mutable_map_uint64_uint64() {
  2511. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMapLite.map_uint64_uint64)
  2512. return map_uint64_uint64_.MutableMap();
  2513. }
  2514. // map<sint32, sint32> map_sint32_sint32 = 5;
  2515. inline int TestMapLite::map_sint32_sint32_size() const {
  2516. return map_sint32_sint32_.size();
  2517. }
  2518. inline void TestMapLite::clear_map_sint32_sint32() {
  2519. map_sint32_sint32_.Clear();
  2520. }
  2521. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >&
  2522. TestMapLite::map_sint32_sint32() const {
  2523. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMapLite.map_sint32_sint32)
  2524. return map_sint32_sint32_.GetMap();
  2525. }
  2526. inline ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >*
  2527. TestMapLite::mutable_map_sint32_sint32() {
  2528. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMapLite.map_sint32_sint32)
  2529. return map_sint32_sint32_.MutableMap();
  2530. }
  2531. // map<sint64, sint64> map_sint64_sint64 = 6;
  2532. inline int TestMapLite::map_sint64_sint64_size() const {
  2533. return map_sint64_sint64_.size();
  2534. }
  2535. inline void TestMapLite::clear_map_sint64_sint64() {
  2536. map_sint64_sint64_.Clear();
  2537. }
  2538. inline const ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >&
  2539. TestMapLite::map_sint64_sint64() const {
  2540. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMapLite.map_sint64_sint64)
  2541. return map_sint64_sint64_.GetMap();
  2542. }
  2543. inline ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >*
  2544. TestMapLite::mutable_map_sint64_sint64() {
  2545. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMapLite.map_sint64_sint64)
  2546. return map_sint64_sint64_.MutableMap();
  2547. }
  2548. // map<fixed32, fixed32> map_fixed32_fixed32 = 7;
  2549. inline int TestMapLite::map_fixed32_fixed32_size() const {
  2550. return map_fixed32_fixed32_.size();
  2551. }
  2552. inline void TestMapLite::clear_map_fixed32_fixed32() {
  2553. map_fixed32_fixed32_.Clear();
  2554. }
  2555. inline const ::google::protobuf::Map< ::google::protobuf::uint32, ::google::protobuf::uint32 >&
  2556. TestMapLite::map_fixed32_fixed32() const {
  2557. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMapLite.map_fixed32_fixed32)
  2558. return map_fixed32_fixed32_.GetMap();
  2559. }
  2560. inline ::google::protobuf::Map< ::google::protobuf::uint32, ::google::protobuf::uint32 >*
  2561. TestMapLite::mutable_map_fixed32_fixed32() {
  2562. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMapLite.map_fixed32_fixed32)
  2563. return map_fixed32_fixed32_.MutableMap();
  2564. }
  2565. // map<fixed64, fixed64> map_fixed64_fixed64 = 8;
  2566. inline int TestMapLite::map_fixed64_fixed64_size() const {
  2567. return map_fixed64_fixed64_.size();
  2568. }
  2569. inline void TestMapLite::clear_map_fixed64_fixed64() {
  2570. map_fixed64_fixed64_.Clear();
  2571. }
  2572. inline const ::google::protobuf::Map< ::google::protobuf::uint64, ::google::protobuf::uint64 >&
  2573. TestMapLite::map_fixed64_fixed64() const {
  2574. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMapLite.map_fixed64_fixed64)
  2575. return map_fixed64_fixed64_.GetMap();
  2576. }
  2577. inline ::google::protobuf::Map< ::google::protobuf::uint64, ::google::protobuf::uint64 >*
  2578. TestMapLite::mutable_map_fixed64_fixed64() {
  2579. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMapLite.map_fixed64_fixed64)
  2580. return map_fixed64_fixed64_.MutableMap();
  2581. }
  2582. // map<sfixed32, sfixed32> map_sfixed32_sfixed32 = 9;
  2583. inline int TestMapLite::map_sfixed32_sfixed32_size() const {
  2584. return map_sfixed32_sfixed32_.size();
  2585. }
  2586. inline void TestMapLite::clear_map_sfixed32_sfixed32() {
  2587. map_sfixed32_sfixed32_.Clear();
  2588. }
  2589. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >&
  2590. TestMapLite::map_sfixed32_sfixed32() const {
  2591. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMapLite.map_sfixed32_sfixed32)
  2592. return map_sfixed32_sfixed32_.GetMap();
  2593. }
  2594. inline ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >*
  2595. TestMapLite::mutable_map_sfixed32_sfixed32() {
  2596. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMapLite.map_sfixed32_sfixed32)
  2597. return map_sfixed32_sfixed32_.MutableMap();
  2598. }
  2599. // map<sfixed64, sfixed64> map_sfixed64_sfixed64 = 10;
  2600. inline int TestMapLite::map_sfixed64_sfixed64_size() const {
  2601. return map_sfixed64_sfixed64_.size();
  2602. }
  2603. inline void TestMapLite::clear_map_sfixed64_sfixed64() {
  2604. map_sfixed64_sfixed64_.Clear();
  2605. }
  2606. inline const ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >&
  2607. TestMapLite::map_sfixed64_sfixed64() const {
  2608. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMapLite.map_sfixed64_sfixed64)
  2609. return map_sfixed64_sfixed64_.GetMap();
  2610. }
  2611. inline ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >*
  2612. TestMapLite::mutable_map_sfixed64_sfixed64() {
  2613. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMapLite.map_sfixed64_sfixed64)
  2614. return map_sfixed64_sfixed64_.MutableMap();
  2615. }
  2616. // map<int32, float> map_int32_float = 11;
  2617. inline int TestMapLite::map_int32_float_size() const {
  2618. return map_int32_float_.size();
  2619. }
  2620. inline void TestMapLite::clear_map_int32_float() {
  2621. map_int32_float_.Clear();
  2622. }
  2623. inline const ::google::protobuf::Map< ::google::protobuf::int32, float >&
  2624. TestMapLite::map_int32_float() const {
  2625. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMapLite.map_int32_float)
  2626. return map_int32_float_.GetMap();
  2627. }
  2628. inline ::google::protobuf::Map< ::google::protobuf::int32, float >*
  2629. TestMapLite::mutable_map_int32_float() {
  2630. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMapLite.map_int32_float)
  2631. return map_int32_float_.MutableMap();
  2632. }
  2633. // map<int32, double> map_int32_double = 12;
  2634. inline int TestMapLite::map_int32_double_size() const {
  2635. return map_int32_double_.size();
  2636. }
  2637. inline void TestMapLite::clear_map_int32_double() {
  2638. map_int32_double_.Clear();
  2639. }
  2640. inline const ::google::protobuf::Map< ::google::protobuf::int32, double >&
  2641. TestMapLite::map_int32_double() const {
  2642. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMapLite.map_int32_double)
  2643. return map_int32_double_.GetMap();
  2644. }
  2645. inline ::google::protobuf::Map< ::google::protobuf::int32, double >*
  2646. TestMapLite::mutable_map_int32_double() {
  2647. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMapLite.map_int32_double)
  2648. return map_int32_double_.MutableMap();
  2649. }
  2650. // map<bool, bool> map_bool_bool = 13;
  2651. inline int TestMapLite::map_bool_bool_size() const {
  2652. return map_bool_bool_.size();
  2653. }
  2654. inline void TestMapLite::clear_map_bool_bool() {
  2655. map_bool_bool_.Clear();
  2656. }
  2657. inline const ::google::protobuf::Map< bool, bool >&
  2658. TestMapLite::map_bool_bool() const {
  2659. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMapLite.map_bool_bool)
  2660. return map_bool_bool_.GetMap();
  2661. }
  2662. inline ::google::protobuf::Map< bool, bool >*
  2663. TestMapLite::mutable_map_bool_bool() {
  2664. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMapLite.map_bool_bool)
  2665. return map_bool_bool_.MutableMap();
  2666. }
  2667. // map<string, string> map_string_string = 14;
  2668. inline int TestMapLite::map_string_string_size() const {
  2669. return map_string_string_.size();
  2670. }
  2671. inline void TestMapLite::clear_map_string_string() {
  2672. map_string_string_.Clear();
  2673. }
  2674. inline const ::google::protobuf::Map< ::std::string, ::std::string >&
  2675. TestMapLite::map_string_string() const {
  2676. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMapLite.map_string_string)
  2677. return map_string_string_.GetMap();
  2678. }
  2679. inline ::google::protobuf::Map< ::std::string, ::std::string >*
  2680. TestMapLite::mutable_map_string_string() {
  2681. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMapLite.map_string_string)
  2682. return map_string_string_.MutableMap();
  2683. }
  2684. // map<int32, bytes> map_int32_bytes = 15;
  2685. inline int TestMapLite::map_int32_bytes_size() const {
  2686. return map_int32_bytes_.size();
  2687. }
  2688. inline void TestMapLite::clear_map_int32_bytes() {
  2689. map_int32_bytes_.Clear();
  2690. }
  2691. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::std::string >&
  2692. TestMapLite::map_int32_bytes() const {
  2693. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMapLite.map_int32_bytes)
  2694. return map_int32_bytes_.GetMap();
  2695. }
  2696. inline ::google::protobuf::Map< ::google::protobuf::int32, ::std::string >*
  2697. TestMapLite::mutable_map_int32_bytes() {
  2698. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMapLite.map_int32_bytes)
  2699. return map_int32_bytes_.MutableMap();
  2700. }
  2701. // map<int32, .protobuf_unittest.MapEnumLite> map_int32_enum = 16;
  2702. inline int TestMapLite::map_int32_enum_size() const {
  2703. return map_int32_enum_.size();
  2704. }
  2705. inline void TestMapLite::clear_map_int32_enum() {
  2706. map_int32_enum_.Clear();
  2707. }
  2708. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::MapEnumLite >&
  2709. TestMapLite::map_int32_enum() const {
  2710. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMapLite.map_int32_enum)
  2711. return map_int32_enum_.GetMap();
  2712. }
  2713. inline ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::MapEnumLite >*
  2714. TestMapLite::mutable_map_int32_enum() {
  2715. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMapLite.map_int32_enum)
  2716. return map_int32_enum_.MutableMap();
  2717. }
  2718. // map<int32, .protobuf_unittest.ForeignMessageLite> map_int32_foreign_message = 17;
  2719. inline int TestMapLite::map_int32_foreign_message_size() const {
  2720. return map_int32_foreign_message_.size();
  2721. }
  2722. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::ForeignMessageLite >&
  2723. TestMapLite::map_int32_foreign_message() const {
  2724. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMapLite.map_int32_foreign_message)
  2725. return map_int32_foreign_message_.GetMap();
  2726. }
  2727. inline ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::ForeignMessageLite >*
  2728. TestMapLite::mutable_map_int32_foreign_message() {
  2729. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMapLite.map_int32_foreign_message)
  2730. return map_int32_foreign_message_.MutableMap();
  2731. }
  2732. // map<int32, int32> teboring = 18;
  2733. inline int TestMapLite::teboring_size() const {
  2734. return teboring_.size();
  2735. }
  2736. inline void TestMapLite::clear_teboring() {
  2737. teboring_.Clear();
  2738. }
  2739. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >&
  2740. TestMapLite::teboring() const {
  2741. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMapLite.teboring)
  2742. return teboring_.GetMap();
  2743. }
  2744. inline ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >*
  2745. TestMapLite::mutable_teboring() {
  2746. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMapLite.teboring)
  2747. return teboring_.MutableMap();
  2748. }
  2749. // -------------------------------------------------------------------
  2750. // -------------------------------------------------------------------
  2751. // -------------------------------------------------------------------
  2752. // -------------------------------------------------------------------
  2753. // -------------------------------------------------------------------
  2754. // -------------------------------------------------------------------
  2755. // -------------------------------------------------------------------
  2756. // -------------------------------------------------------------------
  2757. // -------------------------------------------------------------------
  2758. // -------------------------------------------------------------------
  2759. // -------------------------------------------------------------------
  2760. // -------------------------------------------------------------------
  2761. // -------------------------------------------------------------------
  2762. // -------------------------------------------------------------------
  2763. // -------------------------------------------------------------------
  2764. // -------------------------------------------------------------------
  2765. // -------------------------------------------------------------------
  2766. // -------------------------------------------------------------------
  2767. // -------------------------------------------------------------------
  2768. // TestArenaMapLite
  2769. // map<int32, int32> map_int32_int32 = 1;
  2770. inline int TestArenaMapLite::map_int32_int32_size() const {
  2771. return map_int32_int32_.size();
  2772. }
  2773. inline void TestArenaMapLite::clear_map_int32_int32() {
  2774. map_int32_int32_.Clear();
  2775. }
  2776. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >&
  2777. TestArenaMapLite::map_int32_int32() const {
  2778. // @@protoc_insertion_point(field_map:protobuf_unittest.TestArenaMapLite.map_int32_int32)
  2779. return map_int32_int32_.GetMap();
  2780. }
  2781. inline ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >*
  2782. TestArenaMapLite::mutable_map_int32_int32() {
  2783. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestArenaMapLite.map_int32_int32)
  2784. return map_int32_int32_.MutableMap();
  2785. }
  2786. // map<int64, int64> map_int64_int64 = 2;
  2787. inline int TestArenaMapLite::map_int64_int64_size() const {
  2788. return map_int64_int64_.size();
  2789. }
  2790. inline void TestArenaMapLite::clear_map_int64_int64() {
  2791. map_int64_int64_.Clear();
  2792. }
  2793. inline const ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >&
  2794. TestArenaMapLite::map_int64_int64() const {
  2795. // @@protoc_insertion_point(field_map:protobuf_unittest.TestArenaMapLite.map_int64_int64)
  2796. return map_int64_int64_.GetMap();
  2797. }
  2798. inline ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >*
  2799. TestArenaMapLite::mutable_map_int64_int64() {
  2800. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestArenaMapLite.map_int64_int64)
  2801. return map_int64_int64_.MutableMap();
  2802. }
  2803. // map<uint32, uint32> map_uint32_uint32 = 3;
  2804. inline int TestArenaMapLite::map_uint32_uint32_size() const {
  2805. return map_uint32_uint32_.size();
  2806. }
  2807. inline void TestArenaMapLite::clear_map_uint32_uint32() {
  2808. map_uint32_uint32_.Clear();
  2809. }
  2810. inline const ::google::protobuf::Map< ::google::protobuf::uint32, ::google::protobuf::uint32 >&
  2811. TestArenaMapLite::map_uint32_uint32() const {
  2812. // @@protoc_insertion_point(field_map:protobuf_unittest.TestArenaMapLite.map_uint32_uint32)
  2813. return map_uint32_uint32_.GetMap();
  2814. }
  2815. inline ::google::protobuf::Map< ::google::protobuf::uint32, ::google::protobuf::uint32 >*
  2816. TestArenaMapLite::mutable_map_uint32_uint32() {
  2817. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestArenaMapLite.map_uint32_uint32)
  2818. return map_uint32_uint32_.MutableMap();
  2819. }
  2820. // map<uint64, uint64> map_uint64_uint64 = 4;
  2821. inline int TestArenaMapLite::map_uint64_uint64_size() const {
  2822. return map_uint64_uint64_.size();
  2823. }
  2824. inline void TestArenaMapLite::clear_map_uint64_uint64() {
  2825. map_uint64_uint64_.Clear();
  2826. }
  2827. inline const ::google::protobuf::Map< ::google::protobuf::uint64, ::google::protobuf::uint64 >&
  2828. TestArenaMapLite::map_uint64_uint64() const {
  2829. // @@protoc_insertion_point(field_map:protobuf_unittest.TestArenaMapLite.map_uint64_uint64)
  2830. return map_uint64_uint64_.GetMap();
  2831. }
  2832. inline ::google::protobuf::Map< ::google::protobuf::uint64, ::google::protobuf::uint64 >*
  2833. TestArenaMapLite::mutable_map_uint64_uint64() {
  2834. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestArenaMapLite.map_uint64_uint64)
  2835. return map_uint64_uint64_.MutableMap();
  2836. }
  2837. // map<sint32, sint32> map_sint32_sint32 = 5;
  2838. inline int TestArenaMapLite::map_sint32_sint32_size() const {
  2839. return map_sint32_sint32_.size();
  2840. }
  2841. inline void TestArenaMapLite::clear_map_sint32_sint32() {
  2842. map_sint32_sint32_.Clear();
  2843. }
  2844. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >&
  2845. TestArenaMapLite::map_sint32_sint32() const {
  2846. // @@protoc_insertion_point(field_map:protobuf_unittest.TestArenaMapLite.map_sint32_sint32)
  2847. return map_sint32_sint32_.GetMap();
  2848. }
  2849. inline ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >*
  2850. TestArenaMapLite::mutable_map_sint32_sint32() {
  2851. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestArenaMapLite.map_sint32_sint32)
  2852. return map_sint32_sint32_.MutableMap();
  2853. }
  2854. // map<sint64, sint64> map_sint64_sint64 = 6;
  2855. inline int TestArenaMapLite::map_sint64_sint64_size() const {
  2856. return map_sint64_sint64_.size();
  2857. }
  2858. inline void TestArenaMapLite::clear_map_sint64_sint64() {
  2859. map_sint64_sint64_.Clear();
  2860. }
  2861. inline const ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >&
  2862. TestArenaMapLite::map_sint64_sint64() const {
  2863. // @@protoc_insertion_point(field_map:protobuf_unittest.TestArenaMapLite.map_sint64_sint64)
  2864. return map_sint64_sint64_.GetMap();
  2865. }
  2866. inline ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >*
  2867. TestArenaMapLite::mutable_map_sint64_sint64() {
  2868. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestArenaMapLite.map_sint64_sint64)
  2869. return map_sint64_sint64_.MutableMap();
  2870. }
  2871. // map<fixed32, fixed32> map_fixed32_fixed32 = 7;
  2872. inline int TestArenaMapLite::map_fixed32_fixed32_size() const {
  2873. return map_fixed32_fixed32_.size();
  2874. }
  2875. inline void TestArenaMapLite::clear_map_fixed32_fixed32() {
  2876. map_fixed32_fixed32_.Clear();
  2877. }
  2878. inline const ::google::protobuf::Map< ::google::protobuf::uint32, ::google::protobuf::uint32 >&
  2879. TestArenaMapLite::map_fixed32_fixed32() const {
  2880. // @@protoc_insertion_point(field_map:protobuf_unittest.TestArenaMapLite.map_fixed32_fixed32)
  2881. return map_fixed32_fixed32_.GetMap();
  2882. }
  2883. inline ::google::protobuf::Map< ::google::protobuf::uint32, ::google::protobuf::uint32 >*
  2884. TestArenaMapLite::mutable_map_fixed32_fixed32() {
  2885. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestArenaMapLite.map_fixed32_fixed32)
  2886. return map_fixed32_fixed32_.MutableMap();
  2887. }
  2888. // map<fixed64, fixed64> map_fixed64_fixed64 = 8;
  2889. inline int TestArenaMapLite::map_fixed64_fixed64_size() const {
  2890. return map_fixed64_fixed64_.size();
  2891. }
  2892. inline void TestArenaMapLite::clear_map_fixed64_fixed64() {
  2893. map_fixed64_fixed64_.Clear();
  2894. }
  2895. inline const ::google::protobuf::Map< ::google::protobuf::uint64, ::google::protobuf::uint64 >&
  2896. TestArenaMapLite::map_fixed64_fixed64() const {
  2897. // @@protoc_insertion_point(field_map:protobuf_unittest.TestArenaMapLite.map_fixed64_fixed64)
  2898. return map_fixed64_fixed64_.GetMap();
  2899. }
  2900. inline ::google::protobuf::Map< ::google::protobuf::uint64, ::google::protobuf::uint64 >*
  2901. TestArenaMapLite::mutable_map_fixed64_fixed64() {
  2902. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestArenaMapLite.map_fixed64_fixed64)
  2903. return map_fixed64_fixed64_.MutableMap();
  2904. }
  2905. // map<sfixed32, sfixed32> map_sfixed32_sfixed32 = 9;
  2906. inline int TestArenaMapLite::map_sfixed32_sfixed32_size() const {
  2907. return map_sfixed32_sfixed32_.size();
  2908. }
  2909. inline void TestArenaMapLite::clear_map_sfixed32_sfixed32() {
  2910. map_sfixed32_sfixed32_.Clear();
  2911. }
  2912. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >&
  2913. TestArenaMapLite::map_sfixed32_sfixed32() const {
  2914. // @@protoc_insertion_point(field_map:protobuf_unittest.TestArenaMapLite.map_sfixed32_sfixed32)
  2915. return map_sfixed32_sfixed32_.GetMap();
  2916. }
  2917. inline ::google::protobuf::Map< ::google::protobuf::int32, ::google::protobuf::int32 >*
  2918. TestArenaMapLite::mutable_map_sfixed32_sfixed32() {
  2919. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestArenaMapLite.map_sfixed32_sfixed32)
  2920. return map_sfixed32_sfixed32_.MutableMap();
  2921. }
  2922. // map<sfixed64, sfixed64> map_sfixed64_sfixed64 = 10;
  2923. inline int TestArenaMapLite::map_sfixed64_sfixed64_size() const {
  2924. return map_sfixed64_sfixed64_.size();
  2925. }
  2926. inline void TestArenaMapLite::clear_map_sfixed64_sfixed64() {
  2927. map_sfixed64_sfixed64_.Clear();
  2928. }
  2929. inline const ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >&
  2930. TestArenaMapLite::map_sfixed64_sfixed64() const {
  2931. // @@protoc_insertion_point(field_map:protobuf_unittest.TestArenaMapLite.map_sfixed64_sfixed64)
  2932. return map_sfixed64_sfixed64_.GetMap();
  2933. }
  2934. inline ::google::protobuf::Map< ::google::protobuf::int64, ::google::protobuf::int64 >*
  2935. TestArenaMapLite::mutable_map_sfixed64_sfixed64() {
  2936. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestArenaMapLite.map_sfixed64_sfixed64)
  2937. return map_sfixed64_sfixed64_.MutableMap();
  2938. }
  2939. // map<int32, float> map_int32_float = 11;
  2940. inline int TestArenaMapLite::map_int32_float_size() const {
  2941. return map_int32_float_.size();
  2942. }
  2943. inline void TestArenaMapLite::clear_map_int32_float() {
  2944. map_int32_float_.Clear();
  2945. }
  2946. inline const ::google::protobuf::Map< ::google::protobuf::int32, float >&
  2947. TestArenaMapLite::map_int32_float() const {
  2948. // @@protoc_insertion_point(field_map:protobuf_unittest.TestArenaMapLite.map_int32_float)
  2949. return map_int32_float_.GetMap();
  2950. }
  2951. inline ::google::protobuf::Map< ::google::protobuf::int32, float >*
  2952. TestArenaMapLite::mutable_map_int32_float() {
  2953. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestArenaMapLite.map_int32_float)
  2954. return map_int32_float_.MutableMap();
  2955. }
  2956. // map<int32, double> map_int32_double = 12;
  2957. inline int TestArenaMapLite::map_int32_double_size() const {
  2958. return map_int32_double_.size();
  2959. }
  2960. inline void TestArenaMapLite::clear_map_int32_double() {
  2961. map_int32_double_.Clear();
  2962. }
  2963. inline const ::google::protobuf::Map< ::google::protobuf::int32, double >&
  2964. TestArenaMapLite::map_int32_double() const {
  2965. // @@protoc_insertion_point(field_map:protobuf_unittest.TestArenaMapLite.map_int32_double)
  2966. return map_int32_double_.GetMap();
  2967. }
  2968. inline ::google::protobuf::Map< ::google::protobuf::int32, double >*
  2969. TestArenaMapLite::mutable_map_int32_double() {
  2970. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestArenaMapLite.map_int32_double)
  2971. return map_int32_double_.MutableMap();
  2972. }
  2973. // map<bool, bool> map_bool_bool = 13;
  2974. inline int TestArenaMapLite::map_bool_bool_size() const {
  2975. return map_bool_bool_.size();
  2976. }
  2977. inline void TestArenaMapLite::clear_map_bool_bool() {
  2978. map_bool_bool_.Clear();
  2979. }
  2980. inline const ::google::protobuf::Map< bool, bool >&
  2981. TestArenaMapLite::map_bool_bool() const {
  2982. // @@protoc_insertion_point(field_map:protobuf_unittest.TestArenaMapLite.map_bool_bool)
  2983. return map_bool_bool_.GetMap();
  2984. }
  2985. inline ::google::protobuf::Map< bool, bool >*
  2986. TestArenaMapLite::mutable_map_bool_bool() {
  2987. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestArenaMapLite.map_bool_bool)
  2988. return map_bool_bool_.MutableMap();
  2989. }
  2990. // map<string, string> map_string_string = 14;
  2991. inline int TestArenaMapLite::map_string_string_size() const {
  2992. return map_string_string_.size();
  2993. }
  2994. inline void TestArenaMapLite::clear_map_string_string() {
  2995. map_string_string_.Clear();
  2996. }
  2997. inline const ::google::protobuf::Map< ::std::string, ::std::string >&
  2998. TestArenaMapLite::map_string_string() const {
  2999. // @@protoc_insertion_point(field_map:protobuf_unittest.TestArenaMapLite.map_string_string)
  3000. return map_string_string_.GetMap();
  3001. }
  3002. inline ::google::protobuf::Map< ::std::string, ::std::string >*
  3003. TestArenaMapLite::mutable_map_string_string() {
  3004. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestArenaMapLite.map_string_string)
  3005. return map_string_string_.MutableMap();
  3006. }
  3007. // map<int32, bytes> map_int32_bytes = 15;
  3008. inline int TestArenaMapLite::map_int32_bytes_size() const {
  3009. return map_int32_bytes_.size();
  3010. }
  3011. inline void TestArenaMapLite::clear_map_int32_bytes() {
  3012. map_int32_bytes_.Clear();
  3013. }
  3014. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::std::string >&
  3015. TestArenaMapLite::map_int32_bytes() const {
  3016. // @@protoc_insertion_point(field_map:protobuf_unittest.TestArenaMapLite.map_int32_bytes)
  3017. return map_int32_bytes_.GetMap();
  3018. }
  3019. inline ::google::protobuf::Map< ::google::protobuf::int32, ::std::string >*
  3020. TestArenaMapLite::mutable_map_int32_bytes() {
  3021. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestArenaMapLite.map_int32_bytes)
  3022. return map_int32_bytes_.MutableMap();
  3023. }
  3024. // map<int32, .protobuf_unittest.MapEnumLite> map_int32_enum = 16;
  3025. inline int TestArenaMapLite::map_int32_enum_size() const {
  3026. return map_int32_enum_.size();
  3027. }
  3028. inline void TestArenaMapLite::clear_map_int32_enum() {
  3029. map_int32_enum_.Clear();
  3030. }
  3031. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::MapEnumLite >&
  3032. TestArenaMapLite::map_int32_enum() const {
  3033. // @@protoc_insertion_point(field_map:protobuf_unittest.TestArenaMapLite.map_int32_enum)
  3034. return map_int32_enum_.GetMap();
  3035. }
  3036. inline ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::MapEnumLite >*
  3037. TestArenaMapLite::mutable_map_int32_enum() {
  3038. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestArenaMapLite.map_int32_enum)
  3039. return map_int32_enum_.MutableMap();
  3040. }
  3041. // map<int32, .protobuf_unittest.ForeignMessageArenaLite> map_int32_foreign_message = 17;
  3042. inline int TestArenaMapLite::map_int32_foreign_message_size() const {
  3043. return map_int32_foreign_message_.size();
  3044. }
  3045. inline void TestArenaMapLite::clear_map_int32_foreign_message() {
  3046. map_int32_foreign_message_.Clear();
  3047. }
  3048. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::ForeignMessageArenaLite >&
  3049. TestArenaMapLite::map_int32_foreign_message() const {
  3050. // @@protoc_insertion_point(field_map:protobuf_unittest.TestArenaMapLite.map_int32_foreign_message)
  3051. return map_int32_foreign_message_.GetMap();
  3052. }
  3053. inline ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::ForeignMessageArenaLite >*
  3054. TestArenaMapLite::mutable_map_int32_foreign_message() {
  3055. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestArenaMapLite.map_int32_foreign_message)
  3056. return map_int32_foreign_message_.MutableMap();
  3057. }
  3058. // map<int32, .protobuf_unittest_no_arena.ForeignMessageLite> map_int32_foreign_message_no_arena = 18;
  3059. inline int TestArenaMapLite::map_int32_foreign_message_no_arena_size() const {
  3060. return map_int32_foreign_message_no_arena_.size();
  3061. }
  3062. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest_no_arena::ForeignMessageLite >&
  3063. TestArenaMapLite::map_int32_foreign_message_no_arena() const {
  3064. // @@protoc_insertion_point(field_map:protobuf_unittest.TestArenaMapLite.map_int32_foreign_message_no_arena)
  3065. return map_int32_foreign_message_no_arena_.GetMap();
  3066. }
  3067. inline ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest_no_arena::ForeignMessageLite >*
  3068. TestArenaMapLite::mutable_map_int32_foreign_message_no_arena() {
  3069. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestArenaMapLite.map_int32_foreign_message_no_arena)
  3070. return map_int32_foreign_message_no_arena_.MutableMap();
  3071. }
  3072. // -------------------------------------------------------------------
  3073. // -------------------------------------------------------------------
  3074. // TestRequiredMessageMapLite
  3075. // map<int32, .protobuf_unittest.TestRequiredLite> map_field = 1;
  3076. inline int TestRequiredMessageMapLite::map_field_size() const {
  3077. return map_field_.size();
  3078. }
  3079. inline void TestRequiredMessageMapLite::clear_map_field() {
  3080. map_field_.Clear();
  3081. }
  3082. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::TestRequiredLite >&
  3083. TestRequiredMessageMapLite::map_field() const {
  3084. // @@protoc_insertion_point(field_map:protobuf_unittest.TestRequiredMessageMapLite.map_field)
  3085. return map_field_.GetMap();
  3086. }
  3087. inline ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::TestRequiredLite >*
  3088. TestRequiredMessageMapLite::mutable_map_field() {
  3089. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestRequiredMessageMapLite.map_field)
  3090. return map_field_.MutableMap();
  3091. }
  3092. // -------------------------------------------------------------------
  3093. // -------------------------------------------------------------------
  3094. // -------------------------------------------------------------------
  3095. // TestEnumMapLite
  3096. // map<int32, .protobuf_unittest.Proto2MapEnumLite> known_map_field = 101;
  3097. inline int TestEnumMapLite::known_map_field_size() const {
  3098. return known_map_field_.size();
  3099. }
  3100. inline void TestEnumMapLite::clear_known_map_field() {
  3101. known_map_field_.Clear();
  3102. }
  3103. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumLite >&
  3104. TestEnumMapLite::known_map_field() const {
  3105. // @@protoc_insertion_point(field_map:protobuf_unittest.TestEnumMapLite.known_map_field)
  3106. return known_map_field_.GetMap();
  3107. }
  3108. inline ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumLite >*
  3109. TestEnumMapLite::mutable_known_map_field() {
  3110. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestEnumMapLite.known_map_field)
  3111. return known_map_field_.MutableMap();
  3112. }
  3113. // map<int32, .protobuf_unittest.Proto2MapEnumLite> unknown_map_field = 102;
  3114. inline int TestEnumMapLite::unknown_map_field_size() const {
  3115. return unknown_map_field_.size();
  3116. }
  3117. inline void TestEnumMapLite::clear_unknown_map_field() {
  3118. unknown_map_field_.Clear();
  3119. }
  3120. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumLite >&
  3121. TestEnumMapLite::unknown_map_field() const {
  3122. // @@protoc_insertion_point(field_map:protobuf_unittest.TestEnumMapLite.unknown_map_field)
  3123. return unknown_map_field_.GetMap();
  3124. }
  3125. inline ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumLite >*
  3126. TestEnumMapLite::mutable_unknown_map_field() {
  3127. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestEnumMapLite.unknown_map_field)
  3128. return unknown_map_field_.MutableMap();
  3129. }
  3130. // -------------------------------------------------------------------
  3131. // -------------------------------------------------------------------
  3132. // -------------------------------------------------------------------
  3133. // TestEnumMapPlusExtraLite
  3134. // map<int32, .protobuf_unittest.Proto2MapEnumPlusExtraLite> known_map_field = 101;
  3135. inline int TestEnumMapPlusExtraLite::known_map_field_size() const {
  3136. return known_map_field_.size();
  3137. }
  3138. inline void TestEnumMapPlusExtraLite::clear_known_map_field() {
  3139. known_map_field_.Clear();
  3140. }
  3141. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumPlusExtraLite >&
  3142. TestEnumMapPlusExtraLite::known_map_field() const {
  3143. // @@protoc_insertion_point(field_map:protobuf_unittest.TestEnumMapPlusExtraLite.known_map_field)
  3144. return known_map_field_.GetMap();
  3145. }
  3146. inline ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumPlusExtraLite >*
  3147. TestEnumMapPlusExtraLite::mutable_known_map_field() {
  3148. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestEnumMapPlusExtraLite.known_map_field)
  3149. return known_map_field_.MutableMap();
  3150. }
  3151. // map<int32, .protobuf_unittest.Proto2MapEnumPlusExtraLite> unknown_map_field = 102;
  3152. inline int TestEnumMapPlusExtraLite::unknown_map_field_size() const {
  3153. return unknown_map_field_.size();
  3154. }
  3155. inline void TestEnumMapPlusExtraLite::clear_unknown_map_field() {
  3156. unknown_map_field_.Clear();
  3157. }
  3158. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumPlusExtraLite >&
  3159. TestEnumMapPlusExtraLite::unknown_map_field() const {
  3160. // @@protoc_insertion_point(field_map:protobuf_unittest.TestEnumMapPlusExtraLite.unknown_map_field)
  3161. return unknown_map_field_.GetMap();
  3162. }
  3163. inline ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::Proto2MapEnumPlusExtraLite >*
  3164. TestEnumMapPlusExtraLite::mutable_unknown_map_field() {
  3165. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestEnumMapPlusExtraLite.unknown_map_field)
  3166. return unknown_map_field_.MutableMap();
  3167. }
  3168. // -------------------------------------------------------------------
  3169. // -------------------------------------------------------------------
  3170. // TestMessageMapLite
  3171. // map<int32, .protobuf_unittest.TestAllTypesLite> map_int32_message = 1;
  3172. inline int TestMessageMapLite::map_int32_message_size() const {
  3173. return map_int32_message_.size();
  3174. }
  3175. inline const ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::TestAllTypesLite >&
  3176. TestMessageMapLite::map_int32_message() const {
  3177. // @@protoc_insertion_point(field_map:protobuf_unittest.TestMessageMapLite.map_int32_message)
  3178. return map_int32_message_.GetMap();
  3179. }
  3180. inline ::google::protobuf::Map< ::google::protobuf::int32, ::protobuf_unittest::TestAllTypesLite >*
  3181. TestMessageMapLite::mutable_map_int32_message() {
  3182. // @@protoc_insertion_point(field_mutable_map:protobuf_unittest.TestMessageMapLite.map_int32_message)
  3183. return map_int32_message_.MutableMap();
  3184. }
  3185. // -------------------------------------------------------------------
  3186. // TestRequiredLite
  3187. // required int32 a = 1;
  3188. inline bool TestRequiredLite::has_a() const {
  3189. return (_has_bits_[0] & 0x00000001u) != 0;
  3190. }
  3191. inline void TestRequiredLite::set_has_a() {
  3192. _has_bits_[0] |= 0x00000001u;
  3193. }
  3194. inline void TestRequiredLite::clear_has_a() {
  3195. _has_bits_[0] &= ~0x00000001u;
  3196. }
  3197. inline void TestRequiredLite::clear_a() {
  3198. a_ = 0;
  3199. clear_has_a();
  3200. }
  3201. inline ::google::protobuf::int32 TestRequiredLite::a() const {
  3202. // @@protoc_insertion_point(field_get:protobuf_unittest.TestRequiredLite.a)
  3203. return a_;
  3204. }
  3205. inline void TestRequiredLite::set_a(::google::protobuf::int32 value) {
  3206. set_has_a();
  3207. a_ = value;
  3208. // @@protoc_insertion_point(field_set:protobuf_unittest.TestRequiredLite.a)
  3209. }
  3210. // required int32 b = 2;
  3211. inline bool TestRequiredLite::has_b() const {
  3212. return (_has_bits_[0] & 0x00000002u) != 0;
  3213. }
  3214. inline void TestRequiredLite::set_has_b() {
  3215. _has_bits_[0] |= 0x00000002u;
  3216. }
  3217. inline void TestRequiredLite::clear_has_b() {
  3218. _has_bits_[0] &= ~0x00000002u;
  3219. }
  3220. inline void TestRequiredLite::clear_b() {
  3221. b_ = 0;
  3222. clear_has_b();
  3223. }
  3224. inline ::google::protobuf::int32 TestRequiredLite::b() const {
  3225. // @@protoc_insertion_point(field_get:protobuf_unittest.TestRequiredLite.b)
  3226. return b_;
  3227. }
  3228. inline void TestRequiredLite::set_b(::google::protobuf::int32 value) {
  3229. set_has_b();
  3230. b_ = value;
  3231. // @@protoc_insertion_point(field_set:protobuf_unittest.TestRequiredLite.b)
  3232. }
  3233. // required int32 c = 3;
  3234. inline bool TestRequiredLite::has_c() const {
  3235. return (_has_bits_[0] & 0x00000004u) != 0;
  3236. }
  3237. inline void TestRequiredLite::set_has_c() {
  3238. _has_bits_[0] |= 0x00000004u;
  3239. }
  3240. inline void TestRequiredLite::clear_has_c() {
  3241. _has_bits_[0] &= ~0x00000004u;
  3242. }
  3243. inline void TestRequiredLite::clear_c() {
  3244. c_ = 0;
  3245. clear_has_c();
  3246. }
  3247. inline ::google::protobuf::int32 TestRequiredLite::c() const {
  3248. // @@protoc_insertion_point(field_get:protobuf_unittest.TestRequiredLite.c)
  3249. return c_;
  3250. }
  3251. inline void TestRequiredLite::set_c(::google::protobuf::int32 value) {
  3252. set_has_c();
  3253. c_ = value;
  3254. // @@protoc_insertion_point(field_set:protobuf_unittest.TestRequiredLite.c)
  3255. }
  3256. // -------------------------------------------------------------------
  3257. // ForeignMessageArenaLite
  3258. // optional int32 c = 1;
  3259. inline bool ForeignMessageArenaLite::has_c() const {
  3260. return (_has_bits_[0] & 0x00000001u) != 0;
  3261. }
  3262. inline void ForeignMessageArenaLite::set_has_c() {
  3263. _has_bits_[0] |= 0x00000001u;
  3264. }
  3265. inline void ForeignMessageArenaLite::clear_has_c() {
  3266. _has_bits_[0] &= ~0x00000001u;
  3267. }
  3268. inline void ForeignMessageArenaLite::clear_c() {
  3269. c_ = 0;
  3270. clear_has_c();
  3271. }
  3272. inline ::google::protobuf::int32 ForeignMessageArenaLite::c() const {
  3273. // @@protoc_insertion_point(field_get:protobuf_unittest.ForeignMessageArenaLite.c)
  3274. return c_;
  3275. }
  3276. inline void ForeignMessageArenaLite::set_c(::google::protobuf::int32 value) {
  3277. set_has_c();
  3278. c_ = value;
  3279. // @@protoc_insertion_point(field_set:protobuf_unittest.ForeignMessageArenaLite.c)
  3280. }
  3281. #ifdef __GNUC__
  3282. #pragma GCC diagnostic pop
  3283. #endif // __GNUC__
  3284. // -------------------------------------------------------------------
  3285. // -------------------------------------------------------------------
  3286. // -------------------------------------------------------------------
  3287. // -------------------------------------------------------------------
  3288. // -------------------------------------------------------------------
  3289. // -------------------------------------------------------------------
  3290. // -------------------------------------------------------------------
  3291. // -------------------------------------------------------------------
  3292. // -------------------------------------------------------------------
  3293. // -------------------------------------------------------------------
  3294. // -------------------------------------------------------------------
  3295. // -------------------------------------------------------------------
  3296. // -------------------------------------------------------------------
  3297. // -------------------------------------------------------------------
  3298. // -------------------------------------------------------------------
  3299. // -------------------------------------------------------------------
  3300. // -------------------------------------------------------------------
  3301. // -------------------------------------------------------------------
  3302. // -------------------------------------------------------------------
  3303. // -------------------------------------------------------------------
  3304. // -------------------------------------------------------------------
  3305. // -------------------------------------------------------------------
  3306. // -------------------------------------------------------------------
  3307. // -------------------------------------------------------------------
  3308. // -------------------------------------------------------------------
  3309. // -------------------------------------------------------------------
  3310. // -------------------------------------------------------------------
  3311. // -------------------------------------------------------------------
  3312. // -------------------------------------------------------------------
  3313. // -------------------------------------------------------------------
  3314. // -------------------------------------------------------------------
  3315. // -------------------------------------------------------------------
  3316. // -------------------------------------------------------------------
  3317. // -------------------------------------------------------------------
  3318. // -------------------------------------------------------------------
  3319. // -------------------------------------------------------------------
  3320. // -------------------------------------------------------------------
  3321. // -------------------------------------------------------------------
  3322. // -------------------------------------------------------------------
  3323. // -------------------------------------------------------------------
  3324. // -------------------------------------------------------------------
  3325. // -------------------------------------------------------------------
  3326. // -------------------------------------------------------------------
  3327. // -------------------------------------------------------------------
  3328. // -------------------------------------------------------------------
  3329. // -------------------------------------------------------------------
  3330. // -------------------------------------------------------------------
  3331. // -------------------------------------------------------------------
  3332. // -------------------------------------------------------------------
  3333. // @@protoc_insertion_point(namespace_scope)
  3334. } // namespace protobuf_unittest
  3335. namespace google {
  3336. namespace protobuf {
  3337. template <> struct is_proto_enum< ::protobuf_unittest::Proto2MapEnumLite> : ::std::true_type {};
  3338. template <> struct is_proto_enum< ::protobuf_unittest::Proto2MapEnumPlusExtraLite> : ::std::true_type {};
  3339. template <> struct is_proto_enum< ::protobuf_unittest::MapEnumLite> : ::std::true_type {};
  3340. } // namespace protobuf
  3341. } // namespace google
  3342. // @@protoc_insertion_point(global_scope)
  3343. #endif // PROTOBUF_INCLUDED_google_2fprotobuf_2fmap_5flite_5funittest_2eproto