DescriptorProtoFile.cs 170 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: google/protobuf/descriptor_proto_file.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 pbd = global::Google.Protobuf.Descriptors;
  8. using scg = global::System.Collections.Generic;
  9. namespace Google.Protobuf.DescriptorProtos {
  10. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  11. public static partial class DescriptorProtoFile {
  12. #region Static variables
  13. internal static pbd::MessageDescriptor internal__static_google_protobuf_FileDescriptorSet__Descriptor;
  14. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.FileDescriptorSet> internal__static_google_protobuf_FileDescriptorSet__FieldAccessorTable;
  15. internal static pbd::MessageDescriptor internal__static_google_protobuf_FileDescriptorProto__Descriptor;
  16. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.FileDescriptorProto> internal__static_google_protobuf_FileDescriptorProto__FieldAccessorTable;
  17. internal static pbd::MessageDescriptor internal__static_google_protobuf_DescriptorProto__Descriptor;
  18. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.DescriptorProto> internal__static_google_protobuf_DescriptorProto__FieldAccessorTable;
  19. internal static pbd::MessageDescriptor internal__static_google_protobuf_DescriptorProto_ExtensionRange__Descriptor;
  20. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.DescriptorProto.Types.ExtensionRange> internal__static_google_protobuf_DescriptorProto_ExtensionRange__FieldAccessorTable;
  21. internal static pbd::MessageDescriptor internal__static_google_protobuf_DescriptorProto_ReservedRange__Descriptor;
  22. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.DescriptorProto.Types.ReservedRange> internal__static_google_protobuf_DescriptorProto_ReservedRange__FieldAccessorTable;
  23. internal static pbd::MessageDescriptor internal__static_google_protobuf_FieldDescriptorProto__Descriptor;
  24. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto> internal__static_google_protobuf_FieldDescriptorProto__FieldAccessorTable;
  25. internal static pbd::MessageDescriptor internal__static_google_protobuf_OneofDescriptorProto__Descriptor;
  26. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.OneofDescriptorProto> internal__static_google_protobuf_OneofDescriptorProto__FieldAccessorTable;
  27. internal static pbd::MessageDescriptor internal__static_google_protobuf_EnumDescriptorProto__Descriptor;
  28. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.EnumDescriptorProto> internal__static_google_protobuf_EnumDescriptorProto__FieldAccessorTable;
  29. internal static pbd::MessageDescriptor internal__static_google_protobuf_EnumValueDescriptorProto__Descriptor;
  30. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.EnumValueDescriptorProto> internal__static_google_protobuf_EnumValueDescriptorProto__FieldAccessorTable;
  31. internal static pbd::MessageDescriptor internal__static_google_protobuf_ServiceDescriptorProto__Descriptor;
  32. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.ServiceDescriptorProto> internal__static_google_protobuf_ServiceDescriptorProto__FieldAccessorTable;
  33. internal static pbd::MessageDescriptor internal__static_google_protobuf_MethodDescriptorProto__Descriptor;
  34. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.MethodDescriptorProto> internal__static_google_protobuf_MethodDescriptorProto__FieldAccessorTable;
  35. internal static pbd::MessageDescriptor internal__static_google_protobuf_FileOptions__Descriptor;
  36. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.FileOptions> internal__static_google_protobuf_FileOptions__FieldAccessorTable;
  37. internal static pbd::MessageDescriptor internal__static_google_protobuf_MessageOptions__Descriptor;
  38. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.MessageOptions> internal__static_google_protobuf_MessageOptions__FieldAccessorTable;
  39. internal static pbd::MessageDescriptor internal__static_google_protobuf_FieldOptions__Descriptor;
  40. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.FieldOptions> internal__static_google_protobuf_FieldOptions__FieldAccessorTable;
  41. internal static pbd::MessageDescriptor internal__static_google_protobuf_EnumOptions__Descriptor;
  42. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.EnumOptions> internal__static_google_protobuf_EnumOptions__FieldAccessorTable;
  43. internal static pbd::MessageDescriptor internal__static_google_protobuf_EnumValueOptions__Descriptor;
  44. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.EnumValueOptions> internal__static_google_protobuf_EnumValueOptions__FieldAccessorTable;
  45. internal static pbd::MessageDescriptor internal__static_google_protobuf_ServiceOptions__Descriptor;
  46. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.ServiceOptions> internal__static_google_protobuf_ServiceOptions__FieldAccessorTable;
  47. internal static pbd::MessageDescriptor internal__static_google_protobuf_MethodOptions__Descriptor;
  48. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.MethodOptions> internal__static_google_protobuf_MethodOptions__FieldAccessorTable;
  49. internal static pbd::MessageDescriptor internal__static_google_protobuf_UninterpretedOption__Descriptor;
  50. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.UninterpretedOption> internal__static_google_protobuf_UninterpretedOption__FieldAccessorTable;
  51. internal static pbd::MessageDescriptor internal__static_google_protobuf_UninterpretedOption_NamePart__Descriptor;
  52. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.UninterpretedOption.Types.NamePart> internal__static_google_protobuf_UninterpretedOption_NamePart__FieldAccessorTable;
  53. internal static pbd::MessageDescriptor internal__static_google_protobuf_SourceCodeInfo__Descriptor;
  54. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.SourceCodeInfo> internal__static_google_protobuf_SourceCodeInfo__FieldAccessorTable;
  55. internal static pbd::MessageDescriptor internal__static_google_protobuf_SourceCodeInfo_Location__Descriptor;
  56. internal static pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.SourceCodeInfo.Types.Location> internal__static_google_protobuf_SourceCodeInfo_Location__FieldAccessorTable;
  57. #endregion
  58. #region Descriptor
  59. public static pbd::FileDescriptor Descriptor {
  60. get { return descriptor; }
  61. }
  62. private static pbd::FileDescriptor descriptor;
  63. static DescriptorProtoFile() {
  64. byte[] descriptorData = global::System.Convert.FromBase64String(
  65. string.Concat(
  66. "Citnb29nbGUvcHJvdG9idWYvZGVzY3JpcHRvcl9wcm90b19maWxlLnByb3Rv",
  67. "Eg9nb29nbGUucHJvdG9idWYiRwoRRmlsZURlc2NyaXB0b3JTZXQSMgoEZmls",
  68. "ZRgBIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5GaWxlRGVzY3JpcHRvclByb3Rv",
  69. "ItsDChNGaWxlRGVzY3JpcHRvclByb3RvEgwKBG5hbWUYASABKAkSDwoHcGFj",
  70. "a2FnZRgCIAEoCRISCgpkZXBlbmRlbmN5GAMgAygJEhkKEXB1YmxpY19kZXBl",
  71. "bmRlbmN5GAogAygFEhcKD3dlYWtfZGVwZW5kZW5jeRgLIAMoBRI2CgxtZXNz",
  72. "YWdlX3R5cGUYBCADKAsyIC5nb29nbGUucHJvdG9idWYuRGVzY3JpcHRvclBy",
  73. "b3RvEjcKCWVudW1fdHlwZRgFIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5FbnVt",
  74. "RGVzY3JpcHRvclByb3RvEjgKB3NlcnZpY2UYBiADKAsyJy5nb29nbGUucHJv",
  75. "dG9idWYuU2VydmljZURlc2NyaXB0b3JQcm90bxI4CglleHRlbnNpb24YByAD",
  76. "KAsyJS5nb29nbGUucHJvdG9idWYuRmllbGREZXNjcmlwdG9yUHJvdG8SLQoH",
  77. "b3B0aW9ucxgIIAEoCzIcLmdvb2dsZS5wcm90b2J1Zi5GaWxlT3B0aW9ucxI5",
  78. "ChBzb3VyY2VfY29kZV9pbmZvGAkgASgLMh8uZ29vZ2xlLnByb3RvYnVmLlNv",
  79. "dXJjZUNvZGVJbmZvEg4KBnN5bnRheBgMIAEoCSLwBAoPRGVzY3JpcHRvclBy",
  80. "b3RvEgwKBG5hbWUYASABKAkSNAoFZmllbGQYAiADKAsyJS5nb29nbGUucHJv",
  81. "dG9idWYuRmllbGREZXNjcmlwdG9yUHJvdG8SOAoJZXh0ZW5zaW9uGAYgAygL",
  82. "MiUuZ29vZ2xlLnByb3RvYnVmLkZpZWxkRGVzY3JpcHRvclByb3RvEjUKC25l",
  83. "c3RlZF90eXBlGAMgAygLMiAuZ29vZ2xlLnByb3RvYnVmLkRlc2NyaXB0b3JQ",
  84. "cm90bxI3CgllbnVtX3R5cGUYBCADKAsyJC5nb29nbGUucHJvdG9idWYuRW51",
  85. "bURlc2NyaXB0b3JQcm90bxJICg9leHRlbnNpb25fcmFuZ2UYBSADKAsyLy5n",
  86. "b29nbGUucHJvdG9idWYuRGVzY3JpcHRvclByb3RvLkV4dGVuc2lvblJhbmdl",
  87. "EjkKCm9uZW9mX2RlY2wYCCADKAsyJS5nb29nbGUucHJvdG9idWYuT25lb2ZE",
  88. "ZXNjcmlwdG9yUHJvdG8SMAoHb3B0aW9ucxgHIAEoCzIfLmdvb2dsZS5wcm90",
  89. "b2J1Zi5NZXNzYWdlT3B0aW9ucxJGCg5yZXNlcnZlZF9yYW5nZRgJIAMoCzIu",
  90. "Lmdvb2dsZS5wcm90b2J1Zi5EZXNjcmlwdG9yUHJvdG8uUmVzZXJ2ZWRSYW5n",
  91. "ZRIVCg1yZXNlcnZlZF9uYW1lGAogAygJGiwKDkV4dGVuc2lvblJhbmdlEg0K",
  92. "BXN0YXJ0GAEgASgFEgsKA2VuZBgCIAEoBRorCg1SZXNlcnZlZFJhbmdlEg0K",
  93. "BXN0YXJ0GAEgASgFEgsKA2VuZBgCIAEoBSKpBQoURmllbGREZXNjcmlwdG9y",
  94. "UHJvdG8SDAoEbmFtZRgBIAEoCRIOCgZudW1iZXIYAyABKAUSOgoFbGFiZWwY",
  95. "BCABKA4yKy5nb29nbGUucHJvdG9idWYuRmllbGREZXNjcmlwdG9yUHJvdG8u",
  96. "TGFiZWwSOAoEdHlwZRgFIAEoDjIqLmdvb2dsZS5wcm90b2J1Zi5GaWVsZERl",
  97. "c2NyaXB0b3JQcm90by5UeXBlEhEKCXR5cGVfbmFtZRgGIAEoCRIQCghleHRl",
  98. "bmRlZRgCIAEoCRIVCg1kZWZhdWx0X3ZhbHVlGAcgASgJEhMKC29uZW9mX2lu",
  99. "ZGV4GAkgASgFEi4KB29wdGlvbnMYCCABKAsyHS5nb29nbGUucHJvdG9idWYu",
  100. "RmllbGRPcHRpb25zIrYCCgRUeXBlEg8KC1RZUEVfRE9VQkxFEAESDgoKVFlQ",
  101. "RV9GTE9BVBACEg4KClRZUEVfSU5UNjQQAxIPCgtUWVBFX1VJTlQ2NBAEEg4K",
  102. "ClRZUEVfSU5UMzIQBRIQCgxUWVBFX0ZJWEVENjQQBhIQCgxUWVBFX0ZJWEVE",
  103. "MzIQBxINCglUWVBFX0JPT0wQCBIPCgtUWVBFX1NUUklORxAJEg4KClRZUEVf",
  104. "R1JPVVAQChIQCgxUWVBFX01FU1NBR0UQCxIOCgpUWVBFX0JZVEVTEAwSDwoL",
  105. "VFlQRV9VSU5UMzIQDRINCglUWVBFX0VOVU0QDhIRCg1UWVBFX1NGSVhFRDMy",
  106. "EA8SEQoNVFlQRV9TRklYRUQ2NBAQEg8KC1RZUEVfU0lOVDMyEBESDwoLVFlQ",
  107. "RV9TSU5UNjQQEiJDCgVMYWJlbBISCg5MQUJFTF9PUFRJT05BTBABEhIKDkxB",
  108. "QkVMX1JFUVVJUkVEEAISEgoOTEFCRUxfUkVQRUFURUQQAyIkChRPbmVvZkRl",
  109. "c2NyaXB0b3JQcm90bxIMCgRuYW1lGAEgASgJIowBChNFbnVtRGVzY3JpcHRv",
  110. "clByb3RvEgwKBG5hbWUYASABKAkSOAoFdmFsdWUYAiADKAsyKS5nb29nbGUu",
  111. "cHJvdG9idWYuRW51bVZhbHVlRGVzY3JpcHRvclByb3RvEi0KB29wdGlvbnMY",
  112. "AyABKAsyHC5nb29nbGUucHJvdG9idWYuRW51bU9wdGlvbnMibAoYRW51bVZh",
  113. "bHVlRGVzY3JpcHRvclByb3RvEgwKBG5hbWUYASABKAkSDgoGbnVtYmVyGAIg",
  114. "ASgFEjIKB29wdGlvbnMYAyABKAsyIS5nb29nbGUucHJvdG9idWYuRW51bVZh",
  115. "bHVlT3B0aW9ucyKQAQoWU2VydmljZURlc2NyaXB0b3JQcm90bxIMCgRuYW1l",
  116. "GAEgASgJEjYKBm1ldGhvZBgCIAMoCzImLmdvb2dsZS5wcm90b2J1Zi5NZXRo",
  117. "b2REZXNjcmlwdG9yUHJvdG8SMAoHb3B0aW9ucxgDIAEoCzIfLmdvb2dsZS5w",
  118. "cm90b2J1Zi5TZXJ2aWNlT3B0aW9ucyLBAQoVTWV0aG9kRGVzY3JpcHRvclBy",
  119. "b3RvEgwKBG5hbWUYASABKAkSEgoKaW5wdXRfdHlwZRgCIAEoCRITCgtvdXRw",
  120. "dXRfdHlwZRgDIAEoCRIvCgdvcHRpb25zGAQgASgLMh4uZ29vZ2xlLnByb3Rv",
  121. "YnVmLk1ldGhvZE9wdGlvbnMSHwoQY2xpZW50X3N0cmVhbWluZxgFIAEoCDoF",
  122. "ZmFsc2USHwoQc2VydmVyX3N0cmVhbWluZxgGIAEoCDoFZmFsc2UigQUKC0Zp",
  123. "bGVPcHRpb25zEhQKDGphdmFfcGFja2FnZRgBIAEoCRIcChRqYXZhX291dGVy",
  124. "X2NsYXNzbmFtZRgIIAEoCRIiChNqYXZhX211bHRpcGxlX2ZpbGVzGAogASgI",
  125. "OgVmYWxzZRIsCh1qYXZhX2dlbmVyYXRlX2VxdWFsc19hbmRfaGFzaBgUIAEo",
  126. "CDoFZmFsc2USJQoWamF2YV9zdHJpbmdfY2hlY2tfdXRmOBgbIAEoCDoFZmFs",
  127. "c2USRgoMb3B0aW1pemVfZm9yGAkgASgOMikuZ29vZ2xlLnByb3RvYnVmLkZp",
  128. "bGVPcHRpb25zLk9wdGltaXplTW9kZToFU1BFRUQSEgoKZ29fcGFja2FnZRgL",
  129. "IAEoCRIiChNjY19nZW5lcmljX3NlcnZpY2VzGBAgASgIOgVmYWxzZRIkChVq",
  130. "YXZhX2dlbmVyaWNfc2VydmljZXMYESABKAg6BWZhbHNlEiIKE3B5X2dlbmVy",
  131. "aWNfc2VydmljZXMYEiABKAg6BWZhbHNlEhkKCmRlcHJlY2F0ZWQYFyABKAg6",
  132. "BWZhbHNlEh8KEGNjX2VuYWJsZV9hcmVuYXMYHyABKAg6BWZhbHNlEhkKEW9i",
  133. "amNfY2xhc3NfcHJlZml4GCQgASgJEhgKEGNzaGFycF9uYW1lc3BhY2UYJSAB",
  134. "KAkSQwoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xlLnBy",
  135. "b3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb24iOgoMT3B0aW1pemVNb2RlEgkK",
  136. "BVNQRUVEEAESDQoJQ09ERV9TSVpFEAISEAoMTElURV9SVU5USU1FEAMqCQjo",
  137. "BxCAgICAAiLmAQoOTWVzc2FnZU9wdGlvbnMSJgoXbWVzc2FnZV9zZXRfd2ly",
  138. "ZV9mb3JtYXQYASABKAg6BWZhbHNlEi4KH25vX3N0YW5kYXJkX2Rlc2NyaXB0",
  139. "b3JfYWNjZXNzb3IYAiABKAg6BWZhbHNlEhkKCmRlcHJlY2F0ZWQYAyABKAg6",
  140. "BWZhbHNlEhEKCW1hcF9lbnRyeRgHIAEoCBJDChR1bmludGVycHJldGVkX29w",
  141. "dGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbnRlcnByZXRlZE9w",
  142. "dGlvbioJCOgHEICAgIACIpgDCgxGaWVsZE9wdGlvbnMSOgoFY3R5cGUYASAB",
  143. "KA4yIy5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zLkNUeXBlOgZTVFJJ",
  144. "TkcSDgoGcGFja2VkGAIgASgIEj8KBmpzdHlwZRgGIAEoDjIkLmdvb2dsZS5w",
  145. "cm90b2J1Zi5GaWVsZE9wdGlvbnMuSlNUeXBlOglKU19OT1JNQUwSEwoEbGF6",
  146. "eRgFIAEoCDoFZmFsc2USGQoKZGVwcmVjYXRlZBgDIAEoCDoFZmFsc2USEwoE",
  147. "d2VhaxgKIAEoCDoFZmFsc2USQwoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcg",
  148. "AygLMiQuZ29vZ2xlLnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb24iLwoF",
  149. "Q1R5cGUSCgoGU1RSSU5HEAASCAoEQ09SRBABEhAKDFNUUklOR19QSUVDRRAC",
  150. "IjUKBkpTVHlwZRINCglKU19OT1JNQUwQABINCglKU19TVFJJTkcQARINCglK",
  151. "U19OVU1CRVIQAioJCOgHEICAgIACIo0BCgtFbnVtT3B0aW9ucxITCgthbGxv",
  152. "d19hbGlhcxgCIAEoCBIZCgpkZXByZWNhdGVkGAMgASgIOgVmYWxzZRJDChR1",
  153. "bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYu",
  154. "VW5pbnRlcnByZXRlZE9wdGlvbioJCOgHEICAgIACIn0KEEVudW1WYWx1ZU9w",
  155. "dGlvbnMSGQoKZGVwcmVjYXRlZBgBIAEoCDoFZmFsc2USQwoUdW5pbnRlcnBy",
  156. "ZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xlLnByb3RvYnVmLlVuaW50ZXJw",
  157. "cmV0ZWRPcHRpb24qCQjoBxCAgICAAiJ7Cg5TZXJ2aWNlT3B0aW9ucxIZCgpk",
  158. "ZXByZWNhdGVkGCEgASgIOgVmYWxzZRJDChR1bmludGVycHJldGVkX29wdGlv",
  159. "bhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbnRlcnByZXRlZE9wdGlv",
  160. "bioJCOgHEICAgIACInoKDU1ldGhvZE9wdGlvbnMSGQoKZGVwcmVjYXRlZBgh",
  161. "IAEoCDoFZmFsc2USQwoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQu",
  162. "Z29vZ2xlLnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb24qCQjoBxCAgICA",
  163. "AiKeAgoTVW5pbnRlcnByZXRlZE9wdGlvbhI7CgRuYW1lGAIgAygLMi0uZ29v",
  164. "Z2xlLnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb24uTmFtZVBhcnQSGAoQ",
  165. "aWRlbnRpZmllcl92YWx1ZRgDIAEoCRIaChJwb3NpdGl2ZV9pbnRfdmFsdWUY",
  166. "BCABKAQSGgoSbmVnYXRpdmVfaW50X3ZhbHVlGAUgASgDEhQKDGRvdWJsZV92",
  167. "YWx1ZRgGIAEoARIUCgxzdHJpbmdfdmFsdWUYByABKAwSFwoPYWdncmVnYXRl",
  168. "X3ZhbHVlGAggASgJGjMKCE5hbWVQYXJ0EhEKCW5hbWVfcGFydBgBIAIoCRIU",
  169. "Cgxpc19leHRlbnNpb24YAiACKAgi1QEKDlNvdXJjZUNvZGVJbmZvEjoKCGxv",
  170. "Y2F0aW9uGAEgAygLMiguZ29vZ2xlLnByb3RvYnVmLlNvdXJjZUNvZGVJbmZv",
  171. "LkxvY2F0aW9uGoYBCghMb2NhdGlvbhIQCgRwYXRoGAEgAygFQgIQARIQCgRz",
  172. "cGFuGAIgAygFQgIQARIYChBsZWFkaW5nX2NvbW1lbnRzGAMgASgJEhkKEXRy",
  173. "YWlsaW5nX2NvbW1lbnRzGAQgASgJEiEKGWxlYWRpbmdfZGV0YWNoZWRfY29t",
  174. "bWVudHMYBiADKAlCUgoTY29tLmdvb2dsZS5wcm90b2J1ZkIQRGVzY3JpcHRv",
  175. "clByb3Rvc0gBogIDR1BCqgIgR29vZ2xlLlByb3RvYnVmLkRlc2NyaXB0b3JQ",
  176. "cm90b3M="));
  177. pbd::FileDescriptor.InternalDescriptorAssigner assigner = delegate(pbd::FileDescriptor root) {
  178. descriptor = root;
  179. internal__static_google_protobuf_FileDescriptorSet__Descriptor = Descriptor.MessageTypes[0];
  180. internal__static_google_protobuf_FileDescriptorSet__FieldAccessorTable =
  181. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.FileDescriptorSet>(internal__static_google_protobuf_FileDescriptorSet__Descriptor,
  182. new string[] { "File", });
  183. internal__static_google_protobuf_FileDescriptorProto__Descriptor = Descriptor.MessageTypes[1];
  184. internal__static_google_protobuf_FileDescriptorProto__FieldAccessorTable =
  185. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.FileDescriptorProto>(internal__static_google_protobuf_FileDescriptorProto__Descriptor,
  186. new string[] { "Name", "Package", "Dependency", "PublicDependency", "WeakDependency", "MessageType", "EnumType", "Service", "Extension", "Options", "SourceCodeInfo", "Syntax", });
  187. internal__static_google_protobuf_DescriptorProto__Descriptor = Descriptor.MessageTypes[2];
  188. internal__static_google_protobuf_DescriptorProto__FieldAccessorTable =
  189. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.DescriptorProto>(internal__static_google_protobuf_DescriptorProto__Descriptor,
  190. new string[] { "Name", "Field", "Extension", "NestedType", "EnumType", "ExtensionRange", "OneofDecl", "Options", "ReservedRange", "ReservedName", });
  191. internal__static_google_protobuf_DescriptorProto_ExtensionRange__Descriptor = internal__static_google_protobuf_DescriptorProto__Descriptor.NestedTypes[0];
  192. internal__static_google_protobuf_DescriptorProto_ExtensionRange__FieldAccessorTable =
  193. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.DescriptorProto.Types.ExtensionRange>(internal__static_google_protobuf_DescriptorProto_ExtensionRange__Descriptor,
  194. new string[] { "Start", "End", });
  195. internal__static_google_protobuf_DescriptorProto_ReservedRange__Descriptor = internal__static_google_protobuf_DescriptorProto__Descriptor.NestedTypes[1];
  196. internal__static_google_protobuf_DescriptorProto_ReservedRange__FieldAccessorTable =
  197. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.DescriptorProto.Types.ReservedRange>(internal__static_google_protobuf_DescriptorProto_ReservedRange__Descriptor,
  198. new string[] { "Start", "End", });
  199. internal__static_google_protobuf_FieldDescriptorProto__Descriptor = Descriptor.MessageTypes[3];
  200. internal__static_google_protobuf_FieldDescriptorProto__FieldAccessorTable =
  201. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto>(internal__static_google_protobuf_FieldDescriptorProto__Descriptor,
  202. new string[] { "Name", "Number", "Label", "Type", "TypeName", "Extendee", "DefaultValue", "OneofIndex", "Options", });
  203. internal__static_google_protobuf_OneofDescriptorProto__Descriptor = Descriptor.MessageTypes[4];
  204. internal__static_google_protobuf_OneofDescriptorProto__FieldAccessorTable =
  205. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.OneofDescriptorProto>(internal__static_google_protobuf_OneofDescriptorProto__Descriptor,
  206. new string[] { "Name", });
  207. internal__static_google_protobuf_EnumDescriptorProto__Descriptor = Descriptor.MessageTypes[5];
  208. internal__static_google_protobuf_EnumDescriptorProto__FieldAccessorTable =
  209. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.EnumDescriptorProto>(internal__static_google_protobuf_EnumDescriptorProto__Descriptor,
  210. new string[] { "Name", "Value", "Options", });
  211. internal__static_google_protobuf_EnumValueDescriptorProto__Descriptor = Descriptor.MessageTypes[6];
  212. internal__static_google_protobuf_EnumValueDescriptorProto__FieldAccessorTable =
  213. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.EnumValueDescriptorProto>(internal__static_google_protobuf_EnumValueDescriptorProto__Descriptor,
  214. new string[] { "Name", "Number", "Options", });
  215. internal__static_google_protobuf_ServiceDescriptorProto__Descriptor = Descriptor.MessageTypes[7];
  216. internal__static_google_protobuf_ServiceDescriptorProto__FieldAccessorTable =
  217. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.ServiceDescriptorProto>(internal__static_google_protobuf_ServiceDescriptorProto__Descriptor,
  218. new string[] { "Name", "Method", "Options", });
  219. internal__static_google_protobuf_MethodDescriptorProto__Descriptor = Descriptor.MessageTypes[8];
  220. internal__static_google_protobuf_MethodDescriptorProto__FieldAccessorTable =
  221. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.MethodDescriptorProto>(internal__static_google_protobuf_MethodDescriptorProto__Descriptor,
  222. new string[] { "Name", "InputType", "OutputType", "Options", "ClientStreaming", "ServerStreaming", });
  223. internal__static_google_protobuf_FileOptions__Descriptor = Descriptor.MessageTypes[9];
  224. internal__static_google_protobuf_FileOptions__FieldAccessorTable =
  225. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.FileOptions>(internal__static_google_protobuf_FileOptions__Descriptor,
  226. new string[] { "JavaPackage", "JavaOuterClassname", "JavaMultipleFiles", "JavaGenerateEqualsAndHash", "JavaStringCheckUtf8", "OptimizeFor", "GoPackage", "CcGenericServices", "JavaGenericServices", "PyGenericServices", "Deprecated", "CcEnableArenas", "ObjcClassPrefix", "CsharpNamespace", "UninterpretedOption", });
  227. internal__static_google_protobuf_MessageOptions__Descriptor = Descriptor.MessageTypes[10];
  228. internal__static_google_protobuf_MessageOptions__FieldAccessorTable =
  229. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.MessageOptions>(internal__static_google_protobuf_MessageOptions__Descriptor,
  230. new string[] { "MessageSetWireFormat", "NoStandardDescriptorAccessor", "Deprecated", "MapEntry", "UninterpretedOption", });
  231. internal__static_google_protobuf_FieldOptions__Descriptor = Descriptor.MessageTypes[11];
  232. internal__static_google_protobuf_FieldOptions__FieldAccessorTable =
  233. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.FieldOptions>(internal__static_google_protobuf_FieldOptions__Descriptor,
  234. new string[] { "Ctype", "Packed", "Jstype", "Lazy", "Deprecated", "Weak", "UninterpretedOption", });
  235. internal__static_google_protobuf_EnumOptions__Descriptor = Descriptor.MessageTypes[12];
  236. internal__static_google_protobuf_EnumOptions__FieldAccessorTable =
  237. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.EnumOptions>(internal__static_google_protobuf_EnumOptions__Descriptor,
  238. new string[] { "AllowAlias", "Deprecated", "UninterpretedOption", });
  239. internal__static_google_protobuf_EnumValueOptions__Descriptor = Descriptor.MessageTypes[13];
  240. internal__static_google_protobuf_EnumValueOptions__FieldAccessorTable =
  241. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.EnumValueOptions>(internal__static_google_protobuf_EnumValueOptions__Descriptor,
  242. new string[] { "Deprecated", "UninterpretedOption", });
  243. internal__static_google_protobuf_ServiceOptions__Descriptor = Descriptor.MessageTypes[14];
  244. internal__static_google_protobuf_ServiceOptions__FieldAccessorTable =
  245. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.ServiceOptions>(internal__static_google_protobuf_ServiceOptions__Descriptor,
  246. new string[] { "Deprecated", "UninterpretedOption", });
  247. internal__static_google_protobuf_MethodOptions__Descriptor = Descriptor.MessageTypes[15];
  248. internal__static_google_protobuf_MethodOptions__FieldAccessorTable =
  249. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.MethodOptions>(internal__static_google_protobuf_MethodOptions__Descriptor,
  250. new string[] { "Deprecated", "UninterpretedOption", });
  251. internal__static_google_protobuf_UninterpretedOption__Descriptor = Descriptor.MessageTypes[16];
  252. internal__static_google_protobuf_UninterpretedOption__FieldAccessorTable =
  253. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.UninterpretedOption>(internal__static_google_protobuf_UninterpretedOption__Descriptor,
  254. new string[] { "Name", "IdentifierValue", "PositiveIntValue", "NegativeIntValue", "DoubleValue", "StringValue", "AggregateValue", });
  255. internal__static_google_protobuf_UninterpretedOption_NamePart__Descriptor = internal__static_google_protobuf_UninterpretedOption__Descriptor.NestedTypes[0];
  256. internal__static_google_protobuf_UninterpretedOption_NamePart__FieldAccessorTable =
  257. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.UninterpretedOption.Types.NamePart>(internal__static_google_protobuf_UninterpretedOption_NamePart__Descriptor,
  258. new string[] { "NamePart_", "IsExtension", });
  259. internal__static_google_protobuf_SourceCodeInfo__Descriptor = Descriptor.MessageTypes[17];
  260. internal__static_google_protobuf_SourceCodeInfo__FieldAccessorTable =
  261. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.SourceCodeInfo>(internal__static_google_protobuf_SourceCodeInfo__Descriptor,
  262. new string[] { "Location", });
  263. internal__static_google_protobuf_SourceCodeInfo_Location__Descriptor = internal__static_google_protobuf_SourceCodeInfo__Descriptor.NestedTypes[0];
  264. internal__static_google_protobuf_SourceCodeInfo_Location__FieldAccessorTable =
  265. new pb::FieldAccess.FieldAccessorTable<global::Google.Protobuf.DescriptorProtos.SourceCodeInfo.Types.Location>(internal__static_google_protobuf_SourceCodeInfo_Location__Descriptor,
  266. new string[] { "Path", "Span", "LeadingComments", "TrailingComments", "LeadingDetachedComments", });
  267. };
  268. pbd::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
  269. new pbd::FileDescriptor[] {
  270. }, assigner);
  271. }
  272. #endregion
  273. }
  274. #region Messages
  275. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  276. public sealed partial class FileDescriptorSet : pb::IMessage<FileDescriptorSet>, global::System.IEquatable<FileDescriptorSet> {
  277. private static readonly pb::MessageParser<FileDescriptorSet> _parser = new pb::MessageParser<FileDescriptorSet>(() => new FileDescriptorSet());
  278. public static pb::MessageParser<FileDescriptorSet> Parser { get { return _parser; } }
  279. private static readonly string[] _fieldNames = new string[] { "file" };
  280. private static readonly uint[] _fieldTags = new uint[] { 10 };
  281. public static pbd::MessageDescriptor Descriptor {
  282. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_FileDescriptorSet__Descriptor; }
  283. }
  284. public pb::FieldAccess.FieldAccessorTable<FileDescriptorSet> Fields {
  285. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_FileDescriptorSet__FieldAccessorTable; }
  286. }
  287. public FileDescriptorSet() { }
  288. public FileDescriptorSet(FileDescriptorSet other) {
  289. MergeFrom(other);
  290. }
  291. public const int FileFieldNumber = 1;
  292. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.FileDescriptorProto> file_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.FileDescriptorProto>();
  293. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.FileDescriptorProto> File {
  294. get { return file_; }
  295. }
  296. public override bool Equals(object other) {
  297. return Equals(other as FileDescriptorSet);
  298. }
  299. public bool Equals(FileDescriptorSet other) {
  300. if (ReferenceEquals(other, null)) {
  301. return false;
  302. }
  303. if (ReferenceEquals(other, this)) {
  304. return true;
  305. }
  306. if(!file_.Equals(other.file_)) return false;
  307. return true;
  308. }
  309. public override int GetHashCode() {
  310. int hash = 0;
  311. hash ^= file_.GetHashCode();
  312. return hash;
  313. }
  314. public void WriteTo(pb::ICodedOutputStream output) {
  315. string[] fieldNames = _fieldNames;
  316. output.WriteMessageArray(1, fieldNames[0], file_);
  317. }
  318. public int CalculateSize() {
  319. int size = 0;
  320. foreach (global::Google.Protobuf.DescriptorProtos.FileDescriptorProto element in file_) {
  321. size += pb::CodedOutputStream.ComputeMessageSize(1, element);
  322. }
  323. return size;
  324. }
  325. public void MergeFrom(FileDescriptorSet other) {
  326. if (other == null) {
  327. return;
  328. }
  329. file_.Add(other.file_);
  330. }
  331. public void MergeFrom(pb::ICodedInputStream input) {
  332. uint tag;
  333. string fieldName;
  334. while (input.ReadTag(out tag, out fieldName)) {
  335. if (tag == 0 && fieldName != null) {
  336. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  337. if (fieldOrdinal >= 0) {
  338. tag = _fieldTags[fieldOrdinal];
  339. }
  340. }
  341. switch(tag) {
  342. case 0:
  343. throw pb::InvalidProtocolBufferException.InvalidTag();
  344. default:
  345. if (pb::WireFormat.IsEndGroupTag(tag)) {
  346. return;
  347. }
  348. break;
  349. case 10: {
  350. input.ReadMessageArray(tag, fieldName, file_, global::Google.Protobuf.DescriptorProtos.FileDescriptorProto.Parser);
  351. break;
  352. }
  353. }
  354. }
  355. }
  356. }
  357. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  358. public sealed partial class FileDescriptorProto : pb::IMessage<FileDescriptorProto>, global::System.IEquatable<FileDescriptorProto> {
  359. private static readonly pb::MessageParser<FileDescriptorProto> _parser = new pb::MessageParser<FileDescriptorProto>(() => new FileDescriptorProto());
  360. public static pb::MessageParser<FileDescriptorProto> Parser { get { return _parser; } }
  361. private static readonly string[] _fieldNames = new string[] { "dependency", "enum_type", "extension", "message_type", "name", "options", "package", "public_dependency", "service", "source_code_info", "syntax", "weak_dependency" };
  362. private static readonly uint[] _fieldTags = new uint[] { 26, 42, 58, 34, 10, 66, 18, 80, 50, 74, 98, 88 };
  363. public static pbd::MessageDescriptor Descriptor {
  364. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_FileDescriptorProto__Descriptor; }
  365. }
  366. public pb::FieldAccess.FieldAccessorTable<FileDescriptorProto> Fields {
  367. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_FileDescriptorProto__FieldAccessorTable; }
  368. }
  369. public FileDescriptorProto() { }
  370. public FileDescriptorProto(FileDescriptorProto other) {
  371. MergeFrom(other);
  372. }
  373. public const int NameFieldNumber = 1;
  374. private string name_ = "";
  375. public string Name {
  376. get { return name_; }
  377. set { name_ = value ?? ""; }
  378. }
  379. public const int PackageFieldNumber = 2;
  380. private string package_ = "";
  381. public string Package {
  382. get { return package_; }
  383. set { package_ = value ?? ""; }
  384. }
  385. public const int DependencyFieldNumber = 3;
  386. private readonly pbc::RepeatedField<string> dependency_ = new pbc::RepeatedField<string>();
  387. public pbc::RepeatedField<string> Dependency {
  388. get { return dependency_; }
  389. }
  390. public const int PublicDependencyFieldNumber = 10;
  391. private readonly pbc::RepeatedField<int> publicDependency_ = new pbc::RepeatedField<int>();
  392. public pbc::RepeatedField<int> PublicDependency {
  393. get { return publicDependency_; }
  394. }
  395. public const int WeakDependencyFieldNumber = 11;
  396. private readonly pbc::RepeatedField<int> weakDependency_ = new pbc::RepeatedField<int>();
  397. public pbc::RepeatedField<int> WeakDependency {
  398. get { return weakDependency_; }
  399. }
  400. public const int MessageTypeFieldNumber = 4;
  401. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.DescriptorProto> messageType_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.DescriptorProto>();
  402. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.DescriptorProto> MessageType {
  403. get { return messageType_; }
  404. }
  405. public const int EnumTypeFieldNumber = 5;
  406. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.EnumDescriptorProto> enumType_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.EnumDescriptorProto>();
  407. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.EnumDescriptorProto> EnumType {
  408. get { return enumType_; }
  409. }
  410. public const int ServiceFieldNumber = 6;
  411. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.ServiceDescriptorProto> service_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.ServiceDescriptorProto>();
  412. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.ServiceDescriptorProto> Service {
  413. get { return service_; }
  414. }
  415. public const int ExtensionFieldNumber = 7;
  416. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto> extension_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto>();
  417. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto> Extension {
  418. get { return extension_; }
  419. }
  420. public const int OptionsFieldNumber = 8;
  421. private global::Google.Protobuf.DescriptorProtos.FileOptions options_;
  422. public global::Google.Protobuf.DescriptorProtos.FileOptions Options {
  423. get { return options_; }
  424. set { options_ = value; }
  425. }
  426. public const int SourceCodeInfoFieldNumber = 9;
  427. private global::Google.Protobuf.DescriptorProtos.SourceCodeInfo sourceCodeInfo_;
  428. public global::Google.Protobuf.DescriptorProtos.SourceCodeInfo SourceCodeInfo {
  429. get { return sourceCodeInfo_; }
  430. set { sourceCodeInfo_ = value; }
  431. }
  432. public const int SyntaxFieldNumber = 12;
  433. private string syntax_ = "";
  434. public string Syntax {
  435. get { return syntax_; }
  436. set { syntax_ = value ?? ""; }
  437. }
  438. public override bool Equals(object other) {
  439. return Equals(other as FileDescriptorProto);
  440. }
  441. public bool Equals(FileDescriptorProto other) {
  442. if (ReferenceEquals(other, null)) {
  443. return false;
  444. }
  445. if (ReferenceEquals(other, this)) {
  446. return true;
  447. }
  448. if (Name != other.Name) return false;
  449. if (Package != other.Package) return false;
  450. if(!dependency_.Equals(other.dependency_)) return false;
  451. if(!publicDependency_.Equals(other.publicDependency_)) return false;
  452. if(!weakDependency_.Equals(other.weakDependency_)) return false;
  453. if(!messageType_.Equals(other.messageType_)) return false;
  454. if(!enumType_.Equals(other.enumType_)) return false;
  455. if(!service_.Equals(other.service_)) return false;
  456. if(!extension_.Equals(other.extension_)) return false;
  457. if (!object.Equals(Options, other.Options)) return false;if (!object.Equals(SourceCodeInfo, other.SourceCodeInfo)) return false;if (Syntax != other.Syntax) return false;
  458. return true;
  459. }
  460. public override int GetHashCode() {
  461. int hash = 0;
  462. if (Name != "") hash ^= Name.GetHashCode();
  463. if (Package != "") hash ^= Package.GetHashCode();
  464. hash ^= dependency_.GetHashCode();
  465. hash ^= publicDependency_.GetHashCode();
  466. hash ^= weakDependency_.GetHashCode();
  467. hash ^= messageType_.GetHashCode();
  468. hash ^= enumType_.GetHashCode();
  469. hash ^= service_.GetHashCode();
  470. hash ^= extension_.GetHashCode();
  471. if (options_ != null) hash ^= Options.GetHashCode();
  472. if (sourceCodeInfo_ != null) hash ^= SourceCodeInfo.GetHashCode();
  473. if (Syntax != "") hash ^= Syntax.GetHashCode();
  474. return hash;
  475. }
  476. public void WriteTo(pb::ICodedOutputStream output) {
  477. string[] fieldNames = _fieldNames;
  478. if (Name != "") {
  479. output.WriteString(1, fieldNames[4], Name);
  480. }
  481. if (Package != "") {
  482. output.WriteString(2, fieldNames[6], Package);
  483. }
  484. output.WriteStringArray(3, fieldNames[0], dependency_);
  485. output.WriteMessageArray(4, fieldNames[3], messageType_);
  486. output.WriteMessageArray(5, fieldNames[1], enumType_);
  487. output.WriteMessageArray(6, fieldNames[8], service_);
  488. output.WriteMessageArray(7, fieldNames[2], extension_);
  489. if (options_ != null) {
  490. output.WriteMessage(8, fieldNames[5], Options);
  491. }
  492. if (sourceCodeInfo_ != null) {
  493. output.WriteMessage(9, fieldNames[9], SourceCodeInfo);
  494. }
  495. output.WriteInt32Array(10, fieldNames[7], publicDependency_);
  496. output.WriteInt32Array(11, fieldNames[11], weakDependency_);
  497. if (Syntax != "") {
  498. output.WriteString(12, fieldNames[10], Syntax);
  499. }
  500. }
  501. public int CalculateSize() {
  502. int size = 0;
  503. if (Name != "") {
  504. size += pb::CodedOutputStream.ComputeStringSize(1, Name);
  505. }
  506. if (Package != "") {
  507. size += pb::CodedOutputStream.ComputeStringSize(2, Package);
  508. }
  509. {
  510. int dataSize = 0;
  511. foreach (string element in dependency_) {
  512. dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
  513. }
  514. size += dataSize;
  515. size += 1 * dependency_.Count;
  516. }
  517. {
  518. int dataSize = 0;
  519. foreach (int element in publicDependency_) {
  520. dataSize += pb::CodedOutputStream.ComputeInt32SizeNoTag(element);
  521. }
  522. size += dataSize;
  523. size += 1 * publicDependency_.Count;
  524. }
  525. {
  526. int dataSize = 0;
  527. foreach (int element in weakDependency_) {
  528. dataSize += pb::CodedOutputStream.ComputeInt32SizeNoTag(element);
  529. }
  530. size += dataSize;
  531. size += 1 * weakDependency_.Count;
  532. }
  533. foreach (global::Google.Protobuf.DescriptorProtos.DescriptorProto element in messageType_) {
  534. size += pb::CodedOutputStream.ComputeMessageSize(4, element);
  535. }
  536. foreach (global::Google.Protobuf.DescriptorProtos.EnumDescriptorProto element in enumType_) {
  537. size += pb::CodedOutputStream.ComputeMessageSize(5, element);
  538. }
  539. foreach (global::Google.Protobuf.DescriptorProtos.ServiceDescriptorProto element in service_) {
  540. size += pb::CodedOutputStream.ComputeMessageSize(6, element);
  541. }
  542. foreach (global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto element in extension_) {
  543. size += pb::CodedOutputStream.ComputeMessageSize(7, element);
  544. }
  545. if (options_ != null) {
  546. size += pb::CodedOutputStream.ComputeMessageSize(8, Options);
  547. }
  548. if (sourceCodeInfo_ != null) {
  549. size += pb::CodedOutputStream.ComputeMessageSize(9, SourceCodeInfo);
  550. }
  551. if (Syntax != "") {
  552. size += pb::CodedOutputStream.ComputeStringSize(12, Syntax);
  553. }
  554. return size;
  555. }
  556. public void MergeFrom(FileDescriptorProto other) {
  557. if (other == null) {
  558. return;
  559. }
  560. if (other.Name != "") {
  561. Name = other.Name;
  562. }
  563. if (other.Package != "") {
  564. Package = other.Package;
  565. }
  566. dependency_.Add(other.dependency_);
  567. publicDependency_.Add(other.publicDependency_);
  568. weakDependency_.Add(other.weakDependency_);
  569. messageType_.Add(other.messageType_);
  570. enumType_.Add(other.enumType_);
  571. service_.Add(other.service_);
  572. extension_.Add(other.extension_);
  573. if (other.options_ != null) {
  574. if (options_ == null) {
  575. options_ = new global::Google.Protobuf.DescriptorProtos.FileOptions();
  576. }
  577. Options.MergeFrom(other.Options);
  578. }
  579. if (other.sourceCodeInfo_ != null) {
  580. if (sourceCodeInfo_ == null) {
  581. sourceCodeInfo_ = new global::Google.Protobuf.DescriptorProtos.SourceCodeInfo();
  582. }
  583. SourceCodeInfo.MergeFrom(other.SourceCodeInfo);
  584. }
  585. if (other.Syntax != "") {
  586. Syntax = other.Syntax;
  587. }
  588. }
  589. public void MergeFrom(pb::ICodedInputStream input) {
  590. uint tag;
  591. string fieldName;
  592. while (input.ReadTag(out tag, out fieldName)) {
  593. if (tag == 0 && fieldName != null) {
  594. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  595. if (fieldOrdinal >= 0) {
  596. tag = _fieldTags[fieldOrdinal];
  597. }
  598. }
  599. switch(tag) {
  600. case 0:
  601. throw pb::InvalidProtocolBufferException.InvalidTag();
  602. default:
  603. if (pb::WireFormat.IsEndGroupTag(tag)) {
  604. return;
  605. }
  606. break;
  607. case 10: {
  608. input.ReadString(ref name_);
  609. break;
  610. }
  611. case 18: {
  612. input.ReadString(ref package_);
  613. break;
  614. }
  615. case 26: {
  616. input.ReadStringArray(tag, fieldName, dependency_);
  617. break;
  618. }
  619. case 34: {
  620. input.ReadMessageArray(tag, fieldName, messageType_, global::Google.Protobuf.DescriptorProtos.DescriptorProto.Parser);
  621. break;
  622. }
  623. case 42: {
  624. input.ReadMessageArray(tag, fieldName, enumType_, global::Google.Protobuf.DescriptorProtos.EnumDescriptorProto.Parser);
  625. break;
  626. }
  627. case 50: {
  628. input.ReadMessageArray(tag, fieldName, service_, global::Google.Protobuf.DescriptorProtos.ServiceDescriptorProto.Parser);
  629. break;
  630. }
  631. case 58: {
  632. input.ReadMessageArray(tag, fieldName, extension_, global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Parser);
  633. break;
  634. }
  635. case 66: {
  636. if (options_ == null) {
  637. options_ = new global::Google.Protobuf.DescriptorProtos.FileOptions();
  638. }
  639. input.ReadMessage(options_);
  640. break;
  641. }
  642. case 74: {
  643. if (sourceCodeInfo_ == null) {
  644. sourceCodeInfo_ = new global::Google.Protobuf.DescriptorProtos.SourceCodeInfo();
  645. }
  646. input.ReadMessage(sourceCodeInfo_);
  647. break;
  648. }
  649. case 82:
  650. case 80: {
  651. input.ReadInt32Array(tag, fieldName, publicDependency_);
  652. break;
  653. }
  654. case 90:
  655. case 88: {
  656. input.ReadInt32Array(tag, fieldName, weakDependency_);
  657. break;
  658. }
  659. case 98: {
  660. input.ReadString(ref syntax_);
  661. break;
  662. }
  663. }
  664. }
  665. }
  666. }
  667. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  668. public sealed partial class DescriptorProto : pb::IMessage<DescriptorProto>, global::System.IEquatable<DescriptorProto> {
  669. private static readonly pb::MessageParser<DescriptorProto> _parser = new pb::MessageParser<DescriptorProto>(() => new DescriptorProto());
  670. public static pb::MessageParser<DescriptorProto> Parser { get { return _parser; } }
  671. private static readonly string[] _fieldNames = new string[] { "enum_type", "extension", "extension_range", "field", "name", "nested_type", "oneof_decl", "options", "reserved_name", "reserved_range" };
  672. private static readonly uint[] _fieldTags = new uint[] { 34, 50, 42, 18, 10, 26, 66, 58, 82, 74 };
  673. public static pbd::MessageDescriptor Descriptor {
  674. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_DescriptorProto__Descriptor; }
  675. }
  676. public pb::FieldAccess.FieldAccessorTable<DescriptorProto> Fields {
  677. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_DescriptorProto__FieldAccessorTable; }
  678. }
  679. public DescriptorProto() { }
  680. public DescriptorProto(DescriptorProto other) {
  681. MergeFrom(other);
  682. }
  683. public const int NameFieldNumber = 1;
  684. private string name_ = "";
  685. public string Name {
  686. get { return name_; }
  687. set { name_ = value ?? ""; }
  688. }
  689. public const int FieldFieldNumber = 2;
  690. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto> field_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto>();
  691. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto> Field {
  692. get { return field_; }
  693. }
  694. public const int ExtensionFieldNumber = 6;
  695. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto> extension_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto>();
  696. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto> Extension {
  697. get { return extension_; }
  698. }
  699. public const int NestedTypeFieldNumber = 3;
  700. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.DescriptorProto> nestedType_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.DescriptorProto>();
  701. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.DescriptorProto> NestedType {
  702. get { return nestedType_; }
  703. }
  704. public const int EnumTypeFieldNumber = 4;
  705. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.EnumDescriptorProto> enumType_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.EnumDescriptorProto>();
  706. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.EnumDescriptorProto> EnumType {
  707. get { return enumType_; }
  708. }
  709. public const int ExtensionRangeFieldNumber = 5;
  710. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.DescriptorProto.Types.ExtensionRange> extensionRange_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.DescriptorProto.Types.ExtensionRange>();
  711. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.DescriptorProto.Types.ExtensionRange> ExtensionRange {
  712. get { return extensionRange_; }
  713. }
  714. public const int OneofDeclFieldNumber = 8;
  715. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.OneofDescriptorProto> oneofDecl_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.OneofDescriptorProto>();
  716. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.OneofDescriptorProto> OneofDecl {
  717. get { return oneofDecl_; }
  718. }
  719. public const int OptionsFieldNumber = 7;
  720. private global::Google.Protobuf.DescriptorProtos.MessageOptions options_;
  721. public global::Google.Protobuf.DescriptorProtos.MessageOptions Options {
  722. get { return options_; }
  723. set { options_ = value; }
  724. }
  725. public const int ReservedRangeFieldNumber = 9;
  726. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.DescriptorProto.Types.ReservedRange> reservedRange_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.DescriptorProto.Types.ReservedRange>();
  727. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.DescriptorProto.Types.ReservedRange> ReservedRange {
  728. get { return reservedRange_; }
  729. }
  730. public const int ReservedNameFieldNumber = 10;
  731. private readonly pbc::RepeatedField<string> reservedName_ = new pbc::RepeatedField<string>();
  732. public pbc::RepeatedField<string> ReservedName {
  733. get { return reservedName_; }
  734. }
  735. public override bool Equals(object other) {
  736. return Equals(other as DescriptorProto);
  737. }
  738. public bool Equals(DescriptorProto other) {
  739. if (ReferenceEquals(other, null)) {
  740. return false;
  741. }
  742. if (ReferenceEquals(other, this)) {
  743. return true;
  744. }
  745. if (Name != other.Name) return false;
  746. if(!field_.Equals(other.field_)) return false;
  747. if(!extension_.Equals(other.extension_)) return false;
  748. if(!nestedType_.Equals(other.nestedType_)) return false;
  749. if(!enumType_.Equals(other.enumType_)) return false;
  750. if(!extensionRange_.Equals(other.extensionRange_)) return false;
  751. if(!oneofDecl_.Equals(other.oneofDecl_)) return false;
  752. if (!object.Equals(Options, other.Options)) return false;if(!reservedRange_.Equals(other.reservedRange_)) return false;
  753. if(!reservedName_.Equals(other.reservedName_)) return false;
  754. return true;
  755. }
  756. public override int GetHashCode() {
  757. int hash = 0;
  758. if (Name != "") hash ^= Name.GetHashCode();
  759. hash ^= field_.GetHashCode();
  760. hash ^= extension_.GetHashCode();
  761. hash ^= nestedType_.GetHashCode();
  762. hash ^= enumType_.GetHashCode();
  763. hash ^= extensionRange_.GetHashCode();
  764. hash ^= oneofDecl_.GetHashCode();
  765. if (options_ != null) hash ^= Options.GetHashCode();
  766. hash ^= reservedRange_.GetHashCode();
  767. hash ^= reservedName_.GetHashCode();
  768. return hash;
  769. }
  770. public void WriteTo(pb::ICodedOutputStream output) {
  771. string[] fieldNames = _fieldNames;
  772. if (Name != "") {
  773. output.WriteString(1, fieldNames[4], Name);
  774. }
  775. output.WriteMessageArray(2, fieldNames[3], field_);
  776. output.WriteMessageArray(3, fieldNames[5], nestedType_);
  777. output.WriteMessageArray(4, fieldNames[0], enumType_);
  778. output.WriteMessageArray(5, fieldNames[2], extensionRange_);
  779. output.WriteMessageArray(6, fieldNames[1], extension_);
  780. if (options_ != null) {
  781. output.WriteMessage(7, fieldNames[7], Options);
  782. }
  783. output.WriteMessageArray(8, fieldNames[6], oneofDecl_);
  784. output.WriteMessageArray(9, fieldNames[9], reservedRange_);
  785. output.WriteStringArray(10, fieldNames[8], reservedName_);
  786. }
  787. public int CalculateSize() {
  788. int size = 0;
  789. if (Name != "") {
  790. size += pb::CodedOutputStream.ComputeStringSize(1, Name);
  791. }
  792. foreach (global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto element in field_) {
  793. size += pb::CodedOutputStream.ComputeMessageSize(2, element);
  794. }
  795. foreach (global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto element in extension_) {
  796. size += pb::CodedOutputStream.ComputeMessageSize(6, element);
  797. }
  798. foreach (global::Google.Protobuf.DescriptorProtos.DescriptorProto element in nestedType_) {
  799. size += pb::CodedOutputStream.ComputeMessageSize(3, element);
  800. }
  801. foreach (global::Google.Protobuf.DescriptorProtos.EnumDescriptorProto element in enumType_) {
  802. size += pb::CodedOutputStream.ComputeMessageSize(4, element);
  803. }
  804. foreach (global::Google.Protobuf.DescriptorProtos.DescriptorProto.Types.ExtensionRange element in extensionRange_) {
  805. size += pb::CodedOutputStream.ComputeMessageSize(5, element);
  806. }
  807. foreach (global::Google.Protobuf.DescriptorProtos.OneofDescriptorProto element in oneofDecl_) {
  808. size += pb::CodedOutputStream.ComputeMessageSize(8, element);
  809. }
  810. if (options_ != null) {
  811. size += pb::CodedOutputStream.ComputeMessageSize(7, Options);
  812. }
  813. foreach (global::Google.Protobuf.DescriptorProtos.DescriptorProto.Types.ReservedRange element in reservedRange_) {
  814. size += pb::CodedOutputStream.ComputeMessageSize(9, element);
  815. }
  816. {
  817. int dataSize = 0;
  818. foreach (string element in reservedName_) {
  819. dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
  820. }
  821. size += dataSize;
  822. size += 1 * reservedName_.Count;
  823. }
  824. return size;
  825. }
  826. public void MergeFrom(DescriptorProto other) {
  827. if (other == null) {
  828. return;
  829. }
  830. if (other.Name != "") {
  831. Name = other.Name;
  832. }
  833. field_.Add(other.field_);
  834. extension_.Add(other.extension_);
  835. nestedType_.Add(other.nestedType_);
  836. enumType_.Add(other.enumType_);
  837. extensionRange_.Add(other.extensionRange_);
  838. oneofDecl_.Add(other.oneofDecl_);
  839. if (other.options_ != null) {
  840. if (options_ == null) {
  841. options_ = new global::Google.Protobuf.DescriptorProtos.MessageOptions();
  842. }
  843. Options.MergeFrom(other.Options);
  844. }
  845. reservedRange_.Add(other.reservedRange_);
  846. reservedName_.Add(other.reservedName_);
  847. }
  848. public void MergeFrom(pb::ICodedInputStream input) {
  849. uint tag;
  850. string fieldName;
  851. while (input.ReadTag(out tag, out fieldName)) {
  852. if (tag == 0 && fieldName != null) {
  853. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  854. if (fieldOrdinal >= 0) {
  855. tag = _fieldTags[fieldOrdinal];
  856. }
  857. }
  858. switch(tag) {
  859. case 0:
  860. throw pb::InvalidProtocolBufferException.InvalidTag();
  861. default:
  862. if (pb::WireFormat.IsEndGroupTag(tag)) {
  863. return;
  864. }
  865. break;
  866. case 10: {
  867. input.ReadString(ref name_);
  868. break;
  869. }
  870. case 18: {
  871. input.ReadMessageArray(tag, fieldName, field_, global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Parser);
  872. break;
  873. }
  874. case 26: {
  875. input.ReadMessageArray(tag, fieldName, nestedType_, global::Google.Protobuf.DescriptorProtos.DescriptorProto.Parser);
  876. break;
  877. }
  878. case 34: {
  879. input.ReadMessageArray(tag, fieldName, enumType_, global::Google.Protobuf.DescriptorProtos.EnumDescriptorProto.Parser);
  880. break;
  881. }
  882. case 42: {
  883. input.ReadMessageArray(tag, fieldName, extensionRange_, global::Google.Protobuf.DescriptorProtos.DescriptorProto.Types.ExtensionRange.Parser);
  884. break;
  885. }
  886. case 50: {
  887. input.ReadMessageArray(tag, fieldName, extension_, global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Parser);
  888. break;
  889. }
  890. case 58: {
  891. if (options_ == null) {
  892. options_ = new global::Google.Protobuf.DescriptorProtos.MessageOptions();
  893. }
  894. input.ReadMessage(options_);
  895. break;
  896. }
  897. case 66: {
  898. input.ReadMessageArray(tag, fieldName, oneofDecl_, global::Google.Protobuf.DescriptorProtos.OneofDescriptorProto.Parser);
  899. break;
  900. }
  901. case 74: {
  902. input.ReadMessageArray(tag, fieldName, reservedRange_, global::Google.Protobuf.DescriptorProtos.DescriptorProto.Types.ReservedRange.Parser);
  903. break;
  904. }
  905. case 82: {
  906. input.ReadStringArray(tag, fieldName, reservedName_);
  907. break;
  908. }
  909. }
  910. }
  911. }
  912. #region Nested types
  913. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  914. public static partial class Types {
  915. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  916. public sealed partial class ExtensionRange : pb::IMessage<ExtensionRange>, global::System.IEquatable<ExtensionRange> {
  917. private static readonly pb::MessageParser<ExtensionRange> _parser = new pb::MessageParser<ExtensionRange>(() => new ExtensionRange());
  918. public static pb::MessageParser<ExtensionRange> Parser { get { return _parser; } }
  919. private static readonly string[] _fieldNames = new string[] { "end", "start" };
  920. private static readonly uint[] _fieldTags = new uint[] { 16, 8 };
  921. public static pbd::MessageDescriptor Descriptor {
  922. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_DescriptorProto_ExtensionRange__Descriptor; }
  923. }
  924. public pb::FieldAccess.FieldAccessorTable<ExtensionRange> Fields {
  925. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_DescriptorProto_ExtensionRange__FieldAccessorTable; }
  926. }
  927. public ExtensionRange() { }
  928. public ExtensionRange(ExtensionRange other) {
  929. MergeFrom(other);
  930. }
  931. public const int StartFieldNumber = 1;
  932. private int start_;
  933. public int Start {
  934. get { return start_; }
  935. set { start_ = value; }
  936. }
  937. public const int EndFieldNumber = 2;
  938. private int end_;
  939. public int End {
  940. get { return end_; }
  941. set { end_ = value; }
  942. }
  943. public override bool Equals(object other) {
  944. return Equals(other as ExtensionRange);
  945. }
  946. public bool Equals(ExtensionRange other) {
  947. if (ReferenceEquals(other, null)) {
  948. return false;
  949. }
  950. if (ReferenceEquals(other, this)) {
  951. return true;
  952. }
  953. if (Start != other.Start) return false;
  954. if (End != other.End) return false;
  955. return true;
  956. }
  957. public override int GetHashCode() {
  958. int hash = 0;
  959. if (Start != 0) hash ^= Start.GetHashCode();
  960. if (End != 0) hash ^= End.GetHashCode();
  961. return hash;
  962. }
  963. public void WriteTo(pb::ICodedOutputStream output) {
  964. string[] fieldNames = _fieldNames;
  965. if (Start != 0) {
  966. output.WriteInt32(1, fieldNames[1], Start);
  967. }
  968. if (End != 0) {
  969. output.WriteInt32(2, fieldNames[0], End);
  970. }
  971. }
  972. public int CalculateSize() {
  973. int size = 0;
  974. if (Start != 0) {
  975. size += pb::CodedOutputStream.ComputeInt32Size(1, Start);
  976. }
  977. if (End != 0) {
  978. size += pb::CodedOutputStream.ComputeInt32Size(2, End);
  979. }
  980. return size;
  981. }
  982. public void MergeFrom(ExtensionRange other) {
  983. if (other == null) {
  984. return;
  985. }
  986. if (other.Start != 0) {
  987. Start = other.Start;
  988. }
  989. if (other.End != 0) {
  990. End = other.End;
  991. }
  992. }
  993. public void MergeFrom(pb::ICodedInputStream input) {
  994. uint tag;
  995. string fieldName;
  996. while (input.ReadTag(out tag, out fieldName)) {
  997. if (tag == 0 && fieldName != null) {
  998. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  999. if (fieldOrdinal >= 0) {
  1000. tag = _fieldTags[fieldOrdinal];
  1001. }
  1002. }
  1003. switch(tag) {
  1004. case 0:
  1005. throw pb::InvalidProtocolBufferException.InvalidTag();
  1006. default:
  1007. if (pb::WireFormat.IsEndGroupTag(tag)) {
  1008. return;
  1009. }
  1010. break;
  1011. case 8: {
  1012. input.ReadInt32(ref start_);
  1013. break;
  1014. }
  1015. case 16: {
  1016. input.ReadInt32(ref end_);
  1017. break;
  1018. }
  1019. }
  1020. }
  1021. }
  1022. }
  1023. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1024. public sealed partial class ReservedRange : pb::IMessage<ReservedRange>, global::System.IEquatable<ReservedRange> {
  1025. private static readonly pb::MessageParser<ReservedRange> _parser = new pb::MessageParser<ReservedRange>(() => new ReservedRange());
  1026. public static pb::MessageParser<ReservedRange> Parser { get { return _parser; } }
  1027. private static readonly string[] _fieldNames = new string[] { "end", "start" };
  1028. private static readonly uint[] _fieldTags = new uint[] { 16, 8 };
  1029. public static pbd::MessageDescriptor Descriptor {
  1030. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_DescriptorProto_ReservedRange__Descriptor; }
  1031. }
  1032. public pb::FieldAccess.FieldAccessorTable<ReservedRange> Fields {
  1033. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_DescriptorProto_ReservedRange__FieldAccessorTable; }
  1034. }
  1035. public ReservedRange() { }
  1036. public ReservedRange(ReservedRange other) {
  1037. MergeFrom(other);
  1038. }
  1039. public const int StartFieldNumber = 1;
  1040. private int start_;
  1041. public int Start {
  1042. get { return start_; }
  1043. set { start_ = value; }
  1044. }
  1045. public const int EndFieldNumber = 2;
  1046. private int end_;
  1047. public int End {
  1048. get { return end_; }
  1049. set { end_ = value; }
  1050. }
  1051. public override bool Equals(object other) {
  1052. return Equals(other as ReservedRange);
  1053. }
  1054. public bool Equals(ReservedRange other) {
  1055. if (ReferenceEquals(other, null)) {
  1056. return false;
  1057. }
  1058. if (ReferenceEquals(other, this)) {
  1059. return true;
  1060. }
  1061. if (Start != other.Start) return false;
  1062. if (End != other.End) return false;
  1063. return true;
  1064. }
  1065. public override int GetHashCode() {
  1066. int hash = 0;
  1067. if (Start != 0) hash ^= Start.GetHashCode();
  1068. if (End != 0) hash ^= End.GetHashCode();
  1069. return hash;
  1070. }
  1071. public void WriteTo(pb::ICodedOutputStream output) {
  1072. string[] fieldNames = _fieldNames;
  1073. if (Start != 0) {
  1074. output.WriteInt32(1, fieldNames[1], Start);
  1075. }
  1076. if (End != 0) {
  1077. output.WriteInt32(2, fieldNames[0], End);
  1078. }
  1079. }
  1080. public int CalculateSize() {
  1081. int size = 0;
  1082. if (Start != 0) {
  1083. size += pb::CodedOutputStream.ComputeInt32Size(1, Start);
  1084. }
  1085. if (End != 0) {
  1086. size += pb::CodedOutputStream.ComputeInt32Size(2, End);
  1087. }
  1088. return size;
  1089. }
  1090. public void MergeFrom(ReservedRange other) {
  1091. if (other == null) {
  1092. return;
  1093. }
  1094. if (other.Start != 0) {
  1095. Start = other.Start;
  1096. }
  1097. if (other.End != 0) {
  1098. End = other.End;
  1099. }
  1100. }
  1101. public void MergeFrom(pb::ICodedInputStream input) {
  1102. uint tag;
  1103. string fieldName;
  1104. while (input.ReadTag(out tag, out fieldName)) {
  1105. if (tag == 0 && fieldName != null) {
  1106. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  1107. if (fieldOrdinal >= 0) {
  1108. tag = _fieldTags[fieldOrdinal];
  1109. }
  1110. }
  1111. switch(tag) {
  1112. case 0:
  1113. throw pb::InvalidProtocolBufferException.InvalidTag();
  1114. default:
  1115. if (pb::WireFormat.IsEndGroupTag(tag)) {
  1116. return;
  1117. }
  1118. break;
  1119. case 8: {
  1120. input.ReadInt32(ref start_);
  1121. break;
  1122. }
  1123. case 16: {
  1124. input.ReadInt32(ref end_);
  1125. break;
  1126. }
  1127. }
  1128. }
  1129. }
  1130. }
  1131. }
  1132. #endregion
  1133. }
  1134. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1135. public sealed partial class FieldDescriptorProto : pb::IMessage<FieldDescriptorProto>, global::System.IEquatable<FieldDescriptorProto> {
  1136. private static readonly pb::MessageParser<FieldDescriptorProto> _parser = new pb::MessageParser<FieldDescriptorProto>(() => new FieldDescriptorProto());
  1137. public static pb::MessageParser<FieldDescriptorProto> Parser { get { return _parser; } }
  1138. private static readonly string[] _fieldNames = new string[] { "default_value", "extendee", "label", "name", "number", "oneof_index", "options", "type", "type_name" };
  1139. private static readonly uint[] _fieldTags = new uint[] { 58, 18, 32, 10, 24, 72, 66, 40, 50 };
  1140. public static pbd::MessageDescriptor Descriptor {
  1141. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_FieldDescriptorProto__Descriptor; }
  1142. }
  1143. public pb::FieldAccess.FieldAccessorTable<FieldDescriptorProto> Fields {
  1144. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_FieldDescriptorProto__FieldAccessorTable; }
  1145. }
  1146. public FieldDescriptorProto() { }
  1147. public FieldDescriptorProto(FieldDescriptorProto other) {
  1148. MergeFrom(other);
  1149. }
  1150. public const int NameFieldNumber = 1;
  1151. private string name_ = "";
  1152. public string Name {
  1153. get { return name_; }
  1154. set { name_ = value ?? ""; }
  1155. }
  1156. public const int NumberFieldNumber = 3;
  1157. private int number_;
  1158. public int Number {
  1159. get { return number_; }
  1160. set { number_ = value; }
  1161. }
  1162. public const int LabelFieldNumber = 4;
  1163. private global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Types.Label label_ = global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Types.Label.LABEL_OPTIONAL;
  1164. public global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Types.Label Label {
  1165. get { return label_; }
  1166. set { label_ = value; }
  1167. }
  1168. public const int TypeFieldNumber = 5;
  1169. private global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Types.Type type_ = global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Types.Type.TYPE_DOUBLE;
  1170. public global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Types.Type Type {
  1171. get { return type_; }
  1172. set { type_ = value; }
  1173. }
  1174. public const int TypeNameFieldNumber = 6;
  1175. private string typeName_ = "";
  1176. public string TypeName {
  1177. get { return typeName_; }
  1178. set { typeName_ = value ?? ""; }
  1179. }
  1180. public const int ExtendeeFieldNumber = 2;
  1181. private string extendee_ = "";
  1182. public string Extendee {
  1183. get { return extendee_; }
  1184. set { extendee_ = value ?? ""; }
  1185. }
  1186. public const int DefaultValueFieldNumber = 7;
  1187. private string defaultValue_ = "";
  1188. public string DefaultValue {
  1189. get { return defaultValue_; }
  1190. set { defaultValue_ = value ?? ""; }
  1191. }
  1192. public const int OneofIndexFieldNumber = 9;
  1193. private int oneofIndex_;
  1194. public int OneofIndex {
  1195. get { return oneofIndex_; }
  1196. set { oneofIndex_ = value; }
  1197. }
  1198. public const int OptionsFieldNumber = 8;
  1199. private global::Google.Protobuf.DescriptorProtos.FieldOptions options_;
  1200. public global::Google.Protobuf.DescriptorProtos.FieldOptions Options {
  1201. get { return options_; }
  1202. set { options_ = value; }
  1203. }
  1204. public override bool Equals(object other) {
  1205. return Equals(other as FieldDescriptorProto);
  1206. }
  1207. public bool Equals(FieldDescriptorProto other) {
  1208. if (ReferenceEquals(other, null)) {
  1209. return false;
  1210. }
  1211. if (ReferenceEquals(other, this)) {
  1212. return true;
  1213. }
  1214. if (Name != other.Name) return false;
  1215. if (Number != other.Number) return false;
  1216. if (Label != other.Label) return false;
  1217. if (Type != other.Type) return false;
  1218. if (TypeName != other.TypeName) return false;
  1219. if (Extendee != other.Extendee) return false;
  1220. if (DefaultValue != other.DefaultValue) return false;
  1221. if (OneofIndex != other.OneofIndex) return false;
  1222. if (!object.Equals(Options, other.Options)) return false; return true;
  1223. }
  1224. public override int GetHashCode() {
  1225. int hash = 0;
  1226. if (Name != "") hash ^= Name.GetHashCode();
  1227. if (Number != 0) hash ^= Number.GetHashCode();
  1228. if (Label != global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Types.Label.LABEL_OPTIONAL) hash ^= Label.GetHashCode();
  1229. if (Type != global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Types.Type.TYPE_DOUBLE) hash ^= Type.GetHashCode();
  1230. if (TypeName != "") hash ^= TypeName.GetHashCode();
  1231. if (Extendee != "") hash ^= Extendee.GetHashCode();
  1232. if (DefaultValue != "") hash ^= DefaultValue.GetHashCode();
  1233. if (OneofIndex != 0) hash ^= OneofIndex.GetHashCode();
  1234. if (options_ != null) hash ^= Options.GetHashCode();
  1235. return hash;
  1236. }
  1237. public void WriteTo(pb::ICodedOutputStream output) {
  1238. string[] fieldNames = _fieldNames;
  1239. if (Name != "") {
  1240. output.WriteString(1, fieldNames[3], Name);
  1241. }
  1242. if (Extendee != "") {
  1243. output.WriteString(2, fieldNames[1], Extendee);
  1244. }
  1245. if (Number != 0) {
  1246. output.WriteInt32(3, fieldNames[4], Number);
  1247. }
  1248. if (Label != global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Types.Label.LABEL_OPTIONAL) {
  1249. output.WriteEnum(4, fieldNames[2], (int) Label);
  1250. }
  1251. if (Type != global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Types.Type.TYPE_DOUBLE) {
  1252. output.WriteEnum(5, fieldNames[7], (int) Type);
  1253. }
  1254. if (TypeName != "") {
  1255. output.WriteString(6, fieldNames[8], TypeName);
  1256. }
  1257. if (DefaultValue != "") {
  1258. output.WriteString(7, fieldNames[0], DefaultValue);
  1259. }
  1260. if (options_ != null) {
  1261. output.WriteMessage(8, fieldNames[6], Options);
  1262. }
  1263. if (OneofIndex != 0) {
  1264. output.WriteInt32(9, fieldNames[5], OneofIndex);
  1265. }
  1266. }
  1267. public int CalculateSize() {
  1268. int size = 0;
  1269. if (Name != "") {
  1270. size += pb::CodedOutputStream.ComputeStringSize(1, Name);
  1271. }
  1272. if (Number != 0) {
  1273. size += pb::CodedOutputStream.ComputeInt32Size(3, Number);
  1274. }
  1275. if (Label != global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Types.Label.LABEL_OPTIONAL) {
  1276. size += pb::CodedOutputStream.ComputeEnumSize(4, (int) Label);
  1277. }
  1278. if (Type != global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Types.Type.TYPE_DOUBLE) {
  1279. size += pb::CodedOutputStream.ComputeEnumSize(5, (int) Type);
  1280. }
  1281. if (TypeName != "") {
  1282. size += pb::CodedOutputStream.ComputeStringSize(6, TypeName);
  1283. }
  1284. if (Extendee != "") {
  1285. size += pb::CodedOutputStream.ComputeStringSize(2, Extendee);
  1286. }
  1287. if (DefaultValue != "") {
  1288. size += pb::CodedOutputStream.ComputeStringSize(7, DefaultValue);
  1289. }
  1290. if (OneofIndex != 0) {
  1291. size += pb::CodedOutputStream.ComputeInt32Size(9, OneofIndex);
  1292. }
  1293. if (options_ != null) {
  1294. size += pb::CodedOutputStream.ComputeMessageSize(8, Options);
  1295. }
  1296. return size;
  1297. }
  1298. public void MergeFrom(FieldDescriptorProto other) {
  1299. if (other == null) {
  1300. return;
  1301. }
  1302. if (other.Name != "") {
  1303. Name = other.Name;
  1304. }
  1305. if (other.Number != 0) {
  1306. Number = other.Number;
  1307. }
  1308. if (other.Label != global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Types.Label.LABEL_OPTIONAL) {
  1309. Label = other.Label;
  1310. }
  1311. if (other.Type != global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Types.Type.TYPE_DOUBLE) {
  1312. Type = other.Type;
  1313. }
  1314. if (other.TypeName != "") {
  1315. TypeName = other.TypeName;
  1316. }
  1317. if (other.Extendee != "") {
  1318. Extendee = other.Extendee;
  1319. }
  1320. if (other.DefaultValue != "") {
  1321. DefaultValue = other.DefaultValue;
  1322. }
  1323. if (other.OneofIndex != 0) {
  1324. OneofIndex = other.OneofIndex;
  1325. }
  1326. if (other.options_ != null) {
  1327. if (options_ == null) {
  1328. options_ = new global::Google.Protobuf.DescriptorProtos.FieldOptions();
  1329. }
  1330. Options.MergeFrom(other.Options);
  1331. }
  1332. }
  1333. public void MergeFrom(pb::ICodedInputStream input) {
  1334. uint tag;
  1335. string fieldName;
  1336. while (input.ReadTag(out tag, out fieldName)) {
  1337. if (tag == 0 && fieldName != null) {
  1338. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  1339. if (fieldOrdinal >= 0) {
  1340. tag = _fieldTags[fieldOrdinal];
  1341. }
  1342. }
  1343. switch(tag) {
  1344. case 0:
  1345. throw pb::InvalidProtocolBufferException.InvalidTag();
  1346. default:
  1347. if (pb::WireFormat.IsEndGroupTag(tag)) {
  1348. return;
  1349. }
  1350. break;
  1351. case 10: {
  1352. input.ReadString(ref name_);
  1353. break;
  1354. }
  1355. case 18: {
  1356. input.ReadString(ref extendee_);
  1357. break;
  1358. }
  1359. case 24: {
  1360. input.ReadInt32(ref number_);
  1361. break;
  1362. }
  1363. case 32: {
  1364. int tmp = 0;
  1365. input.ReadEnum(ref tmp);
  1366. label_ = (global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Types.Label) tmp;break;
  1367. }
  1368. case 40: {
  1369. int tmp = 0;
  1370. input.ReadEnum(ref tmp);
  1371. type_ = (global::Google.Protobuf.DescriptorProtos.FieldDescriptorProto.Types.Type) tmp;break;
  1372. }
  1373. case 50: {
  1374. input.ReadString(ref typeName_);
  1375. break;
  1376. }
  1377. case 58: {
  1378. input.ReadString(ref defaultValue_);
  1379. break;
  1380. }
  1381. case 66: {
  1382. if (options_ == null) {
  1383. options_ = new global::Google.Protobuf.DescriptorProtos.FieldOptions();
  1384. }
  1385. input.ReadMessage(options_);
  1386. break;
  1387. }
  1388. case 72: {
  1389. input.ReadInt32(ref oneofIndex_);
  1390. break;
  1391. }
  1392. }
  1393. }
  1394. }
  1395. #region Nested types
  1396. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1397. public static partial class Types {
  1398. public enum Type {
  1399. TYPE_DOUBLE = 1,
  1400. TYPE_FLOAT = 2,
  1401. TYPE_INT64 = 3,
  1402. TYPE_UINT64 = 4,
  1403. TYPE_INT32 = 5,
  1404. TYPE_FIXED64 = 6,
  1405. TYPE_FIXED32 = 7,
  1406. TYPE_BOOL = 8,
  1407. TYPE_STRING = 9,
  1408. TYPE_GROUP = 10,
  1409. TYPE_MESSAGE = 11,
  1410. TYPE_BYTES = 12,
  1411. TYPE_UINT32 = 13,
  1412. TYPE_ENUM = 14,
  1413. TYPE_SFIXED32 = 15,
  1414. TYPE_SFIXED64 = 16,
  1415. TYPE_SINT32 = 17,
  1416. TYPE_SINT64 = 18,
  1417. }
  1418. public enum Label {
  1419. LABEL_OPTIONAL = 1,
  1420. LABEL_REQUIRED = 2,
  1421. LABEL_REPEATED = 3,
  1422. }
  1423. }
  1424. #endregion
  1425. }
  1426. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1427. public sealed partial class OneofDescriptorProto : pb::IMessage<OneofDescriptorProto>, global::System.IEquatable<OneofDescriptorProto> {
  1428. private static readonly pb::MessageParser<OneofDescriptorProto> _parser = new pb::MessageParser<OneofDescriptorProto>(() => new OneofDescriptorProto());
  1429. public static pb::MessageParser<OneofDescriptorProto> Parser { get { return _parser; } }
  1430. private static readonly string[] _fieldNames = new string[] { "name" };
  1431. private static readonly uint[] _fieldTags = new uint[] { 10 };
  1432. public static pbd::MessageDescriptor Descriptor {
  1433. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_OneofDescriptorProto__Descriptor; }
  1434. }
  1435. public pb::FieldAccess.FieldAccessorTable<OneofDescriptorProto> Fields {
  1436. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_OneofDescriptorProto__FieldAccessorTable; }
  1437. }
  1438. public OneofDescriptorProto() { }
  1439. public OneofDescriptorProto(OneofDescriptorProto other) {
  1440. MergeFrom(other);
  1441. }
  1442. public const int NameFieldNumber = 1;
  1443. private string name_ = "";
  1444. public string Name {
  1445. get { return name_; }
  1446. set { name_ = value ?? ""; }
  1447. }
  1448. public override bool Equals(object other) {
  1449. return Equals(other as OneofDescriptorProto);
  1450. }
  1451. public bool Equals(OneofDescriptorProto other) {
  1452. if (ReferenceEquals(other, null)) {
  1453. return false;
  1454. }
  1455. if (ReferenceEquals(other, this)) {
  1456. return true;
  1457. }
  1458. if (Name != other.Name) return false;
  1459. return true;
  1460. }
  1461. public override int GetHashCode() {
  1462. int hash = 0;
  1463. if (Name != "") hash ^= Name.GetHashCode();
  1464. return hash;
  1465. }
  1466. public void WriteTo(pb::ICodedOutputStream output) {
  1467. string[] fieldNames = _fieldNames;
  1468. if (Name != "") {
  1469. output.WriteString(1, fieldNames[0], Name);
  1470. }
  1471. }
  1472. public int CalculateSize() {
  1473. int size = 0;
  1474. if (Name != "") {
  1475. size += pb::CodedOutputStream.ComputeStringSize(1, Name);
  1476. }
  1477. return size;
  1478. }
  1479. public void MergeFrom(OneofDescriptorProto other) {
  1480. if (other == null) {
  1481. return;
  1482. }
  1483. if (other.Name != "") {
  1484. Name = other.Name;
  1485. }
  1486. }
  1487. public void MergeFrom(pb::ICodedInputStream input) {
  1488. uint tag;
  1489. string fieldName;
  1490. while (input.ReadTag(out tag, out fieldName)) {
  1491. if (tag == 0 && fieldName != null) {
  1492. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  1493. if (fieldOrdinal >= 0) {
  1494. tag = _fieldTags[fieldOrdinal];
  1495. }
  1496. }
  1497. switch(tag) {
  1498. case 0:
  1499. throw pb::InvalidProtocolBufferException.InvalidTag();
  1500. default:
  1501. if (pb::WireFormat.IsEndGroupTag(tag)) {
  1502. return;
  1503. }
  1504. break;
  1505. case 10: {
  1506. input.ReadString(ref name_);
  1507. break;
  1508. }
  1509. }
  1510. }
  1511. }
  1512. }
  1513. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1514. public sealed partial class EnumDescriptorProto : pb::IMessage<EnumDescriptorProto>, global::System.IEquatable<EnumDescriptorProto> {
  1515. private static readonly pb::MessageParser<EnumDescriptorProto> _parser = new pb::MessageParser<EnumDescriptorProto>(() => new EnumDescriptorProto());
  1516. public static pb::MessageParser<EnumDescriptorProto> Parser { get { return _parser; } }
  1517. private static readonly string[] _fieldNames = new string[] { "name", "options", "value" };
  1518. private static readonly uint[] _fieldTags = new uint[] { 10, 26, 18 };
  1519. public static pbd::MessageDescriptor Descriptor {
  1520. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_EnumDescriptorProto__Descriptor; }
  1521. }
  1522. public pb::FieldAccess.FieldAccessorTable<EnumDescriptorProto> Fields {
  1523. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_EnumDescriptorProto__FieldAccessorTable; }
  1524. }
  1525. public EnumDescriptorProto() { }
  1526. public EnumDescriptorProto(EnumDescriptorProto other) {
  1527. MergeFrom(other);
  1528. }
  1529. public const int NameFieldNumber = 1;
  1530. private string name_ = "";
  1531. public string Name {
  1532. get { return name_; }
  1533. set { name_ = value ?? ""; }
  1534. }
  1535. public const int ValueFieldNumber = 2;
  1536. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.EnumValueDescriptorProto> value_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.EnumValueDescriptorProto>();
  1537. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.EnumValueDescriptorProto> Value {
  1538. get { return value_; }
  1539. }
  1540. public const int OptionsFieldNumber = 3;
  1541. private global::Google.Protobuf.DescriptorProtos.EnumOptions options_;
  1542. public global::Google.Protobuf.DescriptorProtos.EnumOptions Options {
  1543. get { return options_; }
  1544. set { options_ = value; }
  1545. }
  1546. public override bool Equals(object other) {
  1547. return Equals(other as EnumDescriptorProto);
  1548. }
  1549. public bool Equals(EnumDescriptorProto other) {
  1550. if (ReferenceEquals(other, null)) {
  1551. return false;
  1552. }
  1553. if (ReferenceEquals(other, this)) {
  1554. return true;
  1555. }
  1556. if (Name != other.Name) return false;
  1557. if(!value_.Equals(other.value_)) return false;
  1558. if (!object.Equals(Options, other.Options)) return false; return true;
  1559. }
  1560. public override int GetHashCode() {
  1561. int hash = 0;
  1562. if (Name != "") hash ^= Name.GetHashCode();
  1563. hash ^= value_.GetHashCode();
  1564. if (options_ != null) hash ^= Options.GetHashCode();
  1565. return hash;
  1566. }
  1567. public void WriteTo(pb::ICodedOutputStream output) {
  1568. string[] fieldNames = _fieldNames;
  1569. if (Name != "") {
  1570. output.WriteString(1, fieldNames[0], Name);
  1571. }
  1572. output.WriteMessageArray(2, fieldNames[2], value_);
  1573. if (options_ != null) {
  1574. output.WriteMessage(3, fieldNames[1], Options);
  1575. }
  1576. }
  1577. public int CalculateSize() {
  1578. int size = 0;
  1579. if (Name != "") {
  1580. size += pb::CodedOutputStream.ComputeStringSize(1, Name);
  1581. }
  1582. foreach (global::Google.Protobuf.DescriptorProtos.EnumValueDescriptorProto element in value_) {
  1583. size += pb::CodedOutputStream.ComputeMessageSize(2, element);
  1584. }
  1585. if (options_ != null) {
  1586. size += pb::CodedOutputStream.ComputeMessageSize(3, Options);
  1587. }
  1588. return size;
  1589. }
  1590. public void MergeFrom(EnumDescriptorProto other) {
  1591. if (other == null) {
  1592. return;
  1593. }
  1594. if (other.Name != "") {
  1595. Name = other.Name;
  1596. }
  1597. value_.Add(other.value_);
  1598. if (other.options_ != null) {
  1599. if (options_ == null) {
  1600. options_ = new global::Google.Protobuf.DescriptorProtos.EnumOptions();
  1601. }
  1602. Options.MergeFrom(other.Options);
  1603. }
  1604. }
  1605. public void MergeFrom(pb::ICodedInputStream input) {
  1606. uint tag;
  1607. string fieldName;
  1608. while (input.ReadTag(out tag, out fieldName)) {
  1609. if (tag == 0 && fieldName != null) {
  1610. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  1611. if (fieldOrdinal >= 0) {
  1612. tag = _fieldTags[fieldOrdinal];
  1613. }
  1614. }
  1615. switch(tag) {
  1616. case 0:
  1617. throw pb::InvalidProtocolBufferException.InvalidTag();
  1618. default:
  1619. if (pb::WireFormat.IsEndGroupTag(tag)) {
  1620. return;
  1621. }
  1622. break;
  1623. case 10: {
  1624. input.ReadString(ref name_);
  1625. break;
  1626. }
  1627. case 18: {
  1628. input.ReadMessageArray(tag, fieldName, value_, global::Google.Protobuf.DescriptorProtos.EnumValueDescriptorProto.Parser);
  1629. break;
  1630. }
  1631. case 26: {
  1632. if (options_ == null) {
  1633. options_ = new global::Google.Protobuf.DescriptorProtos.EnumOptions();
  1634. }
  1635. input.ReadMessage(options_);
  1636. break;
  1637. }
  1638. }
  1639. }
  1640. }
  1641. }
  1642. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1643. public sealed partial class EnumValueDescriptorProto : pb::IMessage<EnumValueDescriptorProto>, global::System.IEquatable<EnumValueDescriptorProto> {
  1644. private static readonly pb::MessageParser<EnumValueDescriptorProto> _parser = new pb::MessageParser<EnumValueDescriptorProto>(() => new EnumValueDescriptorProto());
  1645. public static pb::MessageParser<EnumValueDescriptorProto> Parser { get { return _parser; } }
  1646. private static readonly string[] _fieldNames = new string[] { "name", "number", "options" };
  1647. private static readonly uint[] _fieldTags = new uint[] { 10, 16, 26 };
  1648. public static pbd::MessageDescriptor Descriptor {
  1649. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_EnumValueDescriptorProto__Descriptor; }
  1650. }
  1651. public pb::FieldAccess.FieldAccessorTable<EnumValueDescriptorProto> Fields {
  1652. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_EnumValueDescriptorProto__FieldAccessorTable; }
  1653. }
  1654. public EnumValueDescriptorProto() { }
  1655. public EnumValueDescriptorProto(EnumValueDescriptorProto other) {
  1656. MergeFrom(other);
  1657. }
  1658. public const int NameFieldNumber = 1;
  1659. private string name_ = "";
  1660. public string Name {
  1661. get { return name_; }
  1662. set { name_ = value ?? ""; }
  1663. }
  1664. public const int NumberFieldNumber = 2;
  1665. private int number_;
  1666. public int Number {
  1667. get { return number_; }
  1668. set { number_ = value; }
  1669. }
  1670. public const int OptionsFieldNumber = 3;
  1671. private global::Google.Protobuf.DescriptorProtos.EnumValueOptions options_;
  1672. public global::Google.Protobuf.DescriptorProtos.EnumValueOptions Options {
  1673. get { return options_; }
  1674. set { options_ = value; }
  1675. }
  1676. public override bool Equals(object other) {
  1677. return Equals(other as EnumValueDescriptorProto);
  1678. }
  1679. public bool Equals(EnumValueDescriptorProto other) {
  1680. if (ReferenceEquals(other, null)) {
  1681. return false;
  1682. }
  1683. if (ReferenceEquals(other, this)) {
  1684. return true;
  1685. }
  1686. if (Name != other.Name) return false;
  1687. if (Number != other.Number) return false;
  1688. if (!object.Equals(Options, other.Options)) return false; return true;
  1689. }
  1690. public override int GetHashCode() {
  1691. int hash = 0;
  1692. if (Name != "") hash ^= Name.GetHashCode();
  1693. if (Number != 0) hash ^= Number.GetHashCode();
  1694. if (options_ != null) hash ^= Options.GetHashCode();
  1695. return hash;
  1696. }
  1697. public void WriteTo(pb::ICodedOutputStream output) {
  1698. string[] fieldNames = _fieldNames;
  1699. if (Name != "") {
  1700. output.WriteString(1, fieldNames[0], Name);
  1701. }
  1702. if (Number != 0) {
  1703. output.WriteInt32(2, fieldNames[1], Number);
  1704. }
  1705. if (options_ != null) {
  1706. output.WriteMessage(3, fieldNames[2], Options);
  1707. }
  1708. }
  1709. public int CalculateSize() {
  1710. int size = 0;
  1711. if (Name != "") {
  1712. size += pb::CodedOutputStream.ComputeStringSize(1, Name);
  1713. }
  1714. if (Number != 0) {
  1715. size += pb::CodedOutputStream.ComputeInt32Size(2, Number);
  1716. }
  1717. if (options_ != null) {
  1718. size += pb::CodedOutputStream.ComputeMessageSize(3, Options);
  1719. }
  1720. return size;
  1721. }
  1722. public void MergeFrom(EnumValueDescriptorProto other) {
  1723. if (other == null) {
  1724. return;
  1725. }
  1726. if (other.Name != "") {
  1727. Name = other.Name;
  1728. }
  1729. if (other.Number != 0) {
  1730. Number = other.Number;
  1731. }
  1732. if (other.options_ != null) {
  1733. if (options_ == null) {
  1734. options_ = new global::Google.Protobuf.DescriptorProtos.EnumValueOptions();
  1735. }
  1736. Options.MergeFrom(other.Options);
  1737. }
  1738. }
  1739. public void MergeFrom(pb::ICodedInputStream input) {
  1740. uint tag;
  1741. string fieldName;
  1742. while (input.ReadTag(out tag, out fieldName)) {
  1743. if (tag == 0 && fieldName != null) {
  1744. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  1745. if (fieldOrdinal >= 0) {
  1746. tag = _fieldTags[fieldOrdinal];
  1747. }
  1748. }
  1749. switch(tag) {
  1750. case 0:
  1751. throw pb::InvalidProtocolBufferException.InvalidTag();
  1752. default:
  1753. if (pb::WireFormat.IsEndGroupTag(tag)) {
  1754. return;
  1755. }
  1756. break;
  1757. case 10: {
  1758. input.ReadString(ref name_);
  1759. break;
  1760. }
  1761. case 16: {
  1762. input.ReadInt32(ref number_);
  1763. break;
  1764. }
  1765. case 26: {
  1766. if (options_ == null) {
  1767. options_ = new global::Google.Protobuf.DescriptorProtos.EnumValueOptions();
  1768. }
  1769. input.ReadMessage(options_);
  1770. break;
  1771. }
  1772. }
  1773. }
  1774. }
  1775. }
  1776. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1777. public sealed partial class ServiceDescriptorProto : pb::IMessage<ServiceDescriptorProto>, global::System.IEquatable<ServiceDescriptorProto> {
  1778. private static readonly pb::MessageParser<ServiceDescriptorProto> _parser = new pb::MessageParser<ServiceDescriptorProto>(() => new ServiceDescriptorProto());
  1779. public static pb::MessageParser<ServiceDescriptorProto> Parser { get { return _parser; } }
  1780. private static readonly string[] _fieldNames = new string[] { "method", "name", "options" };
  1781. private static readonly uint[] _fieldTags = new uint[] { 18, 10, 26 };
  1782. public static pbd::MessageDescriptor Descriptor {
  1783. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_ServiceDescriptorProto__Descriptor; }
  1784. }
  1785. public pb::FieldAccess.FieldAccessorTable<ServiceDescriptorProto> Fields {
  1786. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_ServiceDescriptorProto__FieldAccessorTable; }
  1787. }
  1788. public ServiceDescriptorProto() { }
  1789. public ServiceDescriptorProto(ServiceDescriptorProto other) {
  1790. MergeFrom(other);
  1791. }
  1792. public const int NameFieldNumber = 1;
  1793. private string name_ = "";
  1794. public string Name {
  1795. get { return name_; }
  1796. set { name_ = value ?? ""; }
  1797. }
  1798. public const int MethodFieldNumber = 2;
  1799. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.MethodDescriptorProto> method_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.MethodDescriptorProto>();
  1800. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.MethodDescriptorProto> Method {
  1801. get { return method_; }
  1802. }
  1803. public const int OptionsFieldNumber = 3;
  1804. private global::Google.Protobuf.DescriptorProtos.ServiceOptions options_;
  1805. public global::Google.Protobuf.DescriptorProtos.ServiceOptions Options {
  1806. get { return options_; }
  1807. set { options_ = value; }
  1808. }
  1809. public override bool Equals(object other) {
  1810. return Equals(other as ServiceDescriptorProto);
  1811. }
  1812. public bool Equals(ServiceDescriptorProto other) {
  1813. if (ReferenceEquals(other, null)) {
  1814. return false;
  1815. }
  1816. if (ReferenceEquals(other, this)) {
  1817. return true;
  1818. }
  1819. if (Name != other.Name) return false;
  1820. if(!method_.Equals(other.method_)) return false;
  1821. if (!object.Equals(Options, other.Options)) return false; return true;
  1822. }
  1823. public override int GetHashCode() {
  1824. int hash = 0;
  1825. if (Name != "") hash ^= Name.GetHashCode();
  1826. hash ^= method_.GetHashCode();
  1827. if (options_ != null) hash ^= Options.GetHashCode();
  1828. return hash;
  1829. }
  1830. public void WriteTo(pb::ICodedOutputStream output) {
  1831. string[] fieldNames = _fieldNames;
  1832. if (Name != "") {
  1833. output.WriteString(1, fieldNames[1], Name);
  1834. }
  1835. output.WriteMessageArray(2, fieldNames[0], method_);
  1836. if (options_ != null) {
  1837. output.WriteMessage(3, fieldNames[2], Options);
  1838. }
  1839. }
  1840. public int CalculateSize() {
  1841. int size = 0;
  1842. if (Name != "") {
  1843. size += pb::CodedOutputStream.ComputeStringSize(1, Name);
  1844. }
  1845. foreach (global::Google.Protobuf.DescriptorProtos.MethodDescriptorProto element in method_) {
  1846. size += pb::CodedOutputStream.ComputeMessageSize(2, element);
  1847. }
  1848. if (options_ != null) {
  1849. size += pb::CodedOutputStream.ComputeMessageSize(3, Options);
  1850. }
  1851. return size;
  1852. }
  1853. public void MergeFrom(ServiceDescriptorProto other) {
  1854. if (other == null) {
  1855. return;
  1856. }
  1857. if (other.Name != "") {
  1858. Name = other.Name;
  1859. }
  1860. method_.Add(other.method_);
  1861. if (other.options_ != null) {
  1862. if (options_ == null) {
  1863. options_ = new global::Google.Protobuf.DescriptorProtos.ServiceOptions();
  1864. }
  1865. Options.MergeFrom(other.Options);
  1866. }
  1867. }
  1868. public void MergeFrom(pb::ICodedInputStream input) {
  1869. uint tag;
  1870. string fieldName;
  1871. while (input.ReadTag(out tag, out fieldName)) {
  1872. if (tag == 0 && fieldName != null) {
  1873. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  1874. if (fieldOrdinal >= 0) {
  1875. tag = _fieldTags[fieldOrdinal];
  1876. }
  1877. }
  1878. switch(tag) {
  1879. case 0:
  1880. throw pb::InvalidProtocolBufferException.InvalidTag();
  1881. default:
  1882. if (pb::WireFormat.IsEndGroupTag(tag)) {
  1883. return;
  1884. }
  1885. break;
  1886. case 10: {
  1887. input.ReadString(ref name_);
  1888. break;
  1889. }
  1890. case 18: {
  1891. input.ReadMessageArray(tag, fieldName, method_, global::Google.Protobuf.DescriptorProtos.MethodDescriptorProto.Parser);
  1892. break;
  1893. }
  1894. case 26: {
  1895. if (options_ == null) {
  1896. options_ = new global::Google.Protobuf.DescriptorProtos.ServiceOptions();
  1897. }
  1898. input.ReadMessage(options_);
  1899. break;
  1900. }
  1901. }
  1902. }
  1903. }
  1904. }
  1905. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1906. public sealed partial class MethodDescriptorProto : pb::IMessage<MethodDescriptorProto>, global::System.IEquatable<MethodDescriptorProto> {
  1907. private static readonly pb::MessageParser<MethodDescriptorProto> _parser = new pb::MessageParser<MethodDescriptorProto>(() => new MethodDescriptorProto());
  1908. public static pb::MessageParser<MethodDescriptorProto> Parser { get { return _parser; } }
  1909. private static readonly string[] _fieldNames = new string[] { "client_streaming", "input_type", "name", "options", "output_type", "server_streaming" };
  1910. private static readonly uint[] _fieldTags = new uint[] { 40, 18, 10, 34, 26, 48 };
  1911. public static pbd::MessageDescriptor Descriptor {
  1912. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_MethodDescriptorProto__Descriptor; }
  1913. }
  1914. public pb::FieldAccess.FieldAccessorTable<MethodDescriptorProto> Fields {
  1915. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_MethodDescriptorProto__FieldAccessorTable; }
  1916. }
  1917. public MethodDescriptorProto() { }
  1918. public MethodDescriptorProto(MethodDescriptorProto other) {
  1919. MergeFrom(other);
  1920. }
  1921. public const int NameFieldNumber = 1;
  1922. private string name_ = "";
  1923. public string Name {
  1924. get { return name_; }
  1925. set { name_ = value ?? ""; }
  1926. }
  1927. public const int InputTypeFieldNumber = 2;
  1928. private string inputType_ = "";
  1929. public string InputType {
  1930. get { return inputType_; }
  1931. set { inputType_ = value ?? ""; }
  1932. }
  1933. public const int OutputTypeFieldNumber = 3;
  1934. private string outputType_ = "";
  1935. public string OutputType {
  1936. get { return outputType_; }
  1937. set { outputType_ = value ?? ""; }
  1938. }
  1939. public const int OptionsFieldNumber = 4;
  1940. private global::Google.Protobuf.DescriptorProtos.MethodOptions options_;
  1941. public global::Google.Protobuf.DescriptorProtos.MethodOptions Options {
  1942. get { return options_; }
  1943. set { options_ = value; }
  1944. }
  1945. public const int ClientStreamingFieldNumber = 5;
  1946. private bool clientStreaming_;
  1947. public bool ClientStreaming {
  1948. get { return clientStreaming_; }
  1949. set { clientStreaming_ = value; }
  1950. }
  1951. public const int ServerStreamingFieldNumber = 6;
  1952. private bool serverStreaming_;
  1953. public bool ServerStreaming {
  1954. get { return serverStreaming_; }
  1955. set { serverStreaming_ = value; }
  1956. }
  1957. public override bool Equals(object other) {
  1958. return Equals(other as MethodDescriptorProto);
  1959. }
  1960. public bool Equals(MethodDescriptorProto other) {
  1961. if (ReferenceEquals(other, null)) {
  1962. return false;
  1963. }
  1964. if (ReferenceEquals(other, this)) {
  1965. return true;
  1966. }
  1967. if (Name != other.Name) return false;
  1968. if (InputType != other.InputType) return false;
  1969. if (OutputType != other.OutputType) return false;
  1970. if (!object.Equals(Options, other.Options)) return false;if (ClientStreaming != other.ClientStreaming) return false;
  1971. if (ServerStreaming != other.ServerStreaming) return false;
  1972. return true;
  1973. }
  1974. public override int GetHashCode() {
  1975. int hash = 0;
  1976. if (Name != "") hash ^= Name.GetHashCode();
  1977. if (InputType != "") hash ^= InputType.GetHashCode();
  1978. if (OutputType != "") hash ^= OutputType.GetHashCode();
  1979. if (options_ != null) hash ^= Options.GetHashCode();
  1980. if (ClientStreaming != false) hash ^= ClientStreaming.GetHashCode();
  1981. if (ServerStreaming != false) hash ^= ServerStreaming.GetHashCode();
  1982. return hash;
  1983. }
  1984. public void WriteTo(pb::ICodedOutputStream output) {
  1985. string[] fieldNames = _fieldNames;
  1986. if (Name != "") {
  1987. output.WriteString(1, fieldNames[2], Name);
  1988. }
  1989. if (InputType != "") {
  1990. output.WriteString(2, fieldNames[1], InputType);
  1991. }
  1992. if (OutputType != "") {
  1993. output.WriteString(3, fieldNames[4], OutputType);
  1994. }
  1995. if (options_ != null) {
  1996. output.WriteMessage(4, fieldNames[3], Options);
  1997. }
  1998. if (ClientStreaming != false) {
  1999. output.WriteBool(5, fieldNames[0], ClientStreaming);
  2000. }
  2001. if (ServerStreaming != false) {
  2002. output.WriteBool(6, fieldNames[5], ServerStreaming);
  2003. }
  2004. }
  2005. public int CalculateSize() {
  2006. int size = 0;
  2007. if (Name != "") {
  2008. size += pb::CodedOutputStream.ComputeStringSize(1, Name);
  2009. }
  2010. if (InputType != "") {
  2011. size += pb::CodedOutputStream.ComputeStringSize(2, InputType);
  2012. }
  2013. if (OutputType != "") {
  2014. size += pb::CodedOutputStream.ComputeStringSize(3, OutputType);
  2015. }
  2016. if (options_ != null) {
  2017. size += pb::CodedOutputStream.ComputeMessageSize(4, Options);
  2018. }
  2019. if (ClientStreaming != false) {
  2020. size += pb::CodedOutputStream.ComputeBoolSize(5, ClientStreaming);
  2021. }
  2022. if (ServerStreaming != false) {
  2023. size += pb::CodedOutputStream.ComputeBoolSize(6, ServerStreaming);
  2024. }
  2025. return size;
  2026. }
  2027. public void MergeFrom(MethodDescriptorProto other) {
  2028. if (other == null) {
  2029. return;
  2030. }
  2031. if (other.Name != "") {
  2032. Name = other.Name;
  2033. }
  2034. if (other.InputType != "") {
  2035. InputType = other.InputType;
  2036. }
  2037. if (other.OutputType != "") {
  2038. OutputType = other.OutputType;
  2039. }
  2040. if (other.options_ != null) {
  2041. if (options_ == null) {
  2042. options_ = new global::Google.Protobuf.DescriptorProtos.MethodOptions();
  2043. }
  2044. Options.MergeFrom(other.Options);
  2045. }
  2046. if (other.ClientStreaming != false) {
  2047. ClientStreaming = other.ClientStreaming;
  2048. }
  2049. if (other.ServerStreaming != false) {
  2050. ServerStreaming = other.ServerStreaming;
  2051. }
  2052. }
  2053. public void MergeFrom(pb::ICodedInputStream input) {
  2054. uint tag;
  2055. string fieldName;
  2056. while (input.ReadTag(out tag, out fieldName)) {
  2057. if (tag == 0 && fieldName != null) {
  2058. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  2059. if (fieldOrdinal >= 0) {
  2060. tag = _fieldTags[fieldOrdinal];
  2061. }
  2062. }
  2063. switch(tag) {
  2064. case 0:
  2065. throw pb::InvalidProtocolBufferException.InvalidTag();
  2066. default:
  2067. if (pb::WireFormat.IsEndGroupTag(tag)) {
  2068. return;
  2069. }
  2070. break;
  2071. case 10: {
  2072. input.ReadString(ref name_);
  2073. break;
  2074. }
  2075. case 18: {
  2076. input.ReadString(ref inputType_);
  2077. break;
  2078. }
  2079. case 26: {
  2080. input.ReadString(ref outputType_);
  2081. break;
  2082. }
  2083. case 34: {
  2084. if (options_ == null) {
  2085. options_ = new global::Google.Protobuf.DescriptorProtos.MethodOptions();
  2086. }
  2087. input.ReadMessage(options_);
  2088. break;
  2089. }
  2090. case 40: {
  2091. input.ReadBool(ref clientStreaming_);
  2092. break;
  2093. }
  2094. case 48: {
  2095. input.ReadBool(ref serverStreaming_);
  2096. break;
  2097. }
  2098. }
  2099. }
  2100. }
  2101. }
  2102. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2103. public sealed partial class FileOptions : pb::IMessage<FileOptions>, global::System.IEquatable<FileOptions> {
  2104. private static readonly pb::MessageParser<FileOptions> _parser = new pb::MessageParser<FileOptions>(() => new FileOptions());
  2105. public static pb::MessageParser<FileOptions> Parser { get { return _parser; } }
  2106. private static readonly string[] _fieldNames = new string[] { "cc_enable_arenas", "cc_generic_services", "csharp_namespace", "deprecated", "go_package", "java_generate_equals_and_hash", "java_generic_services", "java_multiple_files", "java_outer_classname", "java_package", "java_string_check_utf8", "objc_class_prefix", "optimize_for", "py_generic_services", "uninterpreted_option" };
  2107. private static readonly uint[] _fieldTags = new uint[] { 248, 128, 298, 184, 90, 160, 136, 80, 66, 10, 216, 290, 72, 144, 7994 };
  2108. public static pbd::MessageDescriptor Descriptor {
  2109. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_FileOptions__Descriptor; }
  2110. }
  2111. public pb::FieldAccess.FieldAccessorTable<FileOptions> Fields {
  2112. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_FileOptions__FieldAccessorTable; }
  2113. }
  2114. public FileOptions() { }
  2115. public FileOptions(FileOptions other) {
  2116. MergeFrom(other);
  2117. }
  2118. public const int JavaPackageFieldNumber = 1;
  2119. private string javaPackage_ = "";
  2120. public string JavaPackage {
  2121. get { return javaPackage_; }
  2122. set { javaPackage_ = value ?? ""; }
  2123. }
  2124. public const int JavaOuterClassnameFieldNumber = 8;
  2125. private string javaOuterClassname_ = "";
  2126. public string JavaOuterClassname {
  2127. get { return javaOuterClassname_; }
  2128. set { javaOuterClassname_ = value ?? ""; }
  2129. }
  2130. public const int JavaMultipleFilesFieldNumber = 10;
  2131. private bool javaMultipleFiles_;
  2132. public bool JavaMultipleFiles {
  2133. get { return javaMultipleFiles_; }
  2134. set { javaMultipleFiles_ = value; }
  2135. }
  2136. public const int JavaGenerateEqualsAndHashFieldNumber = 20;
  2137. private bool javaGenerateEqualsAndHash_;
  2138. public bool JavaGenerateEqualsAndHash {
  2139. get { return javaGenerateEqualsAndHash_; }
  2140. set { javaGenerateEqualsAndHash_ = value; }
  2141. }
  2142. public const int JavaStringCheckUtf8FieldNumber = 27;
  2143. private bool javaStringCheckUtf8_;
  2144. public bool JavaStringCheckUtf8 {
  2145. get { return javaStringCheckUtf8_; }
  2146. set { javaStringCheckUtf8_ = value; }
  2147. }
  2148. public const int OptimizeForFieldNumber = 9;
  2149. private global::Google.Protobuf.DescriptorProtos.FileOptions.Types.OptimizeMode optimizeFor_ = global::Google.Protobuf.DescriptorProtos.FileOptions.Types.OptimizeMode.SPEED;
  2150. public global::Google.Protobuf.DescriptorProtos.FileOptions.Types.OptimizeMode OptimizeFor {
  2151. get { return optimizeFor_; }
  2152. set { optimizeFor_ = value; }
  2153. }
  2154. public const int GoPackageFieldNumber = 11;
  2155. private string goPackage_ = "";
  2156. public string GoPackage {
  2157. get { return goPackage_; }
  2158. set { goPackage_ = value ?? ""; }
  2159. }
  2160. public const int CcGenericServicesFieldNumber = 16;
  2161. private bool ccGenericServices_;
  2162. public bool CcGenericServices {
  2163. get { return ccGenericServices_; }
  2164. set { ccGenericServices_ = value; }
  2165. }
  2166. public const int JavaGenericServicesFieldNumber = 17;
  2167. private bool javaGenericServices_;
  2168. public bool JavaGenericServices {
  2169. get { return javaGenericServices_; }
  2170. set { javaGenericServices_ = value; }
  2171. }
  2172. public const int PyGenericServicesFieldNumber = 18;
  2173. private bool pyGenericServices_;
  2174. public bool PyGenericServices {
  2175. get { return pyGenericServices_; }
  2176. set { pyGenericServices_ = value; }
  2177. }
  2178. public const int DeprecatedFieldNumber = 23;
  2179. private bool deprecated_;
  2180. public bool Deprecated {
  2181. get { return deprecated_; }
  2182. set { deprecated_ = value; }
  2183. }
  2184. public const int CcEnableArenasFieldNumber = 31;
  2185. private bool ccEnableArenas_;
  2186. public bool CcEnableArenas {
  2187. get { return ccEnableArenas_; }
  2188. set { ccEnableArenas_ = value; }
  2189. }
  2190. public const int ObjcClassPrefixFieldNumber = 36;
  2191. private string objcClassPrefix_ = "";
  2192. public string ObjcClassPrefix {
  2193. get { return objcClassPrefix_; }
  2194. set { objcClassPrefix_ = value ?? ""; }
  2195. }
  2196. public const int CsharpNamespaceFieldNumber = 37;
  2197. private string csharpNamespace_ = "";
  2198. public string CsharpNamespace {
  2199. get { return csharpNamespace_; }
  2200. set { csharpNamespace_ = value ?? ""; }
  2201. }
  2202. public const int UninterpretedOptionFieldNumber = 999;
  2203. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption>();
  2204. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption> UninterpretedOption {
  2205. get { return uninterpretedOption_; }
  2206. }
  2207. public override bool Equals(object other) {
  2208. return Equals(other as FileOptions);
  2209. }
  2210. public bool Equals(FileOptions other) {
  2211. if (ReferenceEquals(other, null)) {
  2212. return false;
  2213. }
  2214. if (ReferenceEquals(other, this)) {
  2215. return true;
  2216. }
  2217. if (JavaPackage != other.JavaPackage) return false;
  2218. if (JavaOuterClassname != other.JavaOuterClassname) return false;
  2219. if (JavaMultipleFiles != other.JavaMultipleFiles) return false;
  2220. if (JavaGenerateEqualsAndHash != other.JavaGenerateEqualsAndHash) return false;
  2221. if (JavaStringCheckUtf8 != other.JavaStringCheckUtf8) return false;
  2222. if (OptimizeFor != other.OptimizeFor) return false;
  2223. if (GoPackage != other.GoPackage) return false;
  2224. if (CcGenericServices != other.CcGenericServices) return false;
  2225. if (JavaGenericServices != other.JavaGenericServices) return false;
  2226. if (PyGenericServices != other.PyGenericServices) return false;
  2227. if (Deprecated != other.Deprecated) return false;
  2228. if (CcEnableArenas != other.CcEnableArenas) return false;
  2229. if (ObjcClassPrefix != other.ObjcClassPrefix) return false;
  2230. if (CsharpNamespace != other.CsharpNamespace) return false;
  2231. if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
  2232. return true;
  2233. }
  2234. public override int GetHashCode() {
  2235. int hash = 0;
  2236. if (JavaPackage != "") hash ^= JavaPackage.GetHashCode();
  2237. if (JavaOuterClassname != "") hash ^= JavaOuterClassname.GetHashCode();
  2238. if (JavaMultipleFiles != false) hash ^= JavaMultipleFiles.GetHashCode();
  2239. if (JavaGenerateEqualsAndHash != false) hash ^= JavaGenerateEqualsAndHash.GetHashCode();
  2240. if (JavaStringCheckUtf8 != false) hash ^= JavaStringCheckUtf8.GetHashCode();
  2241. if (OptimizeFor != global::Google.Protobuf.DescriptorProtos.FileOptions.Types.OptimizeMode.SPEED) hash ^= OptimizeFor.GetHashCode();
  2242. if (GoPackage != "") hash ^= GoPackage.GetHashCode();
  2243. if (CcGenericServices != false) hash ^= CcGenericServices.GetHashCode();
  2244. if (JavaGenericServices != false) hash ^= JavaGenericServices.GetHashCode();
  2245. if (PyGenericServices != false) hash ^= PyGenericServices.GetHashCode();
  2246. if (Deprecated != false) hash ^= Deprecated.GetHashCode();
  2247. if (CcEnableArenas != false) hash ^= CcEnableArenas.GetHashCode();
  2248. if (ObjcClassPrefix != "") hash ^= ObjcClassPrefix.GetHashCode();
  2249. if (CsharpNamespace != "") hash ^= CsharpNamespace.GetHashCode();
  2250. hash ^= uninterpretedOption_.GetHashCode();
  2251. return hash;
  2252. }
  2253. public void WriteTo(pb::ICodedOutputStream output) {
  2254. string[] fieldNames = _fieldNames;
  2255. if (JavaPackage != "") {
  2256. output.WriteString(1, fieldNames[9], JavaPackage);
  2257. }
  2258. if (JavaOuterClassname != "") {
  2259. output.WriteString(8, fieldNames[8], JavaOuterClassname);
  2260. }
  2261. if (OptimizeFor != global::Google.Protobuf.DescriptorProtos.FileOptions.Types.OptimizeMode.SPEED) {
  2262. output.WriteEnum(9, fieldNames[12], (int) OptimizeFor);
  2263. }
  2264. if (JavaMultipleFiles != false) {
  2265. output.WriteBool(10, fieldNames[7], JavaMultipleFiles);
  2266. }
  2267. if (GoPackage != "") {
  2268. output.WriteString(11, fieldNames[4], GoPackage);
  2269. }
  2270. if (CcGenericServices != false) {
  2271. output.WriteBool(16, fieldNames[1], CcGenericServices);
  2272. }
  2273. if (JavaGenericServices != false) {
  2274. output.WriteBool(17, fieldNames[6], JavaGenericServices);
  2275. }
  2276. if (PyGenericServices != false) {
  2277. output.WriteBool(18, fieldNames[13], PyGenericServices);
  2278. }
  2279. if (JavaGenerateEqualsAndHash != false) {
  2280. output.WriteBool(20, fieldNames[5], JavaGenerateEqualsAndHash);
  2281. }
  2282. if (Deprecated != false) {
  2283. output.WriteBool(23, fieldNames[3], Deprecated);
  2284. }
  2285. if (JavaStringCheckUtf8 != false) {
  2286. output.WriteBool(27, fieldNames[10], JavaStringCheckUtf8);
  2287. }
  2288. if (CcEnableArenas != false) {
  2289. output.WriteBool(31, fieldNames[0], CcEnableArenas);
  2290. }
  2291. if (ObjcClassPrefix != "") {
  2292. output.WriteString(36, fieldNames[11], ObjcClassPrefix);
  2293. }
  2294. if (CsharpNamespace != "") {
  2295. output.WriteString(37, fieldNames[2], CsharpNamespace);
  2296. }
  2297. output.WriteMessageArray(999, fieldNames[14], uninterpretedOption_);
  2298. }
  2299. public int CalculateSize() {
  2300. int size = 0;
  2301. if (JavaPackage != "") {
  2302. size += pb::CodedOutputStream.ComputeStringSize(1, JavaPackage);
  2303. }
  2304. if (JavaOuterClassname != "") {
  2305. size += pb::CodedOutputStream.ComputeStringSize(8, JavaOuterClassname);
  2306. }
  2307. if (JavaMultipleFiles != false) {
  2308. size += pb::CodedOutputStream.ComputeBoolSize(10, JavaMultipleFiles);
  2309. }
  2310. if (JavaGenerateEqualsAndHash != false) {
  2311. size += pb::CodedOutputStream.ComputeBoolSize(20, JavaGenerateEqualsAndHash);
  2312. }
  2313. if (JavaStringCheckUtf8 != false) {
  2314. size += pb::CodedOutputStream.ComputeBoolSize(27, JavaStringCheckUtf8);
  2315. }
  2316. if (OptimizeFor != global::Google.Protobuf.DescriptorProtos.FileOptions.Types.OptimizeMode.SPEED) {
  2317. size += pb::CodedOutputStream.ComputeEnumSize(9, (int) OptimizeFor);
  2318. }
  2319. if (GoPackage != "") {
  2320. size += pb::CodedOutputStream.ComputeStringSize(11, GoPackage);
  2321. }
  2322. if (CcGenericServices != false) {
  2323. size += pb::CodedOutputStream.ComputeBoolSize(16, CcGenericServices);
  2324. }
  2325. if (JavaGenericServices != false) {
  2326. size += pb::CodedOutputStream.ComputeBoolSize(17, JavaGenericServices);
  2327. }
  2328. if (PyGenericServices != false) {
  2329. size += pb::CodedOutputStream.ComputeBoolSize(18, PyGenericServices);
  2330. }
  2331. if (Deprecated != false) {
  2332. size += pb::CodedOutputStream.ComputeBoolSize(23, Deprecated);
  2333. }
  2334. if (CcEnableArenas != false) {
  2335. size += pb::CodedOutputStream.ComputeBoolSize(31, CcEnableArenas);
  2336. }
  2337. if (ObjcClassPrefix != "") {
  2338. size += pb::CodedOutputStream.ComputeStringSize(36, ObjcClassPrefix);
  2339. }
  2340. if (CsharpNamespace != "") {
  2341. size += pb::CodedOutputStream.ComputeStringSize(37, CsharpNamespace);
  2342. }
  2343. foreach (global::Google.Protobuf.DescriptorProtos.UninterpretedOption element in uninterpretedOption_) {
  2344. size += pb::CodedOutputStream.ComputeMessageSize(999, element);
  2345. }
  2346. return size;
  2347. }
  2348. public void MergeFrom(FileOptions other) {
  2349. if (other == null) {
  2350. return;
  2351. }
  2352. if (other.JavaPackage != "") {
  2353. JavaPackage = other.JavaPackage;
  2354. }
  2355. if (other.JavaOuterClassname != "") {
  2356. JavaOuterClassname = other.JavaOuterClassname;
  2357. }
  2358. if (other.JavaMultipleFiles != false) {
  2359. JavaMultipleFiles = other.JavaMultipleFiles;
  2360. }
  2361. if (other.JavaGenerateEqualsAndHash != false) {
  2362. JavaGenerateEqualsAndHash = other.JavaGenerateEqualsAndHash;
  2363. }
  2364. if (other.JavaStringCheckUtf8 != false) {
  2365. JavaStringCheckUtf8 = other.JavaStringCheckUtf8;
  2366. }
  2367. if (other.OptimizeFor != global::Google.Protobuf.DescriptorProtos.FileOptions.Types.OptimizeMode.SPEED) {
  2368. OptimizeFor = other.OptimizeFor;
  2369. }
  2370. if (other.GoPackage != "") {
  2371. GoPackage = other.GoPackage;
  2372. }
  2373. if (other.CcGenericServices != false) {
  2374. CcGenericServices = other.CcGenericServices;
  2375. }
  2376. if (other.JavaGenericServices != false) {
  2377. JavaGenericServices = other.JavaGenericServices;
  2378. }
  2379. if (other.PyGenericServices != false) {
  2380. PyGenericServices = other.PyGenericServices;
  2381. }
  2382. if (other.Deprecated != false) {
  2383. Deprecated = other.Deprecated;
  2384. }
  2385. if (other.CcEnableArenas != false) {
  2386. CcEnableArenas = other.CcEnableArenas;
  2387. }
  2388. if (other.ObjcClassPrefix != "") {
  2389. ObjcClassPrefix = other.ObjcClassPrefix;
  2390. }
  2391. if (other.CsharpNamespace != "") {
  2392. CsharpNamespace = other.CsharpNamespace;
  2393. }
  2394. uninterpretedOption_.Add(other.uninterpretedOption_);
  2395. }
  2396. public void MergeFrom(pb::ICodedInputStream input) {
  2397. uint tag;
  2398. string fieldName;
  2399. while (input.ReadTag(out tag, out fieldName)) {
  2400. if (tag == 0 && fieldName != null) {
  2401. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  2402. if (fieldOrdinal >= 0) {
  2403. tag = _fieldTags[fieldOrdinal];
  2404. }
  2405. }
  2406. switch(tag) {
  2407. case 0:
  2408. throw pb::InvalidProtocolBufferException.InvalidTag();
  2409. default:
  2410. if (pb::WireFormat.IsEndGroupTag(tag)) {
  2411. return;
  2412. }
  2413. break;
  2414. case 10: {
  2415. input.ReadString(ref javaPackage_);
  2416. break;
  2417. }
  2418. case 66: {
  2419. input.ReadString(ref javaOuterClassname_);
  2420. break;
  2421. }
  2422. case 72: {
  2423. int tmp = 0;
  2424. input.ReadEnum(ref tmp);
  2425. optimizeFor_ = (global::Google.Protobuf.DescriptorProtos.FileOptions.Types.OptimizeMode) tmp;break;
  2426. }
  2427. case 80: {
  2428. input.ReadBool(ref javaMultipleFiles_);
  2429. break;
  2430. }
  2431. case 90: {
  2432. input.ReadString(ref goPackage_);
  2433. break;
  2434. }
  2435. case 128: {
  2436. input.ReadBool(ref ccGenericServices_);
  2437. break;
  2438. }
  2439. case 136: {
  2440. input.ReadBool(ref javaGenericServices_);
  2441. break;
  2442. }
  2443. case 144: {
  2444. input.ReadBool(ref pyGenericServices_);
  2445. break;
  2446. }
  2447. case 160: {
  2448. input.ReadBool(ref javaGenerateEqualsAndHash_);
  2449. break;
  2450. }
  2451. case 184: {
  2452. input.ReadBool(ref deprecated_);
  2453. break;
  2454. }
  2455. case 216: {
  2456. input.ReadBool(ref javaStringCheckUtf8_);
  2457. break;
  2458. }
  2459. case 248: {
  2460. input.ReadBool(ref ccEnableArenas_);
  2461. break;
  2462. }
  2463. case 290: {
  2464. input.ReadString(ref objcClassPrefix_);
  2465. break;
  2466. }
  2467. case 298: {
  2468. input.ReadString(ref csharpNamespace_);
  2469. break;
  2470. }
  2471. case 7994: {
  2472. input.ReadMessageArray(tag, fieldName, uninterpretedOption_, global::Google.Protobuf.DescriptorProtos.UninterpretedOption.Parser);
  2473. break;
  2474. }
  2475. }
  2476. }
  2477. }
  2478. #region Nested types
  2479. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2480. public static partial class Types {
  2481. public enum OptimizeMode {
  2482. SPEED = 1,
  2483. CODE_SIZE = 2,
  2484. LITE_RUNTIME = 3,
  2485. }
  2486. }
  2487. #endregion
  2488. }
  2489. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2490. public sealed partial class MessageOptions : pb::IMessage<MessageOptions>, global::System.IEquatable<MessageOptions> {
  2491. private static readonly pb::MessageParser<MessageOptions> _parser = new pb::MessageParser<MessageOptions>(() => new MessageOptions());
  2492. public static pb::MessageParser<MessageOptions> Parser { get { return _parser; } }
  2493. private static readonly string[] _fieldNames = new string[] { "deprecated", "map_entry", "message_set_wire_format", "no_standard_descriptor_accessor", "uninterpreted_option" };
  2494. private static readonly uint[] _fieldTags = new uint[] { 24, 56, 8, 16, 7994 };
  2495. public static pbd::MessageDescriptor Descriptor {
  2496. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_MessageOptions__Descriptor; }
  2497. }
  2498. public pb::FieldAccess.FieldAccessorTable<MessageOptions> Fields {
  2499. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_MessageOptions__FieldAccessorTable; }
  2500. }
  2501. public MessageOptions() { }
  2502. public MessageOptions(MessageOptions other) {
  2503. MergeFrom(other);
  2504. }
  2505. public const int MessageSetWireFormatFieldNumber = 1;
  2506. private bool messageSetWireFormat_;
  2507. public bool MessageSetWireFormat {
  2508. get { return messageSetWireFormat_; }
  2509. set { messageSetWireFormat_ = value; }
  2510. }
  2511. public const int NoStandardDescriptorAccessorFieldNumber = 2;
  2512. private bool noStandardDescriptorAccessor_;
  2513. public bool NoStandardDescriptorAccessor {
  2514. get { return noStandardDescriptorAccessor_; }
  2515. set { noStandardDescriptorAccessor_ = value; }
  2516. }
  2517. public const int DeprecatedFieldNumber = 3;
  2518. private bool deprecated_;
  2519. public bool Deprecated {
  2520. get { return deprecated_; }
  2521. set { deprecated_ = value; }
  2522. }
  2523. public const int MapEntryFieldNumber = 7;
  2524. private bool mapEntry_;
  2525. public bool MapEntry {
  2526. get { return mapEntry_; }
  2527. set { mapEntry_ = value; }
  2528. }
  2529. public const int UninterpretedOptionFieldNumber = 999;
  2530. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption>();
  2531. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption> UninterpretedOption {
  2532. get { return uninterpretedOption_; }
  2533. }
  2534. public override bool Equals(object other) {
  2535. return Equals(other as MessageOptions);
  2536. }
  2537. public bool Equals(MessageOptions other) {
  2538. if (ReferenceEquals(other, null)) {
  2539. return false;
  2540. }
  2541. if (ReferenceEquals(other, this)) {
  2542. return true;
  2543. }
  2544. if (MessageSetWireFormat != other.MessageSetWireFormat) return false;
  2545. if (NoStandardDescriptorAccessor != other.NoStandardDescriptorAccessor) return false;
  2546. if (Deprecated != other.Deprecated) return false;
  2547. if (MapEntry != other.MapEntry) return false;
  2548. if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
  2549. return true;
  2550. }
  2551. public override int GetHashCode() {
  2552. int hash = 0;
  2553. if (MessageSetWireFormat != false) hash ^= MessageSetWireFormat.GetHashCode();
  2554. if (NoStandardDescriptorAccessor != false) hash ^= NoStandardDescriptorAccessor.GetHashCode();
  2555. if (Deprecated != false) hash ^= Deprecated.GetHashCode();
  2556. if (MapEntry != false) hash ^= MapEntry.GetHashCode();
  2557. hash ^= uninterpretedOption_.GetHashCode();
  2558. return hash;
  2559. }
  2560. public void WriteTo(pb::ICodedOutputStream output) {
  2561. string[] fieldNames = _fieldNames;
  2562. if (MessageSetWireFormat != false) {
  2563. output.WriteBool(1, fieldNames[2], MessageSetWireFormat);
  2564. }
  2565. if (NoStandardDescriptorAccessor != false) {
  2566. output.WriteBool(2, fieldNames[3], NoStandardDescriptorAccessor);
  2567. }
  2568. if (Deprecated != false) {
  2569. output.WriteBool(3, fieldNames[0], Deprecated);
  2570. }
  2571. if (MapEntry != false) {
  2572. output.WriteBool(7, fieldNames[1], MapEntry);
  2573. }
  2574. output.WriteMessageArray(999, fieldNames[4], uninterpretedOption_);
  2575. }
  2576. public int CalculateSize() {
  2577. int size = 0;
  2578. if (MessageSetWireFormat != false) {
  2579. size += pb::CodedOutputStream.ComputeBoolSize(1, MessageSetWireFormat);
  2580. }
  2581. if (NoStandardDescriptorAccessor != false) {
  2582. size += pb::CodedOutputStream.ComputeBoolSize(2, NoStandardDescriptorAccessor);
  2583. }
  2584. if (Deprecated != false) {
  2585. size += pb::CodedOutputStream.ComputeBoolSize(3, Deprecated);
  2586. }
  2587. if (MapEntry != false) {
  2588. size += pb::CodedOutputStream.ComputeBoolSize(7, MapEntry);
  2589. }
  2590. foreach (global::Google.Protobuf.DescriptorProtos.UninterpretedOption element in uninterpretedOption_) {
  2591. size += pb::CodedOutputStream.ComputeMessageSize(999, element);
  2592. }
  2593. return size;
  2594. }
  2595. public void MergeFrom(MessageOptions other) {
  2596. if (other == null) {
  2597. return;
  2598. }
  2599. if (other.MessageSetWireFormat != false) {
  2600. MessageSetWireFormat = other.MessageSetWireFormat;
  2601. }
  2602. if (other.NoStandardDescriptorAccessor != false) {
  2603. NoStandardDescriptorAccessor = other.NoStandardDescriptorAccessor;
  2604. }
  2605. if (other.Deprecated != false) {
  2606. Deprecated = other.Deprecated;
  2607. }
  2608. if (other.MapEntry != false) {
  2609. MapEntry = other.MapEntry;
  2610. }
  2611. uninterpretedOption_.Add(other.uninterpretedOption_);
  2612. }
  2613. public void MergeFrom(pb::ICodedInputStream input) {
  2614. uint tag;
  2615. string fieldName;
  2616. while (input.ReadTag(out tag, out fieldName)) {
  2617. if (tag == 0 && fieldName != null) {
  2618. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  2619. if (fieldOrdinal >= 0) {
  2620. tag = _fieldTags[fieldOrdinal];
  2621. }
  2622. }
  2623. switch(tag) {
  2624. case 0:
  2625. throw pb::InvalidProtocolBufferException.InvalidTag();
  2626. default:
  2627. if (pb::WireFormat.IsEndGroupTag(tag)) {
  2628. return;
  2629. }
  2630. break;
  2631. case 8: {
  2632. input.ReadBool(ref messageSetWireFormat_);
  2633. break;
  2634. }
  2635. case 16: {
  2636. input.ReadBool(ref noStandardDescriptorAccessor_);
  2637. break;
  2638. }
  2639. case 24: {
  2640. input.ReadBool(ref deprecated_);
  2641. break;
  2642. }
  2643. case 56: {
  2644. input.ReadBool(ref mapEntry_);
  2645. break;
  2646. }
  2647. case 7994: {
  2648. input.ReadMessageArray(tag, fieldName, uninterpretedOption_, global::Google.Protobuf.DescriptorProtos.UninterpretedOption.Parser);
  2649. break;
  2650. }
  2651. }
  2652. }
  2653. }
  2654. }
  2655. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2656. public sealed partial class FieldOptions : pb::IMessage<FieldOptions>, global::System.IEquatable<FieldOptions> {
  2657. private static readonly pb::MessageParser<FieldOptions> _parser = new pb::MessageParser<FieldOptions>(() => new FieldOptions());
  2658. public static pb::MessageParser<FieldOptions> Parser { get { return _parser; } }
  2659. private static readonly string[] _fieldNames = new string[] { "ctype", "deprecated", "jstype", "lazy", "packed", "uninterpreted_option", "weak" };
  2660. private static readonly uint[] _fieldTags = new uint[] { 8, 24, 48, 40, 16, 7994, 80 };
  2661. public static pbd::MessageDescriptor Descriptor {
  2662. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_FieldOptions__Descriptor; }
  2663. }
  2664. public pb::FieldAccess.FieldAccessorTable<FieldOptions> Fields {
  2665. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_FieldOptions__FieldAccessorTable; }
  2666. }
  2667. public FieldOptions() { }
  2668. public FieldOptions(FieldOptions other) {
  2669. MergeFrom(other);
  2670. }
  2671. public const int CtypeFieldNumber = 1;
  2672. private global::Google.Protobuf.DescriptorProtos.FieldOptions.Types.CType ctype_ = global::Google.Protobuf.DescriptorProtos.FieldOptions.Types.CType.STRING;
  2673. public global::Google.Protobuf.DescriptorProtos.FieldOptions.Types.CType Ctype {
  2674. get { return ctype_; }
  2675. set { ctype_ = value; }
  2676. }
  2677. public const int PackedFieldNumber = 2;
  2678. private bool packed_;
  2679. public bool Packed {
  2680. get { return packed_; }
  2681. set { packed_ = value; }
  2682. }
  2683. public const int JstypeFieldNumber = 6;
  2684. private global::Google.Protobuf.DescriptorProtos.FieldOptions.Types.JSType jstype_ = global::Google.Protobuf.DescriptorProtos.FieldOptions.Types.JSType.JS_NORMAL;
  2685. public global::Google.Protobuf.DescriptorProtos.FieldOptions.Types.JSType Jstype {
  2686. get { return jstype_; }
  2687. set { jstype_ = value; }
  2688. }
  2689. public const int LazyFieldNumber = 5;
  2690. private bool lazy_;
  2691. public bool Lazy {
  2692. get { return lazy_; }
  2693. set { lazy_ = value; }
  2694. }
  2695. public const int DeprecatedFieldNumber = 3;
  2696. private bool deprecated_;
  2697. public bool Deprecated {
  2698. get { return deprecated_; }
  2699. set { deprecated_ = value; }
  2700. }
  2701. public const int WeakFieldNumber = 10;
  2702. private bool weak_;
  2703. public bool Weak {
  2704. get { return weak_; }
  2705. set { weak_ = value; }
  2706. }
  2707. public const int UninterpretedOptionFieldNumber = 999;
  2708. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption>();
  2709. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption> UninterpretedOption {
  2710. get { return uninterpretedOption_; }
  2711. }
  2712. public override bool Equals(object other) {
  2713. return Equals(other as FieldOptions);
  2714. }
  2715. public bool Equals(FieldOptions other) {
  2716. if (ReferenceEquals(other, null)) {
  2717. return false;
  2718. }
  2719. if (ReferenceEquals(other, this)) {
  2720. return true;
  2721. }
  2722. if (Ctype != other.Ctype) return false;
  2723. if (Packed != other.Packed) return false;
  2724. if (Jstype != other.Jstype) return false;
  2725. if (Lazy != other.Lazy) return false;
  2726. if (Deprecated != other.Deprecated) return false;
  2727. if (Weak != other.Weak) return false;
  2728. if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
  2729. return true;
  2730. }
  2731. public override int GetHashCode() {
  2732. int hash = 0;
  2733. if (Ctype != global::Google.Protobuf.DescriptorProtos.FieldOptions.Types.CType.STRING) hash ^= Ctype.GetHashCode();
  2734. if (Packed != false) hash ^= Packed.GetHashCode();
  2735. if (Jstype != global::Google.Protobuf.DescriptorProtos.FieldOptions.Types.JSType.JS_NORMAL) hash ^= Jstype.GetHashCode();
  2736. if (Lazy != false) hash ^= Lazy.GetHashCode();
  2737. if (Deprecated != false) hash ^= Deprecated.GetHashCode();
  2738. if (Weak != false) hash ^= Weak.GetHashCode();
  2739. hash ^= uninterpretedOption_.GetHashCode();
  2740. return hash;
  2741. }
  2742. public void WriteTo(pb::ICodedOutputStream output) {
  2743. string[] fieldNames = _fieldNames;
  2744. if (Ctype != global::Google.Protobuf.DescriptorProtos.FieldOptions.Types.CType.STRING) {
  2745. output.WriteEnum(1, fieldNames[0], (int) Ctype);
  2746. }
  2747. if (Packed != false) {
  2748. output.WriteBool(2, fieldNames[4], Packed);
  2749. }
  2750. if (Deprecated != false) {
  2751. output.WriteBool(3, fieldNames[1], Deprecated);
  2752. }
  2753. if (Lazy != false) {
  2754. output.WriteBool(5, fieldNames[3], Lazy);
  2755. }
  2756. if (Jstype != global::Google.Protobuf.DescriptorProtos.FieldOptions.Types.JSType.JS_NORMAL) {
  2757. output.WriteEnum(6, fieldNames[2], (int) Jstype);
  2758. }
  2759. if (Weak != false) {
  2760. output.WriteBool(10, fieldNames[6], Weak);
  2761. }
  2762. output.WriteMessageArray(999, fieldNames[5], uninterpretedOption_);
  2763. }
  2764. public int CalculateSize() {
  2765. int size = 0;
  2766. if (Ctype != global::Google.Protobuf.DescriptorProtos.FieldOptions.Types.CType.STRING) {
  2767. size += pb::CodedOutputStream.ComputeEnumSize(1, (int) Ctype);
  2768. }
  2769. if (Packed != false) {
  2770. size += pb::CodedOutputStream.ComputeBoolSize(2, Packed);
  2771. }
  2772. if (Jstype != global::Google.Protobuf.DescriptorProtos.FieldOptions.Types.JSType.JS_NORMAL) {
  2773. size += pb::CodedOutputStream.ComputeEnumSize(6, (int) Jstype);
  2774. }
  2775. if (Lazy != false) {
  2776. size += pb::CodedOutputStream.ComputeBoolSize(5, Lazy);
  2777. }
  2778. if (Deprecated != false) {
  2779. size += pb::CodedOutputStream.ComputeBoolSize(3, Deprecated);
  2780. }
  2781. if (Weak != false) {
  2782. size += pb::CodedOutputStream.ComputeBoolSize(10, Weak);
  2783. }
  2784. foreach (global::Google.Protobuf.DescriptorProtos.UninterpretedOption element in uninterpretedOption_) {
  2785. size += pb::CodedOutputStream.ComputeMessageSize(999, element);
  2786. }
  2787. return size;
  2788. }
  2789. public void MergeFrom(FieldOptions other) {
  2790. if (other == null) {
  2791. return;
  2792. }
  2793. if (other.Ctype != global::Google.Protobuf.DescriptorProtos.FieldOptions.Types.CType.STRING) {
  2794. Ctype = other.Ctype;
  2795. }
  2796. if (other.Packed != false) {
  2797. Packed = other.Packed;
  2798. }
  2799. if (other.Jstype != global::Google.Protobuf.DescriptorProtos.FieldOptions.Types.JSType.JS_NORMAL) {
  2800. Jstype = other.Jstype;
  2801. }
  2802. if (other.Lazy != false) {
  2803. Lazy = other.Lazy;
  2804. }
  2805. if (other.Deprecated != false) {
  2806. Deprecated = other.Deprecated;
  2807. }
  2808. if (other.Weak != false) {
  2809. Weak = other.Weak;
  2810. }
  2811. uninterpretedOption_.Add(other.uninterpretedOption_);
  2812. }
  2813. public void MergeFrom(pb::ICodedInputStream input) {
  2814. uint tag;
  2815. string fieldName;
  2816. while (input.ReadTag(out tag, out fieldName)) {
  2817. if (tag == 0 && fieldName != null) {
  2818. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  2819. if (fieldOrdinal >= 0) {
  2820. tag = _fieldTags[fieldOrdinal];
  2821. }
  2822. }
  2823. switch(tag) {
  2824. case 0:
  2825. throw pb::InvalidProtocolBufferException.InvalidTag();
  2826. default:
  2827. if (pb::WireFormat.IsEndGroupTag(tag)) {
  2828. return;
  2829. }
  2830. break;
  2831. case 8: {
  2832. int tmp = 0;
  2833. input.ReadEnum(ref tmp);
  2834. ctype_ = (global::Google.Protobuf.DescriptorProtos.FieldOptions.Types.CType) tmp;break;
  2835. }
  2836. case 16: {
  2837. input.ReadBool(ref packed_);
  2838. break;
  2839. }
  2840. case 24: {
  2841. input.ReadBool(ref deprecated_);
  2842. break;
  2843. }
  2844. case 40: {
  2845. input.ReadBool(ref lazy_);
  2846. break;
  2847. }
  2848. case 48: {
  2849. int tmp = 0;
  2850. input.ReadEnum(ref tmp);
  2851. jstype_ = (global::Google.Protobuf.DescriptorProtos.FieldOptions.Types.JSType) tmp;break;
  2852. }
  2853. case 80: {
  2854. input.ReadBool(ref weak_);
  2855. break;
  2856. }
  2857. case 7994: {
  2858. input.ReadMessageArray(tag, fieldName, uninterpretedOption_, global::Google.Protobuf.DescriptorProtos.UninterpretedOption.Parser);
  2859. break;
  2860. }
  2861. }
  2862. }
  2863. }
  2864. #region Nested types
  2865. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2866. public static partial class Types {
  2867. public enum CType {
  2868. STRING = 0,
  2869. CORD = 1,
  2870. STRING_PIECE = 2,
  2871. }
  2872. public enum JSType {
  2873. JS_NORMAL = 0,
  2874. JS_STRING = 1,
  2875. JS_NUMBER = 2,
  2876. }
  2877. }
  2878. #endregion
  2879. }
  2880. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2881. public sealed partial class EnumOptions : pb::IMessage<EnumOptions>, global::System.IEquatable<EnumOptions> {
  2882. private static readonly pb::MessageParser<EnumOptions> _parser = new pb::MessageParser<EnumOptions>(() => new EnumOptions());
  2883. public static pb::MessageParser<EnumOptions> Parser { get { return _parser; } }
  2884. private static readonly string[] _fieldNames = new string[] { "allow_alias", "deprecated", "uninterpreted_option" };
  2885. private static readonly uint[] _fieldTags = new uint[] { 16, 24, 7994 };
  2886. public static pbd::MessageDescriptor Descriptor {
  2887. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_EnumOptions__Descriptor; }
  2888. }
  2889. public pb::FieldAccess.FieldAccessorTable<EnumOptions> Fields {
  2890. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_EnumOptions__FieldAccessorTable; }
  2891. }
  2892. public EnumOptions() { }
  2893. public EnumOptions(EnumOptions other) {
  2894. MergeFrom(other);
  2895. }
  2896. public const int AllowAliasFieldNumber = 2;
  2897. private bool allowAlias_;
  2898. public bool AllowAlias {
  2899. get { return allowAlias_; }
  2900. set { allowAlias_ = value; }
  2901. }
  2902. public const int DeprecatedFieldNumber = 3;
  2903. private bool deprecated_;
  2904. public bool Deprecated {
  2905. get { return deprecated_; }
  2906. set { deprecated_ = value; }
  2907. }
  2908. public const int UninterpretedOptionFieldNumber = 999;
  2909. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption>();
  2910. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption> UninterpretedOption {
  2911. get { return uninterpretedOption_; }
  2912. }
  2913. public override bool Equals(object other) {
  2914. return Equals(other as EnumOptions);
  2915. }
  2916. public bool Equals(EnumOptions other) {
  2917. if (ReferenceEquals(other, null)) {
  2918. return false;
  2919. }
  2920. if (ReferenceEquals(other, this)) {
  2921. return true;
  2922. }
  2923. if (AllowAlias != other.AllowAlias) return false;
  2924. if (Deprecated != other.Deprecated) return false;
  2925. if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
  2926. return true;
  2927. }
  2928. public override int GetHashCode() {
  2929. int hash = 0;
  2930. if (AllowAlias != false) hash ^= AllowAlias.GetHashCode();
  2931. if (Deprecated != false) hash ^= Deprecated.GetHashCode();
  2932. hash ^= uninterpretedOption_.GetHashCode();
  2933. return hash;
  2934. }
  2935. public void WriteTo(pb::ICodedOutputStream output) {
  2936. string[] fieldNames = _fieldNames;
  2937. if (AllowAlias != false) {
  2938. output.WriteBool(2, fieldNames[0], AllowAlias);
  2939. }
  2940. if (Deprecated != false) {
  2941. output.WriteBool(3, fieldNames[1], Deprecated);
  2942. }
  2943. output.WriteMessageArray(999, fieldNames[2], uninterpretedOption_);
  2944. }
  2945. public int CalculateSize() {
  2946. int size = 0;
  2947. if (AllowAlias != false) {
  2948. size += pb::CodedOutputStream.ComputeBoolSize(2, AllowAlias);
  2949. }
  2950. if (Deprecated != false) {
  2951. size += pb::CodedOutputStream.ComputeBoolSize(3, Deprecated);
  2952. }
  2953. foreach (global::Google.Protobuf.DescriptorProtos.UninterpretedOption element in uninterpretedOption_) {
  2954. size += pb::CodedOutputStream.ComputeMessageSize(999, element);
  2955. }
  2956. return size;
  2957. }
  2958. public void MergeFrom(EnumOptions other) {
  2959. if (other == null) {
  2960. return;
  2961. }
  2962. if (other.AllowAlias != false) {
  2963. AllowAlias = other.AllowAlias;
  2964. }
  2965. if (other.Deprecated != false) {
  2966. Deprecated = other.Deprecated;
  2967. }
  2968. uninterpretedOption_.Add(other.uninterpretedOption_);
  2969. }
  2970. public void MergeFrom(pb::ICodedInputStream input) {
  2971. uint tag;
  2972. string fieldName;
  2973. while (input.ReadTag(out tag, out fieldName)) {
  2974. if (tag == 0 && fieldName != null) {
  2975. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  2976. if (fieldOrdinal >= 0) {
  2977. tag = _fieldTags[fieldOrdinal];
  2978. }
  2979. }
  2980. switch(tag) {
  2981. case 0:
  2982. throw pb::InvalidProtocolBufferException.InvalidTag();
  2983. default:
  2984. if (pb::WireFormat.IsEndGroupTag(tag)) {
  2985. return;
  2986. }
  2987. break;
  2988. case 16: {
  2989. input.ReadBool(ref allowAlias_);
  2990. break;
  2991. }
  2992. case 24: {
  2993. input.ReadBool(ref deprecated_);
  2994. break;
  2995. }
  2996. case 7994: {
  2997. input.ReadMessageArray(tag, fieldName, uninterpretedOption_, global::Google.Protobuf.DescriptorProtos.UninterpretedOption.Parser);
  2998. break;
  2999. }
  3000. }
  3001. }
  3002. }
  3003. }
  3004. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3005. public sealed partial class EnumValueOptions : pb::IMessage<EnumValueOptions>, global::System.IEquatable<EnumValueOptions> {
  3006. private static readonly pb::MessageParser<EnumValueOptions> _parser = new pb::MessageParser<EnumValueOptions>(() => new EnumValueOptions());
  3007. public static pb::MessageParser<EnumValueOptions> Parser { get { return _parser; } }
  3008. private static readonly string[] _fieldNames = new string[] { "deprecated", "uninterpreted_option" };
  3009. private static readonly uint[] _fieldTags = new uint[] { 8, 7994 };
  3010. public static pbd::MessageDescriptor Descriptor {
  3011. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_EnumValueOptions__Descriptor; }
  3012. }
  3013. public pb::FieldAccess.FieldAccessorTable<EnumValueOptions> Fields {
  3014. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_EnumValueOptions__FieldAccessorTable; }
  3015. }
  3016. public EnumValueOptions() { }
  3017. public EnumValueOptions(EnumValueOptions other) {
  3018. MergeFrom(other);
  3019. }
  3020. public const int DeprecatedFieldNumber = 1;
  3021. private bool deprecated_;
  3022. public bool Deprecated {
  3023. get { return deprecated_; }
  3024. set { deprecated_ = value; }
  3025. }
  3026. public const int UninterpretedOptionFieldNumber = 999;
  3027. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption>();
  3028. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption> UninterpretedOption {
  3029. get { return uninterpretedOption_; }
  3030. }
  3031. public override bool Equals(object other) {
  3032. return Equals(other as EnumValueOptions);
  3033. }
  3034. public bool Equals(EnumValueOptions other) {
  3035. if (ReferenceEquals(other, null)) {
  3036. return false;
  3037. }
  3038. if (ReferenceEquals(other, this)) {
  3039. return true;
  3040. }
  3041. if (Deprecated != other.Deprecated) return false;
  3042. if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
  3043. return true;
  3044. }
  3045. public override int GetHashCode() {
  3046. int hash = 0;
  3047. if (Deprecated != false) hash ^= Deprecated.GetHashCode();
  3048. hash ^= uninterpretedOption_.GetHashCode();
  3049. return hash;
  3050. }
  3051. public void WriteTo(pb::ICodedOutputStream output) {
  3052. string[] fieldNames = _fieldNames;
  3053. if (Deprecated != false) {
  3054. output.WriteBool(1, fieldNames[0], Deprecated);
  3055. }
  3056. output.WriteMessageArray(999, fieldNames[1], uninterpretedOption_);
  3057. }
  3058. public int CalculateSize() {
  3059. int size = 0;
  3060. if (Deprecated != false) {
  3061. size += pb::CodedOutputStream.ComputeBoolSize(1, Deprecated);
  3062. }
  3063. foreach (global::Google.Protobuf.DescriptorProtos.UninterpretedOption element in uninterpretedOption_) {
  3064. size += pb::CodedOutputStream.ComputeMessageSize(999, element);
  3065. }
  3066. return size;
  3067. }
  3068. public void MergeFrom(EnumValueOptions other) {
  3069. if (other == null) {
  3070. return;
  3071. }
  3072. if (other.Deprecated != false) {
  3073. Deprecated = other.Deprecated;
  3074. }
  3075. uninterpretedOption_.Add(other.uninterpretedOption_);
  3076. }
  3077. public void MergeFrom(pb::ICodedInputStream input) {
  3078. uint tag;
  3079. string fieldName;
  3080. while (input.ReadTag(out tag, out fieldName)) {
  3081. if (tag == 0 && fieldName != null) {
  3082. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  3083. if (fieldOrdinal >= 0) {
  3084. tag = _fieldTags[fieldOrdinal];
  3085. }
  3086. }
  3087. switch(tag) {
  3088. case 0:
  3089. throw pb::InvalidProtocolBufferException.InvalidTag();
  3090. default:
  3091. if (pb::WireFormat.IsEndGroupTag(tag)) {
  3092. return;
  3093. }
  3094. break;
  3095. case 8: {
  3096. input.ReadBool(ref deprecated_);
  3097. break;
  3098. }
  3099. case 7994: {
  3100. input.ReadMessageArray(tag, fieldName, uninterpretedOption_, global::Google.Protobuf.DescriptorProtos.UninterpretedOption.Parser);
  3101. break;
  3102. }
  3103. }
  3104. }
  3105. }
  3106. }
  3107. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3108. public sealed partial class ServiceOptions : pb::IMessage<ServiceOptions>, global::System.IEquatable<ServiceOptions> {
  3109. private static readonly pb::MessageParser<ServiceOptions> _parser = new pb::MessageParser<ServiceOptions>(() => new ServiceOptions());
  3110. public static pb::MessageParser<ServiceOptions> Parser { get { return _parser; } }
  3111. private static readonly string[] _fieldNames = new string[] { "deprecated", "uninterpreted_option" };
  3112. private static readonly uint[] _fieldTags = new uint[] { 264, 7994 };
  3113. public static pbd::MessageDescriptor Descriptor {
  3114. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_ServiceOptions__Descriptor; }
  3115. }
  3116. public pb::FieldAccess.FieldAccessorTable<ServiceOptions> Fields {
  3117. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_ServiceOptions__FieldAccessorTable; }
  3118. }
  3119. public ServiceOptions() { }
  3120. public ServiceOptions(ServiceOptions other) {
  3121. MergeFrom(other);
  3122. }
  3123. public const int DeprecatedFieldNumber = 33;
  3124. private bool deprecated_;
  3125. public bool Deprecated {
  3126. get { return deprecated_; }
  3127. set { deprecated_ = value; }
  3128. }
  3129. public const int UninterpretedOptionFieldNumber = 999;
  3130. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption>();
  3131. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption> UninterpretedOption {
  3132. get { return uninterpretedOption_; }
  3133. }
  3134. public override bool Equals(object other) {
  3135. return Equals(other as ServiceOptions);
  3136. }
  3137. public bool Equals(ServiceOptions other) {
  3138. if (ReferenceEquals(other, null)) {
  3139. return false;
  3140. }
  3141. if (ReferenceEquals(other, this)) {
  3142. return true;
  3143. }
  3144. if (Deprecated != other.Deprecated) return false;
  3145. if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
  3146. return true;
  3147. }
  3148. public override int GetHashCode() {
  3149. int hash = 0;
  3150. if (Deprecated != false) hash ^= Deprecated.GetHashCode();
  3151. hash ^= uninterpretedOption_.GetHashCode();
  3152. return hash;
  3153. }
  3154. public void WriteTo(pb::ICodedOutputStream output) {
  3155. string[] fieldNames = _fieldNames;
  3156. if (Deprecated != false) {
  3157. output.WriteBool(33, fieldNames[0], Deprecated);
  3158. }
  3159. output.WriteMessageArray(999, fieldNames[1], uninterpretedOption_);
  3160. }
  3161. public int CalculateSize() {
  3162. int size = 0;
  3163. if (Deprecated != false) {
  3164. size += pb::CodedOutputStream.ComputeBoolSize(33, Deprecated);
  3165. }
  3166. foreach (global::Google.Protobuf.DescriptorProtos.UninterpretedOption element in uninterpretedOption_) {
  3167. size += pb::CodedOutputStream.ComputeMessageSize(999, element);
  3168. }
  3169. return size;
  3170. }
  3171. public void MergeFrom(ServiceOptions other) {
  3172. if (other == null) {
  3173. return;
  3174. }
  3175. if (other.Deprecated != false) {
  3176. Deprecated = other.Deprecated;
  3177. }
  3178. uninterpretedOption_.Add(other.uninterpretedOption_);
  3179. }
  3180. public void MergeFrom(pb::ICodedInputStream input) {
  3181. uint tag;
  3182. string fieldName;
  3183. while (input.ReadTag(out tag, out fieldName)) {
  3184. if (tag == 0 && fieldName != null) {
  3185. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  3186. if (fieldOrdinal >= 0) {
  3187. tag = _fieldTags[fieldOrdinal];
  3188. }
  3189. }
  3190. switch(tag) {
  3191. case 0:
  3192. throw pb::InvalidProtocolBufferException.InvalidTag();
  3193. default:
  3194. if (pb::WireFormat.IsEndGroupTag(tag)) {
  3195. return;
  3196. }
  3197. break;
  3198. case 264: {
  3199. input.ReadBool(ref deprecated_);
  3200. break;
  3201. }
  3202. case 7994: {
  3203. input.ReadMessageArray(tag, fieldName, uninterpretedOption_, global::Google.Protobuf.DescriptorProtos.UninterpretedOption.Parser);
  3204. break;
  3205. }
  3206. }
  3207. }
  3208. }
  3209. }
  3210. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3211. public sealed partial class MethodOptions : pb::IMessage<MethodOptions>, global::System.IEquatable<MethodOptions> {
  3212. private static readonly pb::MessageParser<MethodOptions> _parser = new pb::MessageParser<MethodOptions>(() => new MethodOptions());
  3213. public static pb::MessageParser<MethodOptions> Parser { get { return _parser; } }
  3214. private static readonly string[] _fieldNames = new string[] { "deprecated", "uninterpreted_option" };
  3215. private static readonly uint[] _fieldTags = new uint[] { 264, 7994 };
  3216. public static pbd::MessageDescriptor Descriptor {
  3217. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_MethodOptions__Descriptor; }
  3218. }
  3219. public pb::FieldAccess.FieldAccessorTable<MethodOptions> Fields {
  3220. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_MethodOptions__FieldAccessorTable; }
  3221. }
  3222. public MethodOptions() { }
  3223. public MethodOptions(MethodOptions other) {
  3224. MergeFrom(other);
  3225. }
  3226. public const int DeprecatedFieldNumber = 33;
  3227. private bool deprecated_;
  3228. public bool Deprecated {
  3229. get { return deprecated_; }
  3230. set { deprecated_ = value; }
  3231. }
  3232. public const int UninterpretedOptionFieldNumber = 999;
  3233. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption>();
  3234. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption> UninterpretedOption {
  3235. get { return uninterpretedOption_; }
  3236. }
  3237. public override bool Equals(object other) {
  3238. return Equals(other as MethodOptions);
  3239. }
  3240. public bool Equals(MethodOptions other) {
  3241. if (ReferenceEquals(other, null)) {
  3242. return false;
  3243. }
  3244. if (ReferenceEquals(other, this)) {
  3245. return true;
  3246. }
  3247. if (Deprecated != other.Deprecated) return false;
  3248. if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
  3249. return true;
  3250. }
  3251. public override int GetHashCode() {
  3252. int hash = 0;
  3253. if (Deprecated != false) hash ^= Deprecated.GetHashCode();
  3254. hash ^= uninterpretedOption_.GetHashCode();
  3255. return hash;
  3256. }
  3257. public void WriteTo(pb::ICodedOutputStream output) {
  3258. string[] fieldNames = _fieldNames;
  3259. if (Deprecated != false) {
  3260. output.WriteBool(33, fieldNames[0], Deprecated);
  3261. }
  3262. output.WriteMessageArray(999, fieldNames[1], uninterpretedOption_);
  3263. }
  3264. public int CalculateSize() {
  3265. int size = 0;
  3266. if (Deprecated != false) {
  3267. size += pb::CodedOutputStream.ComputeBoolSize(33, Deprecated);
  3268. }
  3269. foreach (global::Google.Protobuf.DescriptorProtos.UninterpretedOption element in uninterpretedOption_) {
  3270. size += pb::CodedOutputStream.ComputeMessageSize(999, element);
  3271. }
  3272. return size;
  3273. }
  3274. public void MergeFrom(MethodOptions other) {
  3275. if (other == null) {
  3276. return;
  3277. }
  3278. if (other.Deprecated != false) {
  3279. Deprecated = other.Deprecated;
  3280. }
  3281. uninterpretedOption_.Add(other.uninterpretedOption_);
  3282. }
  3283. public void MergeFrom(pb::ICodedInputStream input) {
  3284. uint tag;
  3285. string fieldName;
  3286. while (input.ReadTag(out tag, out fieldName)) {
  3287. if (tag == 0 && fieldName != null) {
  3288. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  3289. if (fieldOrdinal >= 0) {
  3290. tag = _fieldTags[fieldOrdinal];
  3291. }
  3292. }
  3293. switch(tag) {
  3294. case 0:
  3295. throw pb::InvalidProtocolBufferException.InvalidTag();
  3296. default:
  3297. if (pb::WireFormat.IsEndGroupTag(tag)) {
  3298. return;
  3299. }
  3300. break;
  3301. case 264: {
  3302. input.ReadBool(ref deprecated_);
  3303. break;
  3304. }
  3305. case 7994: {
  3306. input.ReadMessageArray(tag, fieldName, uninterpretedOption_, global::Google.Protobuf.DescriptorProtos.UninterpretedOption.Parser);
  3307. break;
  3308. }
  3309. }
  3310. }
  3311. }
  3312. }
  3313. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3314. public sealed partial class UninterpretedOption : pb::IMessage<UninterpretedOption>, global::System.IEquatable<UninterpretedOption> {
  3315. private static readonly pb::MessageParser<UninterpretedOption> _parser = new pb::MessageParser<UninterpretedOption>(() => new UninterpretedOption());
  3316. public static pb::MessageParser<UninterpretedOption> Parser { get { return _parser; } }
  3317. private static readonly string[] _fieldNames = new string[] { "aggregate_value", "double_value", "identifier_value", "name", "negative_int_value", "positive_int_value", "string_value" };
  3318. private static readonly uint[] _fieldTags = new uint[] { 66, 49, 26, 18, 40, 32, 58 };
  3319. public static pbd::MessageDescriptor Descriptor {
  3320. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_UninterpretedOption__Descriptor; }
  3321. }
  3322. public pb::FieldAccess.FieldAccessorTable<UninterpretedOption> Fields {
  3323. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_UninterpretedOption__FieldAccessorTable; }
  3324. }
  3325. public UninterpretedOption() { }
  3326. public UninterpretedOption(UninterpretedOption other) {
  3327. MergeFrom(other);
  3328. }
  3329. public const int NameFieldNumber = 2;
  3330. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption.Types.NamePart> name_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption.Types.NamePart>();
  3331. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.UninterpretedOption.Types.NamePart> Name {
  3332. get { return name_; }
  3333. }
  3334. public const int IdentifierValueFieldNumber = 3;
  3335. private string identifierValue_ = "";
  3336. public string IdentifierValue {
  3337. get { return identifierValue_; }
  3338. set { identifierValue_ = value ?? ""; }
  3339. }
  3340. public const int PositiveIntValueFieldNumber = 4;
  3341. private ulong positiveIntValue_;
  3342. public ulong PositiveIntValue {
  3343. get { return positiveIntValue_; }
  3344. set { positiveIntValue_ = value; }
  3345. }
  3346. public const int NegativeIntValueFieldNumber = 5;
  3347. private long negativeIntValue_;
  3348. public long NegativeIntValue {
  3349. get { return negativeIntValue_; }
  3350. set { negativeIntValue_ = value; }
  3351. }
  3352. public const int DoubleValueFieldNumber = 6;
  3353. private double doubleValue_;
  3354. public double DoubleValue {
  3355. get { return doubleValue_; }
  3356. set { doubleValue_ = value; }
  3357. }
  3358. public const int StringValueFieldNumber = 7;
  3359. private pb::ByteString stringValue_ = pb::ByteString.Empty;
  3360. public pb::ByteString StringValue {
  3361. get { return stringValue_; }
  3362. set { stringValue_ = value ?? pb::ByteString.Empty; }
  3363. }
  3364. public const int AggregateValueFieldNumber = 8;
  3365. private string aggregateValue_ = "";
  3366. public string AggregateValue {
  3367. get { return aggregateValue_; }
  3368. set { aggregateValue_ = value ?? ""; }
  3369. }
  3370. public override bool Equals(object other) {
  3371. return Equals(other as UninterpretedOption);
  3372. }
  3373. public bool Equals(UninterpretedOption other) {
  3374. if (ReferenceEquals(other, null)) {
  3375. return false;
  3376. }
  3377. if (ReferenceEquals(other, this)) {
  3378. return true;
  3379. }
  3380. if(!name_.Equals(other.name_)) return false;
  3381. if (IdentifierValue != other.IdentifierValue) return false;
  3382. if (PositiveIntValue != other.PositiveIntValue) return false;
  3383. if (NegativeIntValue != other.NegativeIntValue) return false;
  3384. if (DoubleValue != other.DoubleValue) return false;
  3385. if (StringValue != other.StringValue) return false;
  3386. if (AggregateValue != other.AggregateValue) return false;
  3387. return true;
  3388. }
  3389. public override int GetHashCode() {
  3390. int hash = 0;
  3391. hash ^= name_.GetHashCode();
  3392. if (IdentifierValue != "") hash ^= IdentifierValue.GetHashCode();
  3393. if (PositiveIntValue != 0UL) hash ^= PositiveIntValue.GetHashCode();
  3394. if (NegativeIntValue != 0L) hash ^= NegativeIntValue.GetHashCode();
  3395. if (DoubleValue != 0D) hash ^= DoubleValue.GetHashCode();
  3396. if (StringValue != pb::ByteString.Empty) hash ^= StringValue.GetHashCode();
  3397. if (AggregateValue != "") hash ^= AggregateValue.GetHashCode();
  3398. return hash;
  3399. }
  3400. public void WriteTo(pb::ICodedOutputStream output) {
  3401. string[] fieldNames = _fieldNames;
  3402. output.WriteMessageArray(2, fieldNames[3], name_);
  3403. if (IdentifierValue != "") {
  3404. output.WriteString(3, fieldNames[2], IdentifierValue);
  3405. }
  3406. if (PositiveIntValue != 0UL) {
  3407. output.WriteUInt64(4, fieldNames[5], PositiveIntValue);
  3408. }
  3409. if (NegativeIntValue != 0L) {
  3410. output.WriteInt64(5, fieldNames[4], NegativeIntValue);
  3411. }
  3412. if (DoubleValue != 0D) {
  3413. output.WriteDouble(6, fieldNames[1], DoubleValue);
  3414. }
  3415. if (StringValue != pb::ByteString.Empty) {
  3416. output.WriteBytes(7, fieldNames[6], StringValue);
  3417. }
  3418. if (AggregateValue != "") {
  3419. output.WriteString(8, fieldNames[0], AggregateValue);
  3420. }
  3421. }
  3422. public int CalculateSize() {
  3423. int size = 0;
  3424. foreach (global::Google.Protobuf.DescriptorProtos.UninterpretedOption.Types.NamePart element in name_) {
  3425. size += pb::CodedOutputStream.ComputeMessageSize(2, element);
  3426. }
  3427. if (IdentifierValue != "") {
  3428. size += pb::CodedOutputStream.ComputeStringSize(3, IdentifierValue);
  3429. }
  3430. if (PositiveIntValue != 0UL) {
  3431. size += pb::CodedOutputStream.ComputeUInt64Size(4, PositiveIntValue);
  3432. }
  3433. if (NegativeIntValue != 0L) {
  3434. size += pb::CodedOutputStream.ComputeInt64Size(5, NegativeIntValue);
  3435. }
  3436. if (DoubleValue != 0D) {
  3437. size += pb::CodedOutputStream.ComputeDoubleSize(6, DoubleValue);
  3438. }
  3439. if (StringValue != pb::ByteString.Empty) {
  3440. size += pb::CodedOutputStream.ComputeBytesSize(7, StringValue);
  3441. }
  3442. if (AggregateValue != "") {
  3443. size += pb::CodedOutputStream.ComputeStringSize(8, AggregateValue);
  3444. }
  3445. return size;
  3446. }
  3447. public void MergeFrom(UninterpretedOption other) {
  3448. if (other == null) {
  3449. return;
  3450. }
  3451. name_.Add(other.name_);
  3452. if (other.IdentifierValue != "") {
  3453. IdentifierValue = other.IdentifierValue;
  3454. }
  3455. if (other.PositiveIntValue != 0UL) {
  3456. PositiveIntValue = other.PositiveIntValue;
  3457. }
  3458. if (other.NegativeIntValue != 0L) {
  3459. NegativeIntValue = other.NegativeIntValue;
  3460. }
  3461. if (other.DoubleValue != 0D) {
  3462. DoubleValue = other.DoubleValue;
  3463. }
  3464. if (other.StringValue != pb::ByteString.Empty) {
  3465. StringValue = other.StringValue;
  3466. }
  3467. if (other.AggregateValue != "") {
  3468. AggregateValue = other.AggregateValue;
  3469. }
  3470. }
  3471. public void MergeFrom(pb::ICodedInputStream input) {
  3472. uint tag;
  3473. string fieldName;
  3474. while (input.ReadTag(out tag, out fieldName)) {
  3475. if (tag == 0 && fieldName != null) {
  3476. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  3477. if (fieldOrdinal >= 0) {
  3478. tag = _fieldTags[fieldOrdinal];
  3479. }
  3480. }
  3481. switch(tag) {
  3482. case 0:
  3483. throw pb::InvalidProtocolBufferException.InvalidTag();
  3484. default:
  3485. if (pb::WireFormat.IsEndGroupTag(tag)) {
  3486. return;
  3487. }
  3488. break;
  3489. case 18: {
  3490. input.ReadMessageArray(tag, fieldName, name_, global::Google.Protobuf.DescriptorProtos.UninterpretedOption.Types.NamePart.Parser);
  3491. break;
  3492. }
  3493. case 26: {
  3494. input.ReadString(ref identifierValue_);
  3495. break;
  3496. }
  3497. case 32: {
  3498. input.ReadUInt64(ref positiveIntValue_);
  3499. break;
  3500. }
  3501. case 40: {
  3502. input.ReadInt64(ref negativeIntValue_);
  3503. break;
  3504. }
  3505. case 49: {
  3506. input.ReadDouble(ref doubleValue_);
  3507. break;
  3508. }
  3509. case 58: {
  3510. input.ReadBytes(ref stringValue_);
  3511. break;
  3512. }
  3513. case 66: {
  3514. input.ReadString(ref aggregateValue_);
  3515. break;
  3516. }
  3517. }
  3518. }
  3519. }
  3520. #region Nested types
  3521. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3522. public static partial class Types {
  3523. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3524. public sealed partial class NamePart : pb::IMessage<NamePart>, global::System.IEquatable<NamePart> {
  3525. private static readonly pb::MessageParser<NamePart> _parser = new pb::MessageParser<NamePart>(() => new NamePart());
  3526. public static pb::MessageParser<NamePart> Parser { get { return _parser; } }
  3527. private static readonly string[] _fieldNames = new string[] { "is_extension", "name_part" };
  3528. private static readonly uint[] _fieldTags = new uint[] { 16, 10 };
  3529. public static pbd::MessageDescriptor Descriptor {
  3530. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_UninterpretedOption_NamePart__Descriptor; }
  3531. }
  3532. public pb::FieldAccess.FieldAccessorTable<NamePart> Fields {
  3533. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_UninterpretedOption_NamePart__FieldAccessorTable; }
  3534. }
  3535. public NamePart() { }
  3536. public NamePart(NamePart other) {
  3537. MergeFrom(other);
  3538. }
  3539. public const int NamePart_FieldNumber = 1;
  3540. private string namePart_ = "";
  3541. public string NamePart_ {
  3542. get { return namePart_; }
  3543. set { namePart_ = value ?? ""; }
  3544. }
  3545. public const int IsExtensionFieldNumber = 2;
  3546. private bool isExtension_;
  3547. public bool IsExtension {
  3548. get { return isExtension_; }
  3549. set { isExtension_ = value; }
  3550. }
  3551. public override bool Equals(object other) {
  3552. return Equals(other as NamePart);
  3553. }
  3554. public bool Equals(NamePart other) {
  3555. if (ReferenceEquals(other, null)) {
  3556. return false;
  3557. }
  3558. if (ReferenceEquals(other, this)) {
  3559. return true;
  3560. }
  3561. if (NamePart_ != other.NamePart_) return false;
  3562. if (IsExtension != other.IsExtension) return false;
  3563. return true;
  3564. }
  3565. public override int GetHashCode() {
  3566. int hash = 0;
  3567. if (NamePart_ != "") hash ^= NamePart_.GetHashCode();
  3568. if (IsExtension != false) hash ^= IsExtension.GetHashCode();
  3569. return hash;
  3570. }
  3571. public void WriteTo(pb::ICodedOutputStream output) {
  3572. string[] fieldNames = _fieldNames;
  3573. if (NamePart_ != "") {
  3574. output.WriteString(1, fieldNames[1], NamePart_);
  3575. }
  3576. if (IsExtension != false) {
  3577. output.WriteBool(2, fieldNames[0], IsExtension);
  3578. }
  3579. }
  3580. public int CalculateSize() {
  3581. int size = 0;
  3582. if (NamePart_ != "") {
  3583. size += pb::CodedOutputStream.ComputeStringSize(1, NamePart_);
  3584. }
  3585. if (IsExtension != false) {
  3586. size += pb::CodedOutputStream.ComputeBoolSize(2, IsExtension);
  3587. }
  3588. return size;
  3589. }
  3590. public void MergeFrom(NamePart other) {
  3591. if (other == null) {
  3592. return;
  3593. }
  3594. if (other.NamePart_ != "") {
  3595. NamePart_ = other.NamePart_;
  3596. }
  3597. if (other.IsExtension != false) {
  3598. IsExtension = other.IsExtension;
  3599. }
  3600. }
  3601. public void MergeFrom(pb::ICodedInputStream input) {
  3602. uint tag;
  3603. string fieldName;
  3604. while (input.ReadTag(out tag, out fieldName)) {
  3605. if (tag == 0 && fieldName != null) {
  3606. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  3607. if (fieldOrdinal >= 0) {
  3608. tag = _fieldTags[fieldOrdinal];
  3609. }
  3610. }
  3611. switch(tag) {
  3612. case 0:
  3613. throw pb::InvalidProtocolBufferException.InvalidTag();
  3614. default:
  3615. if (pb::WireFormat.IsEndGroupTag(tag)) {
  3616. return;
  3617. }
  3618. break;
  3619. case 10: {
  3620. input.ReadString(ref namePart_);
  3621. break;
  3622. }
  3623. case 16: {
  3624. input.ReadBool(ref isExtension_);
  3625. break;
  3626. }
  3627. }
  3628. }
  3629. }
  3630. }
  3631. }
  3632. #endregion
  3633. }
  3634. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3635. public sealed partial class SourceCodeInfo : pb::IMessage<SourceCodeInfo>, global::System.IEquatable<SourceCodeInfo> {
  3636. private static readonly pb::MessageParser<SourceCodeInfo> _parser = new pb::MessageParser<SourceCodeInfo>(() => new SourceCodeInfo());
  3637. public static pb::MessageParser<SourceCodeInfo> Parser { get { return _parser; } }
  3638. private static readonly string[] _fieldNames = new string[] { "location" };
  3639. private static readonly uint[] _fieldTags = new uint[] { 10 };
  3640. public static pbd::MessageDescriptor Descriptor {
  3641. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_SourceCodeInfo__Descriptor; }
  3642. }
  3643. public pb::FieldAccess.FieldAccessorTable<SourceCodeInfo> Fields {
  3644. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_SourceCodeInfo__FieldAccessorTable; }
  3645. }
  3646. public SourceCodeInfo() { }
  3647. public SourceCodeInfo(SourceCodeInfo other) {
  3648. MergeFrom(other);
  3649. }
  3650. public const int LocationFieldNumber = 1;
  3651. private readonly pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.SourceCodeInfo.Types.Location> location_ = new pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.SourceCodeInfo.Types.Location>();
  3652. public pbc::RepeatedField<global::Google.Protobuf.DescriptorProtos.SourceCodeInfo.Types.Location> Location {
  3653. get { return location_; }
  3654. }
  3655. public override bool Equals(object other) {
  3656. return Equals(other as SourceCodeInfo);
  3657. }
  3658. public bool Equals(SourceCodeInfo other) {
  3659. if (ReferenceEquals(other, null)) {
  3660. return false;
  3661. }
  3662. if (ReferenceEquals(other, this)) {
  3663. return true;
  3664. }
  3665. if(!location_.Equals(other.location_)) return false;
  3666. return true;
  3667. }
  3668. public override int GetHashCode() {
  3669. int hash = 0;
  3670. hash ^= location_.GetHashCode();
  3671. return hash;
  3672. }
  3673. public void WriteTo(pb::ICodedOutputStream output) {
  3674. string[] fieldNames = _fieldNames;
  3675. output.WriteMessageArray(1, fieldNames[0], location_);
  3676. }
  3677. public int CalculateSize() {
  3678. int size = 0;
  3679. foreach (global::Google.Protobuf.DescriptorProtos.SourceCodeInfo.Types.Location element in location_) {
  3680. size += pb::CodedOutputStream.ComputeMessageSize(1, element);
  3681. }
  3682. return size;
  3683. }
  3684. public void MergeFrom(SourceCodeInfo other) {
  3685. if (other == null) {
  3686. return;
  3687. }
  3688. location_.Add(other.location_);
  3689. }
  3690. public void MergeFrom(pb::ICodedInputStream input) {
  3691. uint tag;
  3692. string fieldName;
  3693. while (input.ReadTag(out tag, out fieldName)) {
  3694. if (tag == 0 && fieldName != null) {
  3695. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  3696. if (fieldOrdinal >= 0) {
  3697. tag = _fieldTags[fieldOrdinal];
  3698. }
  3699. }
  3700. switch(tag) {
  3701. case 0:
  3702. throw pb::InvalidProtocolBufferException.InvalidTag();
  3703. default:
  3704. if (pb::WireFormat.IsEndGroupTag(tag)) {
  3705. return;
  3706. }
  3707. break;
  3708. case 10: {
  3709. input.ReadMessageArray(tag, fieldName, location_, global::Google.Protobuf.DescriptorProtos.SourceCodeInfo.Types.Location.Parser);
  3710. break;
  3711. }
  3712. }
  3713. }
  3714. }
  3715. #region Nested types
  3716. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3717. public static partial class Types {
  3718. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3719. public sealed partial class Location : pb::IMessage<Location>, global::System.IEquatable<Location> {
  3720. private static readonly pb::MessageParser<Location> _parser = new pb::MessageParser<Location>(() => new Location());
  3721. public static pb::MessageParser<Location> Parser { get { return _parser; } }
  3722. private static readonly string[] _fieldNames = new string[] { "leading_comments", "leading_detached_comments", "path", "span", "trailing_comments" };
  3723. private static readonly uint[] _fieldTags = new uint[] { 26, 50, 10, 18, 34 };
  3724. public static pbd::MessageDescriptor Descriptor {
  3725. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_SourceCodeInfo_Location__Descriptor; }
  3726. }
  3727. public pb::FieldAccess.FieldAccessorTable<Location> Fields {
  3728. get { return global::Google.Protobuf.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_SourceCodeInfo_Location__FieldAccessorTable; }
  3729. }
  3730. public Location() { }
  3731. public Location(Location other) {
  3732. MergeFrom(other);
  3733. }
  3734. public const int PathFieldNumber = 1;
  3735. private readonly pbc::RepeatedField<int> path_ = new pbc::RepeatedField<int>();
  3736. public pbc::RepeatedField<int> Path {
  3737. get { return path_; }
  3738. }
  3739. public const int SpanFieldNumber = 2;
  3740. private readonly pbc::RepeatedField<int> span_ = new pbc::RepeatedField<int>();
  3741. public pbc::RepeatedField<int> Span {
  3742. get { return span_; }
  3743. }
  3744. public const int LeadingCommentsFieldNumber = 3;
  3745. private string leadingComments_ = "";
  3746. public string LeadingComments {
  3747. get { return leadingComments_; }
  3748. set { leadingComments_ = value ?? ""; }
  3749. }
  3750. public const int TrailingCommentsFieldNumber = 4;
  3751. private string trailingComments_ = "";
  3752. public string TrailingComments {
  3753. get { return trailingComments_; }
  3754. set { trailingComments_ = value ?? ""; }
  3755. }
  3756. public const int LeadingDetachedCommentsFieldNumber = 6;
  3757. private readonly pbc::RepeatedField<string> leadingDetachedComments_ = new pbc::RepeatedField<string>();
  3758. public pbc::RepeatedField<string> LeadingDetachedComments {
  3759. get { return leadingDetachedComments_; }
  3760. }
  3761. public override bool Equals(object other) {
  3762. return Equals(other as Location);
  3763. }
  3764. public bool Equals(Location other) {
  3765. if (ReferenceEquals(other, null)) {
  3766. return false;
  3767. }
  3768. if (ReferenceEquals(other, this)) {
  3769. return true;
  3770. }
  3771. if(!path_.Equals(other.path_)) return false;
  3772. if(!span_.Equals(other.span_)) return false;
  3773. if (LeadingComments != other.LeadingComments) return false;
  3774. if (TrailingComments != other.TrailingComments) return false;
  3775. if(!leadingDetachedComments_.Equals(other.leadingDetachedComments_)) return false;
  3776. return true;
  3777. }
  3778. public override int GetHashCode() {
  3779. int hash = 0;
  3780. hash ^= path_.GetHashCode();
  3781. hash ^= span_.GetHashCode();
  3782. if (LeadingComments != "") hash ^= LeadingComments.GetHashCode();
  3783. if (TrailingComments != "") hash ^= TrailingComments.GetHashCode();
  3784. hash ^= leadingDetachedComments_.GetHashCode();
  3785. return hash;
  3786. }
  3787. public void WriteTo(pb::ICodedOutputStream output) {
  3788. string[] fieldNames = _fieldNames;
  3789. output.WritePackedInt32Array(1, fieldNames[2], path_);
  3790. output.WritePackedInt32Array(2, fieldNames[3], span_);
  3791. if (LeadingComments != "") {
  3792. output.WriteString(3, fieldNames[0], LeadingComments);
  3793. }
  3794. if (TrailingComments != "") {
  3795. output.WriteString(4, fieldNames[4], TrailingComments);
  3796. }
  3797. output.WriteStringArray(6, fieldNames[1], leadingDetachedComments_);
  3798. }
  3799. public int CalculateSize() {
  3800. int size = 0;
  3801. {
  3802. int dataSize = 0;
  3803. foreach (int element in path_) {
  3804. dataSize += pb::CodedOutputStream.ComputeInt32SizeNoTag(element);
  3805. }
  3806. size += dataSize;
  3807. if (path_.Count != 0) {
  3808. size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
  3809. }
  3810. }
  3811. {
  3812. int dataSize = 0;
  3813. foreach (int element in span_) {
  3814. dataSize += pb::CodedOutputStream.ComputeInt32SizeNoTag(element);
  3815. }
  3816. size += dataSize;
  3817. if (span_.Count != 0) {
  3818. size += 1 + pb::CodedOutputStream.ComputeInt32SizeNoTag(dataSize);
  3819. }
  3820. }
  3821. if (LeadingComments != "") {
  3822. size += pb::CodedOutputStream.ComputeStringSize(3, LeadingComments);
  3823. }
  3824. if (TrailingComments != "") {
  3825. size += pb::CodedOutputStream.ComputeStringSize(4, TrailingComments);
  3826. }
  3827. {
  3828. int dataSize = 0;
  3829. foreach (string element in leadingDetachedComments_) {
  3830. dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
  3831. }
  3832. size += dataSize;
  3833. size += 1 * leadingDetachedComments_.Count;
  3834. }
  3835. return size;
  3836. }
  3837. public void MergeFrom(Location other) {
  3838. if (other == null) {
  3839. return;
  3840. }
  3841. path_.Add(other.path_);
  3842. span_.Add(other.span_);
  3843. if (other.LeadingComments != "") {
  3844. LeadingComments = other.LeadingComments;
  3845. }
  3846. if (other.TrailingComments != "") {
  3847. TrailingComments = other.TrailingComments;
  3848. }
  3849. leadingDetachedComments_.Add(other.leadingDetachedComments_);
  3850. }
  3851. public void MergeFrom(pb::ICodedInputStream input) {
  3852. uint tag;
  3853. string fieldName;
  3854. while (input.ReadTag(out tag, out fieldName)) {
  3855. if (tag == 0 && fieldName != null) {
  3856. int fieldOrdinal = global::System.Array.BinarySearch(_fieldNames, fieldName, global::System.StringComparer.Ordinal);
  3857. if (fieldOrdinal >= 0) {
  3858. tag = _fieldTags[fieldOrdinal];
  3859. }
  3860. }
  3861. switch(tag) {
  3862. case 0:
  3863. throw pb::InvalidProtocolBufferException.InvalidTag();
  3864. default:
  3865. if (pb::WireFormat.IsEndGroupTag(tag)) {
  3866. return;
  3867. }
  3868. break;
  3869. case 10:
  3870. case 8: {
  3871. input.ReadInt32Array(tag, fieldName, path_);
  3872. break;
  3873. }
  3874. case 18:
  3875. case 16: {
  3876. input.ReadInt32Array(tag, fieldName, span_);
  3877. break;
  3878. }
  3879. case 26: {
  3880. input.ReadString(ref leadingComments_);
  3881. break;
  3882. }
  3883. case 34: {
  3884. input.ReadString(ref trailingComments_);
  3885. break;
  3886. }
  3887. case 50: {
  3888. input.ReadStringArray(tag, fieldName, leadingDetachedComments_);
  3889. break;
  3890. }
  3891. }
  3892. }
  3893. }
  3894. }
  3895. }
  3896. #endregion
  3897. }
  3898. #endregion
  3899. }
  3900. #endregion Designer generated code