1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: google/protobuf/descriptor_proto_file.proto
- #pragma warning disable 1591, 0612, 3021
- #region Designer generated code
- using pb = global::Google.Protobuf;
- using pbc = global::Google.Protobuf.Collections;
- using pbr = global::Google.Protobuf.Reflection;
- using scg = global::System.Collections.Generic;
- namespace Google.Protobuf.Reflection {
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal static partial class DescriptorProtoFile {
- #region Descriptor
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
- static DescriptorProtoFile() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "Citnb29nbGUvcHJvdG9idWYvZGVzY3JpcHRvcl9wcm90b19maWxlLnByb3Rv",
- "Eg9nb29nbGUucHJvdG9idWYiRwoRRmlsZURlc2NyaXB0b3JTZXQSMgoEZmls",
- "ZRgBIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5GaWxlRGVzY3JpcHRvclByb3Rv",
- "ItsDChNGaWxlRGVzY3JpcHRvclByb3RvEgwKBG5hbWUYASABKAkSDwoHcGFj",
- "a2FnZRgCIAEoCRISCgpkZXBlbmRlbmN5GAMgAygJEhkKEXB1YmxpY19kZXBl",
- "bmRlbmN5GAogAygFEhcKD3dlYWtfZGVwZW5kZW5jeRgLIAMoBRI2CgxtZXNz",
- "YWdlX3R5cGUYBCADKAsyIC5nb29nbGUucHJvdG9idWYuRGVzY3JpcHRvclBy",
- "b3RvEjcKCWVudW1fdHlwZRgFIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5FbnVt",
- "RGVzY3JpcHRvclByb3RvEjgKB3NlcnZpY2UYBiADKAsyJy5nb29nbGUucHJv",
- "dG9idWYuU2VydmljZURlc2NyaXB0b3JQcm90bxI4CglleHRlbnNpb24YByAD",
- "KAsyJS5nb29nbGUucHJvdG9idWYuRmllbGREZXNjcmlwdG9yUHJvdG8SLQoH",
- "b3B0aW9ucxgIIAEoCzIcLmdvb2dsZS5wcm90b2J1Zi5GaWxlT3B0aW9ucxI5",
- "ChBzb3VyY2VfY29kZV9pbmZvGAkgASgLMh8uZ29vZ2xlLnByb3RvYnVmLlNv",
- "dXJjZUNvZGVJbmZvEg4KBnN5bnRheBgMIAEoCSLwBAoPRGVzY3JpcHRvclBy",
- "b3RvEgwKBG5hbWUYASABKAkSNAoFZmllbGQYAiADKAsyJS5nb29nbGUucHJv",
- "dG9idWYuRmllbGREZXNjcmlwdG9yUHJvdG8SOAoJZXh0ZW5zaW9uGAYgAygL",
- "MiUuZ29vZ2xlLnByb3RvYnVmLkZpZWxkRGVzY3JpcHRvclByb3RvEjUKC25l",
- "c3RlZF90eXBlGAMgAygLMiAuZ29vZ2xlLnByb3RvYnVmLkRlc2NyaXB0b3JQ",
- "cm90bxI3CgllbnVtX3R5cGUYBCADKAsyJC5nb29nbGUucHJvdG9idWYuRW51",
- "bURlc2NyaXB0b3JQcm90bxJICg9leHRlbnNpb25fcmFuZ2UYBSADKAsyLy5n",
- "b29nbGUucHJvdG9idWYuRGVzY3JpcHRvclByb3RvLkV4dGVuc2lvblJhbmdl",
- "EjkKCm9uZW9mX2RlY2wYCCADKAsyJS5nb29nbGUucHJvdG9idWYuT25lb2ZE",
- "ZXNjcmlwdG9yUHJvdG8SMAoHb3B0aW9ucxgHIAEoCzIfLmdvb2dsZS5wcm90",
- "b2J1Zi5NZXNzYWdlT3B0aW9ucxJGCg5yZXNlcnZlZF9yYW5nZRgJIAMoCzIu",
- "Lmdvb2dsZS5wcm90b2J1Zi5EZXNjcmlwdG9yUHJvdG8uUmVzZXJ2ZWRSYW5n",
- "ZRIVCg1yZXNlcnZlZF9uYW1lGAogAygJGiwKDkV4dGVuc2lvblJhbmdlEg0K",
- "BXN0YXJ0GAEgASgFEgsKA2VuZBgCIAEoBRorCg1SZXNlcnZlZFJhbmdlEg0K",
- "BXN0YXJ0GAEgASgFEgsKA2VuZBgCIAEoBSKpBQoURmllbGREZXNjcmlwdG9y",
- "UHJvdG8SDAoEbmFtZRgBIAEoCRIOCgZudW1iZXIYAyABKAUSOgoFbGFiZWwY",
- "BCABKA4yKy5nb29nbGUucHJvdG9idWYuRmllbGREZXNjcmlwdG9yUHJvdG8u",
- "TGFiZWwSOAoEdHlwZRgFIAEoDjIqLmdvb2dsZS5wcm90b2J1Zi5GaWVsZERl",
- "c2NyaXB0b3JQcm90by5UeXBlEhEKCXR5cGVfbmFtZRgGIAEoCRIQCghleHRl",
- "bmRlZRgCIAEoCRIVCg1kZWZhdWx0X3ZhbHVlGAcgASgJEhMKC29uZW9mX2lu",
- "ZGV4GAkgASgFEi4KB29wdGlvbnMYCCABKAsyHS5nb29nbGUucHJvdG9idWYu",
- "RmllbGRPcHRpb25zIrYCCgRUeXBlEg8KC1RZUEVfRE9VQkxFEAESDgoKVFlQ",
- "RV9GTE9BVBACEg4KClRZUEVfSU5UNjQQAxIPCgtUWVBFX1VJTlQ2NBAEEg4K",
- "ClRZUEVfSU5UMzIQBRIQCgxUWVBFX0ZJWEVENjQQBhIQCgxUWVBFX0ZJWEVE",
- "MzIQBxINCglUWVBFX0JPT0wQCBIPCgtUWVBFX1NUUklORxAJEg4KClRZUEVf",
- "R1JPVVAQChIQCgxUWVBFX01FU1NBR0UQCxIOCgpUWVBFX0JZVEVTEAwSDwoL",
- "VFlQRV9VSU5UMzIQDRINCglUWVBFX0VOVU0QDhIRCg1UWVBFX1NGSVhFRDMy",
- "EA8SEQoNVFlQRV9TRklYRUQ2NBAQEg8KC1RZUEVfU0lOVDMyEBESDwoLVFlQ",
- "RV9TSU5UNjQQEiJDCgVMYWJlbBISCg5MQUJFTF9PUFRJT05BTBABEhIKDkxB",
- "QkVMX1JFUVVJUkVEEAISEgoOTEFCRUxfUkVQRUFURUQQAyIkChRPbmVvZkRl",
- "c2NyaXB0b3JQcm90bxIMCgRuYW1lGAEgASgJIowBChNFbnVtRGVzY3JpcHRv",
- "clByb3RvEgwKBG5hbWUYASABKAkSOAoFdmFsdWUYAiADKAsyKS5nb29nbGUu",
- "cHJvdG9idWYuRW51bVZhbHVlRGVzY3JpcHRvclByb3RvEi0KB29wdGlvbnMY",
- "AyABKAsyHC5nb29nbGUucHJvdG9idWYuRW51bU9wdGlvbnMibAoYRW51bVZh",
- "bHVlRGVzY3JpcHRvclByb3RvEgwKBG5hbWUYASABKAkSDgoGbnVtYmVyGAIg",
- "ASgFEjIKB29wdGlvbnMYAyABKAsyIS5nb29nbGUucHJvdG9idWYuRW51bVZh",
- "bHVlT3B0aW9ucyKQAQoWU2VydmljZURlc2NyaXB0b3JQcm90bxIMCgRuYW1l",
- "GAEgASgJEjYKBm1ldGhvZBgCIAMoCzImLmdvb2dsZS5wcm90b2J1Zi5NZXRo",
- "b2REZXNjcmlwdG9yUHJvdG8SMAoHb3B0aW9ucxgDIAEoCzIfLmdvb2dsZS5w",
- "cm90b2J1Zi5TZXJ2aWNlT3B0aW9ucyLBAQoVTWV0aG9kRGVzY3JpcHRvclBy",
- "b3RvEgwKBG5hbWUYASABKAkSEgoKaW5wdXRfdHlwZRgCIAEoCRITCgtvdXRw",
- "dXRfdHlwZRgDIAEoCRIvCgdvcHRpb25zGAQgASgLMh4uZ29vZ2xlLnByb3Rv",
- "YnVmLk1ldGhvZE9wdGlvbnMSHwoQY2xpZW50X3N0cmVhbWluZxgFIAEoCDoF",
- "ZmFsc2USHwoQc2VydmVyX3N0cmVhbWluZxgGIAEoCDoFZmFsc2UigQUKC0Zp",
- "bGVPcHRpb25zEhQKDGphdmFfcGFja2FnZRgBIAEoCRIcChRqYXZhX291dGVy",
- "X2NsYXNzbmFtZRgIIAEoCRIiChNqYXZhX211bHRpcGxlX2ZpbGVzGAogASgI",
- "OgVmYWxzZRIsCh1qYXZhX2dlbmVyYXRlX2VxdWFsc19hbmRfaGFzaBgUIAEo",
- "CDoFZmFsc2USJQoWamF2YV9zdHJpbmdfY2hlY2tfdXRmOBgbIAEoCDoFZmFs",
- "c2USRgoMb3B0aW1pemVfZm9yGAkgASgOMikuZ29vZ2xlLnByb3RvYnVmLkZp",
- "bGVPcHRpb25zLk9wdGltaXplTW9kZToFU1BFRUQSEgoKZ29fcGFja2FnZRgL",
- "IAEoCRIiChNjY19nZW5lcmljX3NlcnZpY2VzGBAgASgIOgVmYWxzZRIkChVq",
- "YXZhX2dlbmVyaWNfc2VydmljZXMYESABKAg6BWZhbHNlEiIKE3B5X2dlbmVy",
- "aWNfc2VydmljZXMYEiABKAg6BWZhbHNlEhkKCmRlcHJlY2F0ZWQYFyABKAg6",
- "BWZhbHNlEh8KEGNjX2VuYWJsZV9hcmVuYXMYHyABKAg6BWZhbHNlEhkKEW9i",
- "amNfY2xhc3NfcHJlZml4GCQgASgJEhgKEGNzaGFycF9uYW1lc3BhY2UYJSAB",
- "KAkSQwoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xlLnBy",
- "b3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb24iOgoMT3B0aW1pemVNb2RlEgkK",
- "BVNQRUVEEAESDQoJQ09ERV9TSVpFEAISEAoMTElURV9SVU5USU1FEAMqCQjo",
- "BxCAgICAAiLmAQoOTWVzc2FnZU9wdGlvbnMSJgoXbWVzc2FnZV9zZXRfd2ly",
- "ZV9mb3JtYXQYASABKAg6BWZhbHNlEi4KH25vX3N0YW5kYXJkX2Rlc2NyaXB0",
- "b3JfYWNjZXNzb3IYAiABKAg6BWZhbHNlEhkKCmRlcHJlY2F0ZWQYAyABKAg6",
- "BWZhbHNlEhEKCW1hcF9lbnRyeRgHIAEoCBJDChR1bmludGVycHJldGVkX29w",
- "dGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbnRlcnByZXRlZE9w",
- "dGlvbioJCOgHEICAgIACIpgDCgxGaWVsZE9wdGlvbnMSOgoFY3R5cGUYASAB",
- "KA4yIy5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zLkNUeXBlOgZTVFJJ",
- "TkcSDgoGcGFja2VkGAIgASgIEj8KBmpzdHlwZRgGIAEoDjIkLmdvb2dsZS5w",
- "cm90b2J1Zi5GaWVsZE9wdGlvbnMuSlNUeXBlOglKU19OT1JNQUwSEwoEbGF6",
- "eRgFIAEoCDoFZmFsc2USGQoKZGVwcmVjYXRlZBgDIAEoCDoFZmFsc2USEwoE",
- "d2VhaxgKIAEoCDoFZmFsc2USQwoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcg",
- "AygLMiQuZ29vZ2xlLnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb24iLwoF",
- "Q1R5cGUSCgoGU1RSSU5HEAASCAoEQ09SRBABEhAKDFNUUklOR19QSUVDRRAC",
- "IjUKBkpTVHlwZRINCglKU19OT1JNQUwQABINCglKU19TVFJJTkcQARINCglK",
- "U19OVU1CRVIQAioJCOgHEICAgIACIo0BCgtFbnVtT3B0aW9ucxITCgthbGxv",
- "d19hbGlhcxgCIAEoCBIZCgpkZXByZWNhdGVkGAMgASgIOgVmYWxzZRJDChR1",
- "bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYu",
- "VW5pbnRlcnByZXRlZE9wdGlvbioJCOgHEICAgIACIn0KEEVudW1WYWx1ZU9w",
- "dGlvbnMSGQoKZGVwcmVjYXRlZBgBIAEoCDoFZmFsc2USQwoUdW5pbnRlcnBy",
- "ZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xlLnByb3RvYnVmLlVuaW50ZXJw",
- "cmV0ZWRPcHRpb24qCQjoBxCAgICAAiJ7Cg5TZXJ2aWNlT3B0aW9ucxIZCgpk",
- "ZXByZWNhdGVkGCEgASgIOgVmYWxzZRJDChR1bmludGVycHJldGVkX29wdGlv",
- "bhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbnRlcnByZXRlZE9wdGlv",
- "bioJCOgHEICAgIACInoKDU1ldGhvZE9wdGlvbnMSGQoKZGVwcmVjYXRlZBgh",
- "IAEoCDoFZmFsc2USQwoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQu",
- "Z29vZ2xlLnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb24qCQjoBxCAgICA",
- "AiKeAgoTVW5pbnRlcnByZXRlZE9wdGlvbhI7CgRuYW1lGAIgAygLMi0uZ29v",
- "Z2xlLnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb24uTmFtZVBhcnQSGAoQ",
- "aWRlbnRpZmllcl92YWx1ZRgDIAEoCRIaChJwb3NpdGl2ZV9pbnRfdmFsdWUY",
- "BCABKAQSGgoSbmVnYXRpdmVfaW50X3ZhbHVlGAUgASgDEhQKDGRvdWJsZV92",
- "YWx1ZRgGIAEoARIUCgxzdHJpbmdfdmFsdWUYByABKAwSFwoPYWdncmVnYXRl",
- "X3ZhbHVlGAggASgJGjMKCE5hbWVQYXJ0EhEKCW5hbWVfcGFydBgBIAIoCRIU",
- "Cgxpc19leHRlbnNpb24YAiACKAgi1QEKDlNvdXJjZUNvZGVJbmZvEjoKCGxv",
- "Y2F0aW9uGAEgAygLMiguZ29vZ2xlLnByb3RvYnVmLlNvdXJjZUNvZGVJbmZv",
- "LkxvY2F0aW9uGoYBCghMb2NhdGlvbhIQCgRwYXRoGAEgAygFQgIQARIQCgRz",
- "cGFuGAIgAygFQgIQARIYChBsZWFkaW5nX2NvbW1lbnRzGAMgASgJEhkKEXRy",
- "YWlsaW5nX2NvbW1lbnRzGAQgASgJEiEKGWxlYWRpbmdfZGV0YWNoZWRfY29t",
- "bWVudHMYBiADKAlCWAoTY29tLmdvb2dsZS5wcm90b2J1ZkIQRGVzY3JpcHRv",
- "clByb3Rvc0gBWgpkZXNjcmlwdG9yogIDR1BCqgIaR29vZ2xlLlByb3RvYnVm",
- "LlJlZmxlY3Rpb24="));
- descriptor = pbr::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
- new pbr::FileDescriptor[] { },
- new pbr::GeneratedCodeInfo(null, new pbr::GeneratedCodeInfo[] {
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.FileDescriptorSet), new[]{ "File" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.FileDescriptorProto), new[]{ "Name", "Package", "Dependency", "PublicDependency", "WeakDependency", "MessageType", "EnumType", "Service", "Extension", "Options", "SourceCodeInfo", "Syntax" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.DescriptorProto), new[]{ "Name", "Field", "Extension", "NestedType", "EnumType", "ExtensionRange", "OneofDecl", "Options", "ReservedRange", "ReservedName" }, null, null, new pbr::GeneratedCodeInfo[] { new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange), new[]{ "Start", "End" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange), new[]{ "Start", "End" }, null, null, null)}),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.FieldDescriptorProto), new[]{ "Name", "Number", "Label", "Type", "TypeName", "Extendee", "DefaultValue", "OneofIndex", "Options" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type), typeof(global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label) }, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.OneofDescriptorProto), new[]{ "Name" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.EnumDescriptorProto), new[]{ "Name", "Value", "Options" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.EnumValueDescriptorProto), new[]{ "Name", "Number", "Options" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.ServiceDescriptorProto), new[]{ "Name", "Method", "Options" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.MethodDescriptorProto), new[]{ "Name", "InputType", "OutputType", "Options", "ClientStreaming", "ServerStreaming" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.FileOptions), new[]{ "JavaPackage", "JavaOuterClassname", "JavaMultipleFiles", "JavaGenerateEqualsAndHash", "JavaStringCheckUtf8", "OptimizeFor", "GoPackage", "CcGenericServices", "JavaGenericServices", "PyGenericServices", "Deprecated", "CcEnableArenas", "ObjcClassPrefix", "CsharpNamespace", "UninterpretedOption" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode) }, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.MessageOptions), new[]{ "MessageSetWireFormat", "NoStandardDescriptorAccessor", "Deprecated", "MapEntry", "UninterpretedOption" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.FieldOptions), new[]{ "Ctype", "Packed", "Jstype", "Lazy", "Deprecated", "Weak", "UninterpretedOption" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FieldOptions.Types.CType), typeof(global::Google.Protobuf.Reflection.FieldOptions.Types.JSType) }, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.EnumOptions), new[]{ "AllowAlias", "Deprecated", "UninterpretedOption" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.EnumValueOptions), new[]{ "Deprecated", "UninterpretedOption" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.ServiceOptions), new[]{ "Deprecated", "UninterpretedOption" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.MethodOptions), new[]{ "Deprecated", "UninterpretedOption" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.UninterpretedOption), new[]{ "Name", "IdentifierValue", "PositiveIntValue", "NegativeIntValue", "DoubleValue", "StringValue", "AggregateValue" }, null, null, new pbr::GeneratedCodeInfo[] { new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart), new[]{ "NamePart_", "IsExtension" }, null, null, null)}),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo), new[]{ "Location" }, null, null, new pbr::GeneratedCodeInfo[] { new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location), new[]{ "Path", "Span", "LeadingComments", "TrailingComments", "LeadingDetachedComments" }, null, null, null)})
- }));
- }
- #endregion
- }
- #region Messages
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class FileDescriptorSet : pb::IMessage<FileDescriptorSet> {
- private static readonly pb::MessageParser<FileDescriptorSet> _parser = new pb::MessageParser<FileDescriptorSet>(() => new FileDescriptorSet());
- public static pb::MessageParser<FileDescriptorSet> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[0]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public FileDescriptorSet() {
- OnConstruction();
- }
- partial void OnConstruction();
- public FileDescriptorSet(FileDescriptorSet other) : this() {
- file_ = other.file_.Clone();
- }
- public FileDescriptorSet Clone() {
- return new FileDescriptorSet(this);
- }
- public const int FileFieldNumber = 1;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.FileDescriptorProto> _repeated_file_codec
- = pb::FieldCodec.ForMessage(10, global::Google.Protobuf.Reflection.FileDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.FileDescriptorProto> file_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.FileDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.FileDescriptorProto> File {
- get { return file_; }
- }
- public override bool Equals(object other) {
- return Equals(other as FileDescriptorSet);
- }
- public bool Equals(FileDescriptorSet other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if(!file_.Equals(other.file_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- hash ^= file_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- file_.WriteTo(output, _repeated_file_codec);
- }
- public int CalculateSize() {
- int size = 0;
- size += file_.CalculateSize(_repeated_file_codec);
- return size;
- }
- public void MergeFrom(FileDescriptorSet other) {
- if (other == null) {
- return;
- }
- file_.Add(other.file_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- file_.AddEntriesFrom(input, _repeated_file_codec);
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class FileDescriptorProto : pb::IMessage<FileDescriptorProto> {
- private static readonly pb::MessageParser<FileDescriptorProto> _parser = new pb::MessageParser<FileDescriptorProto>(() => new FileDescriptorProto());
- public static pb::MessageParser<FileDescriptorProto> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[1]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public FileDescriptorProto() {
- OnConstruction();
- }
- partial void OnConstruction();
- public FileDescriptorProto(FileDescriptorProto other) : this() {
- name_ = other.name_;
- package_ = other.package_;
- dependency_ = other.dependency_.Clone();
- publicDependency_ = other.publicDependency_.Clone();
- weakDependency_ = other.weakDependency_.Clone();
- messageType_ = other.messageType_.Clone();
- enumType_ = other.enumType_.Clone();
- service_ = other.service_.Clone();
- extension_ = other.extension_.Clone();
- Options = other.options_ != null ? other.Options.Clone() : null;
- SourceCodeInfo = other.sourceCodeInfo_ != null ? other.SourceCodeInfo.Clone() : null;
- syntax_ = other.syntax_;
- }
- public FileDescriptorProto Clone() {
- return new FileDescriptorProto(this);
- }
- public const int NameFieldNumber = 1;
- private string name_ = "";
- internal string Name {
- get { return name_; }
- set {
- name_ = value ?? "";
- }
- }
- public const int PackageFieldNumber = 2;
- private string package_ = "";
- internal string Package {
- get { return package_; }
- set {
- package_ = value ?? "";
- }
- }
- public const int DependencyFieldNumber = 3;
- private static readonly pb::FieldCodec<string> _repeated_dependency_codec
- = pb::FieldCodec.ForString(26);
- private readonly pbc::RepeatedField<string> dependency_ = new pbc::RepeatedField<string>();
- internal pbc::RepeatedField<string> Dependency {
- get { return dependency_; }
- }
- public const int PublicDependencyFieldNumber = 10;
- private static readonly pb::FieldCodec<int> _repeated_publicDependency_codec
- = pb::FieldCodec.ForInt32(80);
- private readonly pbc::RepeatedField<int> publicDependency_ = new pbc::RepeatedField<int>();
- internal pbc::RepeatedField<int> PublicDependency {
- get { return publicDependency_; }
- }
- public const int WeakDependencyFieldNumber = 11;
- private static readonly pb::FieldCodec<int> _repeated_weakDependency_codec
- = pb::FieldCodec.ForInt32(88);
- private readonly pbc::RepeatedField<int> weakDependency_ = new pbc::RepeatedField<int>();
- internal pbc::RepeatedField<int> WeakDependency {
- get { return weakDependency_; }
- }
- public const int MessageTypeFieldNumber = 4;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.DescriptorProto> _repeated_messageType_codec
- = pb::FieldCodec.ForMessage(34, global::Google.Protobuf.Reflection.DescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto> messageType_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto> MessageType {
- get { return messageType_; }
- }
- public const int EnumTypeFieldNumber = 5;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.EnumDescriptorProto> _repeated_enumType_codec
- = pb::FieldCodec.ForMessage(42, global::Google.Protobuf.Reflection.EnumDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto> enumType_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto> EnumType {
- get { return enumType_; }
- }
- public const int ServiceFieldNumber = 6;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.ServiceDescriptorProto> _repeated_service_codec
- = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.Reflection.ServiceDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.ServiceDescriptorProto> service_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.ServiceDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.ServiceDescriptorProto> Service {
- get { return service_; }
- }
- public const int ExtensionFieldNumber = 7;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.FieldDescriptorProto> _repeated_extension_codec
- = pb::FieldCodec.ForMessage(58, global::Google.Protobuf.Reflection.FieldDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> extension_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> Extension {
- get { return extension_; }
- }
- public const int OptionsFieldNumber = 8;
- private global::Google.Protobuf.Reflection.FileOptions options_;
- internal global::Google.Protobuf.Reflection.FileOptions Options {
- get { return options_; }
- set {
- options_ = value;
- }
- }
- public const int SourceCodeInfoFieldNumber = 9;
- private global::Google.Protobuf.Reflection.SourceCodeInfo sourceCodeInfo_;
- internal global::Google.Protobuf.Reflection.SourceCodeInfo SourceCodeInfo {
- get { return sourceCodeInfo_; }
- set {
- sourceCodeInfo_ = value;
- }
- }
- public const int SyntaxFieldNumber = 12;
- private string syntax_ = "";
- internal string Syntax {
- get { return syntax_; }
- set {
- syntax_ = value ?? "";
- }
- }
- public override bool Equals(object other) {
- return Equals(other as FileDescriptorProto);
- }
- public bool Equals(FileDescriptorProto other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Name != other.Name) return false;
- if (Package != other.Package) return false;
- if(!dependency_.Equals(other.dependency_)) return false;
- if(!publicDependency_.Equals(other.publicDependency_)) return false;
- if(!weakDependency_.Equals(other.weakDependency_)) return false;
- if(!messageType_.Equals(other.messageType_)) return false;
- if(!enumType_.Equals(other.enumType_)) return false;
- if(!service_.Equals(other.service_)) return false;
- if(!extension_.Equals(other.extension_)) return false;
- if (!object.Equals(Options, other.Options)) return false;
- if (!object.Equals(SourceCodeInfo, other.SourceCodeInfo)) return false;
- if (Syntax != other.Syntax) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Name.Length != 0) hash ^= Name.GetHashCode();
- if (Package.Length != 0) hash ^= Package.GetHashCode();
- hash ^= dependency_.GetHashCode();
- hash ^= publicDependency_.GetHashCode();
- hash ^= weakDependency_.GetHashCode();
- hash ^= messageType_.GetHashCode();
- hash ^= enumType_.GetHashCode();
- hash ^= service_.GetHashCode();
- hash ^= extension_.GetHashCode();
- if (options_ != null) hash ^= Options.GetHashCode();
- if (sourceCodeInfo_ != null) hash ^= SourceCodeInfo.GetHashCode();
- if (Syntax.Length != 0) hash ^= Syntax.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Name.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Name);
- }
- if (Package.Length != 0) {
- output.WriteRawTag(18);
- output.WriteString(Package);
- }
- dependency_.WriteTo(output, _repeated_dependency_codec);
- messageType_.WriteTo(output, _repeated_messageType_codec);
- enumType_.WriteTo(output, _repeated_enumType_codec);
- service_.WriteTo(output, _repeated_service_codec);
- extension_.WriteTo(output, _repeated_extension_codec);
- if (options_ != null) {
- output.WriteRawTag(66);
- output.WriteMessage(Options);
- }
- if (sourceCodeInfo_ != null) {
- output.WriteRawTag(74);
- output.WriteMessage(SourceCodeInfo);
- }
- publicDependency_.WriteTo(output, _repeated_publicDependency_codec);
- weakDependency_.WriteTo(output, _repeated_weakDependency_codec);
- if (Syntax.Length != 0) {
- output.WriteRawTag(98);
- output.WriteString(Syntax);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Name.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
- }
- if (Package.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Package);
- }
- size += dependency_.CalculateSize(_repeated_dependency_codec);
- size += publicDependency_.CalculateSize(_repeated_publicDependency_codec);
- size += weakDependency_.CalculateSize(_repeated_weakDependency_codec);
- size += messageType_.CalculateSize(_repeated_messageType_codec);
- size += enumType_.CalculateSize(_repeated_enumType_codec);
- size += service_.CalculateSize(_repeated_service_codec);
- size += extension_.CalculateSize(_repeated_extension_codec);
- if (options_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
- }
- if (sourceCodeInfo_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(SourceCodeInfo);
- }
- if (Syntax.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Syntax);
- }
- return size;
- }
- public void MergeFrom(FileDescriptorProto other) {
- if (other == null) {
- return;
- }
- if (other.Name.Length != 0) {
- Name = other.Name;
- }
- if (other.Package.Length != 0) {
- Package = other.Package;
- }
- dependency_.Add(other.dependency_);
- publicDependency_.Add(other.publicDependency_);
- weakDependency_.Add(other.weakDependency_);
- messageType_.Add(other.messageType_);
- enumType_.Add(other.enumType_);
- service_.Add(other.service_);
- extension_.Add(other.extension_);
- if (other.options_ != null) {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.FileOptions();
- }
- Options.MergeFrom(other.Options);
- }
- if (other.sourceCodeInfo_ != null) {
- if (sourceCodeInfo_ == null) {
- sourceCodeInfo_ = new global::Google.Protobuf.Reflection.SourceCodeInfo();
- }
- SourceCodeInfo.MergeFrom(other.SourceCodeInfo);
- }
- if (other.Syntax.Length != 0) {
- Syntax = other.Syntax;
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- Name = input.ReadString();
- break;
- }
- case 18: {
- Package = input.ReadString();
- break;
- }
- case 26: {
- dependency_.AddEntriesFrom(input, _repeated_dependency_codec);
- break;
- }
- case 34: {
- messageType_.AddEntriesFrom(input, _repeated_messageType_codec);
- break;
- }
- case 42: {
- enumType_.AddEntriesFrom(input, _repeated_enumType_codec);
- break;
- }
- case 50: {
- service_.AddEntriesFrom(input, _repeated_service_codec);
- break;
- }
- case 58: {
- extension_.AddEntriesFrom(input, _repeated_extension_codec);
- break;
- }
- case 66: {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.FileOptions();
- }
- input.ReadMessage(options_);
- break;
- }
- case 74: {
- if (sourceCodeInfo_ == null) {
- sourceCodeInfo_ = new global::Google.Protobuf.Reflection.SourceCodeInfo();
- }
- input.ReadMessage(sourceCodeInfo_);
- break;
- }
- case 82:
- case 80: {
- publicDependency_.AddEntriesFrom(input, _repeated_publicDependency_codec);
- break;
- }
- case 90:
- case 88: {
- weakDependency_.AddEntriesFrom(input, _repeated_weakDependency_codec);
- break;
- }
- case 98: {
- Syntax = input.ReadString();
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class DescriptorProto : pb::IMessage<DescriptorProto> {
- private static readonly pb::MessageParser<DescriptorProto> _parser = new pb::MessageParser<DescriptorProto>(() => new DescriptorProto());
- public static pb::MessageParser<DescriptorProto> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[2]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public DescriptorProto() {
- OnConstruction();
- }
- partial void OnConstruction();
- public DescriptorProto(DescriptorProto other) : this() {
- name_ = other.name_;
- field_ = other.field_.Clone();
- extension_ = other.extension_.Clone();
- nestedType_ = other.nestedType_.Clone();
- enumType_ = other.enumType_.Clone();
- extensionRange_ = other.extensionRange_.Clone();
- oneofDecl_ = other.oneofDecl_.Clone();
- Options = other.options_ != null ? other.Options.Clone() : null;
- reservedRange_ = other.reservedRange_.Clone();
- reservedName_ = other.reservedName_.Clone();
- }
- public DescriptorProto Clone() {
- return new DescriptorProto(this);
- }
- public const int NameFieldNumber = 1;
- private string name_ = "";
- internal string Name {
- get { return name_; }
- set {
- name_ = value ?? "";
- }
- }
- public const int FieldFieldNumber = 2;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.FieldDescriptorProto> _repeated_field_codec
- = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.FieldDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> field_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> Field {
- get { return field_; }
- }
- public const int ExtensionFieldNumber = 6;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.FieldDescriptorProto> _repeated_extension_codec
- = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.Reflection.FieldDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> extension_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> Extension {
- get { return extension_; }
- }
- public const int NestedTypeFieldNumber = 3;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.DescriptorProto> _repeated_nestedType_codec
- = pb::FieldCodec.ForMessage(26, global::Google.Protobuf.Reflection.DescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto> nestedType_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto> NestedType {
- get { return nestedType_; }
- }
- public const int EnumTypeFieldNumber = 4;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.EnumDescriptorProto> _repeated_enumType_codec
- = pb::FieldCodec.ForMessage(34, global::Google.Protobuf.Reflection.EnumDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto> enumType_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto> EnumType {
- get { return enumType_; }
- }
- public const int ExtensionRangeFieldNumber = 5;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange> _repeated_extensionRange_codec
- = pb::FieldCodec.ForMessage(42, global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange> extensionRange_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange> ExtensionRange {
- get { return extensionRange_; }
- }
- public const int OneofDeclFieldNumber = 8;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.OneofDescriptorProto> _repeated_oneofDecl_codec
- = pb::FieldCodec.ForMessage(66, global::Google.Protobuf.Reflection.OneofDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.OneofDescriptorProto> oneofDecl_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.OneofDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.OneofDescriptorProto> OneofDecl {
- get { return oneofDecl_; }
- }
- public const int OptionsFieldNumber = 7;
- private global::Google.Protobuf.Reflection.MessageOptions options_;
- internal global::Google.Protobuf.Reflection.MessageOptions Options {
- get { return options_; }
- set {
- options_ = value;
- }
- }
- public const int ReservedRangeFieldNumber = 9;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange> _repeated_reservedRange_codec
- = pb::FieldCodec.ForMessage(74, global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange> reservedRange_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange> ReservedRange {
- get { return reservedRange_; }
- }
- public const int ReservedNameFieldNumber = 10;
- private static readonly pb::FieldCodec<string> _repeated_reservedName_codec
- = pb::FieldCodec.ForString(82);
- private readonly pbc::RepeatedField<string> reservedName_ = new pbc::RepeatedField<string>();
- internal pbc::RepeatedField<string> ReservedName {
- get { return reservedName_; }
- }
- public override bool Equals(object other) {
- return Equals(other as DescriptorProto);
- }
- public bool Equals(DescriptorProto other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Name != other.Name) return false;
- if(!field_.Equals(other.field_)) return false;
- if(!extension_.Equals(other.extension_)) return false;
- if(!nestedType_.Equals(other.nestedType_)) return false;
- if(!enumType_.Equals(other.enumType_)) return false;
- if(!extensionRange_.Equals(other.extensionRange_)) return false;
- if(!oneofDecl_.Equals(other.oneofDecl_)) return false;
- if (!object.Equals(Options, other.Options)) return false;
- if(!reservedRange_.Equals(other.reservedRange_)) return false;
- if(!reservedName_.Equals(other.reservedName_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Name.Length != 0) hash ^= Name.GetHashCode();
- hash ^= field_.GetHashCode();
- hash ^= extension_.GetHashCode();
- hash ^= nestedType_.GetHashCode();
- hash ^= enumType_.GetHashCode();
- hash ^= extensionRange_.GetHashCode();
- hash ^= oneofDecl_.GetHashCode();
- if (options_ != null) hash ^= Options.GetHashCode();
- hash ^= reservedRange_.GetHashCode();
- hash ^= reservedName_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Name.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Name);
- }
- field_.WriteTo(output, _repeated_field_codec);
- nestedType_.WriteTo(output, _repeated_nestedType_codec);
- enumType_.WriteTo(output, _repeated_enumType_codec);
- extensionRange_.WriteTo(output, _repeated_extensionRange_codec);
- extension_.WriteTo(output, _repeated_extension_codec);
- if (options_ != null) {
- output.WriteRawTag(58);
- output.WriteMessage(Options);
- }
- oneofDecl_.WriteTo(output, _repeated_oneofDecl_codec);
- reservedRange_.WriteTo(output, _repeated_reservedRange_codec);
- reservedName_.WriteTo(output, _repeated_reservedName_codec);
- }
- public int CalculateSize() {
- int size = 0;
- if (Name.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
- }
- size += field_.CalculateSize(_repeated_field_codec);
- size += extension_.CalculateSize(_repeated_extension_codec);
- size += nestedType_.CalculateSize(_repeated_nestedType_codec);
- size += enumType_.CalculateSize(_repeated_enumType_codec);
- size += extensionRange_.CalculateSize(_repeated_extensionRange_codec);
- size += oneofDecl_.CalculateSize(_repeated_oneofDecl_codec);
- if (options_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
- }
- size += reservedRange_.CalculateSize(_repeated_reservedRange_codec);
- size += reservedName_.CalculateSize(_repeated_reservedName_codec);
- return size;
- }
- public void MergeFrom(DescriptorProto other) {
- if (other == null) {
- return;
- }
- if (other.Name.Length != 0) {
- Name = other.Name;
- }
- field_.Add(other.field_);
- extension_.Add(other.extension_);
- nestedType_.Add(other.nestedType_);
- enumType_.Add(other.enumType_);
- extensionRange_.Add(other.extensionRange_);
- oneofDecl_.Add(other.oneofDecl_);
- if (other.options_ != null) {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.MessageOptions();
- }
- Options.MergeFrom(other.Options);
- }
- reservedRange_.Add(other.reservedRange_);
- reservedName_.Add(other.reservedName_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- Name = input.ReadString();
- break;
- }
- case 18: {
- field_.AddEntriesFrom(input, _repeated_field_codec);
- break;
- }
- case 26: {
- nestedType_.AddEntriesFrom(input, _repeated_nestedType_codec);
- break;
- }
- case 34: {
- enumType_.AddEntriesFrom(input, _repeated_enumType_codec);
- break;
- }
- case 42: {
- extensionRange_.AddEntriesFrom(input, _repeated_extensionRange_codec);
- break;
- }
- case 50: {
- extension_.AddEntriesFrom(input, _repeated_extension_codec);
- break;
- }
- case 58: {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.MessageOptions();
- }
- input.ReadMessage(options_);
- break;
- }
- case 66: {
- oneofDecl_.AddEntriesFrom(input, _repeated_oneofDecl_codec);
- break;
- }
- case 74: {
- reservedRange_.AddEntriesFrom(input, _repeated_reservedRange_codec);
- break;
- }
- case 82: {
- reservedName_.AddEntriesFrom(input, _repeated_reservedName_codec);
- break;
- }
- }
- }
- }
- #region Nested types
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public static partial class Types {
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class ExtensionRange : pb::IMessage<ExtensionRange> {
- private static readonly pb::MessageParser<ExtensionRange> _parser = new pb::MessageParser<ExtensionRange>(() => new ExtensionRange());
- public static pb::MessageParser<ExtensionRange> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProto.Descriptor.NestedTypes[0]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public ExtensionRange() {
- OnConstruction();
- }
- partial void OnConstruction();
- public ExtensionRange(ExtensionRange other) : this() {
- start_ = other.start_;
- end_ = other.end_;
- }
- public ExtensionRange Clone() {
- return new ExtensionRange(this);
- }
- public const int StartFieldNumber = 1;
- private int start_;
- internal int Start {
- get { return start_; }
- set {
- start_ = value;
- }
- }
- public const int EndFieldNumber = 2;
- private int end_;
- internal int End {
- get { return end_; }
- set {
- end_ = value;
- }
- }
- public override bool Equals(object other) {
- return Equals(other as ExtensionRange);
- }
- public bool Equals(ExtensionRange other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Start != other.Start) return false;
- if (End != other.End) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Start != 0) hash ^= Start.GetHashCode();
- if (End != 0) hash ^= End.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Start != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(Start);
- }
- if (End != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(End);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Start != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start);
- }
- if (End != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(End);
- }
- return size;
- }
- public void MergeFrom(ExtensionRange other) {
- if (other == null) {
- return;
- }
- if (other.Start != 0) {
- Start = other.Start;
- }
- if (other.End != 0) {
- End = other.End;
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 8: {
- Start = input.ReadInt32();
- break;
- }
- case 16: {
- End = input.ReadInt32();
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class ReservedRange : pb::IMessage<ReservedRange> {
- private static readonly pb::MessageParser<ReservedRange> _parser = new pb::MessageParser<ReservedRange>(() => new ReservedRange());
- public static pb::MessageParser<ReservedRange> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProto.Descriptor.NestedTypes[1]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public ReservedRange() {
- OnConstruction();
- }
- partial void OnConstruction();
- public ReservedRange(ReservedRange other) : this() {
- start_ = other.start_;
- end_ = other.end_;
- }
- public ReservedRange Clone() {
- return new ReservedRange(this);
- }
- public const int StartFieldNumber = 1;
- private int start_;
- internal int Start {
- get { return start_; }
- set {
- start_ = value;
- }
- }
- public const int EndFieldNumber = 2;
- private int end_;
- internal int End {
- get { return end_; }
- set {
- end_ = value;
- }
- }
- public override bool Equals(object other) {
- return Equals(other as ReservedRange);
- }
- public bool Equals(ReservedRange other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Start != other.Start) return false;
- if (End != other.End) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Start != 0) hash ^= Start.GetHashCode();
- if (End != 0) hash ^= End.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Start != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(Start);
- }
- if (End != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(End);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Start != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start);
- }
- if (End != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(End);
- }
- return size;
- }
- public void MergeFrom(ReservedRange other) {
- if (other == null) {
- return;
- }
- if (other.Start != 0) {
- Start = other.Start;
- }
- if (other.End != 0) {
- End = other.End;
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 8: {
- Start = input.ReadInt32();
- break;
- }
- case 16: {
- End = input.ReadInt32();
- break;
- }
- }
- }
- }
- }
- }
- #endregion
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class FieldDescriptorProto : pb::IMessage<FieldDescriptorProto> {
- private static readonly pb::MessageParser<FieldDescriptorProto> _parser = new pb::MessageParser<FieldDescriptorProto>(() => new FieldDescriptorProto());
- public static pb::MessageParser<FieldDescriptorProto> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[3]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public FieldDescriptorProto() {
- OnConstruction();
- }
- partial void OnConstruction();
- public FieldDescriptorProto(FieldDescriptorProto other) : this() {
- name_ = other.name_;
- number_ = other.number_;
- label_ = other.label_;
- type_ = other.type_;
- typeName_ = other.typeName_;
- extendee_ = other.extendee_;
- defaultValue_ = other.defaultValue_;
- oneofIndex_ = other.oneofIndex_;
- Options = other.options_ != null ? other.Options.Clone() : null;
- }
- public FieldDescriptorProto Clone() {
- return new FieldDescriptorProto(this);
- }
- public const int NameFieldNumber = 1;
- private string name_ = "";
- internal string Name {
- get { return name_; }
- set {
- name_ = value ?? "";
- }
- }
- public const int NumberFieldNumber = 3;
- private int number_;
- internal int Number {
- get { return number_; }
- set {
- number_ = value;
- }
- }
- public const int LabelFieldNumber = 4;
- private global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label label_ = global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label.LABEL_OPTIONAL;
- internal global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label Label {
- get { return label_; }
- set {
- label_ = value;
- }
- }
- public const int TypeFieldNumber = 5;
- private global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type type_ = global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type.TYPE_DOUBLE;
- internal global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type Type {
- get { return type_; }
- set {
- type_ = value;
- }
- }
- public const int TypeNameFieldNumber = 6;
- private string typeName_ = "";
- internal string TypeName {
- get { return typeName_; }
- set {
- typeName_ = value ?? "";
- }
- }
- public const int ExtendeeFieldNumber = 2;
- private string extendee_ = "";
- internal string Extendee {
- get { return extendee_; }
- set {
- extendee_ = value ?? "";
- }
- }
- public const int DefaultValueFieldNumber = 7;
- private string defaultValue_ = "";
- internal string DefaultValue {
- get { return defaultValue_; }
- set {
- defaultValue_ = value ?? "";
- }
- }
- public const int OneofIndexFieldNumber = 9;
- private int oneofIndex_;
- internal int OneofIndex {
- get { return oneofIndex_; }
- set {
- oneofIndex_ = value;
- }
- }
- public const int OptionsFieldNumber = 8;
- private global::Google.Protobuf.Reflection.FieldOptions options_;
- internal global::Google.Protobuf.Reflection.FieldOptions Options {
- get { return options_; }
- set {
- options_ = value;
- }
- }
- public override bool Equals(object other) {
- return Equals(other as FieldDescriptorProto);
- }
- public bool Equals(FieldDescriptorProto other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Name != other.Name) return false;
- if (Number != other.Number) return false;
- if (Label != other.Label) return false;
- if (Type != other.Type) return false;
- if (TypeName != other.TypeName) return false;
- if (Extendee != other.Extendee) return false;
- if (DefaultValue != other.DefaultValue) return false;
- if (OneofIndex != other.OneofIndex) return false;
- if (!object.Equals(Options, other.Options)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Name.Length != 0) hash ^= Name.GetHashCode();
- if (Number != 0) hash ^= Number.GetHashCode();
- if (Label != global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label.LABEL_OPTIONAL) hash ^= Label.GetHashCode();
- if (Type != global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type.TYPE_DOUBLE) hash ^= Type.GetHashCode();
- if (TypeName.Length != 0) hash ^= TypeName.GetHashCode();
- if (Extendee.Length != 0) hash ^= Extendee.GetHashCode();
- if (DefaultValue.Length != 0) hash ^= DefaultValue.GetHashCode();
- if (OneofIndex != 0) hash ^= OneofIndex.GetHashCode();
- if (options_ != null) hash ^= Options.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Name.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Name);
- }
- if (Extendee.Length != 0) {
- output.WriteRawTag(18);
- output.WriteString(Extendee);
- }
- if (Number != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Number);
- }
- if (Label != global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label.LABEL_OPTIONAL) {
- output.WriteRawTag(32);
- output.WriteEnum((int) Label);
- }
- if (Type != global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type.TYPE_DOUBLE) {
- output.WriteRawTag(40);
- output.WriteEnum((int) Type);
- }
- if (TypeName.Length != 0) {
- output.WriteRawTag(50);
- output.WriteString(TypeName);
- }
- if (DefaultValue.Length != 0) {
- output.WriteRawTag(58);
- output.WriteString(DefaultValue);
- }
- if (options_ != null) {
- output.WriteRawTag(66);
- output.WriteMessage(Options);
- }
- if (OneofIndex != 0) {
- output.WriteRawTag(72);
- output.WriteInt32(OneofIndex);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Name.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
- }
- if (Number != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number);
- }
- if (Label != global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label.LABEL_OPTIONAL) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Label);
- }
- if (Type != global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type.TYPE_DOUBLE) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
- }
- if (TypeName.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(TypeName);
- }
- if (Extendee.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Extendee);
- }
- if (DefaultValue.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultValue);
- }
- if (OneofIndex != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(OneofIndex);
- }
- if (options_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
- }
- return size;
- }
- public void MergeFrom(FieldDescriptorProto other) {
- if (other == null) {
- return;
- }
- if (other.Name.Length != 0) {
- Name = other.Name;
- }
- if (other.Number != 0) {
- Number = other.Number;
- }
- if (other.Label != global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label.LABEL_OPTIONAL) {
- Label = other.Label;
- }
- if (other.Type != global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type.TYPE_DOUBLE) {
- Type = other.Type;
- }
- if (other.TypeName.Length != 0) {
- TypeName = other.TypeName;
- }
- if (other.Extendee.Length != 0) {
- Extendee = other.Extendee;
- }
- if (other.DefaultValue.Length != 0) {
- DefaultValue = other.DefaultValue;
- }
- if (other.OneofIndex != 0) {
- OneofIndex = other.OneofIndex;
- }
- if (other.options_ != null) {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.FieldOptions();
- }
- Options.MergeFrom(other.Options);
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- Name = input.ReadString();
- break;
- }
- case 18: {
- Extendee = input.ReadString();
- break;
- }
- case 24: {
- Number = input.ReadInt32();
- break;
- }
- case 32: {
- label_ = (global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label) input.ReadEnum();
- break;
- }
- case 40: {
- type_ = (global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type) input.ReadEnum();
- break;
- }
- case 50: {
- TypeName = input.ReadString();
- break;
- }
- case 58: {
- DefaultValue = input.ReadString();
- break;
- }
- case 66: {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.FieldOptions();
- }
- input.ReadMessage(options_);
- break;
- }
- case 72: {
- OneofIndex = input.ReadInt32();
- break;
- }
- }
- }
- }
- #region Nested types
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public static partial class Types {
- internal enum Type {
- TYPE_DOUBLE = 1,
- TYPE_FLOAT = 2,
- TYPE_INT64 = 3,
- TYPE_UINT64 = 4,
- TYPE_INT32 = 5,
- TYPE_FIXED64 = 6,
- TYPE_FIXED32 = 7,
- TYPE_BOOL = 8,
- TYPE_STRING = 9,
- TYPE_GROUP = 10,
- TYPE_MESSAGE = 11,
- TYPE_BYTES = 12,
- TYPE_UINT32 = 13,
- TYPE_ENUM = 14,
- TYPE_SFIXED32 = 15,
- TYPE_SFIXED64 = 16,
- TYPE_SINT32 = 17,
- TYPE_SINT64 = 18,
- }
- internal enum Label {
- LABEL_OPTIONAL = 1,
- LABEL_REQUIRED = 2,
- LABEL_REPEATED = 3,
- }
- }
- #endregion
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class OneofDescriptorProto : pb::IMessage<OneofDescriptorProto> {
- private static readonly pb::MessageParser<OneofDescriptorProto> _parser = new pb::MessageParser<OneofDescriptorProto>(() => new OneofDescriptorProto());
- public static pb::MessageParser<OneofDescriptorProto> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[4]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public OneofDescriptorProto() {
- OnConstruction();
- }
- partial void OnConstruction();
- public OneofDescriptorProto(OneofDescriptorProto other) : this() {
- name_ = other.name_;
- }
- public OneofDescriptorProto Clone() {
- return new OneofDescriptorProto(this);
- }
- public const int NameFieldNumber = 1;
- private string name_ = "";
- internal string Name {
- get { return name_; }
- set {
- name_ = value ?? "";
- }
- }
- public override bool Equals(object other) {
- return Equals(other as OneofDescriptorProto);
- }
- public bool Equals(OneofDescriptorProto other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Name != other.Name) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Name.Length != 0) hash ^= Name.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Name.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Name);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Name.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
- }
- return size;
- }
- public void MergeFrom(OneofDescriptorProto other) {
- if (other == null) {
- return;
- }
- if (other.Name.Length != 0) {
- Name = other.Name;
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- Name = input.ReadString();
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class EnumDescriptorProto : pb::IMessage<EnumDescriptorProto> {
- private static readonly pb::MessageParser<EnumDescriptorProto> _parser = new pb::MessageParser<EnumDescriptorProto>(() => new EnumDescriptorProto());
- public static pb::MessageParser<EnumDescriptorProto> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[5]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public EnumDescriptorProto() {
- OnConstruction();
- }
- partial void OnConstruction();
- public EnumDescriptorProto(EnumDescriptorProto other) : this() {
- name_ = other.name_;
- value_ = other.value_.Clone();
- Options = other.options_ != null ? other.Options.Clone() : null;
- }
- public EnumDescriptorProto Clone() {
- return new EnumDescriptorProto(this);
- }
- public const int NameFieldNumber = 1;
- private string name_ = "";
- internal string Name {
- get { return name_; }
- set {
- name_ = value ?? "";
- }
- }
- public const int ValueFieldNumber = 2;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.EnumValueDescriptorProto> _repeated_value_codec
- = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.EnumValueDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumValueDescriptorProto> value_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumValueDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumValueDescriptorProto> Value {
- get { return value_; }
- }
- public const int OptionsFieldNumber = 3;
- private global::Google.Protobuf.Reflection.EnumOptions options_;
- internal global::Google.Protobuf.Reflection.EnumOptions Options {
- get { return options_; }
- set {
- options_ = value;
- }
- }
- public override bool Equals(object other) {
- return Equals(other as EnumDescriptorProto);
- }
- public bool Equals(EnumDescriptorProto other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Name != other.Name) return false;
- if(!value_.Equals(other.value_)) return false;
- if (!object.Equals(Options, other.Options)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Name.Length != 0) hash ^= Name.GetHashCode();
- hash ^= value_.GetHashCode();
- if (options_ != null) hash ^= Options.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Name.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Name);
- }
- value_.WriteTo(output, _repeated_value_codec);
- if (options_ != null) {
- output.WriteRawTag(26);
- output.WriteMessage(Options);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Name.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
- }
- size += value_.CalculateSize(_repeated_value_codec);
- if (options_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
- }
- return size;
- }
- public void MergeFrom(EnumDescriptorProto other) {
- if (other == null) {
- return;
- }
- if (other.Name.Length != 0) {
- Name = other.Name;
- }
- value_.Add(other.value_);
- if (other.options_ != null) {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.EnumOptions();
- }
- Options.MergeFrom(other.Options);
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- Name = input.ReadString();
- break;
- }
- case 18: {
- value_.AddEntriesFrom(input, _repeated_value_codec);
- break;
- }
- case 26: {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.EnumOptions();
- }
- input.ReadMessage(options_);
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class EnumValueDescriptorProto : pb::IMessage<EnumValueDescriptorProto> {
- private static readonly pb::MessageParser<EnumValueDescriptorProto> _parser = new pb::MessageParser<EnumValueDescriptorProto>(() => new EnumValueDescriptorProto());
- public static pb::MessageParser<EnumValueDescriptorProto> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[6]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public EnumValueDescriptorProto() {
- OnConstruction();
- }
- partial void OnConstruction();
- public EnumValueDescriptorProto(EnumValueDescriptorProto other) : this() {
- name_ = other.name_;
- number_ = other.number_;
- Options = other.options_ != null ? other.Options.Clone() : null;
- }
- public EnumValueDescriptorProto Clone() {
- return new EnumValueDescriptorProto(this);
- }
- public const int NameFieldNumber = 1;
- private string name_ = "";
- internal string Name {
- get { return name_; }
- set {
- name_ = value ?? "";
- }
- }
- public const int NumberFieldNumber = 2;
- private int number_;
- internal int Number {
- get { return number_; }
- set {
- number_ = value;
- }
- }
- public const int OptionsFieldNumber = 3;
- private global::Google.Protobuf.Reflection.EnumValueOptions options_;
- internal global::Google.Protobuf.Reflection.EnumValueOptions Options {
- get { return options_; }
- set {
- options_ = value;
- }
- }
- public override bool Equals(object other) {
- return Equals(other as EnumValueDescriptorProto);
- }
- public bool Equals(EnumValueDescriptorProto other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Name != other.Name) return false;
- if (Number != other.Number) return false;
- if (!object.Equals(Options, other.Options)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Name.Length != 0) hash ^= Name.GetHashCode();
- if (Number != 0) hash ^= Number.GetHashCode();
- if (options_ != null) hash ^= Options.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Name.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Name);
- }
- if (Number != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Number);
- }
- if (options_ != null) {
- output.WriteRawTag(26);
- output.WriteMessage(Options);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Name.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
- }
- if (Number != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number);
- }
- if (options_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
- }
- return size;
- }
- public void MergeFrom(EnumValueDescriptorProto other) {
- if (other == null) {
- return;
- }
- if (other.Name.Length != 0) {
- Name = other.Name;
- }
- if (other.Number != 0) {
- Number = other.Number;
- }
- if (other.options_ != null) {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.EnumValueOptions();
- }
- Options.MergeFrom(other.Options);
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- Name = input.ReadString();
- break;
- }
- case 16: {
- Number = input.ReadInt32();
- break;
- }
- case 26: {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.EnumValueOptions();
- }
- input.ReadMessage(options_);
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class ServiceDescriptorProto : pb::IMessage<ServiceDescriptorProto> {
- private static readonly pb::MessageParser<ServiceDescriptorProto> _parser = new pb::MessageParser<ServiceDescriptorProto>(() => new ServiceDescriptorProto());
- public static pb::MessageParser<ServiceDescriptorProto> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[7]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public ServiceDescriptorProto() {
- OnConstruction();
- }
- partial void OnConstruction();
- public ServiceDescriptorProto(ServiceDescriptorProto other) : this() {
- name_ = other.name_;
- method_ = other.method_.Clone();
- Options = other.options_ != null ? other.Options.Clone() : null;
- }
- public ServiceDescriptorProto Clone() {
- return new ServiceDescriptorProto(this);
- }
- public const int NameFieldNumber = 1;
- private string name_ = "";
- internal string Name {
- get { return name_; }
- set {
- name_ = value ?? "";
- }
- }
- public const int MethodFieldNumber = 2;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.MethodDescriptorProto> _repeated_method_codec
- = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.MethodDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.MethodDescriptorProto> method_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.MethodDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.MethodDescriptorProto> Method {
- get { return method_; }
- }
- public const int OptionsFieldNumber = 3;
- private global::Google.Protobuf.Reflection.ServiceOptions options_;
- internal global::Google.Protobuf.Reflection.ServiceOptions Options {
- get { return options_; }
- set {
- options_ = value;
- }
- }
- public override bool Equals(object other) {
- return Equals(other as ServiceDescriptorProto);
- }
- public bool Equals(ServiceDescriptorProto other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Name != other.Name) return false;
- if(!method_.Equals(other.method_)) return false;
- if (!object.Equals(Options, other.Options)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Name.Length != 0) hash ^= Name.GetHashCode();
- hash ^= method_.GetHashCode();
- if (options_ != null) hash ^= Options.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Name.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Name);
- }
- method_.WriteTo(output, _repeated_method_codec);
- if (options_ != null) {
- output.WriteRawTag(26);
- output.WriteMessage(Options);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Name.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
- }
- size += method_.CalculateSize(_repeated_method_codec);
- if (options_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
- }
- return size;
- }
- public void MergeFrom(ServiceDescriptorProto other) {
- if (other == null) {
- return;
- }
- if (other.Name.Length != 0) {
- Name = other.Name;
- }
- method_.Add(other.method_);
- if (other.options_ != null) {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.ServiceOptions();
- }
- Options.MergeFrom(other.Options);
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- Name = input.ReadString();
- break;
- }
- case 18: {
- method_.AddEntriesFrom(input, _repeated_method_codec);
- break;
- }
- case 26: {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.ServiceOptions();
- }
- input.ReadMessage(options_);
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class MethodDescriptorProto : pb::IMessage<MethodDescriptorProto> {
- private static readonly pb::MessageParser<MethodDescriptorProto> _parser = new pb::MessageParser<MethodDescriptorProto>(() => new MethodDescriptorProto());
- public static pb::MessageParser<MethodDescriptorProto> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[8]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public MethodDescriptorProto() {
- OnConstruction();
- }
- partial void OnConstruction();
- public MethodDescriptorProto(MethodDescriptorProto other) : this() {
- name_ = other.name_;
- inputType_ = other.inputType_;
- outputType_ = other.outputType_;
- Options = other.options_ != null ? other.Options.Clone() : null;
- clientStreaming_ = other.clientStreaming_;
- serverStreaming_ = other.serverStreaming_;
- }
- public MethodDescriptorProto Clone() {
- return new MethodDescriptorProto(this);
- }
- public const int NameFieldNumber = 1;
- private string name_ = "";
- internal string Name {
- get { return name_; }
- set {
- name_ = value ?? "";
- }
- }
- public const int InputTypeFieldNumber = 2;
- private string inputType_ = "";
- internal string InputType {
- get { return inputType_; }
- set {
- inputType_ = value ?? "";
- }
- }
- public const int OutputTypeFieldNumber = 3;
- private string outputType_ = "";
- internal string OutputType {
- get { return outputType_; }
- set {
- outputType_ = value ?? "";
- }
- }
- public const int OptionsFieldNumber = 4;
- private global::Google.Protobuf.Reflection.MethodOptions options_;
- internal global::Google.Protobuf.Reflection.MethodOptions Options {
- get { return options_; }
- set {
- options_ = value;
- }
- }
- public const int ClientStreamingFieldNumber = 5;
- private bool clientStreaming_;
- internal bool ClientStreaming {
- get { return clientStreaming_; }
- set {
- clientStreaming_ = value;
- }
- }
- public const int ServerStreamingFieldNumber = 6;
- private bool serverStreaming_;
- internal bool ServerStreaming {
- get { return serverStreaming_; }
- set {
- serverStreaming_ = value;
- }
- }
- public override bool Equals(object other) {
- return Equals(other as MethodDescriptorProto);
- }
- public bool Equals(MethodDescriptorProto other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Name != other.Name) return false;
- if (InputType != other.InputType) return false;
- if (OutputType != other.OutputType) return false;
- if (!object.Equals(Options, other.Options)) return false;
- if (ClientStreaming != other.ClientStreaming) return false;
- if (ServerStreaming != other.ServerStreaming) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Name.Length != 0) hash ^= Name.GetHashCode();
- if (InputType.Length != 0) hash ^= InputType.GetHashCode();
- if (OutputType.Length != 0) hash ^= OutputType.GetHashCode();
- if (options_ != null) hash ^= Options.GetHashCode();
- if (ClientStreaming != false) hash ^= ClientStreaming.GetHashCode();
- if (ServerStreaming != false) hash ^= ServerStreaming.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Name.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Name);
- }
- if (InputType.Length != 0) {
- output.WriteRawTag(18);
- output.WriteString(InputType);
- }
- if (OutputType.Length != 0) {
- output.WriteRawTag(26);
- output.WriteString(OutputType);
- }
- if (options_ != null) {
- output.WriteRawTag(34);
- output.WriteMessage(Options);
- }
- if (ClientStreaming != false) {
- output.WriteRawTag(40);
- output.WriteBool(ClientStreaming);
- }
- if (ServerStreaming != false) {
- output.WriteRawTag(48);
- output.WriteBool(ServerStreaming);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Name.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
- }
- if (InputType.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(InputType);
- }
- if (OutputType.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(OutputType);
- }
- if (options_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
- }
- if (ClientStreaming != false) {
- size += 1 + 1;
- }
- if (ServerStreaming != false) {
- size += 1 + 1;
- }
- return size;
- }
- public void MergeFrom(MethodDescriptorProto other) {
- if (other == null) {
- return;
- }
- if (other.Name.Length != 0) {
- Name = other.Name;
- }
- if (other.InputType.Length != 0) {
- InputType = other.InputType;
- }
- if (other.OutputType.Length != 0) {
- OutputType = other.OutputType;
- }
- if (other.options_ != null) {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.MethodOptions();
- }
- Options.MergeFrom(other.Options);
- }
- if (other.ClientStreaming != false) {
- ClientStreaming = other.ClientStreaming;
- }
- if (other.ServerStreaming != false) {
- ServerStreaming = other.ServerStreaming;
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- Name = input.ReadString();
- break;
- }
- case 18: {
- InputType = input.ReadString();
- break;
- }
- case 26: {
- OutputType = input.ReadString();
- break;
- }
- case 34: {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.MethodOptions();
- }
- input.ReadMessage(options_);
- break;
- }
- case 40: {
- ClientStreaming = input.ReadBool();
- break;
- }
- case 48: {
- ServerStreaming = input.ReadBool();
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class FileOptions : pb::IMessage<FileOptions> {
- private static readonly pb::MessageParser<FileOptions> _parser = new pb::MessageParser<FileOptions>(() => new FileOptions());
- public static pb::MessageParser<FileOptions> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[9]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public FileOptions() {
- OnConstruction();
- }
- partial void OnConstruction();
- public FileOptions(FileOptions other) : this() {
- javaPackage_ = other.javaPackage_;
- javaOuterClassname_ = other.javaOuterClassname_;
- javaMultipleFiles_ = other.javaMultipleFiles_;
- javaGenerateEqualsAndHash_ = other.javaGenerateEqualsAndHash_;
- javaStringCheckUtf8_ = other.javaStringCheckUtf8_;
- optimizeFor_ = other.optimizeFor_;
- goPackage_ = other.goPackage_;
- ccGenericServices_ = other.ccGenericServices_;
- javaGenericServices_ = other.javaGenericServices_;
- pyGenericServices_ = other.pyGenericServices_;
- deprecated_ = other.deprecated_;
- ccEnableArenas_ = other.ccEnableArenas_;
- objcClassPrefix_ = other.objcClassPrefix_;
- csharpNamespace_ = other.csharpNamespace_;
- uninterpretedOption_ = other.uninterpretedOption_.Clone();
- }
- public FileOptions Clone() {
- return new FileOptions(this);
- }
- public const int JavaPackageFieldNumber = 1;
- private string javaPackage_ = "";
- internal string JavaPackage {
- get { return javaPackage_; }
- set {
- javaPackage_ = value ?? "";
- }
- }
- public const int JavaOuterClassnameFieldNumber = 8;
- private string javaOuterClassname_ = "";
- internal string JavaOuterClassname {
- get { return javaOuterClassname_; }
- set {
- javaOuterClassname_ = value ?? "";
- }
- }
- public const int JavaMultipleFilesFieldNumber = 10;
- private bool javaMultipleFiles_;
- internal bool JavaMultipleFiles {
- get { return javaMultipleFiles_; }
- set {
- javaMultipleFiles_ = value;
- }
- }
- public const int JavaGenerateEqualsAndHashFieldNumber = 20;
- private bool javaGenerateEqualsAndHash_;
- internal bool JavaGenerateEqualsAndHash {
- get { return javaGenerateEqualsAndHash_; }
- set {
- javaGenerateEqualsAndHash_ = value;
- }
- }
- public const int JavaStringCheckUtf8FieldNumber = 27;
- private bool javaStringCheckUtf8_;
- internal bool JavaStringCheckUtf8 {
- get { return javaStringCheckUtf8_; }
- set {
- javaStringCheckUtf8_ = value;
- }
- }
- public const int OptimizeForFieldNumber = 9;
- private global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode optimizeFor_ = global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode.SPEED;
- internal global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode OptimizeFor {
- get { return optimizeFor_; }
- set {
- optimizeFor_ = value;
- }
- }
- public const int GoPackageFieldNumber = 11;
- private string goPackage_ = "";
- internal string GoPackage {
- get { return goPackage_; }
- set {
- goPackage_ = value ?? "";
- }
- }
- public const int CcGenericServicesFieldNumber = 16;
- private bool ccGenericServices_;
- internal bool CcGenericServices {
- get { return ccGenericServices_; }
- set {
- ccGenericServices_ = value;
- }
- }
- public const int JavaGenericServicesFieldNumber = 17;
- private bool javaGenericServices_;
- internal bool JavaGenericServices {
- get { return javaGenericServices_; }
- set {
- javaGenericServices_ = value;
- }
- }
- public const int PyGenericServicesFieldNumber = 18;
- private bool pyGenericServices_;
- internal bool PyGenericServices {
- get { return pyGenericServices_; }
- set {
- pyGenericServices_ = value;
- }
- }
- public const int DeprecatedFieldNumber = 23;
- private bool deprecated_;
- internal bool Deprecated {
- get { return deprecated_; }
- set {
- deprecated_ = value;
- }
- }
- public const int CcEnableArenasFieldNumber = 31;
- private bool ccEnableArenas_;
- internal bool CcEnableArenas {
- get { return ccEnableArenas_; }
- set {
- ccEnableArenas_ = value;
- }
- }
- public const int ObjcClassPrefixFieldNumber = 36;
- private string objcClassPrefix_ = "";
- internal string ObjcClassPrefix {
- get { return objcClassPrefix_; }
- set {
- objcClassPrefix_ = value ?? "";
- }
- }
- public const int CsharpNamespaceFieldNumber = 37;
- private string csharpNamespace_ = "";
- internal string CsharpNamespace {
- get { return csharpNamespace_; }
- set {
- csharpNamespace_ = value ?? "";
- }
- }
- public const int UninterpretedOptionFieldNumber = 999;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
- = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
- get { return uninterpretedOption_; }
- }
- public override bool Equals(object other) {
- return Equals(other as FileOptions);
- }
- public bool Equals(FileOptions other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (JavaPackage != other.JavaPackage) return false;
- if (JavaOuterClassname != other.JavaOuterClassname) return false;
- if (JavaMultipleFiles != other.JavaMultipleFiles) return false;
- if (JavaGenerateEqualsAndHash != other.JavaGenerateEqualsAndHash) return false;
- if (JavaStringCheckUtf8 != other.JavaStringCheckUtf8) return false;
- if (OptimizeFor != other.OptimizeFor) return false;
- if (GoPackage != other.GoPackage) return false;
- if (CcGenericServices != other.CcGenericServices) return false;
- if (JavaGenericServices != other.JavaGenericServices) return false;
- if (PyGenericServices != other.PyGenericServices) return false;
- if (Deprecated != other.Deprecated) return false;
- if (CcEnableArenas != other.CcEnableArenas) return false;
- if (ObjcClassPrefix != other.ObjcClassPrefix) return false;
- if (CsharpNamespace != other.CsharpNamespace) return false;
- if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (JavaPackage.Length != 0) hash ^= JavaPackage.GetHashCode();
- if (JavaOuterClassname.Length != 0) hash ^= JavaOuterClassname.GetHashCode();
- if (JavaMultipleFiles != false) hash ^= JavaMultipleFiles.GetHashCode();
- if (JavaGenerateEqualsAndHash != false) hash ^= JavaGenerateEqualsAndHash.GetHashCode();
- if (JavaStringCheckUtf8 != false) hash ^= JavaStringCheckUtf8.GetHashCode();
- if (OptimizeFor != global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode.SPEED) hash ^= OptimizeFor.GetHashCode();
- if (GoPackage.Length != 0) hash ^= GoPackage.GetHashCode();
- if (CcGenericServices != false) hash ^= CcGenericServices.GetHashCode();
- if (JavaGenericServices != false) hash ^= JavaGenericServices.GetHashCode();
- if (PyGenericServices != false) hash ^= PyGenericServices.GetHashCode();
- if (Deprecated != false) hash ^= Deprecated.GetHashCode();
- if (CcEnableArenas != false) hash ^= CcEnableArenas.GetHashCode();
- if (ObjcClassPrefix.Length != 0) hash ^= ObjcClassPrefix.GetHashCode();
- if (CsharpNamespace.Length != 0) hash ^= CsharpNamespace.GetHashCode();
- hash ^= uninterpretedOption_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (JavaPackage.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(JavaPackage);
- }
- if (JavaOuterClassname.Length != 0) {
- output.WriteRawTag(66);
- output.WriteString(JavaOuterClassname);
- }
- if (OptimizeFor != global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode.SPEED) {
- output.WriteRawTag(72);
- output.WriteEnum((int) OptimizeFor);
- }
- if (JavaMultipleFiles != false) {
- output.WriteRawTag(80);
- output.WriteBool(JavaMultipleFiles);
- }
- if (GoPackage.Length != 0) {
- output.WriteRawTag(90);
- output.WriteString(GoPackage);
- }
- if (CcGenericServices != false) {
- output.WriteRawTag(128, 1);
- output.WriteBool(CcGenericServices);
- }
- if (JavaGenericServices != false) {
- output.WriteRawTag(136, 1);
- output.WriteBool(JavaGenericServices);
- }
- if (PyGenericServices != false) {
- output.WriteRawTag(144, 1);
- output.WriteBool(PyGenericServices);
- }
- if (JavaGenerateEqualsAndHash != false) {
- output.WriteRawTag(160, 1);
- output.WriteBool(JavaGenerateEqualsAndHash);
- }
- if (Deprecated != false) {
- output.WriteRawTag(184, 1);
- output.WriteBool(Deprecated);
- }
- if (JavaStringCheckUtf8 != false) {
- output.WriteRawTag(216, 1);
- output.WriteBool(JavaStringCheckUtf8);
- }
- if (CcEnableArenas != false) {
- output.WriteRawTag(248, 1);
- output.WriteBool(CcEnableArenas);
- }
- if (ObjcClassPrefix.Length != 0) {
- output.WriteRawTag(162, 2);
- output.WriteString(ObjcClassPrefix);
- }
- if (CsharpNamespace.Length != 0) {
- output.WriteRawTag(170, 2);
- output.WriteString(CsharpNamespace);
- }
- uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
- }
- public int CalculateSize() {
- int size = 0;
- if (JavaPackage.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(JavaPackage);
- }
- if (JavaOuterClassname.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(JavaOuterClassname);
- }
- if (JavaMultipleFiles != false) {
- size += 1 + 1;
- }
- if (JavaGenerateEqualsAndHash != false) {
- size += 2 + 1;
- }
- if (JavaStringCheckUtf8 != false) {
- size += 2 + 1;
- }
- if (OptimizeFor != global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode.SPEED) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OptimizeFor);
- }
- if (GoPackage.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(GoPackage);
- }
- if (CcGenericServices != false) {
- size += 2 + 1;
- }
- if (JavaGenericServices != false) {
- size += 2 + 1;
- }
- if (PyGenericServices != false) {
- size += 2 + 1;
- }
- if (Deprecated != false) {
- size += 2 + 1;
- }
- if (CcEnableArenas != false) {
- size += 2 + 1;
- }
- if (ObjcClassPrefix.Length != 0) {
- size += 2 + pb::CodedOutputStream.ComputeStringSize(ObjcClassPrefix);
- }
- if (CsharpNamespace.Length != 0) {
- size += 2 + pb::CodedOutputStream.ComputeStringSize(CsharpNamespace);
- }
- size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
- return size;
- }
- public void MergeFrom(FileOptions other) {
- if (other == null) {
- return;
- }
- if (other.JavaPackage.Length != 0) {
- JavaPackage = other.JavaPackage;
- }
- if (other.JavaOuterClassname.Length != 0) {
- JavaOuterClassname = other.JavaOuterClassname;
- }
- if (other.JavaMultipleFiles != false) {
- JavaMultipleFiles = other.JavaMultipleFiles;
- }
- if (other.JavaGenerateEqualsAndHash != false) {
- JavaGenerateEqualsAndHash = other.JavaGenerateEqualsAndHash;
- }
- if (other.JavaStringCheckUtf8 != false) {
- JavaStringCheckUtf8 = other.JavaStringCheckUtf8;
- }
- if (other.OptimizeFor != global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode.SPEED) {
- OptimizeFor = other.OptimizeFor;
- }
- if (other.GoPackage.Length != 0) {
- GoPackage = other.GoPackage;
- }
- if (other.CcGenericServices != false) {
- CcGenericServices = other.CcGenericServices;
- }
- if (other.JavaGenericServices != false) {
- JavaGenericServices = other.JavaGenericServices;
- }
- if (other.PyGenericServices != false) {
- PyGenericServices = other.PyGenericServices;
- }
- if (other.Deprecated != false) {
- Deprecated = other.Deprecated;
- }
- if (other.CcEnableArenas != false) {
- CcEnableArenas = other.CcEnableArenas;
- }
- if (other.ObjcClassPrefix.Length != 0) {
- ObjcClassPrefix = other.ObjcClassPrefix;
- }
- if (other.CsharpNamespace.Length != 0) {
- CsharpNamespace = other.CsharpNamespace;
- }
- uninterpretedOption_.Add(other.uninterpretedOption_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- JavaPackage = input.ReadString();
- break;
- }
- case 66: {
- JavaOuterClassname = input.ReadString();
- break;
- }
- case 72: {
- optimizeFor_ = (global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode) input.ReadEnum();
- break;
- }
- case 80: {
- JavaMultipleFiles = input.ReadBool();
- break;
- }
- case 90: {
- GoPackage = input.ReadString();
- break;
- }
- case 128: {
- CcGenericServices = input.ReadBool();
- break;
- }
- case 136: {
- JavaGenericServices = input.ReadBool();
- break;
- }
- case 144: {
- PyGenericServices = input.ReadBool();
- break;
- }
- case 160: {
- JavaGenerateEqualsAndHash = input.ReadBool();
- break;
- }
- case 184: {
- Deprecated = input.ReadBool();
- break;
- }
- case 216: {
- JavaStringCheckUtf8 = input.ReadBool();
- break;
- }
- case 248: {
- CcEnableArenas = input.ReadBool();
- break;
- }
- case 290: {
- ObjcClassPrefix = input.ReadString();
- break;
- }
- case 298: {
- CsharpNamespace = input.ReadString();
- break;
- }
- case 7994: {
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
- break;
- }
- }
- }
- }
- #region Nested types
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public static partial class Types {
- internal enum OptimizeMode {
- SPEED = 1,
- CODE_SIZE = 2,
- LITE_RUNTIME = 3,
- }
- }
- #endregion
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class MessageOptions : pb::IMessage<MessageOptions> {
- private static readonly pb::MessageParser<MessageOptions> _parser = new pb::MessageParser<MessageOptions>(() => new MessageOptions());
- public static pb::MessageParser<MessageOptions> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[10]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public MessageOptions() {
- OnConstruction();
- }
- partial void OnConstruction();
- public MessageOptions(MessageOptions other) : this() {
- messageSetWireFormat_ = other.messageSetWireFormat_;
- noStandardDescriptorAccessor_ = other.noStandardDescriptorAccessor_;
- deprecated_ = other.deprecated_;
- mapEntry_ = other.mapEntry_;
- uninterpretedOption_ = other.uninterpretedOption_.Clone();
- }
- public MessageOptions Clone() {
- return new MessageOptions(this);
- }
- public const int MessageSetWireFormatFieldNumber = 1;
- private bool messageSetWireFormat_;
- internal bool MessageSetWireFormat {
- get { return messageSetWireFormat_; }
- set {
- messageSetWireFormat_ = value;
- }
- }
- public const int NoStandardDescriptorAccessorFieldNumber = 2;
- private bool noStandardDescriptorAccessor_;
- internal bool NoStandardDescriptorAccessor {
- get { return noStandardDescriptorAccessor_; }
- set {
- noStandardDescriptorAccessor_ = value;
- }
- }
- public const int DeprecatedFieldNumber = 3;
- private bool deprecated_;
- internal bool Deprecated {
- get { return deprecated_; }
- set {
- deprecated_ = value;
- }
- }
- public const int MapEntryFieldNumber = 7;
- private bool mapEntry_;
- internal bool MapEntry {
- get { return mapEntry_; }
- set {
- mapEntry_ = value;
- }
- }
- public const int UninterpretedOptionFieldNumber = 999;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
- = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
- get { return uninterpretedOption_; }
- }
- public override bool Equals(object other) {
- return Equals(other as MessageOptions);
- }
- public bool Equals(MessageOptions other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (MessageSetWireFormat != other.MessageSetWireFormat) return false;
- if (NoStandardDescriptorAccessor != other.NoStandardDescriptorAccessor) return false;
- if (Deprecated != other.Deprecated) return false;
- if (MapEntry != other.MapEntry) return false;
- if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (MessageSetWireFormat != false) hash ^= MessageSetWireFormat.GetHashCode();
- if (NoStandardDescriptorAccessor != false) hash ^= NoStandardDescriptorAccessor.GetHashCode();
- if (Deprecated != false) hash ^= Deprecated.GetHashCode();
- if (MapEntry != false) hash ^= MapEntry.GetHashCode();
- hash ^= uninterpretedOption_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (MessageSetWireFormat != false) {
- output.WriteRawTag(8);
- output.WriteBool(MessageSetWireFormat);
- }
- if (NoStandardDescriptorAccessor != false) {
- output.WriteRawTag(16);
- output.WriteBool(NoStandardDescriptorAccessor);
- }
- if (Deprecated != false) {
- output.WriteRawTag(24);
- output.WriteBool(Deprecated);
- }
- if (MapEntry != false) {
- output.WriteRawTag(56);
- output.WriteBool(MapEntry);
- }
- uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
- }
- public int CalculateSize() {
- int size = 0;
- if (MessageSetWireFormat != false) {
- size += 1 + 1;
- }
- if (NoStandardDescriptorAccessor != false) {
- size += 1 + 1;
- }
- if (Deprecated != false) {
- size += 1 + 1;
- }
- if (MapEntry != false) {
- size += 1 + 1;
- }
- size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
- return size;
- }
- public void MergeFrom(MessageOptions other) {
- if (other == null) {
- return;
- }
- if (other.MessageSetWireFormat != false) {
- MessageSetWireFormat = other.MessageSetWireFormat;
- }
- if (other.NoStandardDescriptorAccessor != false) {
- NoStandardDescriptorAccessor = other.NoStandardDescriptorAccessor;
- }
- if (other.Deprecated != false) {
- Deprecated = other.Deprecated;
- }
- if (other.MapEntry != false) {
- MapEntry = other.MapEntry;
- }
- uninterpretedOption_.Add(other.uninterpretedOption_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 8: {
- MessageSetWireFormat = input.ReadBool();
- break;
- }
- case 16: {
- NoStandardDescriptorAccessor = input.ReadBool();
- break;
- }
- case 24: {
- Deprecated = input.ReadBool();
- break;
- }
- case 56: {
- MapEntry = input.ReadBool();
- break;
- }
- case 7994: {
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class FieldOptions : pb::IMessage<FieldOptions> {
- private static readonly pb::MessageParser<FieldOptions> _parser = new pb::MessageParser<FieldOptions>(() => new FieldOptions());
- public static pb::MessageParser<FieldOptions> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[11]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public FieldOptions() {
- OnConstruction();
- }
- partial void OnConstruction();
- public FieldOptions(FieldOptions other) : this() {
- ctype_ = other.ctype_;
- packed_ = other.packed_;
- jstype_ = other.jstype_;
- lazy_ = other.lazy_;
- deprecated_ = other.deprecated_;
- weak_ = other.weak_;
- uninterpretedOption_ = other.uninterpretedOption_.Clone();
- }
- public FieldOptions Clone() {
- return new FieldOptions(this);
- }
- public const int CtypeFieldNumber = 1;
- private global::Google.Protobuf.Reflection.FieldOptions.Types.CType ctype_ = global::Google.Protobuf.Reflection.FieldOptions.Types.CType.STRING;
- internal global::Google.Protobuf.Reflection.FieldOptions.Types.CType Ctype {
- get { return ctype_; }
- set {
- ctype_ = value;
- }
- }
- public const int PackedFieldNumber = 2;
- private bool packed_;
- internal bool Packed {
- get { return packed_; }
- set {
- packed_ = value;
- }
- }
- public const int JstypeFieldNumber = 6;
- private global::Google.Protobuf.Reflection.FieldOptions.Types.JSType jstype_ = global::Google.Protobuf.Reflection.FieldOptions.Types.JSType.JS_NORMAL;
- internal global::Google.Protobuf.Reflection.FieldOptions.Types.JSType Jstype {
- get { return jstype_; }
- set {
- jstype_ = value;
- }
- }
- public const int LazyFieldNumber = 5;
- private bool lazy_;
- internal bool Lazy {
- get { return lazy_; }
- set {
- lazy_ = value;
- }
- }
- public const int DeprecatedFieldNumber = 3;
- private bool deprecated_;
- internal bool Deprecated {
- get { return deprecated_; }
- set {
- deprecated_ = value;
- }
- }
- public const int WeakFieldNumber = 10;
- private bool weak_;
- internal bool Weak {
- get { return weak_; }
- set {
- weak_ = value;
- }
- }
- public const int UninterpretedOptionFieldNumber = 999;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
- = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
- get { return uninterpretedOption_; }
- }
- public override bool Equals(object other) {
- return Equals(other as FieldOptions);
- }
- public bool Equals(FieldOptions other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Ctype != other.Ctype) return false;
- if (Packed != other.Packed) return false;
- if (Jstype != other.Jstype) return false;
- if (Lazy != other.Lazy) return false;
- if (Deprecated != other.Deprecated) return false;
- if (Weak != other.Weak) return false;
- if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Ctype != global::Google.Protobuf.Reflection.FieldOptions.Types.CType.STRING) hash ^= Ctype.GetHashCode();
- if (Packed != false) hash ^= Packed.GetHashCode();
- if (Jstype != global::Google.Protobuf.Reflection.FieldOptions.Types.JSType.JS_NORMAL) hash ^= Jstype.GetHashCode();
- if (Lazy != false) hash ^= Lazy.GetHashCode();
- if (Deprecated != false) hash ^= Deprecated.GetHashCode();
- if (Weak != false) hash ^= Weak.GetHashCode();
- hash ^= uninterpretedOption_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Ctype != global::Google.Protobuf.Reflection.FieldOptions.Types.CType.STRING) {
- output.WriteRawTag(8);
- output.WriteEnum((int) Ctype);
- }
- if (Packed != false) {
- output.WriteRawTag(16);
- output.WriteBool(Packed);
- }
- if (Deprecated != false) {
- output.WriteRawTag(24);
- output.WriteBool(Deprecated);
- }
- if (Lazy != false) {
- output.WriteRawTag(40);
- output.WriteBool(Lazy);
- }
- if (Jstype != global::Google.Protobuf.Reflection.FieldOptions.Types.JSType.JS_NORMAL) {
- output.WriteRawTag(48);
- output.WriteEnum((int) Jstype);
- }
- if (Weak != false) {
- output.WriteRawTag(80);
- output.WriteBool(Weak);
- }
- uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
- }
- public int CalculateSize() {
- int size = 0;
- if (Ctype != global::Google.Protobuf.Reflection.FieldOptions.Types.CType.STRING) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Ctype);
- }
- if (Packed != false) {
- size += 1 + 1;
- }
- if (Jstype != global::Google.Protobuf.Reflection.FieldOptions.Types.JSType.JS_NORMAL) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Jstype);
- }
- if (Lazy != false) {
- size += 1 + 1;
- }
- if (Deprecated != false) {
- size += 1 + 1;
- }
- if (Weak != false) {
- size += 1 + 1;
- }
- size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
- return size;
- }
- public void MergeFrom(FieldOptions other) {
- if (other == null) {
- return;
- }
- if (other.Ctype != global::Google.Protobuf.Reflection.FieldOptions.Types.CType.STRING) {
- Ctype = other.Ctype;
- }
- if (other.Packed != false) {
- Packed = other.Packed;
- }
- if (other.Jstype != global::Google.Protobuf.Reflection.FieldOptions.Types.JSType.JS_NORMAL) {
- Jstype = other.Jstype;
- }
- if (other.Lazy != false) {
- Lazy = other.Lazy;
- }
- if (other.Deprecated != false) {
- Deprecated = other.Deprecated;
- }
- if (other.Weak != false) {
- Weak = other.Weak;
- }
- uninterpretedOption_.Add(other.uninterpretedOption_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 8: {
- ctype_ = (global::Google.Protobuf.Reflection.FieldOptions.Types.CType) input.ReadEnum();
- break;
- }
- case 16: {
- Packed = input.ReadBool();
- break;
- }
- case 24: {
- Deprecated = input.ReadBool();
- break;
- }
- case 40: {
- Lazy = input.ReadBool();
- break;
- }
- case 48: {
- jstype_ = (global::Google.Protobuf.Reflection.FieldOptions.Types.JSType) input.ReadEnum();
- break;
- }
- case 80: {
- Weak = input.ReadBool();
- break;
- }
- case 7994: {
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
- break;
- }
- }
- }
- }
- #region Nested types
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public static partial class Types {
- internal enum CType {
- STRING = 0,
- CORD = 1,
- STRING_PIECE = 2,
- }
- internal enum JSType {
- JS_NORMAL = 0,
- JS_STRING = 1,
- JS_NUMBER = 2,
- }
- }
- #endregion
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class EnumOptions : pb::IMessage<EnumOptions> {
- private static readonly pb::MessageParser<EnumOptions> _parser = new pb::MessageParser<EnumOptions>(() => new EnumOptions());
- public static pb::MessageParser<EnumOptions> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[12]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public EnumOptions() {
- OnConstruction();
- }
- partial void OnConstruction();
- public EnumOptions(EnumOptions other) : this() {
- allowAlias_ = other.allowAlias_;
- deprecated_ = other.deprecated_;
- uninterpretedOption_ = other.uninterpretedOption_.Clone();
- }
- public EnumOptions Clone() {
- return new EnumOptions(this);
- }
- public const int AllowAliasFieldNumber = 2;
- private bool allowAlias_;
- internal bool AllowAlias {
- get { return allowAlias_; }
- set {
- allowAlias_ = value;
- }
- }
- public const int DeprecatedFieldNumber = 3;
- private bool deprecated_;
- internal bool Deprecated {
- get { return deprecated_; }
- set {
- deprecated_ = value;
- }
- }
- public const int UninterpretedOptionFieldNumber = 999;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
- = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
- get { return uninterpretedOption_; }
- }
- public override bool Equals(object other) {
- return Equals(other as EnumOptions);
- }
- public bool Equals(EnumOptions other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (AllowAlias != other.AllowAlias) return false;
- if (Deprecated != other.Deprecated) return false;
- if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (AllowAlias != false) hash ^= AllowAlias.GetHashCode();
- if (Deprecated != false) hash ^= Deprecated.GetHashCode();
- hash ^= uninterpretedOption_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (AllowAlias != false) {
- output.WriteRawTag(16);
- output.WriteBool(AllowAlias);
- }
- if (Deprecated != false) {
- output.WriteRawTag(24);
- output.WriteBool(Deprecated);
- }
- uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
- }
- public int CalculateSize() {
- int size = 0;
- if (AllowAlias != false) {
- size += 1 + 1;
- }
- if (Deprecated != false) {
- size += 1 + 1;
- }
- size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
- return size;
- }
- public void MergeFrom(EnumOptions other) {
- if (other == null) {
- return;
- }
- if (other.AllowAlias != false) {
- AllowAlias = other.AllowAlias;
- }
- if (other.Deprecated != false) {
- Deprecated = other.Deprecated;
- }
- uninterpretedOption_.Add(other.uninterpretedOption_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 16: {
- AllowAlias = input.ReadBool();
- break;
- }
- case 24: {
- Deprecated = input.ReadBool();
- break;
- }
- case 7994: {
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class EnumValueOptions : pb::IMessage<EnumValueOptions> {
- private static readonly pb::MessageParser<EnumValueOptions> _parser = new pb::MessageParser<EnumValueOptions>(() => new EnumValueOptions());
- public static pb::MessageParser<EnumValueOptions> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[13]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public EnumValueOptions() {
- OnConstruction();
- }
- partial void OnConstruction();
- public EnumValueOptions(EnumValueOptions other) : this() {
- deprecated_ = other.deprecated_;
- uninterpretedOption_ = other.uninterpretedOption_.Clone();
- }
- public EnumValueOptions Clone() {
- return new EnumValueOptions(this);
- }
- public const int DeprecatedFieldNumber = 1;
- private bool deprecated_;
- internal bool Deprecated {
- get { return deprecated_; }
- set {
- deprecated_ = value;
- }
- }
- public const int UninterpretedOptionFieldNumber = 999;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
- = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
- get { return uninterpretedOption_; }
- }
- public override bool Equals(object other) {
- return Equals(other as EnumValueOptions);
- }
- public bool Equals(EnumValueOptions other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Deprecated != other.Deprecated) return false;
- if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Deprecated != false) hash ^= Deprecated.GetHashCode();
- hash ^= uninterpretedOption_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Deprecated != false) {
- output.WriteRawTag(8);
- output.WriteBool(Deprecated);
- }
- uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
- }
- public int CalculateSize() {
- int size = 0;
- if (Deprecated != false) {
- size += 1 + 1;
- }
- size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
- return size;
- }
- public void MergeFrom(EnumValueOptions other) {
- if (other == null) {
- return;
- }
- if (other.Deprecated != false) {
- Deprecated = other.Deprecated;
- }
- uninterpretedOption_.Add(other.uninterpretedOption_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 8: {
- Deprecated = input.ReadBool();
- break;
- }
- case 7994: {
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class ServiceOptions : pb::IMessage<ServiceOptions> {
- private static readonly pb::MessageParser<ServiceOptions> _parser = new pb::MessageParser<ServiceOptions>(() => new ServiceOptions());
- public static pb::MessageParser<ServiceOptions> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[14]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public ServiceOptions() {
- OnConstruction();
- }
- partial void OnConstruction();
- public ServiceOptions(ServiceOptions other) : this() {
- deprecated_ = other.deprecated_;
- uninterpretedOption_ = other.uninterpretedOption_.Clone();
- }
- public ServiceOptions Clone() {
- return new ServiceOptions(this);
- }
- public const int DeprecatedFieldNumber = 33;
- private bool deprecated_;
- internal bool Deprecated {
- get { return deprecated_; }
- set {
- deprecated_ = value;
- }
- }
- public const int UninterpretedOptionFieldNumber = 999;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
- = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
- get { return uninterpretedOption_; }
- }
- public override bool Equals(object other) {
- return Equals(other as ServiceOptions);
- }
- public bool Equals(ServiceOptions other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Deprecated != other.Deprecated) return false;
- if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Deprecated != false) hash ^= Deprecated.GetHashCode();
- hash ^= uninterpretedOption_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Deprecated != false) {
- output.WriteRawTag(136, 2);
- output.WriteBool(Deprecated);
- }
- uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
- }
- public int CalculateSize() {
- int size = 0;
- if (Deprecated != false) {
- size += 2 + 1;
- }
- size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
- return size;
- }
- public void MergeFrom(ServiceOptions other) {
- if (other == null) {
- return;
- }
- if (other.Deprecated != false) {
- Deprecated = other.Deprecated;
- }
- uninterpretedOption_.Add(other.uninterpretedOption_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 264: {
- Deprecated = input.ReadBool();
- break;
- }
- case 7994: {
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class MethodOptions : pb::IMessage<MethodOptions> {
- private static readonly pb::MessageParser<MethodOptions> _parser = new pb::MessageParser<MethodOptions>(() => new MethodOptions());
- public static pb::MessageParser<MethodOptions> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[15]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public MethodOptions() {
- OnConstruction();
- }
- partial void OnConstruction();
- public MethodOptions(MethodOptions other) : this() {
- deprecated_ = other.deprecated_;
- uninterpretedOption_ = other.uninterpretedOption_.Clone();
- }
- public MethodOptions Clone() {
- return new MethodOptions(this);
- }
- public const int DeprecatedFieldNumber = 33;
- private bool deprecated_;
- internal bool Deprecated {
- get { return deprecated_; }
- set {
- deprecated_ = value;
- }
- }
- public const int UninterpretedOptionFieldNumber = 999;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
- = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
- get { return uninterpretedOption_; }
- }
- public override bool Equals(object other) {
- return Equals(other as MethodOptions);
- }
- public bool Equals(MethodOptions other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Deprecated != other.Deprecated) return false;
- if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Deprecated != false) hash ^= Deprecated.GetHashCode();
- hash ^= uninterpretedOption_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Deprecated != false) {
- output.WriteRawTag(136, 2);
- output.WriteBool(Deprecated);
- }
- uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
- }
- public int CalculateSize() {
- int size = 0;
- if (Deprecated != false) {
- size += 2 + 1;
- }
- size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
- return size;
- }
- public void MergeFrom(MethodOptions other) {
- if (other == null) {
- return;
- }
- if (other.Deprecated != false) {
- Deprecated = other.Deprecated;
- }
- uninterpretedOption_.Add(other.uninterpretedOption_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 264: {
- Deprecated = input.ReadBool();
- break;
- }
- case 7994: {
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class UninterpretedOption : pb::IMessage<UninterpretedOption> {
- private static readonly pb::MessageParser<UninterpretedOption> _parser = new pb::MessageParser<UninterpretedOption>(() => new UninterpretedOption());
- public static pb::MessageParser<UninterpretedOption> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[16]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public UninterpretedOption() {
- OnConstruction();
- }
- partial void OnConstruction();
- public UninterpretedOption(UninterpretedOption other) : this() {
- name_ = other.name_.Clone();
- identifierValue_ = other.identifierValue_;
- positiveIntValue_ = other.positiveIntValue_;
- negativeIntValue_ = other.negativeIntValue_;
- doubleValue_ = other.doubleValue_;
- stringValue_ = other.stringValue_;
- aggregateValue_ = other.aggregateValue_;
- }
- public UninterpretedOption Clone() {
- return new UninterpretedOption(this);
- }
- public const int NameFieldNumber = 2;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart> _repeated_name_codec
- = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart> name_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart> Name {
- get { return name_; }
- }
- public const int IdentifierValueFieldNumber = 3;
- private string identifierValue_ = "";
- internal string IdentifierValue {
- get { return identifierValue_; }
- set {
- identifierValue_ = value ?? "";
- }
- }
- public const int PositiveIntValueFieldNumber = 4;
- private ulong positiveIntValue_;
- internal ulong PositiveIntValue {
- get { return positiveIntValue_; }
- set {
- positiveIntValue_ = value;
- }
- }
- public const int NegativeIntValueFieldNumber = 5;
- private long negativeIntValue_;
- internal long NegativeIntValue {
- get { return negativeIntValue_; }
- set {
- negativeIntValue_ = value;
- }
- }
- public const int DoubleValueFieldNumber = 6;
- private double doubleValue_;
- internal double DoubleValue {
- get { return doubleValue_; }
- set {
- doubleValue_ = value;
- }
- }
- public const int StringValueFieldNumber = 7;
- private pb::ByteString stringValue_ = pb::ByteString.Empty;
- internal pb::ByteString StringValue {
- get { return stringValue_; }
- set {
- stringValue_ = value ?? pb::ByteString.Empty;
- }
- }
- public const int AggregateValueFieldNumber = 8;
- private string aggregateValue_ = "";
- internal string AggregateValue {
- get { return aggregateValue_; }
- set {
- aggregateValue_ = value ?? "";
- }
- }
- public override bool Equals(object other) {
- return Equals(other as UninterpretedOption);
- }
- public bool Equals(UninterpretedOption other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if(!name_.Equals(other.name_)) return false;
- if (IdentifierValue != other.IdentifierValue) return false;
- if (PositiveIntValue != other.PositiveIntValue) return false;
- if (NegativeIntValue != other.NegativeIntValue) return false;
- if (DoubleValue != other.DoubleValue) return false;
- if (StringValue != other.StringValue) return false;
- if (AggregateValue != other.AggregateValue) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- hash ^= name_.GetHashCode();
- if (IdentifierValue.Length != 0) hash ^= IdentifierValue.GetHashCode();
- if (PositiveIntValue != 0UL) hash ^= PositiveIntValue.GetHashCode();
- if (NegativeIntValue != 0L) hash ^= NegativeIntValue.GetHashCode();
- if (DoubleValue != 0D) hash ^= DoubleValue.GetHashCode();
- if (StringValue.Length != 0) hash ^= StringValue.GetHashCode();
- if (AggregateValue.Length != 0) hash ^= AggregateValue.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- name_.WriteTo(output, _repeated_name_codec);
- if (IdentifierValue.Length != 0) {
- output.WriteRawTag(26);
- output.WriteString(IdentifierValue);
- }
- if (PositiveIntValue != 0UL) {
- output.WriteRawTag(32);
- output.WriteUInt64(PositiveIntValue);
- }
- if (NegativeIntValue != 0L) {
- output.WriteRawTag(40);
- output.WriteInt64(NegativeIntValue);
- }
- if (DoubleValue != 0D) {
- output.WriteRawTag(49);
- output.WriteDouble(DoubleValue);
- }
- if (StringValue.Length != 0) {
- output.WriteRawTag(58);
- output.WriteBytes(StringValue);
- }
- if (AggregateValue.Length != 0) {
- output.WriteRawTag(66);
- output.WriteString(AggregateValue);
- }
- }
- public int CalculateSize() {
- int size = 0;
- size += name_.CalculateSize(_repeated_name_codec);
- if (IdentifierValue.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(IdentifierValue);
- }
- if (PositiveIntValue != 0UL) {
- size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PositiveIntValue);
- }
- if (NegativeIntValue != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(NegativeIntValue);
- }
- if (DoubleValue != 0D) {
- size += 1 + 8;
- }
- if (StringValue.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeBytesSize(StringValue);
- }
- if (AggregateValue.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(AggregateValue);
- }
- return size;
- }
- public void MergeFrom(UninterpretedOption other) {
- if (other == null) {
- return;
- }
- name_.Add(other.name_);
- if (other.IdentifierValue.Length != 0) {
- IdentifierValue = other.IdentifierValue;
- }
- if (other.PositiveIntValue != 0UL) {
- PositiveIntValue = other.PositiveIntValue;
- }
- if (other.NegativeIntValue != 0L) {
- NegativeIntValue = other.NegativeIntValue;
- }
- if (other.DoubleValue != 0D) {
- DoubleValue = other.DoubleValue;
- }
- if (other.StringValue.Length != 0) {
- StringValue = other.StringValue;
- }
- if (other.AggregateValue.Length != 0) {
- AggregateValue = other.AggregateValue;
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 18: {
- name_.AddEntriesFrom(input, _repeated_name_codec);
- break;
- }
- case 26: {
- IdentifierValue = input.ReadString();
- break;
- }
- case 32: {
- PositiveIntValue = input.ReadUInt64();
- break;
- }
- case 40: {
- NegativeIntValue = input.ReadInt64();
- break;
- }
- case 49: {
- DoubleValue = input.ReadDouble();
- break;
- }
- case 58: {
- StringValue = input.ReadBytes();
- break;
- }
- case 66: {
- AggregateValue = input.ReadString();
- break;
- }
- }
- }
- }
- #region Nested types
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public static partial class Types {
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class NamePart : pb::IMessage<NamePart> {
- private static readonly pb::MessageParser<NamePart> _parser = new pb::MessageParser<NamePart>(() => new NamePart());
- public static pb::MessageParser<NamePart> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.UninterpretedOption.Descriptor.NestedTypes[0]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public NamePart() {
- OnConstruction();
- }
- partial void OnConstruction();
- public NamePart(NamePart other) : this() {
- namePart_ = other.namePart_;
- isExtension_ = other.isExtension_;
- }
- public NamePart Clone() {
- return new NamePart(this);
- }
- public const int NamePart_FieldNumber = 1;
- private string namePart_ = "";
- internal string NamePart_ {
- get { return namePart_; }
- set {
- namePart_ = value ?? "";
- }
- }
- public const int IsExtensionFieldNumber = 2;
- private bool isExtension_;
- internal bool IsExtension {
- get { return isExtension_; }
- set {
- isExtension_ = value;
- }
- }
- public override bool Equals(object other) {
- return Equals(other as NamePart);
- }
- public bool Equals(NamePart other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (NamePart_ != other.NamePart_) return false;
- if (IsExtension != other.IsExtension) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (NamePart_.Length != 0) hash ^= NamePart_.GetHashCode();
- if (IsExtension != false) hash ^= IsExtension.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (NamePart_.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(NamePart_);
- }
- if (IsExtension != false) {
- output.WriteRawTag(16);
- output.WriteBool(IsExtension);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (NamePart_.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(NamePart_);
- }
- if (IsExtension != false) {
- size += 1 + 1;
- }
- return size;
- }
- public void MergeFrom(NamePart other) {
- if (other == null) {
- return;
- }
- if (other.NamePart_.Length != 0) {
- NamePart_ = other.NamePart_;
- }
- if (other.IsExtension != false) {
- IsExtension = other.IsExtension;
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- NamePart_ = input.ReadString();
- break;
- }
- case 16: {
- IsExtension = input.ReadBool();
- break;
- }
- }
- }
- }
- }
- }
- #endregion
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class SourceCodeInfo : pb::IMessage<SourceCodeInfo> {
- private static readonly pb::MessageParser<SourceCodeInfo> _parser = new pb::MessageParser<SourceCodeInfo>(() => new SourceCodeInfo());
- public static pb::MessageParser<SourceCodeInfo> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[17]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public SourceCodeInfo() {
- OnConstruction();
- }
- partial void OnConstruction();
- public SourceCodeInfo(SourceCodeInfo other) : this() {
- location_ = other.location_.Clone();
- }
- public SourceCodeInfo Clone() {
- return new SourceCodeInfo(this);
- }
- public const int LocationFieldNumber = 1;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location> _repeated_location_codec
- = pb::FieldCodec.ForMessage(10, global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location> location_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location> Location {
- get { return location_; }
- }
- public override bool Equals(object other) {
- return Equals(other as SourceCodeInfo);
- }
- public bool Equals(SourceCodeInfo other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if(!location_.Equals(other.location_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- hash ^= location_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- location_.WriteTo(output, _repeated_location_codec);
- }
- public int CalculateSize() {
- int size = 0;
- size += location_.CalculateSize(_repeated_location_codec);
- return size;
- }
- public void MergeFrom(SourceCodeInfo other) {
- if (other == null) {
- return;
- }
- location_.Add(other.location_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- location_.AddEntriesFrom(input, _repeated_location_codec);
- break;
- }
- }
- }
- }
- #region Nested types
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public static partial class Types {
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class Location : pb::IMessage<Location> {
- private static readonly pb::MessageParser<Location> _parser = new pb::MessageParser<Location>(() => new Location());
- public static pb::MessageParser<Location> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.SourceCodeInfo.Descriptor.NestedTypes[0]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- public Location() {
- OnConstruction();
- }
- partial void OnConstruction();
- public Location(Location other) : this() {
- path_ = other.path_.Clone();
- span_ = other.span_.Clone();
- leadingComments_ = other.leadingComments_;
- trailingComments_ = other.trailingComments_;
- leadingDetachedComments_ = other.leadingDetachedComments_.Clone();
- }
- public Location Clone() {
- return new Location(this);
- }
- public const int PathFieldNumber = 1;
- private static readonly pb::FieldCodec<int> _repeated_path_codec
- = pb::FieldCodec.ForInt32(10);
- private readonly pbc::RepeatedField<int> path_ = new pbc::RepeatedField<int>();
- internal pbc::RepeatedField<int> Path {
- get { return path_; }
- }
- public const int SpanFieldNumber = 2;
- private static readonly pb::FieldCodec<int> _repeated_span_codec
- = pb::FieldCodec.ForInt32(18);
- private readonly pbc::RepeatedField<int> span_ = new pbc::RepeatedField<int>();
- internal pbc::RepeatedField<int> Span {
- get { return span_; }
- }
- public const int LeadingCommentsFieldNumber = 3;
- private string leadingComments_ = "";
- internal string LeadingComments {
- get { return leadingComments_; }
- set {
- leadingComments_ = value ?? "";
- }
- }
- public const int TrailingCommentsFieldNumber = 4;
- private string trailingComments_ = "";
- internal string TrailingComments {
- get { return trailingComments_; }
- set {
- trailingComments_ = value ?? "";
- }
- }
- public const int LeadingDetachedCommentsFieldNumber = 6;
- private static readonly pb::FieldCodec<string> _repeated_leadingDetachedComments_codec
- = pb::FieldCodec.ForString(50);
- private readonly pbc::RepeatedField<string> leadingDetachedComments_ = new pbc::RepeatedField<string>();
- internal pbc::RepeatedField<string> LeadingDetachedComments {
- get { return leadingDetachedComments_; }
- }
- public override bool Equals(object other) {
- return Equals(other as Location);
- }
- public bool Equals(Location other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if(!path_.Equals(other.path_)) return false;
- if(!span_.Equals(other.span_)) return false;
- if (LeadingComments != other.LeadingComments) return false;
- if (TrailingComments != other.TrailingComments) return false;
- if(!leadingDetachedComments_.Equals(other.leadingDetachedComments_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- hash ^= path_.GetHashCode();
- hash ^= span_.GetHashCode();
- if (LeadingComments.Length != 0) hash ^= LeadingComments.GetHashCode();
- if (TrailingComments.Length != 0) hash ^= TrailingComments.GetHashCode();
- hash ^= leadingDetachedComments_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- path_.WriteTo(output, _repeated_path_codec);
- span_.WriteTo(output, _repeated_span_codec);
- if (LeadingComments.Length != 0) {
- output.WriteRawTag(26);
- output.WriteString(LeadingComments);
- }
- if (TrailingComments.Length != 0) {
- output.WriteRawTag(34);
- output.WriteString(TrailingComments);
- }
- leadingDetachedComments_.WriteTo(output, _repeated_leadingDetachedComments_codec);
- }
- public int CalculateSize() {
- int size = 0;
- size += path_.CalculateSize(_repeated_path_codec);
- size += span_.CalculateSize(_repeated_span_codec);
- if (LeadingComments.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(LeadingComments);
- }
- if (TrailingComments.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(TrailingComments);
- }
- size += leadingDetachedComments_.CalculateSize(_repeated_leadingDetachedComments_codec);
- return size;
- }
- public void MergeFrom(Location other) {
- if (other == null) {
- return;
- }
- path_.Add(other.path_);
- span_.Add(other.span_);
- if (other.LeadingComments.Length != 0) {
- LeadingComments = other.LeadingComments;
- }
- if (other.TrailingComments.Length != 0) {
- TrailingComments = other.TrailingComments;
- }
- leadingDetachedComments_.Add(other.leadingDetachedComments_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10:
- case 8: {
- path_.AddEntriesFrom(input, _repeated_path_codec);
- break;
- }
- case 18:
- case 16: {
- span_.AddEntriesFrom(input, _repeated_span_codec);
- break;
- }
- case 26: {
- LeadingComments = input.ReadString();
- break;
- }
- case 34: {
- TrailingComments = input.ReadString();
- break;
- }
- case 50: {
- leadingDetachedComments_.AddEntriesFrom(input, _repeated_leadingDetachedComments_codec);
- break;
- }
- }
- }
- }
- }
- }
- #endregion
- }
- #endregion
- }
- #endregion Designer generated code
|