TestMessagesProto3.cs 166 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: google/protobuf/test_messages_proto3.proto
  3. #pragma warning disable 1591, 0612, 3021
  4. #region Designer generated code
  5. using pb = global::Google.Protobuf;
  6. using pbc = global::Google.Protobuf.Collections;
  7. using pbr = global::Google.Protobuf.Reflection;
  8. using scg = global::System.Collections.Generic;
  9. namespace ProtobufTestMessages.Proto3 {
  10. /// <summary>Holder for reflection information generated from google/protobuf/test_messages_proto3.proto</summary>
  11. public static partial class TestMessagesProto3Reflection {
  12. #region Descriptor
  13. /// <summary>File descriptor for google/protobuf/test_messages_proto3.proto</summary>
  14. public static pbr::FileDescriptor Descriptor {
  15. get { return descriptor; }
  16. }
  17. private static pbr::FileDescriptor descriptor;
  18. static TestMessagesProto3Reflection() {
  19. byte[] descriptorData = global::System.Convert.FromBase64String(
  20. string.Concat(
  21. "Cipnb29nbGUvcHJvdG9idWYvdGVzdF9tZXNzYWdlc19wcm90bzMucHJvdG8S",
  22. "HXByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zGhlnb29nbGUvcHJvdG9i",
  23. "dWYvYW55LnByb3RvGh5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8a",
  24. "IGdvb2dsZS9wcm90b2J1Zi9maWVsZF9tYXNrLnByb3RvGhxnb29nbGUvcHJv",
  25. "dG9idWYvc3RydWN0LnByb3RvGh9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1w",
  26. "LnByb3RvGh5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8irDsKElRl",
  27. "c3RBbGxUeXBlc1Byb3RvMxIWCg5vcHRpb25hbF9pbnQzMhgBIAEoBRIWCg5v",
  28. "cHRpb25hbF9pbnQ2NBgCIAEoAxIXCg9vcHRpb25hbF91aW50MzIYAyABKA0S",
  29. "FwoPb3B0aW9uYWxfdWludDY0GAQgASgEEhcKD29wdGlvbmFsX3NpbnQzMhgF",
  30. "IAEoERIXCg9vcHRpb25hbF9zaW50NjQYBiABKBISGAoQb3B0aW9uYWxfZml4",
  31. "ZWQzMhgHIAEoBxIYChBvcHRpb25hbF9maXhlZDY0GAggASgGEhkKEW9wdGlv",
  32. "bmFsX3NmaXhlZDMyGAkgASgPEhkKEW9wdGlvbmFsX3NmaXhlZDY0GAogASgQ",
  33. "EhYKDm9wdGlvbmFsX2Zsb2F0GAsgASgCEhcKD29wdGlvbmFsX2RvdWJsZRgM",
  34. "IAEoARIVCg1vcHRpb25hbF9ib29sGA0gASgIEhcKD29wdGlvbmFsX3N0cmlu",
  35. "ZxgOIAEoCRIWCg5vcHRpb25hbF9ieXRlcxgPIAEoDBJgChdvcHRpb25hbF9u",
  36. "ZXN0ZWRfbWVzc2FnZRgSIAEoCzI/LnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMu",
  37. "cHJvdG8zLlRlc3RBbGxUeXBlc1Byb3RvMy5OZXN0ZWRNZXNzYWdlEk8KGG9w",
  38. "dGlvbmFsX2ZvcmVpZ25fbWVzc2FnZRgTIAEoCzItLnByb3RvYnVmX3Rlc3Rf",
  39. "bWVzc2FnZXMucHJvdG8zLkZvcmVpZ25NZXNzYWdlEloKFG9wdGlvbmFsX25l",
  40. "c3RlZF9lbnVtGBUgASgOMjwucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90",
  41. "bzMuVGVzdEFsbFR5cGVzUHJvdG8zLk5lc3RlZEVudW0SSQoVb3B0aW9uYWxf",
  42. "Zm9yZWlnbl9lbnVtGBYgASgOMioucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5w",
  43. "cm90bzMuRm9yZWlnbkVudW0SIQoVb3B0aW9uYWxfc3RyaW5nX3BpZWNlGBgg",
  44. "ASgJQgIIAhIZCg1vcHRpb25hbF9jb3JkGBkgASgJQgIIARJMChFyZWN1cnNp",
  45. "dmVfbWVzc2FnZRgbIAEoCzIxLnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJv",
  46. "dG8zLlRlc3RBbGxUeXBlc1Byb3RvMxIWCg5yZXBlYXRlZF9pbnQzMhgfIAMo",
  47. "BRIWCg5yZXBlYXRlZF9pbnQ2NBggIAMoAxIXCg9yZXBlYXRlZF91aW50MzIY",
  48. "ISADKA0SFwoPcmVwZWF0ZWRfdWludDY0GCIgAygEEhcKD3JlcGVhdGVkX3Np",
  49. "bnQzMhgjIAMoERIXCg9yZXBlYXRlZF9zaW50NjQYJCADKBISGAoQcmVwZWF0",
  50. "ZWRfZml4ZWQzMhglIAMoBxIYChByZXBlYXRlZF9maXhlZDY0GCYgAygGEhkK",
  51. "EXJlcGVhdGVkX3NmaXhlZDMyGCcgAygPEhkKEXJlcGVhdGVkX3NmaXhlZDY0",
  52. "GCggAygQEhYKDnJlcGVhdGVkX2Zsb2F0GCkgAygCEhcKD3JlcGVhdGVkX2Rv",
  53. "dWJsZRgqIAMoARIVCg1yZXBlYXRlZF9ib29sGCsgAygIEhcKD3JlcGVhdGVk",
  54. "X3N0cmluZxgsIAMoCRIWCg5yZXBlYXRlZF9ieXRlcxgtIAMoDBJgChdyZXBl",
  55. "YXRlZF9uZXN0ZWRfbWVzc2FnZRgwIAMoCzI/LnByb3RvYnVmX3Rlc3RfbWVz",
  56. "c2FnZXMucHJvdG8zLlRlc3RBbGxUeXBlc1Byb3RvMy5OZXN0ZWRNZXNzYWdl",
  57. "Ek8KGHJlcGVhdGVkX2ZvcmVpZ25fbWVzc2FnZRgxIAMoCzItLnByb3RvYnVm",
  58. "X3Rlc3RfbWVzc2FnZXMucHJvdG8zLkZvcmVpZ25NZXNzYWdlEloKFHJlcGVh",
  59. "dGVkX25lc3RlZF9lbnVtGDMgAygOMjwucHJvdG9idWZfdGVzdF9tZXNzYWdl",
  60. "cy5wcm90bzMuVGVzdEFsbFR5cGVzUHJvdG8zLk5lc3RlZEVudW0SSQoVcmVw",
  61. "ZWF0ZWRfZm9yZWlnbl9lbnVtGDQgAygOMioucHJvdG9idWZfdGVzdF9tZXNz",
  62. "YWdlcy5wcm90bzMuRm9yZWlnbkVudW0SIQoVcmVwZWF0ZWRfc3RyaW5nX3Bp",
  63. "ZWNlGDYgAygJQgIIAhIZCg1yZXBlYXRlZF9jb3JkGDcgAygJQgIIARJdCg9t",
  64. "YXBfaW50MzJfaW50MzIYOCADKAsyRC5wcm90b2J1Zl90ZXN0X21lc3NhZ2Vz",
  65. "LnByb3RvMy5UZXN0QWxsVHlwZXNQcm90bzMuTWFwSW50MzJJbnQzMkVudHJ5",
  66. "El0KD21hcF9pbnQ2NF9pbnQ2NBg5IAMoCzJELnByb3RvYnVmX3Rlc3RfbWVz",
  67. "c2FnZXMucHJvdG8zLlRlc3RBbGxUeXBlc1Byb3RvMy5NYXBJbnQ2NEludDY0",
  68. "RW50cnkSYQoRbWFwX3VpbnQzMl91aW50MzIYOiADKAsyRi5wcm90b2J1Zl90",
  69. "ZXN0X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXNQcm90bzMuTWFwVWlu",
  70. "dDMyVWludDMyRW50cnkSYQoRbWFwX3VpbnQ2NF91aW50NjQYOyADKAsyRi5w",
  71. "cm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXNQcm90",
  72. "bzMuTWFwVWludDY0VWludDY0RW50cnkSYQoRbWFwX3NpbnQzMl9zaW50MzIY",
  73. "PCADKAsyRi5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxs",
  74. "VHlwZXNQcm90bzMuTWFwU2ludDMyU2ludDMyRW50cnkSYQoRbWFwX3NpbnQ2",
  75. "NF9zaW50NjQYPSADKAsyRi5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3Rv",
  76. "My5UZXN0QWxsVHlwZXNQcm90bzMuTWFwU2ludDY0U2ludDY0RW50cnkSZQoT",
  77. "bWFwX2ZpeGVkMzJfZml4ZWQzMhg+IAMoCzJILnByb3RvYnVmX3Rlc3RfbWVz",
  78. "c2FnZXMucHJvdG8zLlRlc3RBbGxUeXBlc1Byb3RvMy5NYXBGaXhlZDMyRml4",
  79. "ZWQzMkVudHJ5EmUKE21hcF9maXhlZDY0X2ZpeGVkNjQYPyADKAsySC5wcm90",
  80. "b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXNQcm90bzMu",
  81. "TWFwRml4ZWQ2NEZpeGVkNjRFbnRyeRJpChVtYXBfc2ZpeGVkMzJfc2ZpeGVk",
  82. "MzIYQCADKAsySi5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMy5UZXN0",
  83. "QWxsVHlwZXNQcm90bzMuTWFwU2ZpeGVkMzJTZml4ZWQzMkVudHJ5EmkKFW1h",
  84. "cF9zZml4ZWQ2NF9zZml4ZWQ2NBhBIAMoCzJKLnByb3RvYnVmX3Rlc3RfbWVz",
  85. "c2FnZXMucHJvdG8zLlRlc3RBbGxUeXBlc1Byb3RvMy5NYXBTZml4ZWQ2NFNm",
  86. "aXhlZDY0RW50cnkSXQoPbWFwX2ludDMyX2Zsb2F0GEIgAygLMkQucHJvdG9i",
  87. "dWZfdGVzdF9tZXNzYWdlcy5wcm90bzMuVGVzdEFsbFR5cGVzUHJvdG8zLk1h",
  88. "cEludDMyRmxvYXRFbnRyeRJfChBtYXBfaW50MzJfZG91YmxlGEMgAygLMkUu",
  89. "cHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzMuVGVzdEFsbFR5cGVzUHJv",
  90. "dG8zLk1hcEludDMyRG91YmxlRW50cnkSWQoNbWFwX2Jvb2xfYm9vbBhEIAMo",
  91. "CzJCLnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zLlRlc3RBbGxUeXBl",
  92. "c1Byb3RvMy5NYXBCb29sQm9vbEVudHJ5EmEKEW1hcF9zdHJpbmdfc3RyaW5n",
  93. "GEUgAygLMkYucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzMuVGVzdEFs",
  94. "bFR5cGVzUHJvdG8zLk1hcFN0cmluZ1N0cmluZ0VudHJ5El8KEG1hcF9zdHJp",
  95. "bmdfYnl0ZXMYRiADKAsyRS5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3Rv",
  96. "My5UZXN0QWxsVHlwZXNQcm90bzMuTWFwU3RyaW5nQnl0ZXNFbnRyeRJwChlt",
  97. "YXBfc3RyaW5nX25lc3RlZF9tZXNzYWdlGEcgAygLMk0ucHJvdG9idWZfdGVz",
  98. "dF9tZXNzYWdlcy5wcm90bzMuVGVzdEFsbFR5cGVzUHJvdG8zLk1hcFN0cmlu",
  99. "Z05lc3RlZE1lc3NhZ2VFbnRyeRJyChptYXBfc3RyaW5nX2ZvcmVpZ25fbWVz",
  100. "c2FnZRhIIAMoCzJOLnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zLlRl",
  101. "c3RBbGxUeXBlc1Byb3RvMy5NYXBTdHJpbmdGb3JlaWduTWVzc2FnZUVudHJ5",
  102. "EmoKFm1hcF9zdHJpbmdfbmVzdGVkX2VudW0YSSADKAsySi5wcm90b2J1Zl90",
  103. "ZXN0X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXNQcm90bzMuTWFwU3Ry",
  104. "aW5nTmVzdGVkRW51bUVudHJ5EmwKF21hcF9zdHJpbmdfZm9yZWlnbl9lbnVt",
  105. "GEogAygLMksucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzMuVGVzdEFs",
  106. "bFR5cGVzUHJvdG8zLk1hcFN0cmluZ0ZvcmVpZ25FbnVtRW50cnkSFgoMb25l",
  107. "b2ZfdWludDMyGG8gASgNSAASXwoUb25lb2ZfbmVzdGVkX21lc3NhZ2UYcCAB",
  108. "KAsyPy5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlw",
  109. "ZXNQcm90bzMuTmVzdGVkTWVzc2FnZUgAEhYKDG9uZW9mX3N0cmluZxhxIAEo",
  110. "CUgAEhUKC29uZW9mX2J5dGVzGHIgASgMSAASFAoKb25lb2ZfYm9vbBhzIAEo",
  111. "CEgAEhYKDG9uZW9mX3VpbnQ2NBh0IAEoBEgAEhUKC29uZW9mX2Zsb2F0GHUg",
  112. "ASgCSAASFgoMb25lb2ZfZG91YmxlGHYgASgBSAASUgoKb25lb2ZfZW51bRh3",
  113. "IAEoDjI8LnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zLlRlc3RBbGxU",
  114. "eXBlc1Byb3RvMy5OZXN0ZWRFbnVtSAASOgoVb3B0aW9uYWxfYm9vbF93cmFw",
  115. "cGVyGMkBIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5Cb29sVmFsdWUSPAoWb3B0",
  116. "aW9uYWxfaW50MzJfd3JhcHBlchjKASABKAsyGy5nb29nbGUucHJvdG9idWYu",
  117. "SW50MzJWYWx1ZRI8ChZvcHRpb25hbF9pbnQ2NF93cmFwcGVyGMsBIAEoCzIb",
  118. "Lmdvb2dsZS5wcm90b2J1Zi5JbnQ2NFZhbHVlEj4KF29wdGlvbmFsX3VpbnQz",
  119. "Ml93cmFwcGVyGMwBIAEoCzIcLmdvb2dsZS5wcm90b2J1Zi5VSW50MzJWYWx1",
  120. "ZRI+ChdvcHRpb25hbF91aW50NjRfd3JhcHBlchjNASABKAsyHC5nb29nbGUu",
  121. "cHJvdG9idWYuVUludDY0VmFsdWUSPAoWb3B0aW9uYWxfZmxvYXRfd3JhcHBl",
  122. "chjOASABKAsyGy5nb29nbGUucHJvdG9idWYuRmxvYXRWYWx1ZRI+ChdvcHRp",
  123. "b25hbF9kb3VibGVfd3JhcHBlchjPASABKAsyHC5nb29nbGUucHJvdG9idWYu",
  124. "RG91YmxlVmFsdWUSPgoXb3B0aW9uYWxfc3RyaW5nX3dyYXBwZXIY0AEgASgL",
  125. "MhwuZ29vZ2xlLnByb3RvYnVmLlN0cmluZ1ZhbHVlEjwKFm9wdGlvbmFsX2J5",
  126. "dGVzX3dyYXBwZXIY0QEgASgLMhsuZ29vZ2xlLnByb3RvYnVmLkJ5dGVzVmFs",
  127. "dWUSOgoVcmVwZWF0ZWRfYm9vbF93cmFwcGVyGNMBIAMoCzIaLmdvb2dsZS5w",
  128. "cm90b2J1Zi5Cb29sVmFsdWUSPAoWcmVwZWF0ZWRfaW50MzJfd3JhcHBlchjU",
  129. "ASADKAsyGy5nb29nbGUucHJvdG9idWYuSW50MzJWYWx1ZRI8ChZyZXBlYXRl",
  130. "ZF9pbnQ2NF93cmFwcGVyGNUBIAMoCzIbLmdvb2dsZS5wcm90b2J1Zi5JbnQ2",
  131. "NFZhbHVlEj4KF3JlcGVhdGVkX3VpbnQzMl93cmFwcGVyGNYBIAMoCzIcLmdv",
  132. "b2dsZS5wcm90b2J1Zi5VSW50MzJWYWx1ZRI+ChdyZXBlYXRlZF91aW50NjRf",
  133. "d3JhcHBlchjXASADKAsyHC5nb29nbGUucHJvdG9idWYuVUludDY0VmFsdWUS",
  134. "PAoWcmVwZWF0ZWRfZmxvYXRfd3JhcHBlchjYASADKAsyGy5nb29nbGUucHJv",
  135. "dG9idWYuRmxvYXRWYWx1ZRI+ChdyZXBlYXRlZF9kb3VibGVfd3JhcHBlchjZ",
  136. "ASADKAsyHC5nb29nbGUucHJvdG9idWYuRG91YmxlVmFsdWUSPgoXcmVwZWF0",
  137. "ZWRfc3RyaW5nX3dyYXBwZXIY2gEgAygLMhwuZ29vZ2xlLnByb3RvYnVmLlN0",
  138. "cmluZ1ZhbHVlEjwKFnJlcGVhdGVkX2J5dGVzX3dyYXBwZXIY2wEgAygLMhsu",
  139. "Z29vZ2xlLnByb3RvYnVmLkJ5dGVzVmFsdWUSNQoRb3B0aW9uYWxfZHVyYXRp",
  140. "b24YrQIgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uEjcKEm9wdGlv",
  141. "bmFsX3RpbWVzdGFtcBiuAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0",
  142. "YW1wEjgKE29wdGlvbmFsX2ZpZWxkX21hc2sYrwIgASgLMhouZ29vZ2xlLnBy",
  143. "b3RvYnVmLkZpZWxkTWFzaxIxCg9vcHRpb25hbF9zdHJ1Y3QYsAIgASgLMhcu",
  144. "Z29vZ2xlLnByb3RvYnVmLlN0cnVjdBIrCgxvcHRpb25hbF9hbnkYsQIgASgL",
  145. "MhQuZ29vZ2xlLnByb3RvYnVmLkFueRIvCg5vcHRpb25hbF92YWx1ZRiyAiAB",
  146. "KAsyFi5nb29nbGUucHJvdG9idWYuVmFsdWUSNQoRcmVwZWF0ZWRfZHVyYXRp",
  147. "b24YtwIgAygLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uEjcKEnJlcGVh",
  148. "dGVkX3RpbWVzdGFtcBi4AiADKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0",
  149. "YW1wEjcKEnJlcGVhdGVkX2ZpZWxkbWFzaxi5AiADKAsyGi5nb29nbGUucHJv",
  150. "dG9idWYuRmllbGRNYXNrEjEKD3JlcGVhdGVkX3N0cnVjdBjEAiADKAsyFy5n",
  151. "b29nbGUucHJvdG9idWYuU3RydWN0EisKDHJlcGVhdGVkX2FueRi7AiADKAsy",
  152. "FC5nb29nbGUucHJvdG9idWYuQW55Ei8KDnJlcGVhdGVkX3ZhbHVlGLwCIAMo",
  153. "CzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZRITCgpmaWVsZG5hbWUxGJEDIAEo",
  154. "BRIUCgtmaWVsZF9uYW1lMhiSAyABKAUSFQoMX2ZpZWxkX25hbWUzGJMDIAEo",
  155. "BRIWCg1maWVsZF9fbmFtZTRfGJQDIAEoBRIUCgtmaWVsZDBuYW1lNRiVAyAB",
  156. "KAUSFgoNZmllbGRfMF9uYW1lNhiWAyABKAUSEwoKZmllbGROYW1lNxiXAyAB",
  157. "KAUSEwoKRmllbGROYW1lOBiYAyABKAUSFAoLZmllbGRfTmFtZTkYmQMgASgF",
  158. "EhUKDEZpZWxkX05hbWUxMBiaAyABKAUSFQoMRklFTERfTkFNRTExGJsDIAEo",
  159. "BRIVCgxGSUVMRF9uYW1lMTIYnAMgASgFEhcKDl9fZmllbGRfbmFtZTEzGJ0D",
  160. "IAEoBRIXCg5fX0ZpZWxkX25hbWUxNBieAyABKAUSFgoNZmllbGRfX25hbWUx",
  161. "NRifAyABKAUSFgoNZmllbGRfX05hbWUxNhigAyABKAUSFwoOZmllbGRfbmFt",
  162. "ZTE3X18YoQMgASgFEhcKDkZpZWxkX25hbWUxOF9fGKIDIAEoBRpiCg1OZXN0",
  163. "ZWRNZXNzYWdlEgkKAWEYASABKAUSRgoLY29yZWN1cnNpdmUYAiABKAsyMS5w",
  164. "cm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXNQcm90",
  165. "bzMaNAoSTWFwSW50MzJJbnQzMkVudHJ5EgsKA2tleRgBIAEoBRINCgV2YWx1",
  166. "ZRgCIAEoBToCOAEaNAoSTWFwSW50NjRJbnQ2NEVudHJ5EgsKA2tleRgBIAEo",
  167. "AxINCgV2YWx1ZRgCIAEoAzoCOAEaNgoUTWFwVWludDMyVWludDMyRW50cnkS",
  168. "CwoDa2V5GAEgASgNEg0KBXZhbHVlGAIgASgNOgI4ARo2ChRNYXBVaW50NjRV",
  169. "aW50NjRFbnRyeRILCgNrZXkYASABKAQSDQoFdmFsdWUYAiABKAQ6AjgBGjYK",
  170. "FE1hcFNpbnQzMlNpbnQzMkVudHJ5EgsKA2tleRgBIAEoERINCgV2YWx1ZRgC",
  171. "IAEoEToCOAEaNgoUTWFwU2ludDY0U2ludDY0RW50cnkSCwoDa2V5GAEgASgS",
  172. "Eg0KBXZhbHVlGAIgASgSOgI4ARo4ChZNYXBGaXhlZDMyRml4ZWQzMkVudHJ5",
  173. "EgsKA2tleRgBIAEoBxINCgV2YWx1ZRgCIAEoBzoCOAEaOAoWTWFwRml4ZWQ2",
  174. "NEZpeGVkNjRFbnRyeRILCgNrZXkYASABKAYSDQoFdmFsdWUYAiABKAY6AjgB",
  175. "GjoKGE1hcFNmaXhlZDMyU2ZpeGVkMzJFbnRyeRILCgNrZXkYASABKA8SDQoF",
  176. "dmFsdWUYAiABKA86AjgBGjoKGE1hcFNmaXhlZDY0U2ZpeGVkNjRFbnRyeRIL",
  177. "CgNrZXkYASABKBASDQoFdmFsdWUYAiABKBA6AjgBGjQKEk1hcEludDMyRmxv",
  178. "YXRFbnRyeRILCgNrZXkYASABKAUSDQoFdmFsdWUYAiABKAI6AjgBGjUKE01h",
  179. "cEludDMyRG91YmxlRW50cnkSCwoDa2V5GAEgASgFEg0KBXZhbHVlGAIgASgB",
  180. "OgI4ARoyChBNYXBCb29sQm9vbEVudHJ5EgsKA2tleRgBIAEoCBINCgV2YWx1",
  181. "ZRgCIAEoCDoCOAEaNgoUTWFwU3RyaW5nU3RyaW5nRW50cnkSCwoDa2V5GAEg",
  182. "ASgJEg0KBXZhbHVlGAIgASgJOgI4ARo1ChNNYXBTdHJpbmdCeXRlc0VudHJ5",
  183. "EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoDDoCOAEafgobTWFwU3RyaW5n",
  184. "TmVzdGVkTWVzc2FnZUVudHJ5EgsKA2tleRgBIAEoCRJOCgV2YWx1ZRgCIAEo",
  185. "CzI/LnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zLlRlc3RBbGxUeXBl",
  186. "c1Byb3RvMy5OZXN0ZWRNZXNzYWdlOgI4ARptChxNYXBTdHJpbmdGb3JlaWdu",
  187. "TWVzc2FnZUVudHJ5EgsKA2tleRgBIAEoCRI8CgV2YWx1ZRgCIAEoCzItLnBy",
  188. "b3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zLkZvcmVpZ25NZXNzYWdlOgI4",
  189. "ARp4ChhNYXBTdHJpbmdOZXN0ZWRFbnVtRW50cnkSCwoDa2V5GAEgASgJEksK",
  190. "BXZhbHVlGAIgASgOMjwucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzMu",
  191. "VGVzdEFsbFR5cGVzUHJvdG8zLk5lc3RlZEVudW06AjgBGmcKGU1hcFN0cmlu",
  192. "Z0ZvcmVpZ25FbnVtRW50cnkSCwoDa2V5GAEgASgJEjkKBXZhbHVlGAIgASgO",
  193. "MioucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzMuRm9yZWlnbkVudW06",
  194. "AjgBIjkKCk5lc3RlZEVudW0SBwoDRk9PEAASBwoDQkFSEAESBwoDQkFaEAIS",
  195. "EAoDTkVHEP///////////wFCDQoLb25lb2ZfZmllbGQiGwoORm9yZWlnbk1l",
  196. "c3NhZ2USCQoBYxgBIAEoBSpACgtGb3JlaWduRW51bRIPCgtGT1JFSUdOX0ZP",
  197. "TxAAEg8KC0ZPUkVJR05fQkFSEAESDwoLRk9SRUlHTl9CQVoQAkI4Cihjb20u",
  198. "Z29vZ2xlLnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zSAH4AQGiAgZQ",
  199. "cm90bzNiBnByb3RvMw=="));
  200. descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  201. new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.AnyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor, },
  202. new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ProtobufTestMessages.Proto3.ForeignEnum), }, new pbr::GeneratedClrTypeInfo[] {
  203. new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto3.TestAllTypesProto3), global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Parser, new[]{ "OptionalInt32", "OptionalInt64", "OptionalUint32", "OptionalUint64", "OptionalSint32", "OptionalSint64", "OptionalFixed32", "OptionalFixed64", "OptionalSfixed32", "OptionalSfixed64", "OptionalFloat", "OptionalDouble", "OptionalBool", "OptionalString", "OptionalBytes", "OptionalNestedMessage", "OptionalForeignMessage", "OptionalNestedEnum", "OptionalForeignEnum", "OptionalStringPiece", "OptionalCord", "RecursiveMessage", "RepeatedInt32", "RepeatedInt64", "RepeatedUint32", "RepeatedUint64", "RepeatedSint32", "RepeatedSint64", "RepeatedFixed32", "RepeatedFixed64", "RepeatedSfixed32", "RepeatedSfixed64", "RepeatedFloat", "RepeatedDouble", "RepeatedBool", "RepeatedString", "RepeatedBytes", "RepeatedNestedMessage", "RepeatedForeignMessage", "RepeatedNestedEnum", "RepeatedForeignEnum", "RepeatedStringPiece", "RepeatedCord", "MapInt32Int32", "MapInt64Int64", "MapUint32Uint32", "MapUint64Uint64", "MapSint32Sint32", "MapSint64Sint64", "MapFixed32Fixed32", "MapFixed64Fixed64", "MapSfixed32Sfixed32", "MapSfixed64Sfixed64", "MapInt32Float", "MapInt32Double", "MapBoolBool", "MapStringString", "MapStringBytes", "MapStringNestedMessage", "MapStringForeignMessage", "MapStringNestedEnum", "MapStringForeignEnum", "OneofUint32", "OneofNestedMessage", "OneofString", "OneofBytes", "OneofBool", "OneofUint64", "OneofFloat", "OneofDouble", "OneofEnum", "OptionalBoolWrapper", "OptionalInt32Wrapper", "OptionalInt64Wrapper", "OptionalUint32Wrapper", "OptionalUint64Wrapper", "OptionalFloatWrapper", "OptionalDoubleWrapper", "OptionalStringWrapper", "OptionalBytesWrapper", "RepeatedBoolWrapper", "RepeatedInt32Wrapper", "RepeatedInt64Wrapper", "RepeatedUint32Wrapper", "RepeatedUint64Wrapper", "RepeatedFloatWrapper", "RepeatedDoubleWrapper", "RepeatedStringWrapper", "RepeatedBytesWrapper", "OptionalDuration", "OptionalTimestamp", "OptionalFieldMask", "OptionalStruct", "OptionalAny", "OptionalValue", "RepeatedDuration", "RepeatedTimestamp", "RepeatedFieldmask", "RepeatedStruct", "RepeatedAny", "RepeatedValue", "Fieldname1", "FieldName2", "FieldName3", "FieldName4", "Field0Name5", "Field0Name6", "FieldName7", "FieldName8", "FieldName9", "FieldName10", "FIELDNAME11", "FIELDName12", "FieldName13", "FieldName14", "FieldName15", "FieldName16", "FieldName17", "FieldName18" }, new[]{ "OneofField" }, new[]{ typeof(global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum) }, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage), global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage.Parser, new[]{ "A", "Corecursive" }, null, null, null),
  204. null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, }),
  205. new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto3.ForeignMessage), global::ProtobufTestMessages.Proto3.ForeignMessage.Parser, new[]{ "C" }, null, null, null)
  206. }));
  207. }
  208. #endregion
  209. }
  210. #region Enums
  211. public enum ForeignEnum {
  212. [pbr::OriginalName("FOREIGN_FOO")] ForeignFoo = 0,
  213. [pbr::OriginalName("FOREIGN_BAR")] ForeignBar = 1,
  214. [pbr::OriginalName("FOREIGN_BAZ")] ForeignBaz = 2,
  215. }
  216. #endregion
  217. #region Messages
  218. /// <summary>
  219. /// This proto includes every type of field in both singular and repeated
  220. /// forms.
  221. ///
  222. /// Also, crucially, all messages and enums in this file are eventually
  223. /// submessages of this message. So for example, a fuzz test of TestAllTypes
  224. /// could trigger bugs that occur in any message type in this file. We verify
  225. /// this stays true in a unit test.
  226. /// </summary>
  227. public sealed partial class TestAllTypesProto3 : pb::IMessage<TestAllTypesProto3> {
  228. private static readonly pb::MessageParser<TestAllTypesProto3> _parser = new pb::MessageParser<TestAllTypesProto3>(() => new TestAllTypesProto3());
  229. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  230. public static pb::MessageParser<TestAllTypesProto3> Parser { get { return _parser; } }
  231. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  232. public static pbr::MessageDescriptor Descriptor {
  233. get { return global::ProtobufTestMessages.Proto3.TestMessagesProto3Reflection.Descriptor.MessageTypes[0]; }
  234. }
  235. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  236. pbr::MessageDescriptor pb::IMessage.Descriptor {
  237. get { return Descriptor; }
  238. }
  239. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  240. public TestAllTypesProto3() {
  241. OnConstruction();
  242. }
  243. partial void OnConstruction();
  244. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  245. public TestAllTypesProto3(TestAllTypesProto3 other) : this() {
  246. optionalInt32_ = other.optionalInt32_;
  247. optionalInt64_ = other.optionalInt64_;
  248. optionalUint32_ = other.optionalUint32_;
  249. optionalUint64_ = other.optionalUint64_;
  250. optionalSint32_ = other.optionalSint32_;
  251. optionalSint64_ = other.optionalSint64_;
  252. optionalFixed32_ = other.optionalFixed32_;
  253. optionalFixed64_ = other.optionalFixed64_;
  254. optionalSfixed32_ = other.optionalSfixed32_;
  255. optionalSfixed64_ = other.optionalSfixed64_;
  256. optionalFloat_ = other.optionalFloat_;
  257. optionalDouble_ = other.optionalDouble_;
  258. optionalBool_ = other.optionalBool_;
  259. optionalString_ = other.optionalString_;
  260. optionalBytes_ = other.optionalBytes_;
  261. OptionalNestedMessage = other.optionalNestedMessage_ != null ? other.OptionalNestedMessage.Clone() : null;
  262. OptionalForeignMessage = other.optionalForeignMessage_ != null ? other.OptionalForeignMessage.Clone() : null;
  263. optionalNestedEnum_ = other.optionalNestedEnum_;
  264. optionalForeignEnum_ = other.optionalForeignEnum_;
  265. optionalStringPiece_ = other.optionalStringPiece_;
  266. optionalCord_ = other.optionalCord_;
  267. RecursiveMessage = other.recursiveMessage_ != null ? other.RecursiveMessage.Clone() : null;
  268. repeatedInt32_ = other.repeatedInt32_.Clone();
  269. repeatedInt64_ = other.repeatedInt64_.Clone();
  270. repeatedUint32_ = other.repeatedUint32_.Clone();
  271. repeatedUint64_ = other.repeatedUint64_.Clone();
  272. repeatedSint32_ = other.repeatedSint32_.Clone();
  273. repeatedSint64_ = other.repeatedSint64_.Clone();
  274. repeatedFixed32_ = other.repeatedFixed32_.Clone();
  275. repeatedFixed64_ = other.repeatedFixed64_.Clone();
  276. repeatedSfixed32_ = other.repeatedSfixed32_.Clone();
  277. repeatedSfixed64_ = other.repeatedSfixed64_.Clone();
  278. repeatedFloat_ = other.repeatedFloat_.Clone();
  279. repeatedDouble_ = other.repeatedDouble_.Clone();
  280. repeatedBool_ = other.repeatedBool_.Clone();
  281. repeatedString_ = other.repeatedString_.Clone();
  282. repeatedBytes_ = other.repeatedBytes_.Clone();
  283. repeatedNestedMessage_ = other.repeatedNestedMessage_.Clone();
  284. repeatedForeignMessage_ = other.repeatedForeignMessage_.Clone();
  285. repeatedNestedEnum_ = other.repeatedNestedEnum_.Clone();
  286. repeatedForeignEnum_ = other.repeatedForeignEnum_.Clone();
  287. repeatedStringPiece_ = other.repeatedStringPiece_.Clone();
  288. repeatedCord_ = other.repeatedCord_.Clone();
  289. mapInt32Int32_ = other.mapInt32Int32_.Clone();
  290. mapInt64Int64_ = other.mapInt64Int64_.Clone();
  291. mapUint32Uint32_ = other.mapUint32Uint32_.Clone();
  292. mapUint64Uint64_ = other.mapUint64Uint64_.Clone();
  293. mapSint32Sint32_ = other.mapSint32Sint32_.Clone();
  294. mapSint64Sint64_ = other.mapSint64Sint64_.Clone();
  295. mapFixed32Fixed32_ = other.mapFixed32Fixed32_.Clone();
  296. mapFixed64Fixed64_ = other.mapFixed64Fixed64_.Clone();
  297. mapSfixed32Sfixed32_ = other.mapSfixed32Sfixed32_.Clone();
  298. mapSfixed64Sfixed64_ = other.mapSfixed64Sfixed64_.Clone();
  299. mapInt32Float_ = other.mapInt32Float_.Clone();
  300. mapInt32Double_ = other.mapInt32Double_.Clone();
  301. mapBoolBool_ = other.mapBoolBool_.Clone();
  302. mapStringString_ = other.mapStringString_.Clone();
  303. mapStringBytes_ = other.mapStringBytes_.Clone();
  304. mapStringNestedMessage_ = other.mapStringNestedMessage_.Clone();
  305. mapStringForeignMessage_ = other.mapStringForeignMessage_.Clone();
  306. mapStringNestedEnum_ = other.mapStringNestedEnum_.Clone();
  307. mapStringForeignEnum_ = other.mapStringForeignEnum_.Clone();
  308. OptionalBoolWrapper = other.OptionalBoolWrapper;
  309. OptionalInt32Wrapper = other.OptionalInt32Wrapper;
  310. OptionalInt64Wrapper = other.OptionalInt64Wrapper;
  311. OptionalUint32Wrapper = other.OptionalUint32Wrapper;
  312. OptionalUint64Wrapper = other.OptionalUint64Wrapper;
  313. OptionalFloatWrapper = other.OptionalFloatWrapper;
  314. OptionalDoubleWrapper = other.OptionalDoubleWrapper;
  315. OptionalStringWrapper = other.OptionalStringWrapper;
  316. OptionalBytesWrapper = other.OptionalBytesWrapper;
  317. repeatedBoolWrapper_ = other.repeatedBoolWrapper_.Clone();
  318. repeatedInt32Wrapper_ = other.repeatedInt32Wrapper_.Clone();
  319. repeatedInt64Wrapper_ = other.repeatedInt64Wrapper_.Clone();
  320. repeatedUint32Wrapper_ = other.repeatedUint32Wrapper_.Clone();
  321. repeatedUint64Wrapper_ = other.repeatedUint64Wrapper_.Clone();
  322. repeatedFloatWrapper_ = other.repeatedFloatWrapper_.Clone();
  323. repeatedDoubleWrapper_ = other.repeatedDoubleWrapper_.Clone();
  324. repeatedStringWrapper_ = other.repeatedStringWrapper_.Clone();
  325. repeatedBytesWrapper_ = other.repeatedBytesWrapper_.Clone();
  326. OptionalDuration = other.optionalDuration_ != null ? other.OptionalDuration.Clone() : null;
  327. OptionalTimestamp = other.optionalTimestamp_ != null ? other.OptionalTimestamp.Clone() : null;
  328. OptionalFieldMask = other.optionalFieldMask_ != null ? other.OptionalFieldMask.Clone() : null;
  329. OptionalStruct = other.optionalStruct_ != null ? other.OptionalStruct.Clone() : null;
  330. OptionalAny = other.optionalAny_ != null ? other.OptionalAny.Clone() : null;
  331. OptionalValue = other.optionalValue_ != null ? other.OptionalValue.Clone() : null;
  332. repeatedDuration_ = other.repeatedDuration_.Clone();
  333. repeatedTimestamp_ = other.repeatedTimestamp_.Clone();
  334. repeatedFieldmask_ = other.repeatedFieldmask_.Clone();
  335. repeatedStruct_ = other.repeatedStruct_.Clone();
  336. repeatedAny_ = other.repeatedAny_.Clone();
  337. repeatedValue_ = other.repeatedValue_.Clone();
  338. fieldname1_ = other.fieldname1_;
  339. fieldName2_ = other.fieldName2_;
  340. FieldName3_ = other.FieldName3_;
  341. fieldName4_ = other.fieldName4_;
  342. field0Name5_ = other.field0Name5_;
  343. field0Name6_ = other.field0Name6_;
  344. fieldName7_ = other.fieldName7_;
  345. fieldName8_ = other.fieldName8_;
  346. fieldName9_ = other.fieldName9_;
  347. fieldName10_ = other.fieldName10_;
  348. fIELDNAME11_ = other.fIELDNAME11_;
  349. fIELDName12_ = other.fIELDName12_;
  350. FieldName13_ = other.FieldName13_;
  351. FieldName14_ = other.FieldName14_;
  352. fieldName15_ = other.fieldName15_;
  353. fieldName16_ = other.fieldName16_;
  354. fieldName17_ = other.fieldName17_;
  355. fieldName18_ = other.fieldName18_;
  356. switch (other.OneofFieldCase) {
  357. case OneofFieldOneofCase.OneofUint32:
  358. OneofUint32 = other.OneofUint32;
  359. break;
  360. case OneofFieldOneofCase.OneofNestedMessage:
  361. OneofNestedMessage = other.OneofNestedMessage.Clone();
  362. break;
  363. case OneofFieldOneofCase.OneofString:
  364. OneofString = other.OneofString;
  365. break;
  366. case OneofFieldOneofCase.OneofBytes:
  367. OneofBytes = other.OneofBytes;
  368. break;
  369. case OneofFieldOneofCase.OneofBool:
  370. OneofBool = other.OneofBool;
  371. break;
  372. case OneofFieldOneofCase.OneofUint64:
  373. OneofUint64 = other.OneofUint64;
  374. break;
  375. case OneofFieldOneofCase.OneofFloat:
  376. OneofFloat = other.OneofFloat;
  377. break;
  378. case OneofFieldOneofCase.OneofDouble:
  379. OneofDouble = other.OneofDouble;
  380. break;
  381. case OneofFieldOneofCase.OneofEnum:
  382. OneofEnum = other.OneofEnum;
  383. break;
  384. }
  385. }
  386. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  387. public TestAllTypesProto3 Clone() {
  388. return new TestAllTypesProto3(this);
  389. }
  390. /// <summary>Field number for the "optional_int32" field.</summary>
  391. public const int OptionalInt32FieldNumber = 1;
  392. private int optionalInt32_;
  393. /// <summary>
  394. /// Singular
  395. /// </summary>
  396. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  397. public int OptionalInt32 {
  398. get { return optionalInt32_; }
  399. set {
  400. optionalInt32_ = value;
  401. }
  402. }
  403. /// <summary>Field number for the "optional_int64" field.</summary>
  404. public const int OptionalInt64FieldNumber = 2;
  405. private long optionalInt64_;
  406. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  407. public long OptionalInt64 {
  408. get { return optionalInt64_; }
  409. set {
  410. optionalInt64_ = value;
  411. }
  412. }
  413. /// <summary>Field number for the "optional_uint32" field.</summary>
  414. public const int OptionalUint32FieldNumber = 3;
  415. private uint optionalUint32_;
  416. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  417. public uint OptionalUint32 {
  418. get { return optionalUint32_; }
  419. set {
  420. optionalUint32_ = value;
  421. }
  422. }
  423. /// <summary>Field number for the "optional_uint64" field.</summary>
  424. public const int OptionalUint64FieldNumber = 4;
  425. private ulong optionalUint64_;
  426. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  427. public ulong OptionalUint64 {
  428. get { return optionalUint64_; }
  429. set {
  430. optionalUint64_ = value;
  431. }
  432. }
  433. /// <summary>Field number for the "optional_sint32" field.</summary>
  434. public const int OptionalSint32FieldNumber = 5;
  435. private int optionalSint32_;
  436. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  437. public int OptionalSint32 {
  438. get { return optionalSint32_; }
  439. set {
  440. optionalSint32_ = value;
  441. }
  442. }
  443. /// <summary>Field number for the "optional_sint64" field.</summary>
  444. public const int OptionalSint64FieldNumber = 6;
  445. private long optionalSint64_;
  446. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  447. public long OptionalSint64 {
  448. get { return optionalSint64_; }
  449. set {
  450. optionalSint64_ = value;
  451. }
  452. }
  453. /// <summary>Field number for the "optional_fixed32" field.</summary>
  454. public const int OptionalFixed32FieldNumber = 7;
  455. private uint optionalFixed32_;
  456. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  457. public uint OptionalFixed32 {
  458. get { return optionalFixed32_; }
  459. set {
  460. optionalFixed32_ = value;
  461. }
  462. }
  463. /// <summary>Field number for the "optional_fixed64" field.</summary>
  464. public const int OptionalFixed64FieldNumber = 8;
  465. private ulong optionalFixed64_;
  466. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  467. public ulong OptionalFixed64 {
  468. get { return optionalFixed64_; }
  469. set {
  470. optionalFixed64_ = value;
  471. }
  472. }
  473. /// <summary>Field number for the "optional_sfixed32" field.</summary>
  474. public const int OptionalSfixed32FieldNumber = 9;
  475. private int optionalSfixed32_;
  476. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  477. public int OptionalSfixed32 {
  478. get { return optionalSfixed32_; }
  479. set {
  480. optionalSfixed32_ = value;
  481. }
  482. }
  483. /// <summary>Field number for the "optional_sfixed64" field.</summary>
  484. public const int OptionalSfixed64FieldNumber = 10;
  485. private long optionalSfixed64_;
  486. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  487. public long OptionalSfixed64 {
  488. get { return optionalSfixed64_; }
  489. set {
  490. optionalSfixed64_ = value;
  491. }
  492. }
  493. /// <summary>Field number for the "optional_float" field.</summary>
  494. public const int OptionalFloatFieldNumber = 11;
  495. private float optionalFloat_;
  496. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  497. public float OptionalFloat {
  498. get { return optionalFloat_; }
  499. set {
  500. optionalFloat_ = value;
  501. }
  502. }
  503. /// <summary>Field number for the "optional_double" field.</summary>
  504. public const int OptionalDoubleFieldNumber = 12;
  505. private double optionalDouble_;
  506. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  507. public double OptionalDouble {
  508. get { return optionalDouble_; }
  509. set {
  510. optionalDouble_ = value;
  511. }
  512. }
  513. /// <summary>Field number for the "optional_bool" field.</summary>
  514. public const int OptionalBoolFieldNumber = 13;
  515. private bool optionalBool_;
  516. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  517. public bool OptionalBool {
  518. get { return optionalBool_; }
  519. set {
  520. optionalBool_ = value;
  521. }
  522. }
  523. /// <summary>Field number for the "optional_string" field.</summary>
  524. public const int OptionalStringFieldNumber = 14;
  525. private string optionalString_ = "";
  526. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  527. public string OptionalString {
  528. get { return optionalString_; }
  529. set {
  530. optionalString_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  531. }
  532. }
  533. /// <summary>Field number for the "optional_bytes" field.</summary>
  534. public const int OptionalBytesFieldNumber = 15;
  535. private pb::ByteString optionalBytes_ = pb::ByteString.Empty;
  536. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  537. public pb::ByteString OptionalBytes {
  538. get { return optionalBytes_; }
  539. set {
  540. optionalBytes_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  541. }
  542. }
  543. /// <summary>Field number for the "optional_nested_message" field.</summary>
  544. public const int OptionalNestedMessageFieldNumber = 18;
  545. private global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage optionalNestedMessage_;
  546. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  547. public global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage OptionalNestedMessage {
  548. get { return optionalNestedMessage_; }
  549. set {
  550. optionalNestedMessage_ = value;
  551. }
  552. }
  553. /// <summary>Field number for the "optional_foreign_message" field.</summary>
  554. public const int OptionalForeignMessageFieldNumber = 19;
  555. private global::ProtobufTestMessages.Proto3.ForeignMessage optionalForeignMessage_;
  556. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  557. public global::ProtobufTestMessages.Proto3.ForeignMessage OptionalForeignMessage {
  558. get { return optionalForeignMessage_; }
  559. set {
  560. optionalForeignMessage_ = value;
  561. }
  562. }
  563. /// <summary>Field number for the "optional_nested_enum" field.</summary>
  564. public const int OptionalNestedEnumFieldNumber = 21;
  565. private global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum optionalNestedEnum_ = 0;
  566. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  567. public global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum OptionalNestedEnum {
  568. get { return optionalNestedEnum_; }
  569. set {
  570. optionalNestedEnum_ = value;
  571. }
  572. }
  573. /// <summary>Field number for the "optional_foreign_enum" field.</summary>
  574. public const int OptionalForeignEnumFieldNumber = 22;
  575. private global::ProtobufTestMessages.Proto3.ForeignEnum optionalForeignEnum_ = 0;
  576. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  577. public global::ProtobufTestMessages.Proto3.ForeignEnum OptionalForeignEnum {
  578. get { return optionalForeignEnum_; }
  579. set {
  580. optionalForeignEnum_ = value;
  581. }
  582. }
  583. /// <summary>Field number for the "optional_string_piece" field.</summary>
  584. public const int OptionalStringPieceFieldNumber = 24;
  585. private string optionalStringPiece_ = "";
  586. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  587. public string OptionalStringPiece {
  588. get { return optionalStringPiece_; }
  589. set {
  590. optionalStringPiece_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  591. }
  592. }
  593. /// <summary>Field number for the "optional_cord" field.</summary>
  594. public const int OptionalCordFieldNumber = 25;
  595. private string optionalCord_ = "";
  596. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  597. public string OptionalCord {
  598. get { return optionalCord_; }
  599. set {
  600. optionalCord_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  601. }
  602. }
  603. /// <summary>Field number for the "recursive_message" field.</summary>
  604. public const int RecursiveMessageFieldNumber = 27;
  605. private global::ProtobufTestMessages.Proto3.TestAllTypesProto3 recursiveMessage_;
  606. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  607. public global::ProtobufTestMessages.Proto3.TestAllTypesProto3 RecursiveMessage {
  608. get { return recursiveMessage_; }
  609. set {
  610. recursiveMessage_ = value;
  611. }
  612. }
  613. /// <summary>Field number for the "repeated_int32" field.</summary>
  614. public const int RepeatedInt32FieldNumber = 31;
  615. private static readonly pb::FieldCodec<int> _repeated_repeatedInt32_codec
  616. = pb::FieldCodec.ForInt32(250);
  617. private readonly pbc::RepeatedField<int> repeatedInt32_ = new pbc::RepeatedField<int>();
  618. /// <summary>
  619. /// Repeated
  620. /// </summary>
  621. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  622. public pbc::RepeatedField<int> RepeatedInt32 {
  623. get { return repeatedInt32_; }
  624. }
  625. /// <summary>Field number for the "repeated_int64" field.</summary>
  626. public const int RepeatedInt64FieldNumber = 32;
  627. private static readonly pb::FieldCodec<long> _repeated_repeatedInt64_codec
  628. = pb::FieldCodec.ForInt64(258);
  629. private readonly pbc::RepeatedField<long> repeatedInt64_ = new pbc::RepeatedField<long>();
  630. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  631. public pbc::RepeatedField<long> RepeatedInt64 {
  632. get { return repeatedInt64_; }
  633. }
  634. /// <summary>Field number for the "repeated_uint32" field.</summary>
  635. public const int RepeatedUint32FieldNumber = 33;
  636. private static readonly pb::FieldCodec<uint> _repeated_repeatedUint32_codec
  637. = pb::FieldCodec.ForUInt32(266);
  638. private readonly pbc::RepeatedField<uint> repeatedUint32_ = new pbc::RepeatedField<uint>();
  639. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  640. public pbc::RepeatedField<uint> RepeatedUint32 {
  641. get { return repeatedUint32_; }
  642. }
  643. /// <summary>Field number for the "repeated_uint64" field.</summary>
  644. public const int RepeatedUint64FieldNumber = 34;
  645. private static readonly pb::FieldCodec<ulong> _repeated_repeatedUint64_codec
  646. = pb::FieldCodec.ForUInt64(274);
  647. private readonly pbc::RepeatedField<ulong> repeatedUint64_ = new pbc::RepeatedField<ulong>();
  648. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  649. public pbc::RepeatedField<ulong> RepeatedUint64 {
  650. get { return repeatedUint64_; }
  651. }
  652. /// <summary>Field number for the "repeated_sint32" field.</summary>
  653. public const int RepeatedSint32FieldNumber = 35;
  654. private static readonly pb::FieldCodec<int> _repeated_repeatedSint32_codec
  655. = pb::FieldCodec.ForSInt32(282);
  656. private readonly pbc::RepeatedField<int> repeatedSint32_ = new pbc::RepeatedField<int>();
  657. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  658. public pbc::RepeatedField<int> RepeatedSint32 {
  659. get { return repeatedSint32_; }
  660. }
  661. /// <summary>Field number for the "repeated_sint64" field.</summary>
  662. public const int RepeatedSint64FieldNumber = 36;
  663. private static readonly pb::FieldCodec<long> _repeated_repeatedSint64_codec
  664. = pb::FieldCodec.ForSInt64(290);
  665. private readonly pbc::RepeatedField<long> repeatedSint64_ = new pbc::RepeatedField<long>();
  666. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  667. public pbc::RepeatedField<long> RepeatedSint64 {
  668. get { return repeatedSint64_; }
  669. }
  670. /// <summary>Field number for the "repeated_fixed32" field.</summary>
  671. public const int RepeatedFixed32FieldNumber = 37;
  672. private static readonly pb::FieldCodec<uint> _repeated_repeatedFixed32_codec
  673. = pb::FieldCodec.ForFixed32(298);
  674. private readonly pbc::RepeatedField<uint> repeatedFixed32_ = new pbc::RepeatedField<uint>();
  675. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  676. public pbc::RepeatedField<uint> RepeatedFixed32 {
  677. get { return repeatedFixed32_; }
  678. }
  679. /// <summary>Field number for the "repeated_fixed64" field.</summary>
  680. public const int RepeatedFixed64FieldNumber = 38;
  681. private static readonly pb::FieldCodec<ulong> _repeated_repeatedFixed64_codec
  682. = pb::FieldCodec.ForFixed64(306);
  683. private readonly pbc::RepeatedField<ulong> repeatedFixed64_ = new pbc::RepeatedField<ulong>();
  684. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  685. public pbc::RepeatedField<ulong> RepeatedFixed64 {
  686. get { return repeatedFixed64_; }
  687. }
  688. /// <summary>Field number for the "repeated_sfixed32" field.</summary>
  689. public const int RepeatedSfixed32FieldNumber = 39;
  690. private static readonly pb::FieldCodec<int> _repeated_repeatedSfixed32_codec
  691. = pb::FieldCodec.ForSFixed32(314);
  692. private readonly pbc::RepeatedField<int> repeatedSfixed32_ = new pbc::RepeatedField<int>();
  693. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  694. public pbc::RepeatedField<int> RepeatedSfixed32 {
  695. get { return repeatedSfixed32_; }
  696. }
  697. /// <summary>Field number for the "repeated_sfixed64" field.</summary>
  698. public const int RepeatedSfixed64FieldNumber = 40;
  699. private static readonly pb::FieldCodec<long> _repeated_repeatedSfixed64_codec
  700. = pb::FieldCodec.ForSFixed64(322);
  701. private readonly pbc::RepeatedField<long> repeatedSfixed64_ = new pbc::RepeatedField<long>();
  702. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  703. public pbc::RepeatedField<long> RepeatedSfixed64 {
  704. get { return repeatedSfixed64_; }
  705. }
  706. /// <summary>Field number for the "repeated_float" field.</summary>
  707. public const int RepeatedFloatFieldNumber = 41;
  708. private static readonly pb::FieldCodec<float> _repeated_repeatedFloat_codec
  709. = pb::FieldCodec.ForFloat(330);
  710. private readonly pbc::RepeatedField<float> repeatedFloat_ = new pbc::RepeatedField<float>();
  711. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  712. public pbc::RepeatedField<float> RepeatedFloat {
  713. get { return repeatedFloat_; }
  714. }
  715. /// <summary>Field number for the "repeated_double" field.</summary>
  716. public const int RepeatedDoubleFieldNumber = 42;
  717. private static readonly pb::FieldCodec<double> _repeated_repeatedDouble_codec
  718. = pb::FieldCodec.ForDouble(338);
  719. private readonly pbc::RepeatedField<double> repeatedDouble_ = new pbc::RepeatedField<double>();
  720. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  721. public pbc::RepeatedField<double> RepeatedDouble {
  722. get { return repeatedDouble_; }
  723. }
  724. /// <summary>Field number for the "repeated_bool" field.</summary>
  725. public const int RepeatedBoolFieldNumber = 43;
  726. private static readonly pb::FieldCodec<bool> _repeated_repeatedBool_codec
  727. = pb::FieldCodec.ForBool(346);
  728. private readonly pbc::RepeatedField<bool> repeatedBool_ = new pbc::RepeatedField<bool>();
  729. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  730. public pbc::RepeatedField<bool> RepeatedBool {
  731. get { return repeatedBool_; }
  732. }
  733. /// <summary>Field number for the "repeated_string" field.</summary>
  734. public const int RepeatedStringFieldNumber = 44;
  735. private static readonly pb::FieldCodec<string> _repeated_repeatedString_codec
  736. = pb::FieldCodec.ForString(354);
  737. private readonly pbc::RepeatedField<string> repeatedString_ = new pbc::RepeatedField<string>();
  738. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  739. public pbc::RepeatedField<string> RepeatedString {
  740. get { return repeatedString_; }
  741. }
  742. /// <summary>Field number for the "repeated_bytes" field.</summary>
  743. public const int RepeatedBytesFieldNumber = 45;
  744. private static readonly pb::FieldCodec<pb::ByteString> _repeated_repeatedBytes_codec
  745. = pb::FieldCodec.ForBytes(362);
  746. private readonly pbc::RepeatedField<pb::ByteString> repeatedBytes_ = new pbc::RepeatedField<pb::ByteString>();
  747. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  748. public pbc::RepeatedField<pb::ByteString> RepeatedBytes {
  749. get { return repeatedBytes_; }
  750. }
  751. /// <summary>Field number for the "repeated_nested_message" field.</summary>
  752. public const int RepeatedNestedMessageFieldNumber = 48;
  753. private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage> _repeated_repeatedNestedMessage_codec
  754. = pb::FieldCodec.ForMessage(386, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage.Parser);
  755. private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage> repeatedNestedMessage_ = new pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage>();
  756. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  757. public pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage> RepeatedNestedMessage {
  758. get { return repeatedNestedMessage_; }
  759. }
  760. /// <summary>Field number for the "repeated_foreign_message" field.</summary>
  761. public const int RepeatedForeignMessageFieldNumber = 49;
  762. private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto3.ForeignMessage> _repeated_repeatedForeignMessage_codec
  763. = pb::FieldCodec.ForMessage(394, global::ProtobufTestMessages.Proto3.ForeignMessage.Parser);
  764. private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto3.ForeignMessage> repeatedForeignMessage_ = new pbc::RepeatedField<global::ProtobufTestMessages.Proto3.ForeignMessage>();
  765. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  766. public pbc::RepeatedField<global::ProtobufTestMessages.Proto3.ForeignMessage> RepeatedForeignMessage {
  767. get { return repeatedForeignMessage_; }
  768. }
  769. /// <summary>Field number for the "repeated_nested_enum" field.</summary>
  770. public const int RepeatedNestedEnumFieldNumber = 51;
  771. private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum> _repeated_repeatedNestedEnum_codec
  772. = pb::FieldCodec.ForEnum(410, x => (int) x, x => (global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum) x);
  773. private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum> repeatedNestedEnum_ = new pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum>();
  774. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  775. public pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum> RepeatedNestedEnum {
  776. get { return repeatedNestedEnum_; }
  777. }
  778. /// <summary>Field number for the "repeated_foreign_enum" field.</summary>
  779. public const int RepeatedForeignEnumFieldNumber = 52;
  780. private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto3.ForeignEnum> _repeated_repeatedForeignEnum_codec
  781. = pb::FieldCodec.ForEnum(418, x => (int) x, x => (global::ProtobufTestMessages.Proto3.ForeignEnum) x);
  782. private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto3.ForeignEnum> repeatedForeignEnum_ = new pbc::RepeatedField<global::ProtobufTestMessages.Proto3.ForeignEnum>();
  783. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  784. public pbc::RepeatedField<global::ProtobufTestMessages.Proto3.ForeignEnum> RepeatedForeignEnum {
  785. get { return repeatedForeignEnum_; }
  786. }
  787. /// <summary>Field number for the "repeated_string_piece" field.</summary>
  788. public const int RepeatedStringPieceFieldNumber = 54;
  789. private static readonly pb::FieldCodec<string> _repeated_repeatedStringPiece_codec
  790. = pb::FieldCodec.ForString(434);
  791. private readonly pbc::RepeatedField<string> repeatedStringPiece_ = new pbc::RepeatedField<string>();
  792. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  793. public pbc::RepeatedField<string> RepeatedStringPiece {
  794. get { return repeatedStringPiece_; }
  795. }
  796. /// <summary>Field number for the "repeated_cord" field.</summary>
  797. public const int RepeatedCordFieldNumber = 55;
  798. private static readonly pb::FieldCodec<string> _repeated_repeatedCord_codec
  799. = pb::FieldCodec.ForString(442);
  800. private readonly pbc::RepeatedField<string> repeatedCord_ = new pbc::RepeatedField<string>();
  801. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  802. public pbc::RepeatedField<string> RepeatedCord {
  803. get { return repeatedCord_; }
  804. }
  805. /// <summary>Field number for the "map_int32_int32" field.</summary>
  806. public const int MapInt32Int32FieldNumber = 56;
  807. private static readonly pbc::MapField<int, int>.Codec _map_mapInt32Int32_codec
  808. = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForInt32(16), 450);
  809. private readonly pbc::MapField<int, int> mapInt32Int32_ = new pbc::MapField<int, int>();
  810. /// <summary>
  811. /// Map
  812. /// </summary>
  813. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  814. public pbc::MapField<int, int> MapInt32Int32 {
  815. get { return mapInt32Int32_; }
  816. }
  817. /// <summary>Field number for the "map_int64_int64" field.</summary>
  818. public const int MapInt64Int64FieldNumber = 57;
  819. private static readonly pbc::MapField<long, long>.Codec _map_mapInt64Int64_codec
  820. = new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForInt64(8), pb::FieldCodec.ForInt64(16), 458);
  821. private readonly pbc::MapField<long, long> mapInt64Int64_ = new pbc::MapField<long, long>();
  822. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  823. public pbc::MapField<long, long> MapInt64Int64 {
  824. get { return mapInt64Int64_; }
  825. }
  826. /// <summary>Field number for the "map_uint32_uint32" field.</summary>
  827. public const int MapUint32Uint32FieldNumber = 58;
  828. private static readonly pbc::MapField<uint, uint>.Codec _map_mapUint32Uint32_codec
  829. = new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8), pb::FieldCodec.ForUInt32(16), 466);
  830. private readonly pbc::MapField<uint, uint> mapUint32Uint32_ = new pbc::MapField<uint, uint>();
  831. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  832. public pbc::MapField<uint, uint> MapUint32Uint32 {
  833. get { return mapUint32Uint32_; }
  834. }
  835. /// <summary>Field number for the "map_uint64_uint64" field.</summary>
  836. public const int MapUint64Uint64FieldNumber = 59;
  837. private static readonly pbc::MapField<ulong, ulong>.Codec _map_mapUint64Uint64_codec
  838. = new pbc::MapField<ulong, ulong>.Codec(pb::FieldCodec.ForUInt64(8), pb::FieldCodec.ForUInt64(16), 474);
  839. private readonly pbc::MapField<ulong, ulong> mapUint64Uint64_ = new pbc::MapField<ulong, ulong>();
  840. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  841. public pbc::MapField<ulong, ulong> MapUint64Uint64 {
  842. get { return mapUint64Uint64_; }
  843. }
  844. /// <summary>Field number for the "map_sint32_sint32" field.</summary>
  845. public const int MapSint32Sint32FieldNumber = 60;
  846. private static readonly pbc::MapField<int, int>.Codec _map_mapSint32Sint32_codec
  847. = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForSInt32(8), pb::FieldCodec.ForSInt32(16), 482);
  848. private readonly pbc::MapField<int, int> mapSint32Sint32_ = new pbc::MapField<int, int>();
  849. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  850. public pbc::MapField<int, int> MapSint32Sint32 {
  851. get { return mapSint32Sint32_; }
  852. }
  853. /// <summary>Field number for the "map_sint64_sint64" field.</summary>
  854. public const int MapSint64Sint64FieldNumber = 61;
  855. private static readonly pbc::MapField<long, long>.Codec _map_mapSint64Sint64_codec
  856. = new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForSInt64(8), pb::FieldCodec.ForSInt64(16), 490);
  857. private readonly pbc::MapField<long, long> mapSint64Sint64_ = new pbc::MapField<long, long>();
  858. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  859. public pbc::MapField<long, long> MapSint64Sint64 {
  860. get { return mapSint64Sint64_; }
  861. }
  862. /// <summary>Field number for the "map_fixed32_fixed32" field.</summary>
  863. public const int MapFixed32Fixed32FieldNumber = 62;
  864. private static readonly pbc::MapField<uint, uint>.Codec _map_mapFixed32Fixed32_codec
  865. = new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForFixed32(13), pb::FieldCodec.ForFixed32(21), 498);
  866. private readonly pbc::MapField<uint, uint> mapFixed32Fixed32_ = new pbc::MapField<uint, uint>();
  867. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  868. public pbc::MapField<uint, uint> MapFixed32Fixed32 {
  869. get { return mapFixed32Fixed32_; }
  870. }
  871. /// <summary>Field number for the "map_fixed64_fixed64" field.</summary>
  872. public const int MapFixed64Fixed64FieldNumber = 63;
  873. private static readonly pbc::MapField<ulong, ulong>.Codec _map_mapFixed64Fixed64_codec
  874. = new pbc::MapField<ulong, ulong>.Codec(pb::FieldCodec.ForFixed64(9), pb::FieldCodec.ForFixed64(17), 506);
  875. private readonly pbc::MapField<ulong, ulong> mapFixed64Fixed64_ = new pbc::MapField<ulong, ulong>();
  876. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  877. public pbc::MapField<ulong, ulong> MapFixed64Fixed64 {
  878. get { return mapFixed64Fixed64_; }
  879. }
  880. /// <summary>Field number for the "map_sfixed32_sfixed32" field.</summary>
  881. public const int MapSfixed32Sfixed32FieldNumber = 64;
  882. private static readonly pbc::MapField<int, int>.Codec _map_mapSfixed32Sfixed32_codec
  883. = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForSFixed32(13), pb::FieldCodec.ForSFixed32(21), 514);
  884. private readonly pbc::MapField<int, int> mapSfixed32Sfixed32_ = new pbc::MapField<int, int>();
  885. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  886. public pbc::MapField<int, int> MapSfixed32Sfixed32 {
  887. get { return mapSfixed32Sfixed32_; }
  888. }
  889. /// <summary>Field number for the "map_sfixed64_sfixed64" field.</summary>
  890. public const int MapSfixed64Sfixed64FieldNumber = 65;
  891. private static readonly pbc::MapField<long, long>.Codec _map_mapSfixed64Sfixed64_codec
  892. = new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForSFixed64(9), pb::FieldCodec.ForSFixed64(17), 522);
  893. private readonly pbc::MapField<long, long> mapSfixed64Sfixed64_ = new pbc::MapField<long, long>();
  894. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  895. public pbc::MapField<long, long> MapSfixed64Sfixed64 {
  896. get { return mapSfixed64Sfixed64_; }
  897. }
  898. /// <summary>Field number for the "map_int32_float" field.</summary>
  899. public const int MapInt32FloatFieldNumber = 66;
  900. private static readonly pbc::MapField<int, float>.Codec _map_mapInt32Float_codec
  901. = new pbc::MapField<int, float>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForFloat(21), 530);
  902. private readonly pbc::MapField<int, float> mapInt32Float_ = new pbc::MapField<int, float>();
  903. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  904. public pbc::MapField<int, float> MapInt32Float {
  905. get { return mapInt32Float_; }
  906. }
  907. /// <summary>Field number for the "map_int32_double" field.</summary>
  908. public const int MapInt32DoubleFieldNumber = 67;
  909. private static readonly pbc::MapField<int, double>.Codec _map_mapInt32Double_codec
  910. = new pbc::MapField<int, double>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForDouble(17), 538);
  911. private readonly pbc::MapField<int, double> mapInt32Double_ = new pbc::MapField<int, double>();
  912. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  913. public pbc::MapField<int, double> MapInt32Double {
  914. get { return mapInt32Double_; }
  915. }
  916. /// <summary>Field number for the "map_bool_bool" field.</summary>
  917. public const int MapBoolBoolFieldNumber = 68;
  918. private static readonly pbc::MapField<bool, bool>.Codec _map_mapBoolBool_codec
  919. = new pbc::MapField<bool, bool>.Codec(pb::FieldCodec.ForBool(8), pb::FieldCodec.ForBool(16), 546);
  920. private readonly pbc::MapField<bool, bool> mapBoolBool_ = new pbc::MapField<bool, bool>();
  921. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  922. public pbc::MapField<bool, bool> MapBoolBool {
  923. get { return mapBoolBool_; }
  924. }
  925. /// <summary>Field number for the "map_string_string" field.</summary>
  926. public const int MapStringStringFieldNumber = 69;
  927. private static readonly pbc::MapField<string, string>.Codec _map_mapStringString_codec
  928. = new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForString(18), 554);
  929. private readonly pbc::MapField<string, string> mapStringString_ = new pbc::MapField<string, string>();
  930. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  931. public pbc::MapField<string, string> MapStringString {
  932. get { return mapStringString_; }
  933. }
  934. /// <summary>Field number for the "map_string_bytes" field.</summary>
  935. public const int MapStringBytesFieldNumber = 70;
  936. private static readonly pbc::MapField<string, pb::ByteString>.Codec _map_mapStringBytes_codec
  937. = new pbc::MapField<string, pb::ByteString>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForBytes(18), 562);
  938. private readonly pbc::MapField<string, pb::ByteString> mapStringBytes_ = new pbc::MapField<string, pb::ByteString>();
  939. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  940. public pbc::MapField<string, pb::ByteString> MapStringBytes {
  941. get { return mapStringBytes_; }
  942. }
  943. /// <summary>Field number for the "map_string_nested_message" field.</summary>
  944. public const int MapStringNestedMessageFieldNumber = 71;
  945. private static readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage>.Codec _map_mapStringNestedMessage_codec
  946. = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForMessage(18, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage.Parser), 570);
  947. private readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage> mapStringNestedMessage_ = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage>();
  948. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  949. public pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage> MapStringNestedMessage {
  950. get { return mapStringNestedMessage_; }
  951. }
  952. /// <summary>Field number for the "map_string_foreign_message" field.</summary>
  953. public const int MapStringForeignMessageFieldNumber = 72;
  954. private static readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignMessage>.Codec _map_mapStringForeignMessage_codec
  955. = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignMessage>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForMessage(18, global::ProtobufTestMessages.Proto3.ForeignMessage.Parser), 578);
  956. private readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignMessage> mapStringForeignMessage_ = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignMessage>();
  957. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  958. public pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignMessage> MapStringForeignMessage {
  959. get { return mapStringForeignMessage_; }
  960. }
  961. /// <summary>Field number for the "map_string_nested_enum" field.</summary>
  962. public const int MapStringNestedEnumFieldNumber = 73;
  963. private static readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum>.Codec _map_mapStringNestedEnum_codec
  964. = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForEnum(16, x => (int) x, x => (global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum) x), 586);
  965. private readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum> mapStringNestedEnum_ = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum>();
  966. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  967. public pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum> MapStringNestedEnum {
  968. get { return mapStringNestedEnum_; }
  969. }
  970. /// <summary>Field number for the "map_string_foreign_enum" field.</summary>
  971. public const int MapStringForeignEnumFieldNumber = 74;
  972. private static readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignEnum>.Codec _map_mapStringForeignEnum_codec
  973. = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignEnum>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForEnum(16, x => (int) x, x => (global::ProtobufTestMessages.Proto3.ForeignEnum) x), 594);
  974. private readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignEnum> mapStringForeignEnum_ = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignEnum>();
  975. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  976. public pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignEnum> MapStringForeignEnum {
  977. get { return mapStringForeignEnum_; }
  978. }
  979. /// <summary>Field number for the "oneof_uint32" field.</summary>
  980. public const int OneofUint32FieldNumber = 111;
  981. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  982. public uint OneofUint32 {
  983. get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32 ? (uint) oneofField_ : 0; }
  984. set {
  985. oneofField_ = value;
  986. oneofFieldCase_ = OneofFieldOneofCase.OneofUint32;
  987. }
  988. }
  989. /// <summary>Field number for the "oneof_nested_message" field.</summary>
  990. public const int OneofNestedMessageFieldNumber = 112;
  991. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  992. public global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage OneofNestedMessage {
  993. get { return oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage ? (global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage) oneofField_ : null; }
  994. set {
  995. oneofField_ = value;
  996. oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldOneofCase.OneofNestedMessage;
  997. }
  998. }
  999. /// <summary>Field number for the "oneof_string" field.</summary>
  1000. public const int OneofStringFieldNumber = 113;
  1001. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1002. public string OneofString {
  1003. get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString ? (string) oneofField_ : ""; }
  1004. set {
  1005. oneofField_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1006. oneofFieldCase_ = OneofFieldOneofCase.OneofString;
  1007. }
  1008. }
  1009. /// <summary>Field number for the "oneof_bytes" field.</summary>
  1010. public const int OneofBytesFieldNumber = 114;
  1011. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1012. public pb::ByteString OneofBytes {
  1013. get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBytes ? (pb::ByteString) oneofField_ : pb::ByteString.Empty; }
  1014. set {
  1015. oneofField_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1016. oneofFieldCase_ = OneofFieldOneofCase.OneofBytes;
  1017. }
  1018. }
  1019. /// <summary>Field number for the "oneof_bool" field.</summary>
  1020. public const int OneofBoolFieldNumber = 115;
  1021. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1022. public bool OneofBool {
  1023. get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBool ? (bool) oneofField_ : false; }
  1024. set {
  1025. oneofField_ = value;
  1026. oneofFieldCase_ = OneofFieldOneofCase.OneofBool;
  1027. }
  1028. }
  1029. /// <summary>Field number for the "oneof_uint64" field.</summary>
  1030. public const int OneofUint64FieldNumber = 116;
  1031. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1032. public ulong OneofUint64 {
  1033. get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint64 ? (ulong) oneofField_ : 0UL; }
  1034. set {
  1035. oneofField_ = value;
  1036. oneofFieldCase_ = OneofFieldOneofCase.OneofUint64;
  1037. }
  1038. }
  1039. /// <summary>Field number for the "oneof_float" field.</summary>
  1040. public const int OneofFloatFieldNumber = 117;
  1041. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1042. public float OneofFloat {
  1043. get { return oneofFieldCase_ == OneofFieldOneofCase.OneofFloat ? (float) oneofField_ : 0F; }
  1044. set {
  1045. oneofField_ = value;
  1046. oneofFieldCase_ = OneofFieldOneofCase.OneofFloat;
  1047. }
  1048. }
  1049. /// <summary>Field number for the "oneof_double" field.</summary>
  1050. public const int OneofDoubleFieldNumber = 118;
  1051. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1052. public double OneofDouble {
  1053. get { return oneofFieldCase_ == OneofFieldOneofCase.OneofDouble ? (double) oneofField_ : 0D; }
  1054. set {
  1055. oneofField_ = value;
  1056. oneofFieldCase_ = OneofFieldOneofCase.OneofDouble;
  1057. }
  1058. }
  1059. /// <summary>Field number for the "oneof_enum" field.</summary>
  1060. public const int OneofEnumFieldNumber = 119;
  1061. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1062. public global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum OneofEnum {
  1063. get { return oneofFieldCase_ == OneofFieldOneofCase.OneofEnum ? (global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum) oneofField_ : 0; }
  1064. set {
  1065. oneofField_ = value;
  1066. oneofFieldCase_ = OneofFieldOneofCase.OneofEnum;
  1067. }
  1068. }
  1069. /// <summary>Field number for the "optional_bool_wrapper" field.</summary>
  1070. public const int OptionalBoolWrapperFieldNumber = 201;
  1071. private static readonly pb::FieldCodec<bool?> _single_optionalBoolWrapper_codec = pb::FieldCodec.ForStructWrapper<bool>(1610);
  1072. private bool? optionalBoolWrapper_;
  1073. /// <summary>
  1074. /// Well-known types
  1075. /// </summary>
  1076. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1077. public bool? OptionalBoolWrapper {
  1078. get { return optionalBoolWrapper_; }
  1079. set {
  1080. optionalBoolWrapper_ = value;
  1081. }
  1082. }
  1083. /// <summary>Field number for the "optional_int32_wrapper" field.</summary>
  1084. public const int OptionalInt32WrapperFieldNumber = 202;
  1085. private static readonly pb::FieldCodec<int?> _single_optionalInt32Wrapper_codec = pb::FieldCodec.ForStructWrapper<int>(1618);
  1086. private int? optionalInt32Wrapper_;
  1087. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1088. public int? OptionalInt32Wrapper {
  1089. get { return optionalInt32Wrapper_; }
  1090. set {
  1091. optionalInt32Wrapper_ = value;
  1092. }
  1093. }
  1094. /// <summary>Field number for the "optional_int64_wrapper" field.</summary>
  1095. public const int OptionalInt64WrapperFieldNumber = 203;
  1096. private static readonly pb::FieldCodec<long?> _single_optionalInt64Wrapper_codec = pb::FieldCodec.ForStructWrapper<long>(1626);
  1097. private long? optionalInt64Wrapper_;
  1098. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1099. public long? OptionalInt64Wrapper {
  1100. get { return optionalInt64Wrapper_; }
  1101. set {
  1102. optionalInt64Wrapper_ = value;
  1103. }
  1104. }
  1105. /// <summary>Field number for the "optional_uint32_wrapper" field.</summary>
  1106. public const int OptionalUint32WrapperFieldNumber = 204;
  1107. private static readonly pb::FieldCodec<uint?> _single_optionalUint32Wrapper_codec = pb::FieldCodec.ForStructWrapper<uint>(1634);
  1108. private uint? optionalUint32Wrapper_;
  1109. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1110. public uint? OptionalUint32Wrapper {
  1111. get { return optionalUint32Wrapper_; }
  1112. set {
  1113. optionalUint32Wrapper_ = value;
  1114. }
  1115. }
  1116. /// <summary>Field number for the "optional_uint64_wrapper" field.</summary>
  1117. public const int OptionalUint64WrapperFieldNumber = 205;
  1118. private static readonly pb::FieldCodec<ulong?> _single_optionalUint64Wrapper_codec = pb::FieldCodec.ForStructWrapper<ulong>(1642);
  1119. private ulong? optionalUint64Wrapper_;
  1120. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1121. public ulong? OptionalUint64Wrapper {
  1122. get { return optionalUint64Wrapper_; }
  1123. set {
  1124. optionalUint64Wrapper_ = value;
  1125. }
  1126. }
  1127. /// <summary>Field number for the "optional_float_wrapper" field.</summary>
  1128. public const int OptionalFloatWrapperFieldNumber = 206;
  1129. private static readonly pb::FieldCodec<float?> _single_optionalFloatWrapper_codec = pb::FieldCodec.ForStructWrapper<float>(1650);
  1130. private float? optionalFloatWrapper_;
  1131. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1132. public float? OptionalFloatWrapper {
  1133. get { return optionalFloatWrapper_; }
  1134. set {
  1135. optionalFloatWrapper_ = value;
  1136. }
  1137. }
  1138. /// <summary>Field number for the "optional_double_wrapper" field.</summary>
  1139. public const int OptionalDoubleWrapperFieldNumber = 207;
  1140. private static readonly pb::FieldCodec<double?> _single_optionalDoubleWrapper_codec = pb::FieldCodec.ForStructWrapper<double>(1658);
  1141. private double? optionalDoubleWrapper_;
  1142. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1143. public double? OptionalDoubleWrapper {
  1144. get { return optionalDoubleWrapper_; }
  1145. set {
  1146. optionalDoubleWrapper_ = value;
  1147. }
  1148. }
  1149. /// <summary>Field number for the "optional_string_wrapper" field.</summary>
  1150. public const int OptionalStringWrapperFieldNumber = 208;
  1151. private static readonly pb::FieldCodec<string> _single_optionalStringWrapper_codec = pb::FieldCodec.ForClassWrapper<string>(1666);
  1152. private string optionalStringWrapper_;
  1153. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1154. public string OptionalStringWrapper {
  1155. get { return optionalStringWrapper_; }
  1156. set {
  1157. optionalStringWrapper_ = value;
  1158. }
  1159. }
  1160. /// <summary>Field number for the "optional_bytes_wrapper" field.</summary>
  1161. public const int OptionalBytesWrapperFieldNumber = 209;
  1162. private static readonly pb::FieldCodec<pb::ByteString> _single_optionalBytesWrapper_codec = pb::FieldCodec.ForClassWrapper<pb::ByteString>(1674);
  1163. private pb::ByteString optionalBytesWrapper_;
  1164. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1165. public pb::ByteString OptionalBytesWrapper {
  1166. get { return optionalBytesWrapper_; }
  1167. set {
  1168. optionalBytesWrapper_ = value;
  1169. }
  1170. }
  1171. /// <summary>Field number for the "repeated_bool_wrapper" field.</summary>
  1172. public const int RepeatedBoolWrapperFieldNumber = 211;
  1173. private static readonly pb::FieldCodec<bool?> _repeated_repeatedBoolWrapper_codec
  1174. = pb::FieldCodec.ForStructWrapper<bool>(1690);
  1175. private readonly pbc::RepeatedField<bool?> repeatedBoolWrapper_ = new pbc::RepeatedField<bool?>();
  1176. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1177. public pbc::RepeatedField<bool?> RepeatedBoolWrapper {
  1178. get { return repeatedBoolWrapper_; }
  1179. }
  1180. /// <summary>Field number for the "repeated_int32_wrapper" field.</summary>
  1181. public const int RepeatedInt32WrapperFieldNumber = 212;
  1182. private static readonly pb::FieldCodec<int?> _repeated_repeatedInt32Wrapper_codec
  1183. = pb::FieldCodec.ForStructWrapper<int>(1698);
  1184. private readonly pbc::RepeatedField<int?> repeatedInt32Wrapper_ = new pbc::RepeatedField<int?>();
  1185. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1186. public pbc::RepeatedField<int?> RepeatedInt32Wrapper {
  1187. get { return repeatedInt32Wrapper_; }
  1188. }
  1189. /// <summary>Field number for the "repeated_int64_wrapper" field.</summary>
  1190. public const int RepeatedInt64WrapperFieldNumber = 213;
  1191. private static readonly pb::FieldCodec<long?> _repeated_repeatedInt64Wrapper_codec
  1192. = pb::FieldCodec.ForStructWrapper<long>(1706);
  1193. private readonly pbc::RepeatedField<long?> repeatedInt64Wrapper_ = new pbc::RepeatedField<long?>();
  1194. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1195. public pbc::RepeatedField<long?> RepeatedInt64Wrapper {
  1196. get { return repeatedInt64Wrapper_; }
  1197. }
  1198. /// <summary>Field number for the "repeated_uint32_wrapper" field.</summary>
  1199. public const int RepeatedUint32WrapperFieldNumber = 214;
  1200. private static readonly pb::FieldCodec<uint?> _repeated_repeatedUint32Wrapper_codec
  1201. = pb::FieldCodec.ForStructWrapper<uint>(1714);
  1202. private readonly pbc::RepeatedField<uint?> repeatedUint32Wrapper_ = new pbc::RepeatedField<uint?>();
  1203. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1204. public pbc::RepeatedField<uint?> RepeatedUint32Wrapper {
  1205. get { return repeatedUint32Wrapper_; }
  1206. }
  1207. /// <summary>Field number for the "repeated_uint64_wrapper" field.</summary>
  1208. public const int RepeatedUint64WrapperFieldNumber = 215;
  1209. private static readonly pb::FieldCodec<ulong?> _repeated_repeatedUint64Wrapper_codec
  1210. = pb::FieldCodec.ForStructWrapper<ulong>(1722);
  1211. private readonly pbc::RepeatedField<ulong?> repeatedUint64Wrapper_ = new pbc::RepeatedField<ulong?>();
  1212. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1213. public pbc::RepeatedField<ulong?> RepeatedUint64Wrapper {
  1214. get { return repeatedUint64Wrapper_; }
  1215. }
  1216. /// <summary>Field number for the "repeated_float_wrapper" field.</summary>
  1217. public const int RepeatedFloatWrapperFieldNumber = 216;
  1218. private static readonly pb::FieldCodec<float?> _repeated_repeatedFloatWrapper_codec
  1219. = pb::FieldCodec.ForStructWrapper<float>(1730);
  1220. private readonly pbc::RepeatedField<float?> repeatedFloatWrapper_ = new pbc::RepeatedField<float?>();
  1221. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1222. public pbc::RepeatedField<float?> RepeatedFloatWrapper {
  1223. get { return repeatedFloatWrapper_; }
  1224. }
  1225. /// <summary>Field number for the "repeated_double_wrapper" field.</summary>
  1226. public const int RepeatedDoubleWrapperFieldNumber = 217;
  1227. private static readonly pb::FieldCodec<double?> _repeated_repeatedDoubleWrapper_codec
  1228. = pb::FieldCodec.ForStructWrapper<double>(1738);
  1229. private readonly pbc::RepeatedField<double?> repeatedDoubleWrapper_ = new pbc::RepeatedField<double?>();
  1230. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1231. public pbc::RepeatedField<double?> RepeatedDoubleWrapper {
  1232. get { return repeatedDoubleWrapper_; }
  1233. }
  1234. /// <summary>Field number for the "repeated_string_wrapper" field.</summary>
  1235. public const int RepeatedStringWrapperFieldNumber = 218;
  1236. private static readonly pb::FieldCodec<string> _repeated_repeatedStringWrapper_codec
  1237. = pb::FieldCodec.ForClassWrapper<string>(1746);
  1238. private readonly pbc::RepeatedField<string> repeatedStringWrapper_ = new pbc::RepeatedField<string>();
  1239. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1240. public pbc::RepeatedField<string> RepeatedStringWrapper {
  1241. get { return repeatedStringWrapper_; }
  1242. }
  1243. /// <summary>Field number for the "repeated_bytes_wrapper" field.</summary>
  1244. public const int RepeatedBytesWrapperFieldNumber = 219;
  1245. private static readonly pb::FieldCodec<pb::ByteString> _repeated_repeatedBytesWrapper_codec
  1246. = pb::FieldCodec.ForClassWrapper<pb::ByteString>(1754);
  1247. private readonly pbc::RepeatedField<pb::ByteString> repeatedBytesWrapper_ = new pbc::RepeatedField<pb::ByteString>();
  1248. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1249. public pbc::RepeatedField<pb::ByteString> RepeatedBytesWrapper {
  1250. get { return repeatedBytesWrapper_; }
  1251. }
  1252. /// <summary>Field number for the "optional_duration" field.</summary>
  1253. public const int OptionalDurationFieldNumber = 301;
  1254. private global::Google.Protobuf.WellKnownTypes.Duration optionalDuration_;
  1255. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1256. public global::Google.Protobuf.WellKnownTypes.Duration OptionalDuration {
  1257. get { return optionalDuration_; }
  1258. set {
  1259. optionalDuration_ = value;
  1260. }
  1261. }
  1262. /// <summary>Field number for the "optional_timestamp" field.</summary>
  1263. public const int OptionalTimestampFieldNumber = 302;
  1264. private global::Google.Protobuf.WellKnownTypes.Timestamp optionalTimestamp_;
  1265. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1266. public global::Google.Protobuf.WellKnownTypes.Timestamp OptionalTimestamp {
  1267. get { return optionalTimestamp_; }
  1268. set {
  1269. optionalTimestamp_ = value;
  1270. }
  1271. }
  1272. /// <summary>Field number for the "optional_field_mask" field.</summary>
  1273. public const int OptionalFieldMaskFieldNumber = 303;
  1274. private global::Google.Protobuf.WellKnownTypes.FieldMask optionalFieldMask_;
  1275. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1276. public global::Google.Protobuf.WellKnownTypes.FieldMask OptionalFieldMask {
  1277. get { return optionalFieldMask_; }
  1278. set {
  1279. optionalFieldMask_ = value;
  1280. }
  1281. }
  1282. /// <summary>Field number for the "optional_struct" field.</summary>
  1283. public const int OptionalStructFieldNumber = 304;
  1284. private global::Google.Protobuf.WellKnownTypes.Struct optionalStruct_;
  1285. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1286. public global::Google.Protobuf.WellKnownTypes.Struct OptionalStruct {
  1287. get { return optionalStruct_; }
  1288. set {
  1289. optionalStruct_ = value;
  1290. }
  1291. }
  1292. /// <summary>Field number for the "optional_any" field.</summary>
  1293. public const int OptionalAnyFieldNumber = 305;
  1294. private global::Google.Protobuf.WellKnownTypes.Any optionalAny_;
  1295. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1296. public global::Google.Protobuf.WellKnownTypes.Any OptionalAny {
  1297. get { return optionalAny_; }
  1298. set {
  1299. optionalAny_ = value;
  1300. }
  1301. }
  1302. /// <summary>Field number for the "optional_value" field.</summary>
  1303. public const int OptionalValueFieldNumber = 306;
  1304. private global::Google.Protobuf.WellKnownTypes.Value optionalValue_;
  1305. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1306. public global::Google.Protobuf.WellKnownTypes.Value OptionalValue {
  1307. get { return optionalValue_; }
  1308. set {
  1309. optionalValue_ = value;
  1310. }
  1311. }
  1312. /// <summary>Field number for the "repeated_duration" field.</summary>
  1313. public const int RepeatedDurationFieldNumber = 311;
  1314. private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Duration> _repeated_repeatedDuration_codec
  1315. = pb::FieldCodec.ForMessage(2490, global::Google.Protobuf.WellKnownTypes.Duration.Parser);
  1316. private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration> repeatedDuration_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration>();
  1317. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1318. public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration> RepeatedDuration {
  1319. get { return repeatedDuration_; }
  1320. }
  1321. /// <summary>Field number for the "repeated_timestamp" field.</summary>
  1322. public const int RepeatedTimestampFieldNumber = 312;
  1323. private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Timestamp> _repeated_repeatedTimestamp_codec
  1324. = pb::FieldCodec.ForMessage(2498, global::Google.Protobuf.WellKnownTypes.Timestamp.Parser);
  1325. private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp> repeatedTimestamp_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp>();
  1326. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1327. public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp> RepeatedTimestamp {
  1328. get { return repeatedTimestamp_; }
  1329. }
  1330. /// <summary>Field number for the "repeated_fieldmask" field.</summary>
  1331. public const int RepeatedFieldmaskFieldNumber = 313;
  1332. private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.FieldMask> _repeated_repeatedFieldmask_codec
  1333. = pb::FieldCodec.ForMessage(2506, global::Google.Protobuf.WellKnownTypes.FieldMask.Parser);
  1334. private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask> repeatedFieldmask_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask>();
  1335. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1336. public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask> RepeatedFieldmask {
  1337. get { return repeatedFieldmask_; }
  1338. }
  1339. /// <summary>Field number for the "repeated_struct" field.</summary>
  1340. public const int RepeatedStructFieldNumber = 324;
  1341. private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Struct> _repeated_repeatedStruct_codec
  1342. = pb::FieldCodec.ForMessage(2594, global::Google.Protobuf.WellKnownTypes.Struct.Parser);
  1343. private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct> repeatedStruct_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct>();
  1344. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1345. public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct> RepeatedStruct {
  1346. get { return repeatedStruct_; }
  1347. }
  1348. /// <summary>Field number for the "repeated_any" field.</summary>
  1349. public const int RepeatedAnyFieldNumber = 315;
  1350. private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Any> _repeated_repeatedAny_codec
  1351. = pb::FieldCodec.ForMessage(2522, global::Google.Protobuf.WellKnownTypes.Any.Parser);
  1352. private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> repeatedAny_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any>();
  1353. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1354. public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> RepeatedAny {
  1355. get { return repeatedAny_; }
  1356. }
  1357. /// <summary>Field number for the "repeated_value" field.</summary>
  1358. public const int RepeatedValueFieldNumber = 316;
  1359. private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Value> _repeated_repeatedValue_codec
  1360. = pb::FieldCodec.ForMessage(2530, global::Google.Protobuf.WellKnownTypes.Value.Parser);
  1361. private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value> repeatedValue_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value>();
  1362. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1363. public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value> RepeatedValue {
  1364. get { return repeatedValue_; }
  1365. }
  1366. /// <summary>Field number for the "fieldname1" field.</summary>
  1367. public const int Fieldname1FieldNumber = 401;
  1368. private int fieldname1_;
  1369. /// <summary>
  1370. /// Test field-name-to-JSON-name convention.
  1371. /// (protobuf says names can be any valid C/C++ identifier.)
  1372. /// </summary>
  1373. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1374. public int Fieldname1 {
  1375. get { return fieldname1_; }
  1376. set {
  1377. fieldname1_ = value;
  1378. }
  1379. }
  1380. /// <summary>Field number for the "field_name2" field.</summary>
  1381. public const int FieldName2FieldNumber = 402;
  1382. private int fieldName2_;
  1383. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1384. public int FieldName2 {
  1385. get { return fieldName2_; }
  1386. set {
  1387. fieldName2_ = value;
  1388. }
  1389. }
  1390. /// <summary>Field number for the "_field_name3" field.</summary>
  1391. public const int FieldName3FieldNumber = 403;
  1392. private int FieldName3_;
  1393. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1394. public int FieldName3 {
  1395. get { return FieldName3_; }
  1396. set {
  1397. FieldName3_ = value;
  1398. }
  1399. }
  1400. /// <summary>Field number for the "field__name4_" field.</summary>
  1401. public const int FieldName4FieldNumber = 404;
  1402. private int fieldName4_;
  1403. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1404. public int FieldName4 {
  1405. get { return fieldName4_; }
  1406. set {
  1407. fieldName4_ = value;
  1408. }
  1409. }
  1410. /// <summary>Field number for the "field0name5" field.</summary>
  1411. public const int Field0Name5FieldNumber = 405;
  1412. private int field0Name5_;
  1413. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1414. public int Field0Name5 {
  1415. get { return field0Name5_; }
  1416. set {
  1417. field0Name5_ = value;
  1418. }
  1419. }
  1420. /// <summary>Field number for the "field_0_name6" field.</summary>
  1421. public const int Field0Name6FieldNumber = 406;
  1422. private int field0Name6_;
  1423. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1424. public int Field0Name6 {
  1425. get { return field0Name6_; }
  1426. set {
  1427. field0Name6_ = value;
  1428. }
  1429. }
  1430. /// <summary>Field number for the "fieldName7" field.</summary>
  1431. public const int FieldName7FieldNumber = 407;
  1432. private int fieldName7_;
  1433. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1434. public int FieldName7 {
  1435. get { return fieldName7_; }
  1436. set {
  1437. fieldName7_ = value;
  1438. }
  1439. }
  1440. /// <summary>Field number for the "FieldName8" field.</summary>
  1441. public const int FieldName8FieldNumber = 408;
  1442. private int fieldName8_;
  1443. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1444. public int FieldName8 {
  1445. get { return fieldName8_; }
  1446. set {
  1447. fieldName8_ = value;
  1448. }
  1449. }
  1450. /// <summary>Field number for the "field_Name9" field.</summary>
  1451. public const int FieldName9FieldNumber = 409;
  1452. private int fieldName9_;
  1453. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1454. public int FieldName9 {
  1455. get { return fieldName9_; }
  1456. set {
  1457. fieldName9_ = value;
  1458. }
  1459. }
  1460. /// <summary>Field number for the "Field_Name10" field.</summary>
  1461. public const int FieldName10FieldNumber = 410;
  1462. private int fieldName10_;
  1463. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1464. public int FieldName10 {
  1465. get { return fieldName10_; }
  1466. set {
  1467. fieldName10_ = value;
  1468. }
  1469. }
  1470. /// <summary>Field number for the "FIELD_NAME11" field.</summary>
  1471. public const int FIELDNAME11FieldNumber = 411;
  1472. private int fIELDNAME11_;
  1473. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1474. public int FIELDNAME11 {
  1475. get { return fIELDNAME11_; }
  1476. set {
  1477. fIELDNAME11_ = value;
  1478. }
  1479. }
  1480. /// <summary>Field number for the "FIELD_name12" field.</summary>
  1481. public const int FIELDName12FieldNumber = 412;
  1482. private int fIELDName12_;
  1483. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1484. public int FIELDName12 {
  1485. get { return fIELDName12_; }
  1486. set {
  1487. fIELDName12_ = value;
  1488. }
  1489. }
  1490. /// <summary>Field number for the "__field_name13" field.</summary>
  1491. public const int FieldName13FieldNumber = 413;
  1492. private int FieldName13_;
  1493. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1494. public int FieldName13 {
  1495. get { return FieldName13_; }
  1496. set {
  1497. FieldName13_ = value;
  1498. }
  1499. }
  1500. /// <summary>Field number for the "__Field_name14" field.</summary>
  1501. public const int FieldName14FieldNumber = 414;
  1502. private int FieldName14_;
  1503. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1504. public int FieldName14 {
  1505. get { return FieldName14_; }
  1506. set {
  1507. FieldName14_ = value;
  1508. }
  1509. }
  1510. /// <summary>Field number for the "field__name15" field.</summary>
  1511. public const int FieldName15FieldNumber = 415;
  1512. private int fieldName15_;
  1513. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1514. public int FieldName15 {
  1515. get { return fieldName15_; }
  1516. set {
  1517. fieldName15_ = value;
  1518. }
  1519. }
  1520. /// <summary>Field number for the "field__Name16" field.</summary>
  1521. public const int FieldName16FieldNumber = 416;
  1522. private int fieldName16_;
  1523. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1524. public int FieldName16 {
  1525. get { return fieldName16_; }
  1526. set {
  1527. fieldName16_ = value;
  1528. }
  1529. }
  1530. /// <summary>Field number for the "field_name17__" field.</summary>
  1531. public const int FieldName17FieldNumber = 417;
  1532. private int fieldName17_;
  1533. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1534. public int FieldName17 {
  1535. get { return fieldName17_; }
  1536. set {
  1537. fieldName17_ = value;
  1538. }
  1539. }
  1540. /// <summary>Field number for the "Field_name18__" field.</summary>
  1541. public const int FieldName18FieldNumber = 418;
  1542. private int fieldName18_;
  1543. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1544. public int FieldName18 {
  1545. get { return fieldName18_; }
  1546. set {
  1547. fieldName18_ = value;
  1548. }
  1549. }
  1550. private object oneofField_;
  1551. /// <summary>Enum of possible cases for the "oneof_field" oneof.</summary>
  1552. public enum OneofFieldOneofCase {
  1553. None = 0,
  1554. OneofUint32 = 111,
  1555. OneofNestedMessage = 112,
  1556. OneofString = 113,
  1557. OneofBytes = 114,
  1558. OneofBool = 115,
  1559. OneofUint64 = 116,
  1560. OneofFloat = 117,
  1561. OneofDouble = 118,
  1562. OneofEnum = 119,
  1563. }
  1564. private OneofFieldOneofCase oneofFieldCase_ = OneofFieldOneofCase.None;
  1565. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1566. public OneofFieldOneofCase OneofFieldCase {
  1567. get { return oneofFieldCase_; }
  1568. }
  1569. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1570. public void ClearOneofField() {
  1571. oneofFieldCase_ = OneofFieldOneofCase.None;
  1572. oneofField_ = null;
  1573. }
  1574. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1575. public override bool Equals(object other) {
  1576. return Equals(other as TestAllTypesProto3);
  1577. }
  1578. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1579. public bool Equals(TestAllTypesProto3 other) {
  1580. if (ReferenceEquals(other, null)) {
  1581. return false;
  1582. }
  1583. if (ReferenceEquals(other, this)) {
  1584. return true;
  1585. }
  1586. if (OptionalInt32 != other.OptionalInt32) return false;
  1587. if (OptionalInt64 != other.OptionalInt64) return false;
  1588. if (OptionalUint32 != other.OptionalUint32) return false;
  1589. if (OptionalUint64 != other.OptionalUint64) return false;
  1590. if (OptionalSint32 != other.OptionalSint32) return false;
  1591. if (OptionalSint64 != other.OptionalSint64) return false;
  1592. if (OptionalFixed32 != other.OptionalFixed32) return false;
  1593. if (OptionalFixed64 != other.OptionalFixed64) return false;
  1594. if (OptionalSfixed32 != other.OptionalSfixed32) return false;
  1595. if (OptionalSfixed64 != other.OptionalSfixed64) return false;
  1596. if (OptionalFloat != other.OptionalFloat) return false;
  1597. if (OptionalDouble != other.OptionalDouble) return false;
  1598. if (OptionalBool != other.OptionalBool) return false;
  1599. if (OptionalString != other.OptionalString) return false;
  1600. if (OptionalBytes != other.OptionalBytes) return false;
  1601. if (!object.Equals(OptionalNestedMessage, other.OptionalNestedMessage)) return false;
  1602. if (!object.Equals(OptionalForeignMessage, other.OptionalForeignMessage)) return false;
  1603. if (OptionalNestedEnum != other.OptionalNestedEnum) return false;
  1604. if (OptionalForeignEnum != other.OptionalForeignEnum) return false;
  1605. if (OptionalStringPiece != other.OptionalStringPiece) return false;
  1606. if (OptionalCord != other.OptionalCord) return false;
  1607. if (!object.Equals(RecursiveMessage, other.RecursiveMessage)) return false;
  1608. if(!repeatedInt32_.Equals(other.repeatedInt32_)) return false;
  1609. if(!repeatedInt64_.Equals(other.repeatedInt64_)) return false;
  1610. if(!repeatedUint32_.Equals(other.repeatedUint32_)) return false;
  1611. if(!repeatedUint64_.Equals(other.repeatedUint64_)) return false;
  1612. if(!repeatedSint32_.Equals(other.repeatedSint32_)) return false;
  1613. if(!repeatedSint64_.Equals(other.repeatedSint64_)) return false;
  1614. if(!repeatedFixed32_.Equals(other.repeatedFixed32_)) return false;
  1615. if(!repeatedFixed64_.Equals(other.repeatedFixed64_)) return false;
  1616. if(!repeatedSfixed32_.Equals(other.repeatedSfixed32_)) return false;
  1617. if(!repeatedSfixed64_.Equals(other.repeatedSfixed64_)) return false;
  1618. if(!repeatedFloat_.Equals(other.repeatedFloat_)) return false;
  1619. if(!repeatedDouble_.Equals(other.repeatedDouble_)) return false;
  1620. if(!repeatedBool_.Equals(other.repeatedBool_)) return false;
  1621. if(!repeatedString_.Equals(other.repeatedString_)) return false;
  1622. if(!repeatedBytes_.Equals(other.repeatedBytes_)) return false;
  1623. if(!repeatedNestedMessage_.Equals(other.repeatedNestedMessage_)) return false;
  1624. if(!repeatedForeignMessage_.Equals(other.repeatedForeignMessage_)) return false;
  1625. if(!repeatedNestedEnum_.Equals(other.repeatedNestedEnum_)) return false;
  1626. if(!repeatedForeignEnum_.Equals(other.repeatedForeignEnum_)) return false;
  1627. if(!repeatedStringPiece_.Equals(other.repeatedStringPiece_)) return false;
  1628. if(!repeatedCord_.Equals(other.repeatedCord_)) return false;
  1629. if (!MapInt32Int32.Equals(other.MapInt32Int32)) return false;
  1630. if (!MapInt64Int64.Equals(other.MapInt64Int64)) return false;
  1631. if (!MapUint32Uint32.Equals(other.MapUint32Uint32)) return false;
  1632. if (!MapUint64Uint64.Equals(other.MapUint64Uint64)) return false;
  1633. if (!MapSint32Sint32.Equals(other.MapSint32Sint32)) return false;
  1634. if (!MapSint64Sint64.Equals(other.MapSint64Sint64)) return false;
  1635. if (!MapFixed32Fixed32.Equals(other.MapFixed32Fixed32)) return false;
  1636. if (!MapFixed64Fixed64.Equals(other.MapFixed64Fixed64)) return false;
  1637. if (!MapSfixed32Sfixed32.Equals(other.MapSfixed32Sfixed32)) return false;
  1638. if (!MapSfixed64Sfixed64.Equals(other.MapSfixed64Sfixed64)) return false;
  1639. if (!MapInt32Float.Equals(other.MapInt32Float)) return false;
  1640. if (!MapInt32Double.Equals(other.MapInt32Double)) return false;
  1641. if (!MapBoolBool.Equals(other.MapBoolBool)) return false;
  1642. if (!MapStringString.Equals(other.MapStringString)) return false;
  1643. if (!MapStringBytes.Equals(other.MapStringBytes)) return false;
  1644. if (!MapStringNestedMessage.Equals(other.MapStringNestedMessage)) return false;
  1645. if (!MapStringForeignMessage.Equals(other.MapStringForeignMessage)) return false;
  1646. if (!MapStringNestedEnum.Equals(other.MapStringNestedEnum)) return false;
  1647. if (!MapStringForeignEnum.Equals(other.MapStringForeignEnum)) return false;
  1648. if (OneofUint32 != other.OneofUint32) return false;
  1649. if (!object.Equals(OneofNestedMessage, other.OneofNestedMessage)) return false;
  1650. if (OneofString != other.OneofString) return false;
  1651. if (OneofBytes != other.OneofBytes) return false;
  1652. if (OneofBool != other.OneofBool) return false;
  1653. if (OneofUint64 != other.OneofUint64) return false;
  1654. if (OneofFloat != other.OneofFloat) return false;
  1655. if (OneofDouble != other.OneofDouble) return false;
  1656. if (OneofEnum != other.OneofEnum) return false;
  1657. if (OptionalBoolWrapper != other.OptionalBoolWrapper) return false;
  1658. if (OptionalInt32Wrapper != other.OptionalInt32Wrapper) return false;
  1659. if (OptionalInt64Wrapper != other.OptionalInt64Wrapper) return false;
  1660. if (OptionalUint32Wrapper != other.OptionalUint32Wrapper) return false;
  1661. if (OptionalUint64Wrapper != other.OptionalUint64Wrapper) return false;
  1662. if (OptionalFloatWrapper != other.OptionalFloatWrapper) return false;
  1663. if (OptionalDoubleWrapper != other.OptionalDoubleWrapper) return false;
  1664. if (OptionalStringWrapper != other.OptionalStringWrapper) return false;
  1665. if (OptionalBytesWrapper != other.OptionalBytesWrapper) return false;
  1666. if(!repeatedBoolWrapper_.Equals(other.repeatedBoolWrapper_)) return false;
  1667. if(!repeatedInt32Wrapper_.Equals(other.repeatedInt32Wrapper_)) return false;
  1668. if(!repeatedInt64Wrapper_.Equals(other.repeatedInt64Wrapper_)) return false;
  1669. if(!repeatedUint32Wrapper_.Equals(other.repeatedUint32Wrapper_)) return false;
  1670. if(!repeatedUint64Wrapper_.Equals(other.repeatedUint64Wrapper_)) return false;
  1671. if(!repeatedFloatWrapper_.Equals(other.repeatedFloatWrapper_)) return false;
  1672. if(!repeatedDoubleWrapper_.Equals(other.repeatedDoubleWrapper_)) return false;
  1673. if(!repeatedStringWrapper_.Equals(other.repeatedStringWrapper_)) return false;
  1674. if(!repeatedBytesWrapper_.Equals(other.repeatedBytesWrapper_)) return false;
  1675. if (!object.Equals(OptionalDuration, other.OptionalDuration)) return false;
  1676. if (!object.Equals(OptionalTimestamp, other.OptionalTimestamp)) return false;
  1677. if (!object.Equals(OptionalFieldMask, other.OptionalFieldMask)) return false;
  1678. if (!object.Equals(OptionalStruct, other.OptionalStruct)) return false;
  1679. if (!object.Equals(OptionalAny, other.OptionalAny)) return false;
  1680. if (!object.Equals(OptionalValue, other.OptionalValue)) return false;
  1681. if(!repeatedDuration_.Equals(other.repeatedDuration_)) return false;
  1682. if(!repeatedTimestamp_.Equals(other.repeatedTimestamp_)) return false;
  1683. if(!repeatedFieldmask_.Equals(other.repeatedFieldmask_)) return false;
  1684. if(!repeatedStruct_.Equals(other.repeatedStruct_)) return false;
  1685. if(!repeatedAny_.Equals(other.repeatedAny_)) return false;
  1686. if(!repeatedValue_.Equals(other.repeatedValue_)) return false;
  1687. if (Fieldname1 != other.Fieldname1) return false;
  1688. if (FieldName2 != other.FieldName2) return false;
  1689. if (FieldName3 != other.FieldName3) return false;
  1690. if (FieldName4 != other.FieldName4) return false;
  1691. if (Field0Name5 != other.Field0Name5) return false;
  1692. if (Field0Name6 != other.Field0Name6) return false;
  1693. if (FieldName7 != other.FieldName7) return false;
  1694. if (FieldName8 != other.FieldName8) return false;
  1695. if (FieldName9 != other.FieldName9) return false;
  1696. if (FieldName10 != other.FieldName10) return false;
  1697. if (FIELDNAME11 != other.FIELDNAME11) return false;
  1698. if (FIELDName12 != other.FIELDName12) return false;
  1699. if (FieldName13 != other.FieldName13) return false;
  1700. if (FieldName14 != other.FieldName14) return false;
  1701. if (FieldName15 != other.FieldName15) return false;
  1702. if (FieldName16 != other.FieldName16) return false;
  1703. if (FieldName17 != other.FieldName17) return false;
  1704. if (FieldName18 != other.FieldName18) return false;
  1705. if (OneofFieldCase != other.OneofFieldCase) return false;
  1706. return true;
  1707. }
  1708. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1709. public override int GetHashCode() {
  1710. int hash = 1;
  1711. if (OptionalInt32 != 0) hash ^= OptionalInt32.GetHashCode();
  1712. if (OptionalInt64 != 0L) hash ^= OptionalInt64.GetHashCode();
  1713. if (OptionalUint32 != 0) hash ^= OptionalUint32.GetHashCode();
  1714. if (OptionalUint64 != 0UL) hash ^= OptionalUint64.GetHashCode();
  1715. if (OptionalSint32 != 0) hash ^= OptionalSint32.GetHashCode();
  1716. if (OptionalSint64 != 0L) hash ^= OptionalSint64.GetHashCode();
  1717. if (OptionalFixed32 != 0) hash ^= OptionalFixed32.GetHashCode();
  1718. if (OptionalFixed64 != 0UL) hash ^= OptionalFixed64.GetHashCode();
  1719. if (OptionalSfixed32 != 0) hash ^= OptionalSfixed32.GetHashCode();
  1720. if (OptionalSfixed64 != 0L) hash ^= OptionalSfixed64.GetHashCode();
  1721. if (OptionalFloat != 0F) hash ^= OptionalFloat.GetHashCode();
  1722. if (OptionalDouble != 0D) hash ^= OptionalDouble.GetHashCode();
  1723. if (OptionalBool != false) hash ^= OptionalBool.GetHashCode();
  1724. if (OptionalString.Length != 0) hash ^= OptionalString.GetHashCode();
  1725. if (OptionalBytes.Length != 0) hash ^= OptionalBytes.GetHashCode();
  1726. if (optionalNestedMessage_ != null) hash ^= OptionalNestedMessage.GetHashCode();
  1727. if (optionalForeignMessage_ != null) hash ^= OptionalForeignMessage.GetHashCode();
  1728. if (OptionalNestedEnum != 0) hash ^= OptionalNestedEnum.GetHashCode();
  1729. if (OptionalForeignEnum != 0) hash ^= OptionalForeignEnum.GetHashCode();
  1730. if (OptionalStringPiece.Length != 0) hash ^= OptionalStringPiece.GetHashCode();
  1731. if (OptionalCord.Length != 0) hash ^= OptionalCord.GetHashCode();
  1732. if (recursiveMessage_ != null) hash ^= RecursiveMessage.GetHashCode();
  1733. hash ^= repeatedInt32_.GetHashCode();
  1734. hash ^= repeatedInt64_.GetHashCode();
  1735. hash ^= repeatedUint32_.GetHashCode();
  1736. hash ^= repeatedUint64_.GetHashCode();
  1737. hash ^= repeatedSint32_.GetHashCode();
  1738. hash ^= repeatedSint64_.GetHashCode();
  1739. hash ^= repeatedFixed32_.GetHashCode();
  1740. hash ^= repeatedFixed64_.GetHashCode();
  1741. hash ^= repeatedSfixed32_.GetHashCode();
  1742. hash ^= repeatedSfixed64_.GetHashCode();
  1743. hash ^= repeatedFloat_.GetHashCode();
  1744. hash ^= repeatedDouble_.GetHashCode();
  1745. hash ^= repeatedBool_.GetHashCode();
  1746. hash ^= repeatedString_.GetHashCode();
  1747. hash ^= repeatedBytes_.GetHashCode();
  1748. hash ^= repeatedNestedMessage_.GetHashCode();
  1749. hash ^= repeatedForeignMessage_.GetHashCode();
  1750. hash ^= repeatedNestedEnum_.GetHashCode();
  1751. hash ^= repeatedForeignEnum_.GetHashCode();
  1752. hash ^= repeatedStringPiece_.GetHashCode();
  1753. hash ^= repeatedCord_.GetHashCode();
  1754. hash ^= MapInt32Int32.GetHashCode();
  1755. hash ^= MapInt64Int64.GetHashCode();
  1756. hash ^= MapUint32Uint32.GetHashCode();
  1757. hash ^= MapUint64Uint64.GetHashCode();
  1758. hash ^= MapSint32Sint32.GetHashCode();
  1759. hash ^= MapSint64Sint64.GetHashCode();
  1760. hash ^= MapFixed32Fixed32.GetHashCode();
  1761. hash ^= MapFixed64Fixed64.GetHashCode();
  1762. hash ^= MapSfixed32Sfixed32.GetHashCode();
  1763. hash ^= MapSfixed64Sfixed64.GetHashCode();
  1764. hash ^= MapInt32Float.GetHashCode();
  1765. hash ^= MapInt32Double.GetHashCode();
  1766. hash ^= MapBoolBool.GetHashCode();
  1767. hash ^= MapStringString.GetHashCode();
  1768. hash ^= MapStringBytes.GetHashCode();
  1769. hash ^= MapStringNestedMessage.GetHashCode();
  1770. hash ^= MapStringForeignMessage.GetHashCode();
  1771. hash ^= MapStringNestedEnum.GetHashCode();
  1772. hash ^= MapStringForeignEnum.GetHashCode();
  1773. if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) hash ^= OneofUint32.GetHashCode();
  1774. if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) hash ^= OneofNestedMessage.GetHashCode();
  1775. if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) hash ^= OneofString.GetHashCode();
  1776. if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) hash ^= OneofBytes.GetHashCode();
  1777. if (oneofFieldCase_ == OneofFieldOneofCase.OneofBool) hash ^= OneofBool.GetHashCode();
  1778. if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint64) hash ^= OneofUint64.GetHashCode();
  1779. if (oneofFieldCase_ == OneofFieldOneofCase.OneofFloat) hash ^= OneofFloat.GetHashCode();
  1780. if (oneofFieldCase_ == OneofFieldOneofCase.OneofDouble) hash ^= OneofDouble.GetHashCode();
  1781. if (oneofFieldCase_ == OneofFieldOneofCase.OneofEnum) hash ^= OneofEnum.GetHashCode();
  1782. if (optionalBoolWrapper_ != null) hash ^= OptionalBoolWrapper.GetHashCode();
  1783. if (optionalInt32Wrapper_ != null) hash ^= OptionalInt32Wrapper.GetHashCode();
  1784. if (optionalInt64Wrapper_ != null) hash ^= OptionalInt64Wrapper.GetHashCode();
  1785. if (optionalUint32Wrapper_ != null) hash ^= OptionalUint32Wrapper.GetHashCode();
  1786. if (optionalUint64Wrapper_ != null) hash ^= OptionalUint64Wrapper.GetHashCode();
  1787. if (optionalFloatWrapper_ != null) hash ^= OptionalFloatWrapper.GetHashCode();
  1788. if (optionalDoubleWrapper_ != null) hash ^= OptionalDoubleWrapper.GetHashCode();
  1789. if (optionalStringWrapper_ != null) hash ^= OptionalStringWrapper.GetHashCode();
  1790. if (optionalBytesWrapper_ != null) hash ^= OptionalBytesWrapper.GetHashCode();
  1791. hash ^= repeatedBoolWrapper_.GetHashCode();
  1792. hash ^= repeatedInt32Wrapper_.GetHashCode();
  1793. hash ^= repeatedInt64Wrapper_.GetHashCode();
  1794. hash ^= repeatedUint32Wrapper_.GetHashCode();
  1795. hash ^= repeatedUint64Wrapper_.GetHashCode();
  1796. hash ^= repeatedFloatWrapper_.GetHashCode();
  1797. hash ^= repeatedDoubleWrapper_.GetHashCode();
  1798. hash ^= repeatedStringWrapper_.GetHashCode();
  1799. hash ^= repeatedBytesWrapper_.GetHashCode();
  1800. if (optionalDuration_ != null) hash ^= OptionalDuration.GetHashCode();
  1801. if (optionalTimestamp_ != null) hash ^= OptionalTimestamp.GetHashCode();
  1802. if (optionalFieldMask_ != null) hash ^= OptionalFieldMask.GetHashCode();
  1803. if (optionalStruct_ != null) hash ^= OptionalStruct.GetHashCode();
  1804. if (optionalAny_ != null) hash ^= OptionalAny.GetHashCode();
  1805. if (optionalValue_ != null) hash ^= OptionalValue.GetHashCode();
  1806. hash ^= repeatedDuration_.GetHashCode();
  1807. hash ^= repeatedTimestamp_.GetHashCode();
  1808. hash ^= repeatedFieldmask_.GetHashCode();
  1809. hash ^= repeatedStruct_.GetHashCode();
  1810. hash ^= repeatedAny_.GetHashCode();
  1811. hash ^= repeatedValue_.GetHashCode();
  1812. if (Fieldname1 != 0) hash ^= Fieldname1.GetHashCode();
  1813. if (FieldName2 != 0) hash ^= FieldName2.GetHashCode();
  1814. if (FieldName3 != 0) hash ^= FieldName3.GetHashCode();
  1815. if (FieldName4 != 0) hash ^= FieldName4.GetHashCode();
  1816. if (Field0Name5 != 0) hash ^= Field0Name5.GetHashCode();
  1817. if (Field0Name6 != 0) hash ^= Field0Name6.GetHashCode();
  1818. if (FieldName7 != 0) hash ^= FieldName7.GetHashCode();
  1819. if (FieldName8 != 0) hash ^= FieldName8.GetHashCode();
  1820. if (FieldName9 != 0) hash ^= FieldName9.GetHashCode();
  1821. if (FieldName10 != 0) hash ^= FieldName10.GetHashCode();
  1822. if (FIELDNAME11 != 0) hash ^= FIELDNAME11.GetHashCode();
  1823. if (FIELDName12 != 0) hash ^= FIELDName12.GetHashCode();
  1824. if (FieldName13 != 0) hash ^= FieldName13.GetHashCode();
  1825. if (FieldName14 != 0) hash ^= FieldName14.GetHashCode();
  1826. if (FieldName15 != 0) hash ^= FieldName15.GetHashCode();
  1827. if (FieldName16 != 0) hash ^= FieldName16.GetHashCode();
  1828. if (FieldName17 != 0) hash ^= FieldName17.GetHashCode();
  1829. if (FieldName18 != 0) hash ^= FieldName18.GetHashCode();
  1830. hash ^= (int) oneofFieldCase_;
  1831. return hash;
  1832. }
  1833. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1834. public override string ToString() {
  1835. return pb::JsonFormatter.ToDiagnosticString(this);
  1836. }
  1837. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1838. public void WriteTo(pb::CodedOutputStream output) {
  1839. if (OptionalInt32 != 0) {
  1840. output.WriteRawTag(8);
  1841. output.WriteInt32(OptionalInt32);
  1842. }
  1843. if (OptionalInt64 != 0L) {
  1844. output.WriteRawTag(16);
  1845. output.WriteInt64(OptionalInt64);
  1846. }
  1847. if (OptionalUint32 != 0) {
  1848. output.WriteRawTag(24);
  1849. output.WriteUInt32(OptionalUint32);
  1850. }
  1851. if (OptionalUint64 != 0UL) {
  1852. output.WriteRawTag(32);
  1853. output.WriteUInt64(OptionalUint64);
  1854. }
  1855. if (OptionalSint32 != 0) {
  1856. output.WriteRawTag(40);
  1857. output.WriteSInt32(OptionalSint32);
  1858. }
  1859. if (OptionalSint64 != 0L) {
  1860. output.WriteRawTag(48);
  1861. output.WriteSInt64(OptionalSint64);
  1862. }
  1863. if (OptionalFixed32 != 0) {
  1864. output.WriteRawTag(61);
  1865. output.WriteFixed32(OptionalFixed32);
  1866. }
  1867. if (OptionalFixed64 != 0UL) {
  1868. output.WriteRawTag(65);
  1869. output.WriteFixed64(OptionalFixed64);
  1870. }
  1871. if (OptionalSfixed32 != 0) {
  1872. output.WriteRawTag(77);
  1873. output.WriteSFixed32(OptionalSfixed32);
  1874. }
  1875. if (OptionalSfixed64 != 0L) {
  1876. output.WriteRawTag(81);
  1877. output.WriteSFixed64(OptionalSfixed64);
  1878. }
  1879. if (OptionalFloat != 0F) {
  1880. output.WriteRawTag(93);
  1881. output.WriteFloat(OptionalFloat);
  1882. }
  1883. if (OptionalDouble != 0D) {
  1884. output.WriteRawTag(97);
  1885. output.WriteDouble(OptionalDouble);
  1886. }
  1887. if (OptionalBool != false) {
  1888. output.WriteRawTag(104);
  1889. output.WriteBool(OptionalBool);
  1890. }
  1891. if (OptionalString.Length != 0) {
  1892. output.WriteRawTag(114);
  1893. output.WriteString(OptionalString);
  1894. }
  1895. if (OptionalBytes.Length != 0) {
  1896. output.WriteRawTag(122);
  1897. output.WriteBytes(OptionalBytes);
  1898. }
  1899. if (optionalNestedMessage_ != null) {
  1900. output.WriteRawTag(146, 1);
  1901. output.WriteMessage(OptionalNestedMessage);
  1902. }
  1903. if (optionalForeignMessage_ != null) {
  1904. output.WriteRawTag(154, 1);
  1905. output.WriteMessage(OptionalForeignMessage);
  1906. }
  1907. if (OptionalNestedEnum != 0) {
  1908. output.WriteRawTag(168, 1);
  1909. output.WriteEnum((int) OptionalNestedEnum);
  1910. }
  1911. if (OptionalForeignEnum != 0) {
  1912. output.WriteRawTag(176, 1);
  1913. output.WriteEnum((int) OptionalForeignEnum);
  1914. }
  1915. if (OptionalStringPiece.Length != 0) {
  1916. output.WriteRawTag(194, 1);
  1917. output.WriteString(OptionalStringPiece);
  1918. }
  1919. if (OptionalCord.Length != 0) {
  1920. output.WriteRawTag(202, 1);
  1921. output.WriteString(OptionalCord);
  1922. }
  1923. if (recursiveMessage_ != null) {
  1924. output.WriteRawTag(218, 1);
  1925. output.WriteMessage(RecursiveMessage);
  1926. }
  1927. repeatedInt32_.WriteTo(output, _repeated_repeatedInt32_codec);
  1928. repeatedInt64_.WriteTo(output, _repeated_repeatedInt64_codec);
  1929. repeatedUint32_.WriteTo(output, _repeated_repeatedUint32_codec);
  1930. repeatedUint64_.WriteTo(output, _repeated_repeatedUint64_codec);
  1931. repeatedSint32_.WriteTo(output, _repeated_repeatedSint32_codec);
  1932. repeatedSint64_.WriteTo(output, _repeated_repeatedSint64_codec);
  1933. repeatedFixed32_.WriteTo(output, _repeated_repeatedFixed32_codec);
  1934. repeatedFixed64_.WriteTo(output, _repeated_repeatedFixed64_codec);
  1935. repeatedSfixed32_.WriteTo(output, _repeated_repeatedSfixed32_codec);
  1936. repeatedSfixed64_.WriteTo(output, _repeated_repeatedSfixed64_codec);
  1937. repeatedFloat_.WriteTo(output, _repeated_repeatedFloat_codec);
  1938. repeatedDouble_.WriteTo(output, _repeated_repeatedDouble_codec);
  1939. repeatedBool_.WriteTo(output, _repeated_repeatedBool_codec);
  1940. repeatedString_.WriteTo(output, _repeated_repeatedString_codec);
  1941. repeatedBytes_.WriteTo(output, _repeated_repeatedBytes_codec);
  1942. repeatedNestedMessage_.WriteTo(output, _repeated_repeatedNestedMessage_codec);
  1943. repeatedForeignMessage_.WriteTo(output, _repeated_repeatedForeignMessage_codec);
  1944. repeatedNestedEnum_.WriteTo(output, _repeated_repeatedNestedEnum_codec);
  1945. repeatedForeignEnum_.WriteTo(output, _repeated_repeatedForeignEnum_codec);
  1946. repeatedStringPiece_.WriteTo(output, _repeated_repeatedStringPiece_codec);
  1947. repeatedCord_.WriteTo(output, _repeated_repeatedCord_codec);
  1948. mapInt32Int32_.WriteTo(output, _map_mapInt32Int32_codec);
  1949. mapInt64Int64_.WriteTo(output, _map_mapInt64Int64_codec);
  1950. mapUint32Uint32_.WriteTo(output, _map_mapUint32Uint32_codec);
  1951. mapUint64Uint64_.WriteTo(output, _map_mapUint64Uint64_codec);
  1952. mapSint32Sint32_.WriteTo(output, _map_mapSint32Sint32_codec);
  1953. mapSint64Sint64_.WriteTo(output, _map_mapSint64Sint64_codec);
  1954. mapFixed32Fixed32_.WriteTo(output, _map_mapFixed32Fixed32_codec);
  1955. mapFixed64Fixed64_.WriteTo(output, _map_mapFixed64Fixed64_codec);
  1956. mapSfixed32Sfixed32_.WriteTo(output, _map_mapSfixed32Sfixed32_codec);
  1957. mapSfixed64Sfixed64_.WriteTo(output, _map_mapSfixed64Sfixed64_codec);
  1958. mapInt32Float_.WriteTo(output, _map_mapInt32Float_codec);
  1959. mapInt32Double_.WriteTo(output, _map_mapInt32Double_codec);
  1960. mapBoolBool_.WriteTo(output, _map_mapBoolBool_codec);
  1961. mapStringString_.WriteTo(output, _map_mapStringString_codec);
  1962. mapStringBytes_.WriteTo(output, _map_mapStringBytes_codec);
  1963. mapStringNestedMessage_.WriteTo(output, _map_mapStringNestedMessage_codec);
  1964. mapStringForeignMessage_.WriteTo(output, _map_mapStringForeignMessage_codec);
  1965. mapStringNestedEnum_.WriteTo(output, _map_mapStringNestedEnum_codec);
  1966. mapStringForeignEnum_.WriteTo(output, _map_mapStringForeignEnum_codec);
  1967. if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) {
  1968. output.WriteRawTag(248, 6);
  1969. output.WriteUInt32(OneofUint32);
  1970. }
  1971. if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) {
  1972. output.WriteRawTag(130, 7);
  1973. output.WriteMessage(OneofNestedMessage);
  1974. }
  1975. if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) {
  1976. output.WriteRawTag(138, 7);
  1977. output.WriteString(OneofString);
  1978. }
  1979. if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) {
  1980. output.WriteRawTag(146, 7);
  1981. output.WriteBytes(OneofBytes);
  1982. }
  1983. if (oneofFieldCase_ == OneofFieldOneofCase.OneofBool) {
  1984. output.WriteRawTag(152, 7);
  1985. output.WriteBool(OneofBool);
  1986. }
  1987. if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint64) {
  1988. output.WriteRawTag(160, 7);
  1989. output.WriteUInt64(OneofUint64);
  1990. }
  1991. if (oneofFieldCase_ == OneofFieldOneofCase.OneofFloat) {
  1992. output.WriteRawTag(173, 7);
  1993. output.WriteFloat(OneofFloat);
  1994. }
  1995. if (oneofFieldCase_ == OneofFieldOneofCase.OneofDouble) {
  1996. output.WriteRawTag(177, 7);
  1997. output.WriteDouble(OneofDouble);
  1998. }
  1999. if (oneofFieldCase_ == OneofFieldOneofCase.OneofEnum) {
  2000. output.WriteRawTag(184, 7);
  2001. output.WriteEnum((int) OneofEnum);
  2002. }
  2003. if (optionalBoolWrapper_ != null) {
  2004. _single_optionalBoolWrapper_codec.WriteTagAndValue(output, OptionalBoolWrapper);
  2005. }
  2006. if (optionalInt32Wrapper_ != null) {
  2007. _single_optionalInt32Wrapper_codec.WriteTagAndValue(output, OptionalInt32Wrapper);
  2008. }
  2009. if (optionalInt64Wrapper_ != null) {
  2010. _single_optionalInt64Wrapper_codec.WriteTagAndValue(output, OptionalInt64Wrapper);
  2011. }
  2012. if (optionalUint32Wrapper_ != null) {
  2013. _single_optionalUint32Wrapper_codec.WriteTagAndValue(output, OptionalUint32Wrapper);
  2014. }
  2015. if (optionalUint64Wrapper_ != null) {
  2016. _single_optionalUint64Wrapper_codec.WriteTagAndValue(output, OptionalUint64Wrapper);
  2017. }
  2018. if (optionalFloatWrapper_ != null) {
  2019. _single_optionalFloatWrapper_codec.WriteTagAndValue(output, OptionalFloatWrapper);
  2020. }
  2021. if (optionalDoubleWrapper_ != null) {
  2022. _single_optionalDoubleWrapper_codec.WriteTagAndValue(output, OptionalDoubleWrapper);
  2023. }
  2024. if (optionalStringWrapper_ != null) {
  2025. _single_optionalStringWrapper_codec.WriteTagAndValue(output, OptionalStringWrapper);
  2026. }
  2027. if (optionalBytesWrapper_ != null) {
  2028. _single_optionalBytesWrapper_codec.WriteTagAndValue(output, OptionalBytesWrapper);
  2029. }
  2030. repeatedBoolWrapper_.WriteTo(output, _repeated_repeatedBoolWrapper_codec);
  2031. repeatedInt32Wrapper_.WriteTo(output, _repeated_repeatedInt32Wrapper_codec);
  2032. repeatedInt64Wrapper_.WriteTo(output, _repeated_repeatedInt64Wrapper_codec);
  2033. repeatedUint32Wrapper_.WriteTo(output, _repeated_repeatedUint32Wrapper_codec);
  2034. repeatedUint64Wrapper_.WriteTo(output, _repeated_repeatedUint64Wrapper_codec);
  2035. repeatedFloatWrapper_.WriteTo(output, _repeated_repeatedFloatWrapper_codec);
  2036. repeatedDoubleWrapper_.WriteTo(output, _repeated_repeatedDoubleWrapper_codec);
  2037. repeatedStringWrapper_.WriteTo(output, _repeated_repeatedStringWrapper_codec);
  2038. repeatedBytesWrapper_.WriteTo(output, _repeated_repeatedBytesWrapper_codec);
  2039. if (optionalDuration_ != null) {
  2040. output.WriteRawTag(234, 18);
  2041. output.WriteMessage(OptionalDuration);
  2042. }
  2043. if (optionalTimestamp_ != null) {
  2044. output.WriteRawTag(242, 18);
  2045. output.WriteMessage(OptionalTimestamp);
  2046. }
  2047. if (optionalFieldMask_ != null) {
  2048. output.WriteRawTag(250, 18);
  2049. output.WriteMessage(OptionalFieldMask);
  2050. }
  2051. if (optionalStruct_ != null) {
  2052. output.WriteRawTag(130, 19);
  2053. output.WriteMessage(OptionalStruct);
  2054. }
  2055. if (optionalAny_ != null) {
  2056. output.WriteRawTag(138, 19);
  2057. output.WriteMessage(OptionalAny);
  2058. }
  2059. if (optionalValue_ != null) {
  2060. output.WriteRawTag(146, 19);
  2061. output.WriteMessage(OptionalValue);
  2062. }
  2063. repeatedDuration_.WriteTo(output, _repeated_repeatedDuration_codec);
  2064. repeatedTimestamp_.WriteTo(output, _repeated_repeatedTimestamp_codec);
  2065. repeatedFieldmask_.WriteTo(output, _repeated_repeatedFieldmask_codec);
  2066. repeatedAny_.WriteTo(output, _repeated_repeatedAny_codec);
  2067. repeatedValue_.WriteTo(output, _repeated_repeatedValue_codec);
  2068. repeatedStruct_.WriteTo(output, _repeated_repeatedStruct_codec);
  2069. if (Fieldname1 != 0) {
  2070. output.WriteRawTag(136, 25);
  2071. output.WriteInt32(Fieldname1);
  2072. }
  2073. if (FieldName2 != 0) {
  2074. output.WriteRawTag(144, 25);
  2075. output.WriteInt32(FieldName2);
  2076. }
  2077. if (FieldName3 != 0) {
  2078. output.WriteRawTag(152, 25);
  2079. output.WriteInt32(FieldName3);
  2080. }
  2081. if (FieldName4 != 0) {
  2082. output.WriteRawTag(160, 25);
  2083. output.WriteInt32(FieldName4);
  2084. }
  2085. if (Field0Name5 != 0) {
  2086. output.WriteRawTag(168, 25);
  2087. output.WriteInt32(Field0Name5);
  2088. }
  2089. if (Field0Name6 != 0) {
  2090. output.WriteRawTag(176, 25);
  2091. output.WriteInt32(Field0Name6);
  2092. }
  2093. if (FieldName7 != 0) {
  2094. output.WriteRawTag(184, 25);
  2095. output.WriteInt32(FieldName7);
  2096. }
  2097. if (FieldName8 != 0) {
  2098. output.WriteRawTag(192, 25);
  2099. output.WriteInt32(FieldName8);
  2100. }
  2101. if (FieldName9 != 0) {
  2102. output.WriteRawTag(200, 25);
  2103. output.WriteInt32(FieldName9);
  2104. }
  2105. if (FieldName10 != 0) {
  2106. output.WriteRawTag(208, 25);
  2107. output.WriteInt32(FieldName10);
  2108. }
  2109. if (FIELDNAME11 != 0) {
  2110. output.WriteRawTag(216, 25);
  2111. output.WriteInt32(FIELDNAME11);
  2112. }
  2113. if (FIELDName12 != 0) {
  2114. output.WriteRawTag(224, 25);
  2115. output.WriteInt32(FIELDName12);
  2116. }
  2117. if (FieldName13 != 0) {
  2118. output.WriteRawTag(232, 25);
  2119. output.WriteInt32(FieldName13);
  2120. }
  2121. if (FieldName14 != 0) {
  2122. output.WriteRawTag(240, 25);
  2123. output.WriteInt32(FieldName14);
  2124. }
  2125. if (FieldName15 != 0) {
  2126. output.WriteRawTag(248, 25);
  2127. output.WriteInt32(FieldName15);
  2128. }
  2129. if (FieldName16 != 0) {
  2130. output.WriteRawTag(128, 26);
  2131. output.WriteInt32(FieldName16);
  2132. }
  2133. if (FieldName17 != 0) {
  2134. output.WriteRawTag(136, 26);
  2135. output.WriteInt32(FieldName17);
  2136. }
  2137. if (FieldName18 != 0) {
  2138. output.WriteRawTag(144, 26);
  2139. output.WriteInt32(FieldName18);
  2140. }
  2141. }
  2142. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2143. public int CalculateSize() {
  2144. int size = 0;
  2145. if (OptionalInt32 != 0) {
  2146. size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32);
  2147. }
  2148. if (OptionalInt64 != 0L) {
  2149. size += 1 + pb::CodedOutputStream.ComputeInt64Size(OptionalInt64);
  2150. }
  2151. if (OptionalUint32 != 0) {
  2152. size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OptionalUint32);
  2153. }
  2154. if (OptionalUint64 != 0UL) {
  2155. size += 1 + pb::CodedOutputStream.ComputeUInt64Size(OptionalUint64);
  2156. }
  2157. if (OptionalSint32 != 0) {
  2158. size += 1 + pb::CodedOutputStream.ComputeSInt32Size(OptionalSint32);
  2159. }
  2160. if (OptionalSint64 != 0L) {
  2161. size += 1 + pb::CodedOutputStream.ComputeSInt64Size(OptionalSint64);
  2162. }
  2163. if (OptionalFixed32 != 0) {
  2164. size += 1 + 4;
  2165. }
  2166. if (OptionalFixed64 != 0UL) {
  2167. size += 1 + 8;
  2168. }
  2169. if (OptionalSfixed32 != 0) {
  2170. size += 1 + 4;
  2171. }
  2172. if (OptionalSfixed64 != 0L) {
  2173. size += 1 + 8;
  2174. }
  2175. if (OptionalFloat != 0F) {
  2176. size += 1 + 4;
  2177. }
  2178. if (OptionalDouble != 0D) {
  2179. size += 1 + 8;
  2180. }
  2181. if (OptionalBool != false) {
  2182. size += 1 + 1;
  2183. }
  2184. if (OptionalString.Length != 0) {
  2185. size += 1 + pb::CodedOutputStream.ComputeStringSize(OptionalString);
  2186. }
  2187. if (OptionalBytes.Length != 0) {
  2188. size += 1 + pb::CodedOutputStream.ComputeBytesSize(OptionalBytes);
  2189. }
  2190. if (optionalNestedMessage_ != null) {
  2191. size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalNestedMessage);
  2192. }
  2193. if (optionalForeignMessage_ != null) {
  2194. size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalForeignMessage);
  2195. }
  2196. if (OptionalNestedEnum != 0) {
  2197. size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalNestedEnum);
  2198. }
  2199. if (OptionalForeignEnum != 0) {
  2200. size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalForeignEnum);
  2201. }
  2202. if (OptionalStringPiece.Length != 0) {
  2203. size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalStringPiece);
  2204. }
  2205. if (OptionalCord.Length != 0) {
  2206. size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalCord);
  2207. }
  2208. if (recursiveMessage_ != null) {
  2209. size += 2 + pb::CodedOutputStream.ComputeMessageSize(RecursiveMessage);
  2210. }
  2211. size += repeatedInt32_.CalculateSize(_repeated_repeatedInt32_codec);
  2212. size += repeatedInt64_.CalculateSize(_repeated_repeatedInt64_codec);
  2213. size += repeatedUint32_.CalculateSize(_repeated_repeatedUint32_codec);
  2214. size += repeatedUint64_.CalculateSize(_repeated_repeatedUint64_codec);
  2215. size += repeatedSint32_.CalculateSize(_repeated_repeatedSint32_codec);
  2216. size += repeatedSint64_.CalculateSize(_repeated_repeatedSint64_codec);
  2217. size += repeatedFixed32_.CalculateSize(_repeated_repeatedFixed32_codec);
  2218. size += repeatedFixed64_.CalculateSize(_repeated_repeatedFixed64_codec);
  2219. size += repeatedSfixed32_.CalculateSize(_repeated_repeatedSfixed32_codec);
  2220. size += repeatedSfixed64_.CalculateSize(_repeated_repeatedSfixed64_codec);
  2221. size += repeatedFloat_.CalculateSize(_repeated_repeatedFloat_codec);
  2222. size += repeatedDouble_.CalculateSize(_repeated_repeatedDouble_codec);
  2223. size += repeatedBool_.CalculateSize(_repeated_repeatedBool_codec);
  2224. size += repeatedString_.CalculateSize(_repeated_repeatedString_codec);
  2225. size += repeatedBytes_.CalculateSize(_repeated_repeatedBytes_codec);
  2226. size += repeatedNestedMessage_.CalculateSize(_repeated_repeatedNestedMessage_codec);
  2227. size += repeatedForeignMessage_.CalculateSize(_repeated_repeatedForeignMessage_codec);
  2228. size += repeatedNestedEnum_.CalculateSize(_repeated_repeatedNestedEnum_codec);
  2229. size += repeatedForeignEnum_.CalculateSize(_repeated_repeatedForeignEnum_codec);
  2230. size += repeatedStringPiece_.CalculateSize(_repeated_repeatedStringPiece_codec);
  2231. size += repeatedCord_.CalculateSize(_repeated_repeatedCord_codec);
  2232. size += mapInt32Int32_.CalculateSize(_map_mapInt32Int32_codec);
  2233. size += mapInt64Int64_.CalculateSize(_map_mapInt64Int64_codec);
  2234. size += mapUint32Uint32_.CalculateSize(_map_mapUint32Uint32_codec);
  2235. size += mapUint64Uint64_.CalculateSize(_map_mapUint64Uint64_codec);
  2236. size += mapSint32Sint32_.CalculateSize(_map_mapSint32Sint32_codec);
  2237. size += mapSint64Sint64_.CalculateSize(_map_mapSint64Sint64_codec);
  2238. size += mapFixed32Fixed32_.CalculateSize(_map_mapFixed32Fixed32_codec);
  2239. size += mapFixed64Fixed64_.CalculateSize(_map_mapFixed64Fixed64_codec);
  2240. size += mapSfixed32Sfixed32_.CalculateSize(_map_mapSfixed32Sfixed32_codec);
  2241. size += mapSfixed64Sfixed64_.CalculateSize(_map_mapSfixed64Sfixed64_codec);
  2242. size += mapInt32Float_.CalculateSize(_map_mapInt32Float_codec);
  2243. size += mapInt32Double_.CalculateSize(_map_mapInt32Double_codec);
  2244. size += mapBoolBool_.CalculateSize(_map_mapBoolBool_codec);
  2245. size += mapStringString_.CalculateSize(_map_mapStringString_codec);
  2246. size += mapStringBytes_.CalculateSize(_map_mapStringBytes_codec);
  2247. size += mapStringNestedMessage_.CalculateSize(_map_mapStringNestedMessage_codec);
  2248. size += mapStringForeignMessage_.CalculateSize(_map_mapStringForeignMessage_codec);
  2249. size += mapStringNestedEnum_.CalculateSize(_map_mapStringNestedEnum_codec);
  2250. size += mapStringForeignEnum_.CalculateSize(_map_mapStringForeignEnum_codec);
  2251. if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) {
  2252. size += 2 + pb::CodedOutputStream.ComputeUInt32Size(OneofUint32);
  2253. }
  2254. if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) {
  2255. size += 2 + pb::CodedOutputStream.ComputeMessageSize(OneofNestedMessage);
  2256. }
  2257. if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) {
  2258. size += 2 + pb::CodedOutputStream.ComputeStringSize(OneofString);
  2259. }
  2260. if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) {
  2261. size += 2 + pb::CodedOutputStream.ComputeBytesSize(OneofBytes);
  2262. }
  2263. if (oneofFieldCase_ == OneofFieldOneofCase.OneofBool) {
  2264. size += 2 + 1;
  2265. }
  2266. if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint64) {
  2267. size += 2 + pb::CodedOutputStream.ComputeUInt64Size(OneofUint64);
  2268. }
  2269. if (oneofFieldCase_ == OneofFieldOneofCase.OneofFloat) {
  2270. size += 2 + 4;
  2271. }
  2272. if (oneofFieldCase_ == OneofFieldOneofCase.OneofDouble) {
  2273. size += 2 + 8;
  2274. }
  2275. if (oneofFieldCase_ == OneofFieldOneofCase.OneofEnum) {
  2276. size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OneofEnum);
  2277. }
  2278. if (optionalBoolWrapper_ != null) {
  2279. size += _single_optionalBoolWrapper_codec.CalculateSizeWithTag(OptionalBoolWrapper);
  2280. }
  2281. if (optionalInt32Wrapper_ != null) {
  2282. size += _single_optionalInt32Wrapper_codec.CalculateSizeWithTag(OptionalInt32Wrapper);
  2283. }
  2284. if (optionalInt64Wrapper_ != null) {
  2285. size += _single_optionalInt64Wrapper_codec.CalculateSizeWithTag(OptionalInt64Wrapper);
  2286. }
  2287. if (optionalUint32Wrapper_ != null) {
  2288. size += _single_optionalUint32Wrapper_codec.CalculateSizeWithTag(OptionalUint32Wrapper);
  2289. }
  2290. if (optionalUint64Wrapper_ != null) {
  2291. size += _single_optionalUint64Wrapper_codec.CalculateSizeWithTag(OptionalUint64Wrapper);
  2292. }
  2293. if (optionalFloatWrapper_ != null) {
  2294. size += _single_optionalFloatWrapper_codec.CalculateSizeWithTag(OptionalFloatWrapper);
  2295. }
  2296. if (optionalDoubleWrapper_ != null) {
  2297. size += _single_optionalDoubleWrapper_codec.CalculateSizeWithTag(OptionalDoubleWrapper);
  2298. }
  2299. if (optionalStringWrapper_ != null) {
  2300. size += _single_optionalStringWrapper_codec.CalculateSizeWithTag(OptionalStringWrapper);
  2301. }
  2302. if (optionalBytesWrapper_ != null) {
  2303. size += _single_optionalBytesWrapper_codec.CalculateSizeWithTag(OptionalBytesWrapper);
  2304. }
  2305. size += repeatedBoolWrapper_.CalculateSize(_repeated_repeatedBoolWrapper_codec);
  2306. size += repeatedInt32Wrapper_.CalculateSize(_repeated_repeatedInt32Wrapper_codec);
  2307. size += repeatedInt64Wrapper_.CalculateSize(_repeated_repeatedInt64Wrapper_codec);
  2308. size += repeatedUint32Wrapper_.CalculateSize(_repeated_repeatedUint32Wrapper_codec);
  2309. size += repeatedUint64Wrapper_.CalculateSize(_repeated_repeatedUint64Wrapper_codec);
  2310. size += repeatedFloatWrapper_.CalculateSize(_repeated_repeatedFloatWrapper_codec);
  2311. size += repeatedDoubleWrapper_.CalculateSize(_repeated_repeatedDoubleWrapper_codec);
  2312. size += repeatedStringWrapper_.CalculateSize(_repeated_repeatedStringWrapper_codec);
  2313. size += repeatedBytesWrapper_.CalculateSize(_repeated_repeatedBytesWrapper_codec);
  2314. if (optionalDuration_ != null) {
  2315. size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalDuration);
  2316. }
  2317. if (optionalTimestamp_ != null) {
  2318. size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalTimestamp);
  2319. }
  2320. if (optionalFieldMask_ != null) {
  2321. size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalFieldMask);
  2322. }
  2323. if (optionalStruct_ != null) {
  2324. size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalStruct);
  2325. }
  2326. if (optionalAny_ != null) {
  2327. size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalAny);
  2328. }
  2329. if (optionalValue_ != null) {
  2330. size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalValue);
  2331. }
  2332. size += repeatedDuration_.CalculateSize(_repeated_repeatedDuration_codec);
  2333. size += repeatedTimestamp_.CalculateSize(_repeated_repeatedTimestamp_codec);
  2334. size += repeatedFieldmask_.CalculateSize(_repeated_repeatedFieldmask_codec);
  2335. size += repeatedStruct_.CalculateSize(_repeated_repeatedStruct_codec);
  2336. size += repeatedAny_.CalculateSize(_repeated_repeatedAny_codec);
  2337. size += repeatedValue_.CalculateSize(_repeated_repeatedValue_codec);
  2338. if (Fieldname1 != 0) {
  2339. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Fieldname1);
  2340. }
  2341. if (FieldName2 != 0) {
  2342. size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName2);
  2343. }
  2344. if (FieldName3 != 0) {
  2345. size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName3);
  2346. }
  2347. if (FieldName4 != 0) {
  2348. size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName4);
  2349. }
  2350. if (Field0Name5 != 0) {
  2351. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name5);
  2352. }
  2353. if (Field0Name6 != 0) {
  2354. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name6);
  2355. }
  2356. if (FieldName7 != 0) {
  2357. size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName7);
  2358. }
  2359. if (FieldName8 != 0) {
  2360. size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName8);
  2361. }
  2362. if (FieldName9 != 0) {
  2363. size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName9);
  2364. }
  2365. if (FieldName10 != 0) {
  2366. size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName10);
  2367. }
  2368. if (FIELDNAME11 != 0) {
  2369. size += 2 + pb::CodedOutputStream.ComputeInt32Size(FIELDNAME11);
  2370. }
  2371. if (FIELDName12 != 0) {
  2372. size += 2 + pb::CodedOutputStream.ComputeInt32Size(FIELDName12);
  2373. }
  2374. if (FieldName13 != 0) {
  2375. size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName13);
  2376. }
  2377. if (FieldName14 != 0) {
  2378. size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName14);
  2379. }
  2380. if (FieldName15 != 0) {
  2381. size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName15);
  2382. }
  2383. if (FieldName16 != 0) {
  2384. size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName16);
  2385. }
  2386. if (FieldName17 != 0) {
  2387. size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName17);
  2388. }
  2389. if (FieldName18 != 0) {
  2390. size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName18);
  2391. }
  2392. return size;
  2393. }
  2394. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2395. public void MergeFrom(TestAllTypesProto3 other) {
  2396. if (other == null) {
  2397. return;
  2398. }
  2399. if (other.OptionalInt32 != 0) {
  2400. OptionalInt32 = other.OptionalInt32;
  2401. }
  2402. if (other.OptionalInt64 != 0L) {
  2403. OptionalInt64 = other.OptionalInt64;
  2404. }
  2405. if (other.OptionalUint32 != 0) {
  2406. OptionalUint32 = other.OptionalUint32;
  2407. }
  2408. if (other.OptionalUint64 != 0UL) {
  2409. OptionalUint64 = other.OptionalUint64;
  2410. }
  2411. if (other.OptionalSint32 != 0) {
  2412. OptionalSint32 = other.OptionalSint32;
  2413. }
  2414. if (other.OptionalSint64 != 0L) {
  2415. OptionalSint64 = other.OptionalSint64;
  2416. }
  2417. if (other.OptionalFixed32 != 0) {
  2418. OptionalFixed32 = other.OptionalFixed32;
  2419. }
  2420. if (other.OptionalFixed64 != 0UL) {
  2421. OptionalFixed64 = other.OptionalFixed64;
  2422. }
  2423. if (other.OptionalSfixed32 != 0) {
  2424. OptionalSfixed32 = other.OptionalSfixed32;
  2425. }
  2426. if (other.OptionalSfixed64 != 0L) {
  2427. OptionalSfixed64 = other.OptionalSfixed64;
  2428. }
  2429. if (other.OptionalFloat != 0F) {
  2430. OptionalFloat = other.OptionalFloat;
  2431. }
  2432. if (other.OptionalDouble != 0D) {
  2433. OptionalDouble = other.OptionalDouble;
  2434. }
  2435. if (other.OptionalBool != false) {
  2436. OptionalBool = other.OptionalBool;
  2437. }
  2438. if (other.OptionalString.Length != 0) {
  2439. OptionalString = other.OptionalString;
  2440. }
  2441. if (other.OptionalBytes.Length != 0) {
  2442. OptionalBytes = other.OptionalBytes;
  2443. }
  2444. if (other.optionalNestedMessage_ != null) {
  2445. if (optionalNestedMessage_ == null) {
  2446. optionalNestedMessage_ = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage();
  2447. }
  2448. OptionalNestedMessage.MergeFrom(other.OptionalNestedMessage);
  2449. }
  2450. if (other.optionalForeignMessage_ != null) {
  2451. if (optionalForeignMessage_ == null) {
  2452. optionalForeignMessage_ = new global::ProtobufTestMessages.Proto3.ForeignMessage();
  2453. }
  2454. OptionalForeignMessage.MergeFrom(other.OptionalForeignMessage);
  2455. }
  2456. if (other.OptionalNestedEnum != 0) {
  2457. OptionalNestedEnum = other.OptionalNestedEnum;
  2458. }
  2459. if (other.OptionalForeignEnum != 0) {
  2460. OptionalForeignEnum = other.OptionalForeignEnum;
  2461. }
  2462. if (other.OptionalStringPiece.Length != 0) {
  2463. OptionalStringPiece = other.OptionalStringPiece;
  2464. }
  2465. if (other.OptionalCord.Length != 0) {
  2466. OptionalCord = other.OptionalCord;
  2467. }
  2468. if (other.recursiveMessage_ != null) {
  2469. if (recursiveMessage_ == null) {
  2470. recursiveMessage_ = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3();
  2471. }
  2472. RecursiveMessage.MergeFrom(other.RecursiveMessage);
  2473. }
  2474. repeatedInt32_.Add(other.repeatedInt32_);
  2475. repeatedInt64_.Add(other.repeatedInt64_);
  2476. repeatedUint32_.Add(other.repeatedUint32_);
  2477. repeatedUint64_.Add(other.repeatedUint64_);
  2478. repeatedSint32_.Add(other.repeatedSint32_);
  2479. repeatedSint64_.Add(other.repeatedSint64_);
  2480. repeatedFixed32_.Add(other.repeatedFixed32_);
  2481. repeatedFixed64_.Add(other.repeatedFixed64_);
  2482. repeatedSfixed32_.Add(other.repeatedSfixed32_);
  2483. repeatedSfixed64_.Add(other.repeatedSfixed64_);
  2484. repeatedFloat_.Add(other.repeatedFloat_);
  2485. repeatedDouble_.Add(other.repeatedDouble_);
  2486. repeatedBool_.Add(other.repeatedBool_);
  2487. repeatedString_.Add(other.repeatedString_);
  2488. repeatedBytes_.Add(other.repeatedBytes_);
  2489. repeatedNestedMessage_.Add(other.repeatedNestedMessage_);
  2490. repeatedForeignMessage_.Add(other.repeatedForeignMessage_);
  2491. repeatedNestedEnum_.Add(other.repeatedNestedEnum_);
  2492. repeatedForeignEnum_.Add(other.repeatedForeignEnum_);
  2493. repeatedStringPiece_.Add(other.repeatedStringPiece_);
  2494. repeatedCord_.Add(other.repeatedCord_);
  2495. mapInt32Int32_.Add(other.mapInt32Int32_);
  2496. mapInt64Int64_.Add(other.mapInt64Int64_);
  2497. mapUint32Uint32_.Add(other.mapUint32Uint32_);
  2498. mapUint64Uint64_.Add(other.mapUint64Uint64_);
  2499. mapSint32Sint32_.Add(other.mapSint32Sint32_);
  2500. mapSint64Sint64_.Add(other.mapSint64Sint64_);
  2501. mapFixed32Fixed32_.Add(other.mapFixed32Fixed32_);
  2502. mapFixed64Fixed64_.Add(other.mapFixed64Fixed64_);
  2503. mapSfixed32Sfixed32_.Add(other.mapSfixed32Sfixed32_);
  2504. mapSfixed64Sfixed64_.Add(other.mapSfixed64Sfixed64_);
  2505. mapInt32Float_.Add(other.mapInt32Float_);
  2506. mapInt32Double_.Add(other.mapInt32Double_);
  2507. mapBoolBool_.Add(other.mapBoolBool_);
  2508. mapStringString_.Add(other.mapStringString_);
  2509. mapStringBytes_.Add(other.mapStringBytes_);
  2510. mapStringNestedMessage_.Add(other.mapStringNestedMessage_);
  2511. mapStringForeignMessage_.Add(other.mapStringForeignMessage_);
  2512. mapStringNestedEnum_.Add(other.mapStringNestedEnum_);
  2513. mapStringForeignEnum_.Add(other.mapStringForeignEnum_);
  2514. if (other.optionalBoolWrapper_ != null) {
  2515. if (optionalBoolWrapper_ == null || other.OptionalBoolWrapper != false) {
  2516. OptionalBoolWrapper = other.OptionalBoolWrapper;
  2517. }
  2518. }
  2519. if (other.optionalInt32Wrapper_ != null) {
  2520. if (optionalInt32Wrapper_ == null || other.OptionalInt32Wrapper != 0) {
  2521. OptionalInt32Wrapper = other.OptionalInt32Wrapper;
  2522. }
  2523. }
  2524. if (other.optionalInt64Wrapper_ != null) {
  2525. if (optionalInt64Wrapper_ == null || other.OptionalInt64Wrapper != 0L) {
  2526. OptionalInt64Wrapper = other.OptionalInt64Wrapper;
  2527. }
  2528. }
  2529. if (other.optionalUint32Wrapper_ != null) {
  2530. if (optionalUint32Wrapper_ == null || other.OptionalUint32Wrapper != 0) {
  2531. OptionalUint32Wrapper = other.OptionalUint32Wrapper;
  2532. }
  2533. }
  2534. if (other.optionalUint64Wrapper_ != null) {
  2535. if (optionalUint64Wrapper_ == null || other.OptionalUint64Wrapper != 0UL) {
  2536. OptionalUint64Wrapper = other.OptionalUint64Wrapper;
  2537. }
  2538. }
  2539. if (other.optionalFloatWrapper_ != null) {
  2540. if (optionalFloatWrapper_ == null || other.OptionalFloatWrapper != 0F) {
  2541. OptionalFloatWrapper = other.OptionalFloatWrapper;
  2542. }
  2543. }
  2544. if (other.optionalDoubleWrapper_ != null) {
  2545. if (optionalDoubleWrapper_ == null || other.OptionalDoubleWrapper != 0D) {
  2546. OptionalDoubleWrapper = other.OptionalDoubleWrapper;
  2547. }
  2548. }
  2549. if (other.optionalStringWrapper_ != null) {
  2550. if (optionalStringWrapper_ == null || other.OptionalStringWrapper != "") {
  2551. OptionalStringWrapper = other.OptionalStringWrapper;
  2552. }
  2553. }
  2554. if (other.optionalBytesWrapper_ != null) {
  2555. if (optionalBytesWrapper_ == null || other.OptionalBytesWrapper != pb::ByteString.Empty) {
  2556. OptionalBytesWrapper = other.OptionalBytesWrapper;
  2557. }
  2558. }
  2559. repeatedBoolWrapper_.Add(other.repeatedBoolWrapper_);
  2560. repeatedInt32Wrapper_.Add(other.repeatedInt32Wrapper_);
  2561. repeatedInt64Wrapper_.Add(other.repeatedInt64Wrapper_);
  2562. repeatedUint32Wrapper_.Add(other.repeatedUint32Wrapper_);
  2563. repeatedUint64Wrapper_.Add(other.repeatedUint64Wrapper_);
  2564. repeatedFloatWrapper_.Add(other.repeatedFloatWrapper_);
  2565. repeatedDoubleWrapper_.Add(other.repeatedDoubleWrapper_);
  2566. repeatedStringWrapper_.Add(other.repeatedStringWrapper_);
  2567. repeatedBytesWrapper_.Add(other.repeatedBytesWrapper_);
  2568. if (other.optionalDuration_ != null) {
  2569. if (optionalDuration_ == null) {
  2570. optionalDuration_ = new global::Google.Protobuf.WellKnownTypes.Duration();
  2571. }
  2572. OptionalDuration.MergeFrom(other.OptionalDuration);
  2573. }
  2574. if (other.optionalTimestamp_ != null) {
  2575. if (optionalTimestamp_ == null) {
  2576. optionalTimestamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
  2577. }
  2578. OptionalTimestamp.MergeFrom(other.OptionalTimestamp);
  2579. }
  2580. if (other.optionalFieldMask_ != null) {
  2581. if (optionalFieldMask_ == null) {
  2582. optionalFieldMask_ = new global::Google.Protobuf.WellKnownTypes.FieldMask();
  2583. }
  2584. OptionalFieldMask.MergeFrom(other.OptionalFieldMask);
  2585. }
  2586. if (other.optionalStruct_ != null) {
  2587. if (optionalStruct_ == null) {
  2588. optionalStruct_ = new global::Google.Protobuf.WellKnownTypes.Struct();
  2589. }
  2590. OptionalStruct.MergeFrom(other.OptionalStruct);
  2591. }
  2592. if (other.optionalAny_ != null) {
  2593. if (optionalAny_ == null) {
  2594. optionalAny_ = new global::Google.Protobuf.WellKnownTypes.Any();
  2595. }
  2596. OptionalAny.MergeFrom(other.OptionalAny);
  2597. }
  2598. if (other.optionalValue_ != null) {
  2599. if (optionalValue_ == null) {
  2600. optionalValue_ = new global::Google.Protobuf.WellKnownTypes.Value();
  2601. }
  2602. OptionalValue.MergeFrom(other.OptionalValue);
  2603. }
  2604. repeatedDuration_.Add(other.repeatedDuration_);
  2605. repeatedTimestamp_.Add(other.repeatedTimestamp_);
  2606. repeatedFieldmask_.Add(other.repeatedFieldmask_);
  2607. repeatedStruct_.Add(other.repeatedStruct_);
  2608. repeatedAny_.Add(other.repeatedAny_);
  2609. repeatedValue_.Add(other.repeatedValue_);
  2610. if (other.Fieldname1 != 0) {
  2611. Fieldname1 = other.Fieldname1;
  2612. }
  2613. if (other.FieldName2 != 0) {
  2614. FieldName2 = other.FieldName2;
  2615. }
  2616. if (other.FieldName3 != 0) {
  2617. FieldName3 = other.FieldName3;
  2618. }
  2619. if (other.FieldName4 != 0) {
  2620. FieldName4 = other.FieldName4;
  2621. }
  2622. if (other.Field0Name5 != 0) {
  2623. Field0Name5 = other.Field0Name5;
  2624. }
  2625. if (other.Field0Name6 != 0) {
  2626. Field0Name6 = other.Field0Name6;
  2627. }
  2628. if (other.FieldName7 != 0) {
  2629. FieldName7 = other.FieldName7;
  2630. }
  2631. if (other.FieldName8 != 0) {
  2632. FieldName8 = other.FieldName8;
  2633. }
  2634. if (other.FieldName9 != 0) {
  2635. FieldName9 = other.FieldName9;
  2636. }
  2637. if (other.FieldName10 != 0) {
  2638. FieldName10 = other.FieldName10;
  2639. }
  2640. if (other.FIELDNAME11 != 0) {
  2641. FIELDNAME11 = other.FIELDNAME11;
  2642. }
  2643. if (other.FIELDName12 != 0) {
  2644. FIELDName12 = other.FIELDName12;
  2645. }
  2646. if (other.FieldName13 != 0) {
  2647. FieldName13 = other.FieldName13;
  2648. }
  2649. if (other.FieldName14 != 0) {
  2650. FieldName14 = other.FieldName14;
  2651. }
  2652. if (other.FieldName15 != 0) {
  2653. FieldName15 = other.FieldName15;
  2654. }
  2655. if (other.FieldName16 != 0) {
  2656. FieldName16 = other.FieldName16;
  2657. }
  2658. if (other.FieldName17 != 0) {
  2659. FieldName17 = other.FieldName17;
  2660. }
  2661. if (other.FieldName18 != 0) {
  2662. FieldName18 = other.FieldName18;
  2663. }
  2664. switch (other.OneofFieldCase) {
  2665. case OneofFieldOneofCase.OneofUint32:
  2666. OneofUint32 = other.OneofUint32;
  2667. break;
  2668. case OneofFieldOneofCase.OneofNestedMessage:
  2669. OneofNestedMessage = other.OneofNestedMessage;
  2670. break;
  2671. case OneofFieldOneofCase.OneofString:
  2672. OneofString = other.OneofString;
  2673. break;
  2674. case OneofFieldOneofCase.OneofBytes:
  2675. OneofBytes = other.OneofBytes;
  2676. break;
  2677. case OneofFieldOneofCase.OneofBool:
  2678. OneofBool = other.OneofBool;
  2679. break;
  2680. case OneofFieldOneofCase.OneofUint64:
  2681. OneofUint64 = other.OneofUint64;
  2682. break;
  2683. case OneofFieldOneofCase.OneofFloat:
  2684. OneofFloat = other.OneofFloat;
  2685. break;
  2686. case OneofFieldOneofCase.OneofDouble:
  2687. OneofDouble = other.OneofDouble;
  2688. break;
  2689. case OneofFieldOneofCase.OneofEnum:
  2690. OneofEnum = other.OneofEnum;
  2691. break;
  2692. }
  2693. }
  2694. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2695. public void MergeFrom(pb::CodedInputStream input) {
  2696. uint tag;
  2697. while ((tag = input.ReadTag()) != 0) {
  2698. switch(tag) {
  2699. default:
  2700. input.SkipLastField();
  2701. break;
  2702. case 8: {
  2703. OptionalInt32 = input.ReadInt32();
  2704. break;
  2705. }
  2706. case 16: {
  2707. OptionalInt64 = input.ReadInt64();
  2708. break;
  2709. }
  2710. case 24: {
  2711. OptionalUint32 = input.ReadUInt32();
  2712. break;
  2713. }
  2714. case 32: {
  2715. OptionalUint64 = input.ReadUInt64();
  2716. break;
  2717. }
  2718. case 40: {
  2719. OptionalSint32 = input.ReadSInt32();
  2720. break;
  2721. }
  2722. case 48: {
  2723. OptionalSint64 = input.ReadSInt64();
  2724. break;
  2725. }
  2726. case 61: {
  2727. OptionalFixed32 = input.ReadFixed32();
  2728. break;
  2729. }
  2730. case 65: {
  2731. OptionalFixed64 = input.ReadFixed64();
  2732. break;
  2733. }
  2734. case 77: {
  2735. OptionalSfixed32 = input.ReadSFixed32();
  2736. break;
  2737. }
  2738. case 81: {
  2739. OptionalSfixed64 = input.ReadSFixed64();
  2740. break;
  2741. }
  2742. case 93: {
  2743. OptionalFloat = input.ReadFloat();
  2744. break;
  2745. }
  2746. case 97: {
  2747. OptionalDouble = input.ReadDouble();
  2748. break;
  2749. }
  2750. case 104: {
  2751. OptionalBool = input.ReadBool();
  2752. break;
  2753. }
  2754. case 114: {
  2755. OptionalString = input.ReadString();
  2756. break;
  2757. }
  2758. case 122: {
  2759. OptionalBytes = input.ReadBytes();
  2760. break;
  2761. }
  2762. case 146: {
  2763. if (optionalNestedMessage_ == null) {
  2764. optionalNestedMessage_ = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage();
  2765. }
  2766. input.ReadMessage(optionalNestedMessage_);
  2767. break;
  2768. }
  2769. case 154: {
  2770. if (optionalForeignMessage_ == null) {
  2771. optionalForeignMessage_ = new global::ProtobufTestMessages.Proto3.ForeignMessage();
  2772. }
  2773. input.ReadMessage(optionalForeignMessage_);
  2774. break;
  2775. }
  2776. case 168: {
  2777. optionalNestedEnum_ = (global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedEnum) input.ReadEnum();
  2778. break;
  2779. }
  2780. case 176: {
  2781. optionalForeignEnum_ = (global::ProtobufTestMessages.Proto3.ForeignEnum) input.ReadEnum();
  2782. break;
  2783. }
  2784. case 194: {
  2785. OptionalStringPiece = input.ReadString();
  2786. break;
  2787. }
  2788. case 202: {
  2789. OptionalCord = input.ReadString();
  2790. break;
  2791. }
  2792. case 218: {
  2793. if (recursiveMessage_ == null) {
  2794. recursiveMessage_ = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3();
  2795. }
  2796. input.ReadMessage(recursiveMessage_);
  2797. break;
  2798. }
  2799. case 250:
  2800. case 248: {
  2801. repeatedInt32_.AddEntriesFrom(input, _repeated_repeatedInt32_codec);
  2802. break;
  2803. }
  2804. case 258:
  2805. case 256: {
  2806. repeatedInt64_.AddEntriesFrom(input, _repeated_repeatedInt64_codec);
  2807. break;
  2808. }
  2809. case 266:
  2810. case 264: {
  2811. repeatedUint32_.AddEntriesFrom(input, _repeated_repeatedUint32_codec);
  2812. break;
  2813. }
  2814. case 274:
  2815. case 272: {
  2816. repeatedUint64_.AddEntriesFrom(input, _repeated_repeatedUint64_codec);
  2817. break;
  2818. }
  2819. case 282:
  2820. case 280: {
  2821. repeatedSint32_.AddEntriesFrom(input, _repeated_repeatedSint32_codec);
  2822. break;
  2823. }
  2824. case 290:
  2825. case 288: {
  2826. repeatedSint64_.AddEntriesFrom(input, _repeated_repeatedSint64_codec);
  2827. break;
  2828. }
  2829. case 298:
  2830. case 301: {
  2831. repeatedFixed32_.AddEntriesFrom(input, _repeated_repeatedFixed32_codec);
  2832. break;
  2833. }
  2834. case 306:
  2835. case 305: {
  2836. repeatedFixed64_.AddEntriesFrom(input, _repeated_repeatedFixed64_codec);
  2837. break;
  2838. }
  2839. case 314:
  2840. case 317: {
  2841. repeatedSfixed32_.AddEntriesFrom(input, _repeated_repeatedSfixed32_codec);
  2842. break;
  2843. }
  2844. case 322:
  2845. case 321: {
  2846. repeatedSfixed64_.AddEntriesFrom(input, _repeated_repeatedSfixed64_codec);
  2847. break;
  2848. }
  2849. case 330:
  2850. case 333: {
  2851. repeatedFloat_.AddEntriesFrom(input, _repeated_repeatedFloat_codec);
  2852. break;
  2853. }
  2854. case 338:
  2855. case 337: {
  2856. repeatedDouble_.AddEntriesFrom(input, _repeated_repeatedDouble_codec);
  2857. break;
  2858. }
  2859. case 346:
  2860. case 344: {
  2861. repeatedBool_.AddEntriesFrom(input, _repeated_repeatedBool_codec);
  2862. break;
  2863. }
  2864. case 354: {
  2865. repeatedString_.AddEntriesFrom(input, _repeated_repeatedString_codec);
  2866. break;
  2867. }
  2868. case 362: {
  2869. repeatedBytes_.AddEntriesFrom(input, _repeated_repeatedBytes_codec);
  2870. break;
  2871. }
  2872. case 386: {
  2873. repeatedNestedMessage_.AddEntriesFrom(input, _repeated_repeatedNestedMessage_codec);
  2874. break;
  2875. }
  2876. case 394: {
  2877. repeatedForeignMessage_.AddEntriesFrom(input, _repeated_repeatedForeignMessage_codec);
  2878. break;
  2879. }
  2880. case 410:
  2881. case 408: {
  2882. repeatedNestedEnum_.AddEntriesFrom(input, _repeated_repeatedNestedEnum_codec);
  2883. break;
  2884. }
  2885. case 418:
  2886. case 416: {
  2887. repeatedForeignEnum_.AddEntriesFrom(input, _repeated_repeatedForeignEnum_codec);
  2888. break;
  2889. }
  2890. case 434: {
  2891. repeatedStringPiece_.AddEntriesFrom(input, _repeated_repeatedStringPiece_codec);
  2892. break;
  2893. }
  2894. case 442: {
  2895. repeatedCord_.AddEntriesFrom(input, _repeated_repeatedCord_codec);
  2896. break;
  2897. }
  2898. case 450: {
  2899. mapInt32Int32_.AddEntriesFrom(input, _map_mapInt32Int32_codec);
  2900. break;
  2901. }
  2902. case 458: {
  2903. mapInt64Int64_.AddEntriesFrom(input, _map_mapInt64Int64_codec);
  2904. break;
  2905. }
  2906. case 466: {
  2907. mapUint32Uint32_.AddEntriesFrom(input, _map_mapUint32Uint32_codec);
  2908. break;
  2909. }
  2910. case 474: {
  2911. mapUint64Uint64_.AddEntriesFrom(input, _map_mapUint64Uint64_codec);
  2912. break;
  2913. }
  2914. case 482: {
  2915. mapSint32Sint32_.AddEntriesFrom(input, _map_mapSint32Sint32_codec);
  2916. break;
  2917. }
  2918. case 490: {
  2919. mapSint64Sint64_.AddEntriesFrom(input, _map_mapSint64Sint64_codec);
  2920. break;
  2921. }
  2922. case 498: {
  2923. mapFixed32Fixed32_.AddEntriesFrom(input, _map_mapFixed32Fixed32_codec);
  2924. break;
  2925. }
  2926. case 506: {
  2927. mapFixed64Fixed64_.AddEntriesFrom(input, _map_mapFixed64Fixed64_codec);
  2928. break;
  2929. }
  2930. case 514: {
  2931. mapSfixed32Sfixed32_.AddEntriesFrom(input, _map_mapSfixed32Sfixed32_codec);
  2932. break;
  2933. }
  2934. case 522: {
  2935. mapSfixed64Sfixed64_.AddEntriesFrom(input, _map_mapSfixed64Sfixed64_codec);
  2936. break;
  2937. }
  2938. case 530: {
  2939. mapInt32Float_.AddEntriesFrom(input, _map_mapInt32Float_codec);
  2940. break;
  2941. }
  2942. case 538: {
  2943. mapInt32Double_.AddEntriesFrom(input, _map_mapInt32Double_codec);
  2944. break;
  2945. }
  2946. case 546: {
  2947. mapBoolBool_.AddEntriesFrom(input, _map_mapBoolBool_codec);
  2948. break;
  2949. }
  2950. case 554: {
  2951. mapStringString_.AddEntriesFrom(input, _map_mapStringString_codec);
  2952. break;
  2953. }
  2954. case 562: {
  2955. mapStringBytes_.AddEntriesFrom(input, _map_mapStringBytes_codec);
  2956. break;
  2957. }
  2958. case 570: {
  2959. mapStringNestedMessage_.AddEntriesFrom(input, _map_mapStringNestedMessage_codec);
  2960. break;
  2961. }
  2962. case 578: {
  2963. mapStringForeignMessage_.AddEntriesFrom(input, _map_mapStringForeignMessage_codec);
  2964. break;
  2965. }
  2966. case 586: {
  2967. mapStringNestedEnum_.AddEntriesFrom(input, _map_mapStringNestedEnum_codec);
  2968. break;
  2969. }
  2970. case 594: {
  2971. mapStringForeignEnum_.AddEntriesFrom(input, _map_mapStringForeignEnum_codec);
  2972. break;
  2973. }
  2974. case 888: {
  2975. OneofUint32 = input.ReadUInt32();
  2976. break;
  2977. }
  2978. case 898: {
  2979. global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage subBuilder = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Types.NestedMessage();
  2980. if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) {
  2981. subBuilder.MergeFrom(OneofNestedMessage);
  2982. }
  2983. input.ReadMessage(subBuilder);
  2984. OneofNestedMessage = subBuilder;
  2985. break;
  2986. }
  2987. case 906: {
  2988. OneofString = input.ReadString();
  2989. break;
  2990. }
  2991. case 914: {
  2992. OneofBytes = input.ReadBytes();
  2993. break;
  2994. }
  2995. case 920: {
  2996. OneofBool = input.ReadBool();
  2997. break;
  2998. }
  2999. case 928: {
  3000. OneofUint64 = input.ReadUInt64();
  3001. break;
  3002. }
  3003. case 941: {
  3004. OneofFloat = input.ReadFloat();
  3005. break;
  3006. }
  3007. case 945: {
  3008. OneofDouble = input.ReadDouble();
  3009. break;
  3010. }
  3011. case 952: {
  3012. oneofField_ = input.ReadEnum();
  3013. oneofFieldCase_ = OneofFieldOneofCase.OneofEnum;
  3014. break;
  3015. }
  3016. case 1610: {
  3017. bool? value = _single_optionalBoolWrapper_codec.Read(input);
  3018. if (optionalBoolWrapper_ == null || value != false) {
  3019. OptionalBoolWrapper = value;
  3020. }
  3021. break;
  3022. }
  3023. case 1618: {
  3024. int? value = _single_optionalInt32Wrapper_codec.Read(input);
  3025. if (optionalInt32Wrapper_ == null || value != 0) {
  3026. OptionalInt32Wrapper = value;
  3027. }
  3028. break;
  3029. }
  3030. case 1626: {
  3031. long? value = _single_optionalInt64Wrapper_codec.Read(input);
  3032. if (optionalInt64Wrapper_ == null || value != 0L) {
  3033. OptionalInt64Wrapper = value;
  3034. }
  3035. break;
  3036. }
  3037. case 1634: {
  3038. uint? value = _single_optionalUint32Wrapper_codec.Read(input);
  3039. if (optionalUint32Wrapper_ == null || value != 0) {
  3040. OptionalUint32Wrapper = value;
  3041. }
  3042. break;
  3043. }
  3044. case 1642: {
  3045. ulong? value = _single_optionalUint64Wrapper_codec.Read(input);
  3046. if (optionalUint64Wrapper_ == null || value != 0UL) {
  3047. OptionalUint64Wrapper = value;
  3048. }
  3049. break;
  3050. }
  3051. case 1650: {
  3052. float? value = _single_optionalFloatWrapper_codec.Read(input);
  3053. if (optionalFloatWrapper_ == null || value != 0F) {
  3054. OptionalFloatWrapper = value;
  3055. }
  3056. break;
  3057. }
  3058. case 1658: {
  3059. double? value = _single_optionalDoubleWrapper_codec.Read(input);
  3060. if (optionalDoubleWrapper_ == null || value != 0D) {
  3061. OptionalDoubleWrapper = value;
  3062. }
  3063. break;
  3064. }
  3065. case 1666: {
  3066. string value = _single_optionalStringWrapper_codec.Read(input);
  3067. if (optionalStringWrapper_ == null || value != "") {
  3068. OptionalStringWrapper = value;
  3069. }
  3070. break;
  3071. }
  3072. case 1674: {
  3073. pb::ByteString value = _single_optionalBytesWrapper_codec.Read(input);
  3074. if (optionalBytesWrapper_ == null || value != pb::ByteString.Empty) {
  3075. OptionalBytesWrapper = value;
  3076. }
  3077. break;
  3078. }
  3079. case 1690: {
  3080. repeatedBoolWrapper_.AddEntriesFrom(input, _repeated_repeatedBoolWrapper_codec);
  3081. break;
  3082. }
  3083. case 1698: {
  3084. repeatedInt32Wrapper_.AddEntriesFrom(input, _repeated_repeatedInt32Wrapper_codec);
  3085. break;
  3086. }
  3087. case 1706: {
  3088. repeatedInt64Wrapper_.AddEntriesFrom(input, _repeated_repeatedInt64Wrapper_codec);
  3089. break;
  3090. }
  3091. case 1714: {
  3092. repeatedUint32Wrapper_.AddEntriesFrom(input, _repeated_repeatedUint32Wrapper_codec);
  3093. break;
  3094. }
  3095. case 1722: {
  3096. repeatedUint64Wrapper_.AddEntriesFrom(input, _repeated_repeatedUint64Wrapper_codec);
  3097. break;
  3098. }
  3099. case 1730: {
  3100. repeatedFloatWrapper_.AddEntriesFrom(input, _repeated_repeatedFloatWrapper_codec);
  3101. break;
  3102. }
  3103. case 1738: {
  3104. repeatedDoubleWrapper_.AddEntriesFrom(input, _repeated_repeatedDoubleWrapper_codec);
  3105. break;
  3106. }
  3107. case 1746: {
  3108. repeatedStringWrapper_.AddEntriesFrom(input, _repeated_repeatedStringWrapper_codec);
  3109. break;
  3110. }
  3111. case 1754: {
  3112. repeatedBytesWrapper_.AddEntriesFrom(input, _repeated_repeatedBytesWrapper_codec);
  3113. break;
  3114. }
  3115. case 2410: {
  3116. if (optionalDuration_ == null) {
  3117. optionalDuration_ = new global::Google.Protobuf.WellKnownTypes.Duration();
  3118. }
  3119. input.ReadMessage(optionalDuration_);
  3120. break;
  3121. }
  3122. case 2418: {
  3123. if (optionalTimestamp_ == null) {
  3124. optionalTimestamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
  3125. }
  3126. input.ReadMessage(optionalTimestamp_);
  3127. break;
  3128. }
  3129. case 2426: {
  3130. if (optionalFieldMask_ == null) {
  3131. optionalFieldMask_ = new global::Google.Protobuf.WellKnownTypes.FieldMask();
  3132. }
  3133. input.ReadMessage(optionalFieldMask_);
  3134. break;
  3135. }
  3136. case 2434: {
  3137. if (optionalStruct_ == null) {
  3138. optionalStruct_ = new global::Google.Protobuf.WellKnownTypes.Struct();
  3139. }
  3140. input.ReadMessage(optionalStruct_);
  3141. break;
  3142. }
  3143. case 2442: {
  3144. if (optionalAny_ == null) {
  3145. optionalAny_ = new global::Google.Protobuf.WellKnownTypes.Any();
  3146. }
  3147. input.ReadMessage(optionalAny_);
  3148. break;
  3149. }
  3150. case 2450: {
  3151. if (optionalValue_ == null) {
  3152. optionalValue_ = new global::Google.Protobuf.WellKnownTypes.Value();
  3153. }
  3154. input.ReadMessage(optionalValue_);
  3155. break;
  3156. }
  3157. case 2490: {
  3158. repeatedDuration_.AddEntriesFrom(input, _repeated_repeatedDuration_codec);
  3159. break;
  3160. }
  3161. case 2498: {
  3162. repeatedTimestamp_.AddEntriesFrom(input, _repeated_repeatedTimestamp_codec);
  3163. break;
  3164. }
  3165. case 2506: {
  3166. repeatedFieldmask_.AddEntriesFrom(input, _repeated_repeatedFieldmask_codec);
  3167. break;
  3168. }
  3169. case 2522: {
  3170. repeatedAny_.AddEntriesFrom(input, _repeated_repeatedAny_codec);
  3171. break;
  3172. }
  3173. case 2530: {
  3174. repeatedValue_.AddEntriesFrom(input, _repeated_repeatedValue_codec);
  3175. break;
  3176. }
  3177. case 2594: {
  3178. repeatedStruct_.AddEntriesFrom(input, _repeated_repeatedStruct_codec);
  3179. break;
  3180. }
  3181. case 3208: {
  3182. Fieldname1 = input.ReadInt32();
  3183. break;
  3184. }
  3185. case 3216: {
  3186. FieldName2 = input.ReadInt32();
  3187. break;
  3188. }
  3189. case 3224: {
  3190. FieldName3 = input.ReadInt32();
  3191. break;
  3192. }
  3193. case 3232: {
  3194. FieldName4 = input.ReadInt32();
  3195. break;
  3196. }
  3197. case 3240: {
  3198. Field0Name5 = input.ReadInt32();
  3199. break;
  3200. }
  3201. case 3248: {
  3202. Field0Name6 = input.ReadInt32();
  3203. break;
  3204. }
  3205. case 3256: {
  3206. FieldName7 = input.ReadInt32();
  3207. break;
  3208. }
  3209. case 3264: {
  3210. FieldName8 = input.ReadInt32();
  3211. break;
  3212. }
  3213. case 3272: {
  3214. FieldName9 = input.ReadInt32();
  3215. break;
  3216. }
  3217. case 3280: {
  3218. FieldName10 = input.ReadInt32();
  3219. break;
  3220. }
  3221. case 3288: {
  3222. FIELDNAME11 = input.ReadInt32();
  3223. break;
  3224. }
  3225. case 3296: {
  3226. FIELDName12 = input.ReadInt32();
  3227. break;
  3228. }
  3229. case 3304: {
  3230. FieldName13 = input.ReadInt32();
  3231. break;
  3232. }
  3233. case 3312: {
  3234. FieldName14 = input.ReadInt32();
  3235. break;
  3236. }
  3237. case 3320: {
  3238. FieldName15 = input.ReadInt32();
  3239. break;
  3240. }
  3241. case 3328: {
  3242. FieldName16 = input.ReadInt32();
  3243. break;
  3244. }
  3245. case 3336: {
  3246. FieldName17 = input.ReadInt32();
  3247. break;
  3248. }
  3249. case 3344: {
  3250. FieldName18 = input.ReadInt32();
  3251. break;
  3252. }
  3253. }
  3254. }
  3255. }
  3256. #region Nested types
  3257. /// <summary>Container for nested types declared in the TestAllTypesProto3 message type.</summary>
  3258. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3259. public static partial class Types {
  3260. public enum NestedEnum {
  3261. [pbr::OriginalName("FOO")] Foo = 0,
  3262. [pbr::OriginalName("BAR")] Bar = 1,
  3263. [pbr::OriginalName("BAZ")] Baz = 2,
  3264. /// <summary>
  3265. /// Intentionally negative.
  3266. /// </summary>
  3267. [pbr::OriginalName("NEG")] Neg = -1,
  3268. }
  3269. public sealed partial class NestedMessage : pb::IMessage<NestedMessage> {
  3270. private static readonly pb::MessageParser<NestedMessage> _parser = new pb::MessageParser<NestedMessage>(() => new NestedMessage());
  3271. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3272. public static pb::MessageParser<NestedMessage> Parser { get { return _parser; } }
  3273. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3274. public static pbr::MessageDescriptor Descriptor {
  3275. get { return global::ProtobufTestMessages.Proto3.TestAllTypesProto3.Descriptor.NestedTypes[0]; }
  3276. }
  3277. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3278. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3279. get { return Descriptor; }
  3280. }
  3281. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3282. public NestedMessage() {
  3283. OnConstruction();
  3284. }
  3285. partial void OnConstruction();
  3286. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3287. public NestedMessage(NestedMessage other) : this() {
  3288. a_ = other.a_;
  3289. Corecursive = other.corecursive_ != null ? other.Corecursive.Clone() : null;
  3290. }
  3291. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3292. public NestedMessage Clone() {
  3293. return new NestedMessage(this);
  3294. }
  3295. /// <summary>Field number for the "a" field.</summary>
  3296. public const int AFieldNumber = 1;
  3297. private int a_;
  3298. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3299. public int A {
  3300. get { return a_; }
  3301. set {
  3302. a_ = value;
  3303. }
  3304. }
  3305. /// <summary>Field number for the "corecursive" field.</summary>
  3306. public const int CorecursiveFieldNumber = 2;
  3307. private global::ProtobufTestMessages.Proto3.TestAllTypesProto3 corecursive_;
  3308. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3309. public global::ProtobufTestMessages.Proto3.TestAllTypesProto3 Corecursive {
  3310. get { return corecursive_; }
  3311. set {
  3312. corecursive_ = value;
  3313. }
  3314. }
  3315. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3316. public override bool Equals(object other) {
  3317. return Equals(other as NestedMessage);
  3318. }
  3319. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3320. public bool Equals(NestedMessage other) {
  3321. if (ReferenceEquals(other, null)) {
  3322. return false;
  3323. }
  3324. if (ReferenceEquals(other, this)) {
  3325. return true;
  3326. }
  3327. if (A != other.A) return false;
  3328. if (!object.Equals(Corecursive, other.Corecursive)) return false;
  3329. return true;
  3330. }
  3331. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3332. public override int GetHashCode() {
  3333. int hash = 1;
  3334. if (A != 0) hash ^= A.GetHashCode();
  3335. if (corecursive_ != null) hash ^= Corecursive.GetHashCode();
  3336. return hash;
  3337. }
  3338. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3339. public override string ToString() {
  3340. return pb::JsonFormatter.ToDiagnosticString(this);
  3341. }
  3342. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3343. public void WriteTo(pb::CodedOutputStream output) {
  3344. if (A != 0) {
  3345. output.WriteRawTag(8);
  3346. output.WriteInt32(A);
  3347. }
  3348. if (corecursive_ != null) {
  3349. output.WriteRawTag(18);
  3350. output.WriteMessage(Corecursive);
  3351. }
  3352. }
  3353. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3354. public int CalculateSize() {
  3355. int size = 0;
  3356. if (A != 0) {
  3357. size += 1 + pb::CodedOutputStream.ComputeInt32Size(A);
  3358. }
  3359. if (corecursive_ != null) {
  3360. size += 1 + pb::CodedOutputStream.ComputeMessageSize(Corecursive);
  3361. }
  3362. return size;
  3363. }
  3364. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3365. public void MergeFrom(NestedMessage other) {
  3366. if (other == null) {
  3367. return;
  3368. }
  3369. if (other.A != 0) {
  3370. A = other.A;
  3371. }
  3372. if (other.corecursive_ != null) {
  3373. if (corecursive_ == null) {
  3374. corecursive_ = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3();
  3375. }
  3376. Corecursive.MergeFrom(other.Corecursive);
  3377. }
  3378. }
  3379. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3380. public void MergeFrom(pb::CodedInputStream input) {
  3381. uint tag;
  3382. while ((tag = input.ReadTag()) != 0) {
  3383. switch(tag) {
  3384. default:
  3385. input.SkipLastField();
  3386. break;
  3387. case 8: {
  3388. A = input.ReadInt32();
  3389. break;
  3390. }
  3391. case 18: {
  3392. if (corecursive_ == null) {
  3393. corecursive_ = new global::ProtobufTestMessages.Proto3.TestAllTypesProto3();
  3394. }
  3395. input.ReadMessage(corecursive_);
  3396. break;
  3397. }
  3398. }
  3399. }
  3400. }
  3401. }
  3402. }
  3403. #endregion
  3404. }
  3405. public sealed partial class ForeignMessage : pb::IMessage<ForeignMessage> {
  3406. private static readonly pb::MessageParser<ForeignMessage> _parser = new pb::MessageParser<ForeignMessage>(() => new ForeignMessage());
  3407. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3408. public static pb::MessageParser<ForeignMessage> Parser { get { return _parser; } }
  3409. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3410. public static pbr::MessageDescriptor Descriptor {
  3411. get { return global::ProtobufTestMessages.Proto3.TestMessagesProto3Reflection.Descriptor.MessageTypes[1]; }
  3412. }
  3413. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3414. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3415. get { return Descriptor; }
  3416. }
  3417. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3418. public ForeignMessage() {
  3419. OnConstruction();
  3420. }
  3421. partial void OnConstruction();
  3422. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3423. public ForeignMessage(ForeignMessage other) : this() {
  3424. c_ = other.c_;
  3425. }
  3426. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3427. public ForeignMessage Clone() {
  3428. return new ForeignMessage(this);
  3429. }
  3430. /// <summary>Field number for the "c" field.</summary>
  3431. public const int CFieldNumber = 1;
  3432. private int c_;
  3433. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3434. public int C {
  3435. get { return c_; }
  3436. set {
  3437. c_ = value;
  3438. }
  3439. }
  3440. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3441. public override bool Equals(object other) {
  3442. return Equals(other as ForeignMessage);
  3443. }
  3444. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3445. public bool Equals(ForeignMessage other) {
  3446. if (ReferenceEquals(other, null)) {
  3447. return false;
  3448. }
  3449. if (ReferenceEquals(other, this)) {
  3450. return true;
  3451. }
  3452. if (C != other.C) return false;
  3453. return true;
  3454. }
  3455. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3456. public override int GetHashCode() {
  3457. int hash = 1;
  3458. if (C != 0) hash ^= C.GetHashCode();
  3459. return hash;
  3460. }
  3461. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3462. public override string ToString() {
  3463. return pb::JsonFormatter.ToDiagnosticString(this);
  3464. }
  3465. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3466. public void WriteTo(pb::CodedOutputStream output) {
  3467. if (C != 0) {
  3468. output.WriteRawTag(8);
  3469. output.WriteInt32(C);
  3470. }
  3471. }
  3472. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3473. public int CalculateSize() {
  3474. int size = 0;
  3475. if (C != 0) {
  3476. size += 1 + pb::CodedOutputStream.ComputeInt32Size(C);
  3477. }
  3478. return size;
  3479. }
  3480. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3481. public void MergeFrom(ForeignMessage other) {
  3482. if (other == null) {
  3483. return;
  3484. }
  3485. if (other.C != 0) {
  3486. C = other.C;
  3487. }
  3488. }
  3489. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3490. public void MergeFrom(pb::CodedInputStream input) {
  3491. uint tag;
  3492. while ((tag = input.ReadTag()) != 0) {
  3493. switch(tag) {
  3494. default:
  3495. input.SkipLastField();
  3496. break;
  3497. case 8: {
  3498. C = input.ReadInt32();
  3499. break;
  3500. }
  3501. }
  3502. }
  3503. }
  3504. }
  3505. #endregion
  3506. }
  3507. #endregion Designer generated code